Home
last modified time | relevance | path

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

/system/security/keystore/tests/
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()
/system/keymaster/ng/include/
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()
Dauthorization_set.h198 result.setToExternal(const_cast<KeyParameter*>(data()), size()); in hidl_data()
223 new_blob.setToExternal(const_cast<uint8_t*>(data), data_length); in Authorization()
/system/core/gatekeeperd/
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()
/system/bt/vendor_libs/linux/interface/
Dhci_packetizer.cc51 packet_.setToExternal(data, len); in CbHciPacket()
/system/core/trusty/keymaster/3.0/
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()
/system/keymaster/ng/
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()
DAndroidKeymaster4Device.cpp90 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec()
96 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length); in kmBlob2hidlVec()
102 result.setToExternal(const_cast<unsigned char*>(buf.peek_read()), buf.available_read()); in kmBuffer2hidlVec()
149 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data), in kmParamSet2Hidl()
244 params.seed.setToExternal(const_cast<uint8_t*>(response.params.seed.data), in getHmacSharingParameters()
420 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp178 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec()
184 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length); in kmBlob2hidlVec()
190 result.setToExternal(const_cast<unsigned char*>(buf.peek_read()), buf.available_read()); in kmBuffer2hidlVec()
237 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data), in kmParamSet2Hidl()
277 params.seed.setToExternal(const_cast<uint8_t*>(response.params.seed.data), in getHmacSharingParameters()
451 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
/system/bt/hci/src/
Dhci_layer_android.cc209 data.setToExternal(packet->data + packet->offset, packet->len); in hci_transmit()
/system/libhidl/base/
DHidlSupport.cpp258 void hidl_string::setToExternal(const char *data, size_t size) { in setToExternal() function in android::hardware::hidl_string
/system/nfc/src/adaptation/
DNfcAdaptation.cc650 data.setToExternal(p_data, data_len); in HalWrite()
668 data.setToExternal(p_core_init_rsp_params, data_len); in HalCoreInitialized()
/system/libhidl/base/include/hidl/
DHidlSupport.h175 void setToExternal(const char *data, size_t size);
393 void setToExternal(T *data, size_t size, bool shouldOwn = false) {
/system/libhidl/
Dtest_main.cpp109 s.setToExternal(&myCString[0], strlen(myCString)); in TEST_F()