Home
last modified time | relevance | path

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

12

/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DGenericDecoder.java59 TlvDecoder.getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
67 TlvDecoder.getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
75 TlvDecoder.getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
83 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/src/com/android/adservices/service/adselection/encryption/
DAdSelectionEncryptionKeyManagerTest.java225 Base64.getDecoder() in test_getLatestActiveAuctionKey_returnsActiveAuctionKey()
415 Base64.getDecoder() in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
448 Base64.getDecoder().decode(ENCRYPTION_KEY_AUCTION_TTL_1SECS.getPublicKey()); in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey()
470 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey()
494 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging()
528 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withExpiredKey_shouldReturnExpiredKey()
553 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withExpiredKey_withLogging()
595 Base64.getDecoder() in test_getLatestActiveOhttpKeyConfig_withExpiredKey_shouldFetchAndPersistAndReturnNewKey()
628 Base64.getDecoder() in test_getLatestActiveOhttpKeyConfigOfType_withNoKey_shouldFetchPersistAndReturnNewKey()
651 Base64.getDecoder() in test_getLatestActiveOhttpKeyConfigOfType_withActiveAndExpiredKey_shouldGetActiveKey()
DProtectedServersEncryptionConfigManagerTest.java213 Base64.getDecoder() in test_getLatestAuctionKey_returnsAuctionKey()
468 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_returnsLatestKey()
493 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_typeAuction_withLogging()
531 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withNoKeys_returnsLatestKey()
582 Base64.getDecoder() in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
584 byte[] expiredPublicKeyBytes = Base64.getDecoder().decode(expiredPublicKey); in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
624 Base64.getDecoder().decode(expiredPublicKey.getBytes(StandardCharsets.UTF_8)); in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey()
650 Base64.getDecoder() in test_getLatestOhttpKeyConfigOfType_withNoKeys_persistsToDatabase()
693 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/federatedcomputetests/src/com/android/federatedcompute/services/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);
160 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/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/Uwb/service/tests/src/com/android/server/uwb/params/
DCccDecoderTest.java194 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccRangingOpenedViaTlvDecoder()
208 .getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector) in testGetCccSpecificationViaTlvDecoder()
DAliroDecoderTest.java198 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroRangingOpenedViaTlvDecoder()
212 .getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector) in testGetAliroSpecificationViaTlvDecoder()
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/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverterTest.java465 assertEquals("-", new String(Base64.getDecoder().decode(encoded))); in testEncodeWithBase64_successfully()
477 Base64.getDecoder().decode(encryptedPayloadBase64), in assertEncryptedPayload()
505 final byte[] cborEncoded = Base64.getDecoder().decode(encodedPayloadBase64); in assertEncodedPayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java64 Base64.getDecoder() in createRsaPrivateKeyFromKeyFile()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeCertX509CertPayloadTest.java162 Base64.Decoder bs64Decoder = Base64.getDecoder(); in pemStringToCertificate()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignalsArgumentUtil.java114 byte[] bytes = Base64.getDecoder().decode(base64String); in validateAndSerializeBase64()
/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/src/com/android/adservices/service/measurement/reporting/
DAggregateReportBodyTest.java349 final byte[] cborEncodedPayload = Base64.getDecoder().decode(encodedPayloadBase64); in assertEncodedDebugPayload()
361 Base64.getDecoder().decode(encryptedPayloadBase64), in assertEncryptedPayload()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/java/com/android/adservices/
DHpkeJniTest.java160 return Base64.getDecoder().decode(value.getBytes()); in decode()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DSignedContextualAdsFixture.java182 byte[] privateKeyBytes = Base64.getDecoder().decode(PRIVATE_TEST_KEY_STRING); in getECDSASignatureInstance()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEncryptionManagerTest.java73 static final byte[] DECODED_PUBLIC_KEY = Base64.getDecoder().decode(PUBLIC_KEY_BASE64);
74 static final byte[] DECODED_PRIVATE_KEY = Base64.getDecoder().decode(PRIVATE_KEY_BASE64);
/packages/modules/AdServices/adservices/samples/topics/sampleapp6/java/com/example/adservices/samples/topics/sampleapp6/
DMainActivity.java66 Base64.getDecoder().decode(TEST_PRIVATE_KEY_BASE64);
/packages/modules/AdServices/adservices/samples/topics/sampleappwithnoperm/java/com/example/adservices/samples/topics/sampleappwithnoperm/
DMainActivity.java65 Base64.getDecoder().decode(TEST_PRIVATE_KEY_BASE64);
/packages/modules/AdServices/adservices/samples/topics/sampleapp3/java/com/example/adservices/samples/topics/sampleapp3/
DMainActivity.java65 Base64.getDecoder().decode(TEST_PRIVATE_KEY_BASE64);
/packages/modules/AdServices/adservices/samples/topics/sampleapp2/java/com/example/adservices/samples/topics/sampleapp2/
DMainActivity.java65 Base64.getDecoder().decode(TEST_PRIVATE_KEY_BASE64);

12