Home
last modified time | relevance | path

Searched refs:clientId (Results 1 – 18 of 18) sorted by relevance

/system/chre/host/common/
Dsocket_server.cc96 pair.second.clientId, strerror(errno)); in run()
111 uint16_t clientId = pair.second.clientId; in sendToAllClients() local
112 if (sendToClientSocket(data, length, clientSocket, clientId)) { in sendToAllClients()
127 uint16_t clientId) { in sendToClientById() argument
132 uint16_t thisClientId = pair.second.clientId; in sendToClientById()
133 if (thisClientId == clientId) { in sendToClientById()
152 clientData.clientId = mNextClientId++; in acceptClientConnection()
158 if (clientData.clientId == 0) { in acceptClientConnection()
182 PRIu16, mClients.size(), clientData.clientId); in acceptClientConnection()
189 uint16_t clientId = clientData.clientId; in handleClientData() local
[all …]
/system/chre/host/common/include/chre_host/
Dsocket_server.h47 typedef std::function<void(uint16_t clientId, void *data, size_t len)>
82 bool sendToClientById(const void *data, size_t length, uint16_t clientId);
97 uint16_t clientId; member
117 uint16_t clientId);
/system/chre/platform/android/
Dinit.cc32 void onMessageReceivedFromClient(uint16_t clientId, void *data, size_t length) { in onMessageReceivedFromClient() argument
33 if (!HostProtocolHost::mutateHostClientId(data, length, clientId)) { in onMessageReceivedFromClient()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp198 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument
201 if (clientId.size()) { in addClientAndAppData()
202 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData()
253 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument
258 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics()
297 const hidl_vec<uint8_t>& clientId, in exportKey() argument
303 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
/system/security/keystore/
Dkeymaster_worker.cpp146 const hidl_vec<uint8_t>& clientId, in createKeyCharacteristicsCache() argument
216 dev, dev->getKeyCharacteristics(hidlKeyBlob, clientId, appData, hidlCb)); in createKeyCharacteristicsCache()
223 if (clientId.size()) { in createKeyCharacteristicsCache()
224 upgradeParams.push_back(TAG_APPLICATION_ID, clientId); in createKeyCharacteristicsCache()
237 dev, dev->getKeyCharacteristics(upgradedHidlKeyBlob, clientId, appData, hidlCb)); in createKeyCharacteristicsCache()
353 hidl_vec<uint8_t> clientId; in begin() local
357 clientId = authorizationValue(TAG_APPLICATION_ID, param).value(); in begin()
364 lockedEntry, clientId, appData, std::move(keyBlob), std::move(charBlob)); in begin()
848 hidl_vec<uint8_t> clientId, hidl_vec<uint8_t> appData, in getKeyCharacteristics() argument
851 Worker::addRequest([this, CAPTURE_MOVE(lockedEntry), CAPTURE_MOVE(clientId), in getKeyCharacteristics()
[all …]
Dlegacy_keymaster_device_wrapper.h55 const hidl_vec<uint8_t>& clientId,
61 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
Dlegacy_keymaster_device_wrapper.cpp250 const hidl_vec<uint8_t>& keyBlob, const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument
259 auto kmClientId = hidlVec2KmBlob(clientId); in getKeyCharacteristics()
264 clientId.size() ? &kmClientId : nullptr, appData.size() ? &kmAppData : nullptr, in getKeyCharacteristics()
316 const hidl_vec<uint8_t>& clientId, in exportKey() argument
327 auto kmClientId = hidlVec2KmBlob(clientId); in exportKey()
332 clientId.size() ? &kmClientId : nullptr, in exportKey()
Dkeymaster_worker.h182 const hidl_vec<uint8_t>& clientId,
257 void getKeyCharacteristics(LockedKeyBlobEntry lockedEntry, hidl_vec<uint8_t> clientId,
277 hidl_vec<uint8_t> clientId, hidl_vec<uint8_t> appData, Blob keyBlob,
Dkey_store_service.h99 const ::android::security::keymaster::KeymasterBlob& clientId,
111 const ::android::security::keymaster::KeymasterBlob& clientId,
Dkey_store_service.cpp711 const String16& name, const ::android::security::keymaster::KeymasterBlob& clientId, in getKeyCharacteristics()
747 std::move(lockedEntry), clientId.getData(), appData.getData(), std::move(keyBlob), in getKeyCharacteristics()
815 const ::android::security::keymaster::KeymasterBlob& clientId, in exportKey()
842 dev->exportKey(std::move(lockedEntry), KeyFormat(format), clientId.getData(), appData.getData(), in exportKey()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp210 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument
213 if (clientId.size()) { in addClientAndAppData()
214 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData()
296 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument
301 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics()
339 const hidl_vec<uint8_t>& clientId, in exportKey() argument
345 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
DAndroidKeymaster4Device.cpp199 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument
202 if (clientId.size()) { in addClientAndAppData()
203 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData()
327 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument
332 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics()
398 const hidl_vec<uint8_t>& clientId, in exportKey() argument
404 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeymaster3Device.h52 const hidl_vec<uint8_t>& clientId,
58 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
/system/keymaster/ng/include/
DAndroidKeymaster3Device.h67 const hidl_vec<uint8_t>& clientId,
73 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
DAndroidKeymaster4Device.h66 const hidl_vec<uint8_t>& clientId,
78 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl52 …(IKeystoreKeyCharacteristicsCallback cb, String alias, in KeymasterBlob clientId, in KeymasterBlob… in getKeyCharacteristics() argument
56 … int exportKey(IKeystoreExportKeyCallback cb, String alias, int format, in KeymasterBlob clientId, in exportKey() argument
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp72 keymaster_blob_t clientId; in ParseKeyBlob() local
74 keymaster_blob_t* clientIdPtr = &clientId; in ParseKeyBlob()
/system/chre/host/msm/daemon/
Dchre_daemon.cc506 static bool sendMessageToChre(uint16_t clientId, void *data, size_t length) { in sendMessageToChre() argument
517 } else if (!HostProtocolHost::mutateHostClientId(data, length, clientId)) { in sendMessageToChre()
883 void onMessageReceivedFromClient(uint16_t clientId, void *data, size_t length) { in onMessageReceivedFromClient() argument
884 sendMessageToChre(clientId, data, length); in onMessageReceivedFromClient()