Searched refs:IdentifierType (Results 1 – 11 of 11) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
H A D | ConversionUtils.java | 27 import android.hardware.broadcastradio.IdentifierType; 177 @ProgramSelector.IdentifierType int idType) { in identifierTypeToProgramType() 327 hwId.type = IdentifierType.DAB_SID_EXT; in identifierToHalProgramIdentifier() 341 if (id.type == IdentifierType.INVALID) { in identifierFromHalProgramIdentifier() 345 if (id.type == IdentifierType.DAB_SID_EXT) { in identifierFromHalProgramIdentifier() 354 return idType >= IdentifierType.VENDOR_START && idType <= IdentifierType.VENDOR_END; in isVendorIdentifierType() 485 return id.type == IdentifierType.AMFM_FREQUENCY_KHZ || id.type == IdentifierType.RDS_PI in isValidLogicallyTunedTo() 487 || id.type == IdentifierType.DAB_SID_EXT in isValidLogicallyTunedTo() 489 || id.type == IdentifierType.SXM_SERVICE_ID in isValidLogicallyTunedTo() 494 return id.type == IdentifierType.AMFM_FREQUENCY_KHZ in isValidPhysicallyTunedTo() [all …]
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
H A D | ConversionUtilsTest.java | 25 import android.hardware.broadcastradio.IdentifierType; 100 AidlTestUtils.makeHalIdentifier(IdentifierType.DAB_SID_EXT, TEST_DAB_DMB_SID_EXT_VALUE); 102 AidlTestUtils.makeHalIdentifier(IdentifierType.DAB_ENSEMBLE, TEST_DAB_ENSEMBLE_VALUE); 104 AidlTestUtils.makeHalIdentifier(IdentifierType.DAB_FREQUENCY_KHZ, 107 AidlTestUtils.makeHalIdentifier(IdentifierType.AMFM_FREQUENCY_KHZ, 110 AidlTestUtils.makeHalIdentifier(IdentifierType.VENDOR_START, 259 IdentifierType.DAB_SID_EXT, 0x987650000ABCDL); in identifierToHalProgramIdentifier_withDeprecateDabId() 534 halProperties.supportedIdentifierTypes = new int[]{IdentifierType.AMFM_FREQUENCY_KHZ, in createHalProperties() 535 IdentifierType.RDS_PI, IdentifierType.DAB_SID_EXT}; in createHalProperties()
|
H A D | AidlTestUtils.java | 18 import android.hardware.broadcastradio.IdentifierType; 64 static ProgramIdentifier makeHalIdentifier(@IdentifierType int type, long value) { in makeHalIdentifier() 84 ProgramIdentifier halId = makeHalIdentifier(IdentifierType.AMFM_FREQUENCY_KHZ, freq); in makeHalFmSelector()
|
H A D | TunerSessionTest.java | 40 import android.hardware.broadcastradio.IdentifierType; 160 if (halSel.primaryId.type != IdentifierType.AMFM_FREQUENCY_KHZ) { in setup()
|
/aosp14/frameworks/base/core/java/android/hardware/radio/ |
H A D | ProgramSelector.java | 306 public @interface IdentifierType {} annotation in ProgramSelector 380 public long getFirstId(@IdentifierType int type) { in getFirstId() 397 public @NonNull Identifier[] getAllIds(@IdentifierType int type) { in getAllIds() 628 private final @IdentifierType int mType; 631 public Identifier(@IdentifierType int type, long value) { in Identifier() 645 public @IdentifierType int getType() { in getType()
|
H A D | RadioManager.java | 248 @ProgramSelector.IdentifierType int[] supportedIdentifierTypes, in ModuleProperties() 409 public boolean isProgramIdentifierSupported(@ProgramSelector.IdentifierType int type) { in isProgramIdentifierSupported()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
H A D | ConvertTest.java | 22 import android.hardware.broadcastradio.V2_0.IdentifierType; 214 IdentifierType.AMFM_FREQUENCY, IdentifierType.RDS_PI, IdentifierType.DAB_SID_EXT)); in createHalProperties()
|
H A D | TestUtils.java | 18 import android.hardware.broadcastradio.V2_0.IdentifierType; 88 halId.type = IdentifierType.AMFM_FREQUENCY; in makeHalFmSelector()
|
H A D | TunerSessionHidlTest.java | 41 import android.hardware.broadcastradio.V2_0.IdentifierType; 137 if (halSel.primaryId.type != IdentifierType.AMFM_FREQUENCY) { in setup()
|
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
H A D | Convert.java | 25 import android.hardware.broadcastradio.V2_0.IdentifierType; 141 @ProgramSelector.IdentifierType int idType) { in identifierTypeToProgramType() 288 if (id.type == IdentifierType.INVALID) return null; in programIdentifierFromHal()
|
/aosp14/frameworks/base/core/api/ |
H A D | system-current.txt | 5597 …ProgramSelector.Identifier[] getAllIds(@android.hardware.radio.ProgramSelector.IdentifierType int); 5598 method public long getFirstId(@android.hardware.radio.ProgramSelector.IdentifierType int); 5640 …ctor public ProgramSelector.Identifier(@android.hardware.radio.ProgramSelector.IdentifierType int,… 5642 method @android.hardware.radio.ProgramSelector.IdentifierType public int getType(); 5649 …a.lang.annotation.RetentionPolicy.SOURCE) public static @interface ProgramSelector.IdentifierType { 5783 …c boolean isProgramIdentifierSupported(@android.hardware.radio.ProgramSelector.IdentifierType int);
|