/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | Convert.java | 37 import android.hardware.radio.ProgramSelector; 115 private static @ProgramSelector.ProgramType int identifierTypeToProgramType( in identifierTypeToProgramType() 116 @ProgramSelector.IdentifierType int idType) { in identifierTypeToProgramType() 118 case ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY: in identifierTypeToProgramType() 119 case ProgramSelector.IDENTIFIER_TYPE_RDS_PI: in identifierTypeToProgramType() 121 return ProgramSelector.PROGRAM_TYPE_FM; in identifierTypeToProgramType() 122 case ProgramSelector.IDENTIFIER_TYPE_HD_STATION_ID_EXT: in identifierTypeToProgramType() 124 return ProgramSelector.PROGRAM_TYPE_FM_HD; in identifierTypeToProgramType() 125 case ProgramSelector.IDENTIFIER_TYPE_DAB_SIDECC: in identifierTypeToProgramType() 126 case ProgramSelector.IDENTIFIER_TYPE_DAB_ENSEMBLE: in identifierTypeToProgramType() [all …]
|
D | TunerCallback.java | 23 import android.hardware.broadcastradio.V2_0.ProgramSelector; 53 public void onTuneFailed(int result, ProgramSelector selector) { in onTuneFailed()
|
D | TunerSession.java | 26 import android.hardware.radio.ProgramSelector; 133 public void tune(ProgramSelector selector) throws RemoteException { in tune()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | ProgramSelector.java | 62 public final class ProgramSelector implements Parcelable { class 271 public ProgramSelector(@ProgramType int programType, @NonNull Identifier primaryId, in ProgramSelector() method in ProgramSelector 382 public @NonNull ProgramSelector withSecondaryPreferred(@NonNull Identifier preferred) { in withSecondaryPreferred() 390 return new ProgramSelector( in withSecondaryPreferred() 406 public static @NonNull ProgramSelector createAmFmSelector( in createAmFmSelector() 443 public static @NonNull ProgramSelector createAmFmSelector( in createAmFmSelector() 485 return new ProgramSelector(programType, primary, secondary, null); in createAmFmSelector() 507 if (!(obj instanceof ProgramSelector)) return false; in equals() 508 ProgramSelector other = (ProgramSelector) obj; in equals() 514 private ProgramSelector(Parcel in) { in ProgramSelector() method in ProgramSelector [all …]
|
D | ProgramList.java | 44 private final Map<ProgramSelector.Identifier, RadioManager.ProgramInfo> mPrograms = 62 public void onItemChanged(@NonNull ProgramSelector.Identifier id) { } in onItemChanged() 67 public void onItemRemoved(@NonNull ProgramSelector.Identifier id) { } in onItemRemoved() 91 public void onItemChanged(@NonNull ProgramSelector.Identifier id) { in registerListCallback() 95 public void onItemRemoved(@NonNull ProgramSelector.Identifier id) { in registerListCallback() 197 ProgramSelector.Identifier key = value.getSelector().getPrimaryId(); in putLocked() 199 ProgramSelector.Identifier sel = value.getSelector().getPrimaryId(); in putLocked() 203 private void removeLocked(@NonNull ProgramSelector.Identifier key) { in removeLocked() 206 ProgramSelector.Identifier sel = removed.getSelector().getPrimaryId(); in removeLocked() 227 public @Nullable RadioManager.ProgramInfo get(@NonNull ProgramSelector.Identifier id) { in get() [all …]
|
D | Announcement.java | 81 @NonNull private final ProgramSelector mSelector; 86 public Announcement(@NonNull ProgramSelector selector, @Type int type, in Announcement() 94 mSelector = in.readTypedObject(ProgramSelector.CREATOR); in Announcement() 122 public @NonNull ProgramSelector getSelector() { in getSelector()
|
D | RadioManager.java | 228 @ProgramSelector.ProgramType int[] supportedProgramTypes, in ModuleProperties() 229 @ProgramSelector.IdentifierType int[] supportedIdentifierTypes, in ModuleProperties() 375 public boolean isProgramTypeSupported(@ProgramSelector.ProgramType int type) { in isProgramTypeSupported() 388 public boolean isProgramIdentifierSupported(@ProgramSelector.IdentifierType int type) { in isProgramIdentifierSupported() 1411 @NonNull private final ProgramSelector mSelector; 1412 @Nullable private final ProgramSelector.Identifier mLogicallyTunedTo; 1413 @Nullable private final ProgramSelector.Identifier mPhysicallyTunedTo; 1414 @NonNull private final Collection<ProgramSelector.Identifier> mRelatedContent; 1421 public ProgramInfo(@NonNull ProgramSelector selector, in ProgramInfo() 1422 @Nullable ProgramSelector.Identifier logicallyTunedTo, in ProgramInfo() [all …]
|
D | ITunerCallback.aidl | 20 import android.hardware.radio.ProgramSelector; 27 void onTuneFailed(int result, in ProgramSelector selector); in onTuneFailed()
|
D | ITuner.aidl | 21 import android.hardware.radio.ProgramSelector; 58 void tune(in ProgramSelector selector); in tune()
|
D | RadioTuner.java | 193 public abstract void tune(@NonNull ProgramSelector selector); in tune() 520 public void onTuneFailed(int result, @Nullable ProgramSelector selector) {} in onTuneFailed()
|
D | ProgramSelector.aidl | 20 parcelable ProgramSelector;
|
D | TunerAdapter.java | 157 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel)); in tune() 172 public void tune(@NonNull ProgramSelector selector) { in tune()
|
D | TunerCallbackAdapter.java | 121 public void onTuneFailed(int status, @Nullable ProgramSelector selector) { in onTuneFailed()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.cpp | 49 using V1_1::ProgramSelector; 140 } ProgramSelector; member 552 return make_javaref(env, env->NewObject(gjni.ProgramSelector.Identifier.clazz, in ProgramIdentifierFromHal() 553 gjni.ProgramSelector.Identifier.cstor, id.type, id.value)); in ProgramIdentifierFromHal() 556 static JavaRef<jobject> ProgramSelectorFromHal(JNIEnv *env, const ProgramSelector &selector) { in ProgramSelectorFromHal() 560 gjni.ProgramSelector.Identifier.clazz, ProgramIdentifierFromHal); in ProgramSelectorFromHal() 563 return make_javaref(env, env->NewObject(gjni.ProgramSelector.clazz, gjni.ProgramSelector.cstor, in ProgramSelectorFromHal() 571 id.type = env->GetIntField(jId, gjni.ProgramSelector.Identifier.type); in ProgramIdentifierToHal() 572 id.value = env->GetLongField(jId, gjni.ProgramSelector.Identifier.value); in ProgramIdentifierToHal() 576 ProgramSelector ProgramSelectorToHal(JNIEnv *env, jobject jSelector) { in ProgramSelectorToHal() [all …]
|
D | TunerCallback.cpp | 52 using V1_1::ProgramSelector; 118 virtual Return<void> tuneComplete_1_1(Result result, const ProgramSelector& selector); 213 Return<void> NativeCallback::tuneComplete_1_1(Result result, const ProgramSelector& selector) { in tuneComplete_1_1()
|
D | convert.h | 57 V1_1::ProgramSelector ProgramSelectorToHal(JNIEnv *env, jobject jSelector);
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/ |
D | Tuner.java | 25 import android.hardware.radio.ProgramSelector; 85 private native void nativeTune(long nativeContext, @NonNull ProgramSelector selector); in nativeTune() 191 public void tune(ProgramSelector selector) { in tune()
|
D | TunerCallback.java | 24 import android.hardware.radio.ProgramSelector; 111 public void onTuneFailed(int result, ProgramSelector selector) { in onTuneFailed()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/ |
D | RadioTunerTest.java | 21 import android.hardware.radio.ProgramSelector; 396 ProgramSelector sel = list.get(0).getSelector(); in testTuneFromProgramList()
|
/frameworks/base/api/ |
D | system-current.txt | 1880 method public android.hardware.radio.ProgramSelector getSelector(); 1903 …oid.hardware.radio.RadioManager.ProgramInfo get(android.hardware.radio.ProgramSelector.Identifier); 1912 …va.util.Set<java.lang.Integer>, java.util.Set<android.hardware.radio.ProgramSelector.Identifier>, … 1917 method public java.util.Set<android.hardware.radio.ProgramSelector.Identifier> getIdentifiers(); 1924 method public void onItemChanged(android.hardware.radio.ProgramSelector.Identifier); 1925 method public void onItemRemoved(android.hardware.radio.ProgramSelector.Identifier); 1932 public final class ProgramSelector implements android.os.Parcelable { 1933 …ctor public ProgramSelector(int, android.hardware.radio.ProgramSelector.Identifier, android.hardwa… 1934 method public static android.hardware.radio.ProgramSelector createAmFmSelector(int, int); 1935 method public static android.hardware.radio.ProgramSelector createAmFmSelector(int, int, int); [all …]
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 14277 Landroid/hardware/radio/Announcement;->getSelector()Landroid/hardware/radio/ProgramSelector; 14300 …adio/ProgramList$ListCallback;->onItemChanged(Landroid/hardware/radio/ProgramSelector$Identifier;)V 14301 …adio/ProgramList$ListCallback;->onItemRemoved(Landroid/hardware/radio/ProgramSelector$Identifier;)V 14308 Landroid/hardware/radio/ProgramList;->get(Landroid/hardware/radio/ProgramSelector$Identifier;)Landr… 14314 Landroid/hardware/radio/ProgramSelector$Identifier; 14315 Landroid/hardware/radio/ProgramSelector$Identifier;-><init>(IJ)V 14316 Landroid/hardware/radio/ProgramSelector$Identifier;->CREATOR:Landroid/os/Parcelable$Creator; 14317 Landroid/hardware/radio/ProgramSelector$Identifier;->describeContents()I 14318 Landroid/hardware/radio/ProgramSelector$Identifier;->equals(Ljava/lang/Object;)Z 14319 Landroid/hardware/radio/ProgramSelector$Identifier;->getType()I [all …]
|
D | boot-image-profile.txt | 21819 HSPLandroid/hardware/radio/ITuner;->tune(Landroid/hardware/radio/ProgramSelector;)V 21831 HSPLandroid/hardware/radio/ITunerCallback;->onTuneFailed(ILandroid/hardware/radio/ProgramSelector;)V 21832 HSPLandroid/hardware/radio/ProgramSelector$1;-><init>()V 21833 HSPLandroid/hardware/radio/ProgramSelector$Identifier$1;-><init>()V 55497 Landroid/hardware/radio/ProgramSelector$1; 55498 Landroid/hardware/radio/ProgramSelector$Identifier$1; 55499 Landroid/hardware/radio/ProgramSelector$Identifier; 55500 Landroid/hardware/radio/ProgramSelector;
|