Home
last modified time | relevance | path

Searched refs:setToExternal (Results 1 – 25 of 139) sorted by relevance

123456

/aosp12/system/security/keystore/tests/
H A Dauth_token_formatting_test.cpp98 hidl_test_token.setToExternal(const_cast<unsigned char*>(test_token), sizeof(test_token)); in TEST()
105 hidl_test_token.setToExternal(const_cast<unsigned char*>(test_token), sizeof(test_token)); in TEST()
112 hidl_test_token.setToExternal(const_cast<unsigned char*>(test_token), sizeof(test_token)); in TEST()
119 hidl_test_token.setToExternal(const_cast<unsigned char*>(test_token), sizeof(test_token)); in TEST()
126 hidl_test_token.setToExternal(const_cast<unsigned char*>(test_token), sizeof(test_token)); in TEST()
135 hidl_test_token.setToExternal(const_cast<unsigned char*>(test_token), sizeof(test_token)); in TEST()
143 hidl_test_token.setToExternal(const_cast<unsigned char*>(test_token), sizeof(test_token)); in TEST()
/aosp12/hardware/interfaces/renderscript/1.0/vts/functional/
H A DVtsScriptTests.cpp46 bitcode.setToExternal((uint8_t*)bitCode, bitCodeLength); in TEST_P()
137 bitcode.setToExternal((uint8_t*)bitCode, bitCodeLength); in TEST_P()
196 bitcode.setToExternal((uint8_t*)bitCode, bitCodeLength); in TEST_P()
226 vains.setToExternal(&allocation, 1); in TEST_P()
274 vains.setToExternal(&allocation, 1); in TEST_P()
318 _dim.setToExternal((uint8_t*)&dim, sizeof(int)); in TEST_P()
340 _dataIn.setToExternal(dataIn.data(), dataIn.size()); in TEST_P()
341 _dataOut.setToExternal(dataOut.data(), dataOut.size()); in TEST_P()
429 _dataIn.setToExternal(dataIn.data(), dataIn.size()); in TEST_P()
454 params.setToExternal((uint8_t*)&dim, sizeof(dim)); in TEST_P()
[all …]
H A DVtsCopyTests.cpp48 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
84 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
121 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
152 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
196 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
248 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
297 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
317 _offsets.setToExternal(offsets.data(), offsets.size()); in TEST_P()
355 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(uint8_t)); in TEST_P()
401 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P()
[all …]
H A DVtsMiscellaneousTests.cpp160 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(uint32_t)); in TEST_P()
213 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(uint32_t)); in TEST_P()
278 _data.setToExternal((uint8_t*)messageSend.data(), messageSend.size()); in TEST_P()
312 _nameIn.setToExternal(nameIn.c_str(), nameIn.length()); in TEST_P()
/aosp12/hardware/interfaces/broadcastradio/1.0/default/
H A DUtils.cpp151 config->spacings.setToExternal(const_cast<unsigned int *>(&halConfig->spacings[0]), in convertBandConfigFromHal()
174 …properties->implementor.setToExternal(halProperties->implementor, strlen(halProperties->implemento… in convertPropertiesFromHal()
175 properties->product.setToExternal(halProperties->product, strlen(halProperties->product)); in convertPropertiesFromHal()
176 properties->version.setToExternal(halProperties->version, strlen(halProperties->version)); in convertPropertiesFromHal()
177 properties->serial.setToExternal(halProperties->serial, strlen(halProperties->serial)); in convertPropertiesFromHal()
187 properties->bands.setToExternal(bands, halProperties->num_bands); in convertPropertiesFromHal()
269 newMetadata[outCount].rawValue.setToExternal(static_cast<uint8_t *>(value), size); in convertMetaDataFromHal()
285 metadata.setToExternal(newMetadata, outCount); in convertMetaDataFromHal()
/aosp12/hardware/interfaces/cas/1.0/vts/functional/
H A DVtsHalCasV1_0TargetTest.cpp309 hidlSubSamples.setToExternal(const_cast<SubSample*>(kSubSamples), in descrambleTestInputBuffer()
371 hidlSubSamples.setToExternal( in descrambleTestOobInput()
526 hidlNullPtr.setToExternal(static_cast<uint8_t*>(nullptr), 0); in TEST_P()
533 hidlRefreshData.setToExternal(static_cast<uint8_t*>(refreshData), sizeof(refreshData)); in TEST_P()
546 hidlEventData.setToExternal(static_cast<uint8_t*>(eventData), sizeof(eventData)); in TEST_P()
557 hidlEcm.setToExternal(const_cast<uint8_t*>(kEcmBinaryBuffer), sizeof(kEcmBinaryBuffer)); in TEST_P()
648 hidlEcm.setToExternal(const_cast<uint8_t*>(kEcmBinaryBuffer), sizeof(kEcmBinaryBuffer)); in TEST_P()
657 hidlEcm.setToExternal(const_cast<uint8_t*>(kEcmBinaryBuffer), sizeof(kEcmBinaryBuffer)); in TEST_P()
667 hidlEcm.setToExternal(const_cast<uint8_t*>(kEcmBinaryBuffer), 8); in TEST_P()
676 hidlEcm.setToExternal(static_cast<uint8_t*>(badDescriptor), sizeof(badDescriptor)); in TEST_P()
[all …]
/aosp12/system/keymaster/ng/include/
H A Dkeystore_hidl_support.h73 result.setToExternal(const_cast<unsigned char*>(data), length);
83 result.setToExternal( in blob2hidlVec()
91 result.setToExternal(const_cast<uint8_t*>(blob.data()), static_cast<size_t>(blob.size())); in blob2hidlVec()
/aosp12/hardware/qcom/sm7250/display/gralloc/
H A DQtiAllocator.cpp78 reply.setToExternal(os.str().c_str(), os.str().length()); in dumpDebugInfo()
111 hidl_buffers.setToExternal(buffers.data(), buffers.size()); in allocate()
178 hidl_buffers.setToExternal(buffers.data(), buffers.size()); in allocate()
/aosp12/hardware/qcom/sm8150/display/gralloc/
H A DQtiAllocator.cpp78 reply.setToExternal(os.str().c_str(), os.str().length()); in dumpDebugInfo()
111 hidl_buffers.setToExternal(buffers.data(), buffers.size()); in allocate()
178 hidl_buffers.setToExternal(buffers.data(), buffers.size()); in allocate()
/aosp12/hardware/interfaces/cas/1.1/vts/functional/
H A DVtsHalCasV1_1TargetTest.cpp350 hidlSubSamples.setToExternal(const_cast<SubSample*>(kSubSamples), in descrambleTestInputBuffer()
408 hidlSubSamples.setToExternal(const_cast<SubSample*>(params.subSamples), params.numSubSamples, in descrambleTestOobInput()
500 hidlNullPtr.setToExternal(static_cast<uint8_t*>(nullptr), 0); in TEST_P()
507 hidlRefreshData.setToExternal(static_cast<uint8_t*>(refreshData), sizeof(refreshData)); in TEST_P()
521 hidlEventData.setToExternal(static_cast<uint8_t*>(eventData), sizeof(eventData)); in TEST_P()
527 hidlClearKeyEmm.setToExternal(static_cast<uint8_t*>(clearKeyEmmData), sizeof(clearKeyEmmData)); in TEST_P()
533 hidlEcm.setToExternal(const_cast<uint8_t*>(kEcmBinaryBuffer), sizeof(kEcmBinaryBuffer)); in TEST_P()
/aosp12/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
H A DGenericOperation.h126 s.setToExternal(promptStringBuffer_, strlen(promptStringBuffer_)); in getPrompt()
168 result.setToExternal(formattedMessageBuffer_, formattedMessageLength_); in getMessage()
179 result.setToExternal(confirmationTokenScratchpad_->data(), in userConfirm()
/aosp12/hardware/qcom/sdm845/display/gralloc/
H A DQtiAllocator.cpp58 reply.setToExternal(os.str().c_str(), os.str().length()); in dumpDebugInfo()
90 hidl_buffers.setToExternal(buffers.data(), buffers.size()); in allocate()
/aosp12/hardware/interfaces/drm/1.0/default/
H A DTypeConvert.h34 vec.setToExternal(const_cast<T *>(Vector.array()), Vector.size()); in toHidlVec()
40 vec.setToExternal(Vector.editArray(), Vector.size()); in toHidlVec()
/aosp12/hardware/interfaces/cas/1.2/vts/functional/
H A DVtsHalCasV1_2TargetTest.cpp384 hidlSubSamples.setToExternal(const_cast<SubSample*>(kSubSamples), in descrambleTestInputBuffer()
442 hidlSubSamples.setToExternal(const_cast<SubSample*>(params.subSamples), params.numSubSamples, in descrambleTestOobInput()
533 hidlNullPtr.setToExternal(static_cast<uint8_t*>(nullptr), 0); in TEST_P()
540 hidlRefreshData.setToExternal(static_cast<uint8_t*>(refreshData), sizeof(refreshData)); in TEST_P()
554 hidlEventData.setToExternal(static_cast<uint8_t*>(eventData), sizeof(eventData)); in TEST_P()
564 hidlClearKeyEmm.setToExternal(static_cast<uint8_t*>(clearKeyEmmData), sizeof(clearKeyEmmData)); in TEST_P()
570 hidlEcm.setToExternal(const_cast<uint8_t*>(kEcmBinaryBuffer), sizeof(kEcmBinaryBuffer)); in TEST_P()
/aosp12/frameworks/rs/
H A DrsHidlAdaptation.cpp393 _data.setToExternal(const_cast<uint8_t *>(data), len); in ContextSendMessage()
439 _bitmap.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes); in AllocationCreateFromBitmap()
562 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes); in Allocation1DData()
572 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes); in Allocation1DElementData()
583 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes); in AllocationElementData()
595 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes); in Allocation2DData()
606 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes); in Allocation3DData()
747 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), len); in ScriptInvokeV()
885 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), len); in ScriptSetVarV()
907 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), len); in ScriptSetVarVE()
[all …]
/aosp12/system/core/gatekeeperd/
H A Dgatekeeperd.cpp192 curPwdHandle.setToExternal(const_cast<uint8_t*>(currentPasswordHandle->data()), in enroll()
194 curPwd.setToExternal(const_cast<uint8_t*>(currentPassword->data()), in enroll()
199 newPwd.setToExternal(const_cast<uint8_t*>(desiredPassword.data()), desiredPassword.size()); in enroll()
275 curPwdHandle.setToExternal(const_cast<uint8_t*>(enrolledPasswordHandle.data()), in verifyChallenge()
278 enteredPwd.setToExternal(const_cast<uint8_t*>(providedPassword.data()), in verifyChallenge()
/aosp12/hardware/interfaces/soundtrigger/2.1/default/
H A DSoundTriggerHw.cpp52 vec->setToExternal(static_cast<uint8_t*>(static_cast<void*>(memory->getPointer())), in memoryAsVector()
125 soundModel_2_0.phrases.setToExternal( in loadPhraseSoundModel_2_1()
156 event.phraseExtras.setToExternal(event_2_0.phraseExtras.data(), in recognitionCallback()
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
H A DTypeConvert.h35 hVec.setToExternal(const_cast<T *>(vec.data()), vec.size()); in toHidlVec()
41 hVec.setToExternal(vec.data(), vec.size()); in toHidlVec()
/aosp12/frameworks/native/libs/gralloc/types/fuzzer/
H A Dmain.cpp34 vec.setToExternal(const_cast<uint8_t*>(input.data()), input.size(), false /*shouldOwn*/); in doFuzz()
77 vec.setToExternal(const_cast<uint8_t*>(input.data() + sizeUsed), input.size() - sizeUsed, in doFuzzVendorHelper()
/aosp12/hardware/qcom/sm7250/display/composer/
H A DQtiComposer.cpp80 caps_reply.setToExternal(caps.data(), caps.size()); in getCapabilities()
96 buf_reply.setToExternal(buf.data(), len); in dumpDebugInfo()
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
H A DVehicleUtils.cpp102 dest->setToExternal(const_cast<T*>(&src[0]), src.size()); in shallowCopyHidlVec()
112 dest->setToExternal(src.c_str(), src.size()); in shallowCopyHidlStr()
/aosp12/hardware/interfaces/gatekeeper/1.0/default/
H A DGatekeeper.cpp71 rsp.data.setToExternal(enrolled_password_handle, in enroll()
102 rsp.data.setToExternal(auth_token, auth_token_length, true); in verify()
/aosp12/system/keymaster/ng/
H A DAndroidKeymaster3Device.cpp137 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec()
143 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length); in kmBlob2hidlVec()
149 result.setToExternal(const_cast<unsigned char*>(buf.peek_read()), buf.available_read()); in kmBuffer2hidlVec()
196 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data), in kmParamSet2Hidl()
354 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
/aosp12/system/core/trusty/keymaster/3.0/
H A DTrustyKeymaster3Device.cpp126 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec()
132 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length); in kmBlob2hidlVec()
138 result.setToExternal(const_cast<unsigned char*>(buf.peek_read()), buf.available_read()); in kmBuffer2hidlVec()
185 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data), in kmParamSet2Hidl()
310 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
/aosp12/hardware/interfaces/gatekeeper/1.0/vts/functional/
H A DVtsHalGatekeeperV1_0TargetTest.cpp166 req.newPwd.setToExternal(password.data(), password.size()); in enrollNewPassword()
263 reenrollReq.newPwd.setToExternal(newPassword.data(), newPassword.size()); in TEST_P()
264 reenrollReq.curPwd.setToExternal(password.data(), password.size()); in TEST_P()
265 reenrollReq.curPwdHandle.setToExternal(enrollRsp.data.data(), in TEST_P()

123456