Home
last modified time | relevance | path

Searched refs:setToExternal (Results 1 – 13 of 13) 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.h75 result.setToExternal(const_cast<unsigned char*>(data), length);
85 result.setToExternal( in blob2hidlVec()
93 result.setToExternal(const_cast<uint8_t*>(blob.data()), static_cast<size_t>(blob.size())); in blob2hidlVec()
Dauthorization_set.h207 result.setToExternal(const_cast<KeyParameter*>(data()), size()); in hidl_data()
232 new_blob.setToExternal(const_cast<uint8_t*>(data), data_length); in Authorization()
/system/core/gatekeeperd/
Dgatekeeperd.cpp191 curPwdHandle.setToExternal(const_cast<uint8_t*>(current_password_handle), in enroll()
194 curPwd.setToExternal(const_cast<uint8_t*>(current_password), in enroll()
197 newPwd.setToExternal(const_cast<uint8_t*>(desired_password), in enroll()
289 curPwdHandle.setToExternal(const_cast<uint8_t*>(enrolled_password_handle), in verifyChallenge()
292 enteredPwd.setToExternal(const_cast<uint8_t*>(provided_password), in verifyChallenge()
/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/bt/vendor_libs/linux/interface/
Dhci_packetizer.cc51 packet_.setToExternal(data, len); in CbHciPacket()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp138 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec()
144 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length); in kmBlob2hidlVec()
150 result.setToExternal(const_cast<unsigned char*>(buf.peek_read()), buf.available_read()); in kmBuffer2hidlVec()
197 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data), in kmParamSet2Hidl()
352 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
DAndroidKeymaster4Device.cpp125 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec()
131 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length); in kmBlob2hidlVec()
137 result.setToExternal(const_cast<unsigned char*>(buf.peek_read()), buf.available_read()); in kmBuffer2hidlVec()
186 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data), in kmParamSet2Hidl()
234 params.seed.setToExternal(const_cast<uint8_t*>(response.params.seed.data), in getHmacSharingParameters()
411 resultKeyBlob.setToExternal(response.key_data, response.key_data_length); in exportKey()
/system/bt/hci/src/
Dhci_layer_android.cc147 data.setToExternal(packet->data + packet->offset, packet->len); in hci_transmit()
/system/libhidl/base/
DHidlSupport.cpp255 void hidl_string::setToExternal(const char *data, size_t size) { in setToExternal() function in android::hardware::hidl_string
/system/nfc/src/adaptation/
DNfcAdaptation.cc618 data.setToExternal(p_data, data_len); in HalWrite()
636 data.setToExternal(p_core_init_rsp_params, data_len); in HalCoreInitialized()
/system/libhidl/base/include/hidl/
DHidlSupport.h168 void setToExternal(const char *data, size_t size);
389 void setToExternal(T *data, size_t size, bool shouldOwn = false) {
/system/libhidl/
Dtest_main.cpp98 s.setToExternal(&myCString[0], strlen(myCString)); in TEST_F()