Home
last modified time | relevance | path

Searched refs:putByteArray (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/
DAttestationVerificationPeerDeviceVerifierTest.kt68 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsSuccessTypeChallenge()
84 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsSuccessLocalPatchOlderThanOneYear()
104 pkRequirements.putByteArray(PARAM_PUBLIC_KEY, leafCert.publicKey.encoded) in verifyAttestation_returnsSuccessTypePublicKey()
120 challengeRequirements.putByteArray(PARAM_CHALLENGE, "activeUnlockValid".encodeToByteArray()) in verifyAttestation_returnsSuccessOwnedBySystem()
138 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailureOwnedBySystem()
155 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailurePatchDateNotWithinOneYearLocalPatch()
171 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailureTrustedAnchorEmpty()
193 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailureTrustedAnchorMismatch()
208 challengeRequirements.putByteArray(PARAM_CHALLENGE, "wrong".encodeToByteArray()) in verifyAttestation_returnsFailureChallenge()
/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
DPeerDeviceSystemAttestationVerificationTest.kt77 publicKeyRequirements.putByteArray(PARAM_PUBLIC_KEY, "publicKeyStr".encodeToByteArray()) in <lambda>()
87 challengeRequirements.putByteArray(PARAM_CHALLENGE, "challengeStr".encodeToByteArray()) in <lambda>()
101 wrongKeyRequirements.putByteArray("wrongReqKey", "publicKeyStr".encodeToByteArray()) in <lambda>()
115 requirements.putByteArray(PARAM_PUBLIC_KEY, "publicKeyStr".encodeToByteArray()) in <lambda>()
129 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in <lambda>()
DSystemAttestationVerificationTest.kt103 wrongKeyRequirements.putByteArray( in <lambda>()
117 wrongChallengeRequirements.putByteArray(PARAM_CHALLENGE, "wrong".encodeToByteArray()) in <lambda>()
186 requirements.putByteArray(PARAM_CHALLENGE, challengeByteArray) in <lambda>()
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java71 encryptedBundle.putByteArray(KEY_CIPHER, encryptedBytes); in encryptBundle()
72 encryptedBundle.putByteArray(KEY_MAC, mac); in encryptBundle()
73 encryptedBundle.putByteArray(KEY_IV, iv); in encryptBundle()
/frameworks/base/core/java/android/service/resumeonreboot/
DResumeOnRebootService.java133 bundle.putByteArray(WRAPPED_BLOB_KEY, wrappedBlob);
150 bundle.putByteArray(UNWRAPPED_BLOB_KEY, unwrappedBlob);
/frameworks/base/nfc/java/android/nfc/cardemulation/
DHostNfcFService.java194 responseBundle.putByteArray(KEY_DATA, responsePacket); in handleMessage()
245 dataBundle.putByteArray(KEY_DATA, responsePacket); in sendResponsePacket()
DHostApduService.java285 responseBundle.putByteArray(KEY_DATA, responseApdu); in handleMessage()
356 dataBundle.putByteArray(KEY_DATA, responseApdu); in sendResponseApdu()
DPollingFrame.java270 frame.putByteArray(KEY_POLLING_LOOP_DATA, getData()); in toBundle()
/frameworks/base/services/core/jni/tvinput/
Djstruct.h36 jmethodID putByteArray; member
DJTvInputHal.cpp313 env->CallVoidMethod(bundle.get(), gBundleClassInfo.putByteArray, jkey.get(), in onTvMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DBrailleDisplayConnectionTest.java228 bd.putByteArray(BrailleDisplayController.TEST_BRAILLE_DISPLAY_DESCRIPTOR, in connect_unableToGetUniq_usesNameFallback()
262 bd1.putByteArray(BrailleDisplayController.TEST_BRAILLE_DISPLAY_DESCRIPTOR, desc1); in setTestData_scannerReturnsTestData()
263 bd2.putByteArray(BrailleDisplayController.TEST_BRAILLE_DISPLAY_DESCRIPTOR, desc2); in setTestData_scannerReturnsTestData()
DAccessibilityServiceConnectionTest.java328 bd.putByteArray(BrailleDisplayController.TEST_BRAILLE_DISPLAY_DESCRIPTOR, descriptor); in connectBluetoothBrailleDisplay()
376 bd.putByteArray(BrailleDisplayController.TEST_BRAILLE_DISPLAY_DESCRIPTOR, descriptor); in connectUsbBrailleDisplay()
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/
DAttestationVerifier.java64 requirements.putByteArray(PARAM_CHALLENGE, attestationChallenge); in verifyAttestation()
/frameworks/base/services/tests/ondeviceintelligencetests/src/com/android/server/ondeviceintelligence/
DInferenceInfoStoreTest.java50 bundle.putByteArray(OnDeviceSandboxedInferenceService.INFERENCE_INFO_BUNDLE_KEY, in testInferenceInfoParsesFromBundleSuccessfully()
/frameworks/base/core/java/android/os/
DBundle.java462 putByteArray(key, (byte[]) value); in putObject()
693 public void putByteArray(@Nullable String key, @Nullable byte[] value) { in putByteArray() method in Bundle
694 super.putByteArray(key, value); in putByteArray()
DBaseBundle.java1001 void putByteArray(@Nullable String key, @Nullable byte[] value) { in putByteArray() method in BaseBundle
/frameworks/base/media/java/android/media/
DMediaCas.java440 bundle.putByteArray(EventHandler.SESSION_KEY, sessionId);
441 bundle.putByteArray(EventHandler.DATA_KEY, data);
492 bundle.putByteArray(EventHandler.SESSION_KEY, toBytes(sessionId));
493 bundle.putByteArray(EventHandler.DATA_KEY, toBytes(data));
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp146 GET_METHOD_ID(gBundleClassInfo.putByteArray, gBundleClassInfo.clazz, "putByteArray", in register_android_server_tv_TvInputHal()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCallMetadataSyncData.java222 bundle.putByteArray(EXTRA_APP_ICON, mAppIcon); in writeToBundle()
DCrossDeviceSyncController.java759 extras.putByteArray(EXTRA_FACILITATOR_ICON, currentCall.getAppIcon()); in updateCalls()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java373 msg.getData().putByteArray(DATA_ESCROW_TOKEN, token);
418 msg.getData().putByteArray(DATA_ESCROW_TOKEN, token);
/frameworks/base/core/java/android/app/
DNativeActivity.java219 outState.putByteArray(KEY_NATIVE_SAVED_STATE, state); in onSaveInstanceState()
/frameworks/base/core/java/android/provider/
DE2eeContactKeysManager.java132 extras.putByteArray(E2eeContactKeys.KEY_VALUE, Objects.requireNonNull(keyValue)); in updateOrInsertE2eeContactKey()
407 extras.putByteArray(E2eeContactKeys.KEY_VALUE, Objects.requireNonNull(keyValue)); in updateOrInsertE2eeSelfKey()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java111 bundle.putByteArray(X509_CERTIFICATE, x509Certificate.getEncoded()); in saveState()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java770 msg.getData().putByteArray(EXTRA_TOKEN, token); in onEscrowTokenAdded()

12