Loading core/java/android/hardware/ConsumerIrManager.java +7 −4 Original line number Original line Diff line number Diff line Loading @@ -26,7 +26,9 @@ import android.util.Log; * * * <p> * <p> * To obtain an instance of the system infrared transmitter, call * To obtain an instance of the system infrared transmitter, call * {@link Context#getSystemService} with {@link Context#CONSUMER_IR} as the argument. * {@link android.content.Context#getSystemService(java.lang.String) * Context.getSystemService()} with * {@link android.content.Context#CONSUMER_IR_SERVICE} as the argument. * </p> * </p> */ */ public final class ConsumerIrManager { public final class ConsumerIrManager { Loading Loading @@ -123,9 +125,10 @@ public final class ConsumerIrManager { /** /** * Query the infrared transmitter's supported carrier frequencies * Query the infrared transmitter's supported carrier frequencies * * * @return an array of {@link #CarrierFreqRange} objects representing * @return an array of * the ranges that the transmitter can support, or null if there was * {@link android.hardware.ConsumerIrManager.CarrierFrequencyRange} * an error communicating with the Consumer IR Service. * objects representing the ranges that the transmitter can support, or * null if there was an error communicating with the Consumer IR Service. */ */ public CarrierFrequencyRange[] getCarrierFrequencies() { public CarrierFrequencyRange[] getCarrierFrequencies() { if (mService == null) { if (mService == null) { Loading Loading
core/java/android/hardware/ConsumerIrManager.java +7 −4 Original line number Original line Diff line number Diff line Loading @@ -26,7 +26,9 @@ import android.util.Log; * * * <p> * <p> * To obtain an instance of the system infrared transmitter, call * To obtain an instance of the system infrared transmitter, call * {@link Context#getSystemService} with {@link Context#CONSUMER_IR} as the argument. * {@link android.content.Context#getSystemService(java.lang.String) * Context.getSystemService()} with * {@link android.content.Context#CONSUMER_IR_SERVICE} as the argument. * </p> * </p> */ */ public final class ConsumerIrManager { public final class ConsumerIrManager { Loading Loading @@ -123,9 +125,10 @@ public final class ConsumerIrManager { /** /** * Query the infrared transmitter's supported carrier frequencies * Query the infrared transmitter's supported carrier frequencies * * * @return an array of {@link #CarrierFreqRange} objects representing * @return an array of * the ranges that the transmitter can support, or null if there was * {@link android.hardware.ConsumerIrManager.CarrierFrequencyRange} * an error communicating with the Consumer IR Service. * objects representing the ranges that the transmitter can support, or * null if there was an error communicating with the Consumer IR Service. */ */ public CarrierFrequencyRange[] getCarrierFrequencies() { public CarrierFrequencyRange[] getCarrierFrequencies() { if (mService == null) { if (mService == null) { Loading