Home
last modified time | relevance | path

Searched refs:ProgramSelector (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java37 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 …]
DRadioModule.java33 import android.hardware.broadcastradio.V2_0.ProgramSelector;
76 public void onTuneFailed(int result, ProgramSelector programSelector) {
78 android.hardware.radio.ProgramSelector csel =
DTunerSession.java27 import android.hardware.radio.ProgramSelector;
153 public void tune(ProgramSelector selector) throws RemoteException { in tune()
/frameworks/base/core/java/android/hardware/radio/
DProgramList.java44 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 …]
DProgramSelector.java62 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()
508 if (!(obj instanceof ProgramSelector)) return false; in equals()
509 ProgramSelector other = (ProgramSelector) obj; in equals()
515 private ProgramSelector(Parcel in) { in ProgramSelector() method in ProgramSelector
[all …]
DAnnouncement.java81 @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()
DRadioManager.java228 @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()
1418 @NonNull private final ProgramSelector mSelector;
1419 @Nullable private final ProgramSelector.Identifier mLogicallyTunedTo;
1420 @Nullable private final ProgramSelector.Identifier mPhysicallyTunedTo;
1421 @NonNull private final Collection<ProgramSelector.Identifier> mRelatedContent;
1428 public ProgramInfo(@NonNull ProgramSelector selector, in ProgramInfo()
1429 @Nullable ProgramSelector.Identifier logicallyTunedTo, in ProgramInfo()
[all …]
DITunerCallback.aidl20 import android.hardware.radio.ProgramSelector;
27 void onTuneFailed(int result, in ProgramSelector selector); in onTuneFailed()
DITuner.aidl21 import android.hardware.radio.ProgramSelector;
58 void tune(in ProgramSelector selector); in tune()
DRadioTuner.java193 public abstract void tune(@NonNull ProgramSelector selector); in tune()
520 public void onTuneFailed(int result, @Nullable ProgramSelector selector) {} in onTuneFailed()
DProgramSelector.aidl20 parcelable ProgramSelector;
DTunerAdapter.java157 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel)); in tune()
172 public void tune(@NonNull ProgramSelector selector) { in tune()
DTunerCallbackAdapter.java121 public void onTuneFailed(int status, @Nullable ProgramSelector selector) { in onTuneFailed()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp49 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 …]
DTunerCallback.cpp52 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()
Dconvert.h57 V1_1::ProgramSelector ProgramSelectorToHal(JNIEnv *env, jobject jSelector);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java25 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()
DTunerCallback.java24 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/
DRadioTunerTest.java33 import android.hardware.radio.ProgramSelector;
393 ProgramSelector sel = list.get(0).getSelector(); in testTuneFromProgramList()
/frameworks/base/api/
Dsystem-current.txt2870 method @NonNull public android.hardware.radio.ProgramSelector getSelector();
2893 …are.radio.RadioManager.ProgramInfo get(@NonNull android.hardware.radio.ProgramSelector.Identifier);
2902 …et<java.lang.Integer>, @NonNull java.util.Set<android.hardware.radio.ProgramSelector.Identifier>, …
2907 …method @NonNull public java.util.Set<android.hardware.radio.ProgramSelector.Identifier> getIdentif…
2914 method public void onItemChanged(@NonNull android.hardware.radio.ProgramSelector.Identifier);
2915 method public void onItemRemoved(@NonNull android.hardware.radio.ProgramSelector.Identifier);
2922 public final class ProgramSelector implements android.os.Parcelable {
2923ProgramSelector(@android.hardware.radio.ProgramSelector.ProgramType int, @NonNull android.hardware…
2924 …method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.h…
2925 …method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.h…
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt2870 method @NonNull public android.hardware.radio.ProgramSelector getSelector();
2893 …are.radio.RadioManager.ProgramInfo get(@NonNull android.hardware.radio.ProgramSelector.Identifier);
2902 …et<java.lang.Integer>, @NonNull java.util.Set<android.hardware.radio.ProgramSelector.Identifier>, …
2907 …method @NonNull public java.util.Set<android.hardware.radio.ProgramSelector.Identifier> getIdentif…
2914 method public void onItemChanged(@NonNull android.hardware.radio.ProgramSelector.Identifier);
2915 method public void onItemRemoved(@NonNull android.hardware.radio.ProgramSelector.Identifier);
2922 public final class ProgramSelector implements android.os.Parcelable {
2923ProgramSelector(@android.hardware.radio.ProgramSelector.ProgramType int, @NonNull android.hardware…
2924 …method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.h…
2925 …method @NonNull public static android.hardware.radio.ProgramSelector createAmFmSelector(@android.h…
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt24462 Landroid/hardware/radio/Announcement;-><init>(Landroid/hardware/radio/ProgramSelector;ILjava/util/M…
24464 Landroid/hardware/radio/Announcement;->mSelector:Landroid/hardware/radio/ProgramSelector;
24522 Landroid/hardware/radio/ITuner$Stub$Proxy;->tune(Landroid/hardware/radio/ProgramSelector;)V
24565 Landroid/hardware/radio/ITuner;->tune(Landroid/hardware/radio/ProgramSelector;)V
24580 …hardware/radio/ITunerCallback$Stub$Proxy;->onTuneFailed(ILandroid/hardware/radio/ProgramSelector;)V
24607 Landroid/hardware/radio/ITunerCallback;->onTuneFailed(ILandroid/hardware/radio/ProgramSelector;)V
24639 Landroid/hardware/radio/ProgramList;->removeLocked(Landroid/hardware/radio/ProgramSelector$Identifi…
24641 Landroid/hardware/radio/ProgramSelector$Identifier;-><init>(Landroid/os/Parcel;)V
24642 Landroid/hardware/radio/ProgramSelector$Identifier;->mType:I
24643 Landroid/hardware/radio/ProgramSelector$Identifier;->mValue:J
[all …]
Dboot-image-profile.txt7405 HSPLandroid/hardware/radio/ProgramSelector$1;-><init>()V
7406 HSPLandroid/hardware/radio/ProgramSelector$Identifier$1;-><init>()V
33814 Landroid/hardware/radio/ProgramSelector$1;
33815 Landroid/hardware/radio/ProgramSelector$Identifier$1;
33816 Landroid/hardware/radio/ProgramSelector$Identifier;
33817 Landroid/hardware/radio/ProgramSelector;