Home
last modified time | relevance | path

Searched refs:getDecoder (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DGenericDecoder.java63 TlvDecoder.getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
71 TlvDecoder.getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
79 TlvDecoder.getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
87 TlvDecoder.getDecoder(RadarParams.PROTOCOL_NAME, mUwbInjector) in getSpecificationParamsFromTlvBuffer()
DTlvDecoder.java30 public static TlvDecoder getDecoder(String protocolName, UwbInjector uwbInjector) { in getDecoder() method in TlvDecoder
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/encryption/
DAdSelectionEncryptionKeyManagerTest.java223 Base64.getDecoder() in test_getLatestActiveAuctionKey_returnsActiveAuctionKey()
414 Base64.getDecoder() in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
447 Base64.getDecoder().decode(ENCRYPTION_KEY_AUCTION_TTL_1SECS.getPublicKey()); in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey()
469 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey()
493 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging()
527 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withExpiredKey_shouldReturnExpiredKey()
552 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withExpiredKey_withLogging()
594 Base64.getDecoder() in test_getLatestActiveOhttpKeyConfig_withExpiredKey_shouldFetchAndPersistAndReturnNewKey()
627 Base64.getDecoder() in test_getLatestActiveOhttpKeyConfigOfType_withNoKey_shouldFetchPersistAndReturnNewKey()
650 Base64.getDecoder() in test_getLatestActiveOhttpKeyConfigOfType_withActiveAndExpiredKey_shouldGetActiveKey()
DProtectedServersEncryptionConfigManagerTest.java234 Base64.getDecoder() in test_getLatestAuctionKey_returnsAuctionKey()
489 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey()
514 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging()
552 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withNoKeys_returnsLatestKey()
605 Base64.getDecoder() in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
607 byte[] expiredPublicKeyBytes = Base64.getDecoder().decode(expiredPublicKey); in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
647 Base64.getDecoder().decode(expiredPublicKey.getBytes(StandardCharsets.UTF_8)); in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey()
673 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withNoKeys_persistsToDatabase()
716 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_nullCoordinator_returnsDefaultKey()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoFixture.java31 private static final byte[] sPublicKey = Base64.getDecoder().decode(PUBLIC_KEY_BASE64);
32 private static final byte[] sPrivateKey = Base64.getDecoder().decode(PRIVATE_KEY_BASE64);
/packages/modules/OnDevicePersonalization/tests/commontests/src/com/android/odp/module/common/encryption/jni/
DHpkeJniTest.java32 private static final byte[] sPublicKey = Base64.getDecoder().decode(PUBLIC_KEY_BASE64);
33 private static final byte[] sPrivateKey = Base64.getDecoder().decode(PRIVATE_KEY_BASE64);
158 return Base64.getDecoder().decode(value.getBytes()); in decode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/updateprocessors/
DUpdateProcessorUtils.java92 Base64.getDecoder().decode(key.getBytes(StandardCharsets.ISO_8859_1), toReturn); in decodeKey()
114 toReturn = Base64.getDecoder().decode(value); in decodeValue()
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/signals/
DSignalsProviderImplTest.java123 byte[] key = Base64.getDecoder().decode(generateKey(seed)); in generateDBProtectedSignal()
124 byte[] value = Base64.getDecoder().decode(generateValue(seed)); in generateDBProtectedSignal()
/packages/modules/Connectivity/networksecurity/service/src/com/android/server/net/ct/
DSignatureVerifier.java96 decodedPublicKey = Base64.getDecoder().decode(publicKey); in setPublicKey()
134 if (!verifier.verify(Base64.getDecoder().decode(signatureBytes))) { in verify()
DPemReader.java72 Base64.getDecoder().decode(publicKeyBuilder.toString())); in readNextKey()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DAliroDecoderTest.java202 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroRangingOpenedViaTlvDecoder()
216 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroSpecificationViaTlvDecoder()
DCccDecoderTest.java195 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccRangingOpenedViaTlvDecoder()
209 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccSpecificationViaTlvDecoder()
DRadarDecoderTest.java100 TlvDecoder.getDecoder(RadarParams.PROTOCOL_NAME, mUwbInjector) in testGetRadarSpecificationViaTlvDecoder()
DFiraDecoderTest.java265 .getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testGetFiraSpecificationViaTlvDecoderVersion2()
355 .getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector) in testGetFiraSpecificationViaTlvDecoderVersion1()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignal.java69 byte[] binary = Base64.getDecoder().decode(value); in setBase64EncodedValue()
DProtectedSignalsArgumentImpl.java125 byte[] bytes = Base64.getDecoder().decode(base64String); in validateAndSerializeBase64()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/reporting/
DCountUniqueReportBodyTest.java202 final byte[] cborEncodedPayload = Base64.getDecoder().decode(encodedPayloadBase64); in assertEncodedDebugPayload()
214 Base64.getDecoder().decode(encryptedPayloadBase64), in assertEncryptedPayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java64 Base64.getDecoder() in createRsaPrivateKeyFromKeyFile()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverterTest.java623 assertEquals("-", new String(Base64.getDecoder().decode(encoded))); in testEncodeWithBase64_successfully()
635 Base64.getDecoder().decode(encryptedPayloadBase64), in assertEncryptedPayload()
663 final byte[] cborEncoded = Base64.getDecoder().decode(encodedPayloadBase64); in assertEncodedPayload()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/
DDownloadedFileParser.java94 data = Base64.getDecoder().decode(data); in readContent()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeCertX509CertPayloadTest.java162 Base64.Decoder bs64Decoder = Base64.getDecoder(); in pemStringToCertificate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java290 Base64.getDecoder().decode(userCertificate in loadKeystoreFromCertificate()
314 try (InputStream inputStream = new ByteArrayInputStream(Base64.getDecoder() in buildCACertificate()
/packages/modules/AdServices/adservices/tests/unittest/service-core/topics/src/com/android/adservices/service/topics/
DEncryptionManagerTest.java69 static final byte[] DECODED_PUBLIC_KEY = Base64.getDecoder().decode(PUBLIC_KEY_BASE64);
70 static final byte[] DECODED_PRIVATE_KEY = Base64.getDecoder().decode(PRIVATE_KEY_BASE64);
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/phr/
DPhrPageTokenWrapper.java114 Base64.Decoder decoder = Base64.getDecoder(); in from()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DSignedContextualAdsFixture.java182 byte[] privateKeyBytes = Base64.getDecoder().decode(PRIVATE_TEST_KEY_STRING); in getECDSASignatureInstance()

12