Home
last modified time | relevance | path

Searched refs:programType (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DTestUtils.java83 static ProgramSelector makeProgramSelector(int programType, in makeProgramSelector() argument
85 return makeProgramSelector(programType, identifier, /* secondaryIds= */ null); in makeProgramSelector()
88 static ProgramSelector makeProgramSelector(int programType, in makeProgramSelector() argument
90 return new ProgramSelector(programType, primaryId, secondaryIds, /* vendorIds= */ null); in makeProgramSelector()
/frameworks/base/core/java/android/hardware/radio/
DProgramSelector.java453 public ProgramSelector(@ProgramType int programType, @NonNull Identifier primaryId, in ProgramSelector() argument
460 mProgramType = programType; in ProgramSelector()
653 @ProgramType int programType = isAm ? PROGRAM_TYPE_AM : PROGRAM_TYPE_FM; in createAmFmSelector() local
667 return new ProgramSelector(programType, primary, secondary, null); in createAmFmSelector()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DAidlTestUtils.java78 static ProgramSelector makeProgramSelector(int programType, in makeProgramSelector() argument
80 return new ProgramSelector(programType, identifier, /* secondaryIds= */ null, in makeProgramSelector()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp129 jfieldID programType; member
564 selector.programType, jPrimary.get(), jSecondary.get(), jVendor.get())); in ProgramSelectorFromHal()
581 selector.programType = env->GetIntField(jSelector, gjni.ProgramSelector.programType); in ProgramSelectorToHal()
732 gjni.ProgramSelector.programType = GetFieldIDOrDie(env, programSelectorClass, in register_android_server_broadcastradio_convert()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DProgramSelectorTest.java141 int programType = selector.getProgramType(); in getProgramType() local
143 assertWithMessage("Program type").that(programType).isEqualTo(FM_PROGRAM_TYPE); in getProgramType()
DProgramListTest.java661 private static ProgramSelector createProgramSelector(int programType, in createProgramSelector() argument
663 return new ProgramSelector(programType, identifier, /* secondaryIds= */ null, in createProgramSelector()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java251 for (int programType : programTypes) { in identifierTypesToProgramTypes()
252 programTypesArray[i++] = programType; in identifierTypesToProgramTypes()