Home
last modified time | relevance | path

Searched refs:idType (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DIkeIdentificationUtils.java104 private static PersistableBundle createPersistableBundle(int idType) { in createPersistableBundle() argument
106 result.putInt(ID_TYPE_KEY, idType); in createPersistableBundle()
114 int idType = in.getInt(ID_TYPE_KEY); in fromPersistableBundle() local
115 switch (idType) { in fromPersistableBundle()
140 throw new IllegalStateException("Unrecognized IKE ID type: " + idType); in fromPersistableBundle()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java194 @ProgramSelector.IdentifierType int idType) { in identifierTypeToProgramType()
195 switch (idType) { in identifierTypeToProgramType()
218 if (idType == ProgramSelector.IDENTIFIER_TYPE_HD_STATION_LOCATION) { in identifierTypeToProgramType()
223 if (idType >= ProgramSelector.IDENTIFIER_TYPE_VENDOR_PRIMARY_START in identifierTypeToProgramType()
224 && idType <= ProgramSelector.IDENTIFIER_TYPE_VENDOR_PRIMARY_END) { in identifierTypeToProgramType()
225 return idType; in identifierTypeToProgramType()
375 int idType; in identifierFromHalProgramIdentifier() local
377 idType = ProgramSelector.IDENTIFIER_TYPE_DAB_DMB_SID_EXT; in identifierFromHalProgramIdentifier()
380 idType = ProgramSelector.IDENTIFIER_TYPE_HD_STATION_LOCATION; in identifierFromHalProgramIdentifier()
385 idType = id.type; in identifierFromHalProgramIdentifier()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java142 @ProgramSelector.IdentifierType int idType) { in identifierTypeToProgramType()
143 switch (idType) { in identifierTypeToProgramType()
164 if (idType >= ProgramSelector.IDENTIFIER_TYPE_VENDOR_PRIMARY_START in identifierTypeToProgramType()
165 && idType <= ProgramSelector.IDENTIFIER_TYPE_VENDOR_PRIMARY_END) { in identifierTypeToProgramType()
166 return idType; in identifierTypeToProgramType()
175 for (int idType : idTypes) { in identifierTypesToProgramTypes()
176 int pType = identifierTypeToProgramType(idType); in identifierTypesToProgramTypes()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DProgramSelectorTest.java195 int idType = ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY; in getFirstId_withIdNotInSelector() local
197 selector.getFirstId(idType); in getFirstId_withIdNotInSelector()
200 assertWithMessage("Exception for getting first identifier %s", idType) in getFirstId_withIdNotInSelector()
201 .that(thrown).hasMessageThat().contains("Identifier " + idType + " not found"); in getFirstId_withIdNotInSelector()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyPairGeneratorSpi.java787 for (int idType : idTypes) { in addAttestationParameters()
788 idTypesSet.add(idType); in addAttestationParameters()
800 for (final Integer idType : idTypesSet) { in addAttestationParameters()
801 switch (idType) { in addAttestationParameters()
843 throw new IllegalArgumentException("Unknown device ID type " + idType); in addAttestationParameters()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6780 for (Integer idType: idTypeToAttestationFlag.keySet()) {
6781 if ((idType & idAttestationFlags) != 0) {
6782 attestationUtilsFlags[i++] = idTypeToAttestationFlag.get(idType);