/system/chre/host/common/ |
D | socket_server.cc | 96 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/ |
D | socket_server.h | 47 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/ |
D | init.cc | 32 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/ |
D | TrustyKeymaster3Device.cpp | 198 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/ |
D | keymaster_worker.cpp | 146 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 …]
|
D | legacy_keymaster_device_wrapper.h | 55 const hidl_vec<uint8_t>& clientId, 61 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
|
D | legacy_keymaster_device_wrapper.cpp | 250 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()
|
D | keymaster_worker.h | 182 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,
|
D | key_store_service.h | 99 const ::android::security::keymaster::KeymasterBlob& clientId, 111 const ::android::security::keymaster::KeymasterBlob& clientId,
|
D | key_store_service.cpp | 711 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/ |
D | AndroidKeymaster3Device.cpp | 210 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()
|
D | AndroidKeymaster4Device.cpp | 199 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/ |
D | TrustyKeymaster3Device.h | 52 const hidl_vec<uint8_t>& clientId, 58 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
|
/system/keymaster/ng/include/ |
D | AndroidKeymaster3Device.h | 67 const hidl_vec<uint8_t>& clientId, 73 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
|
D | AndroidKeymaster4Device.h | 66 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/ |
D | IKeystoreService.aidl | 52 …(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/ |
D | keymaster2_passthrough_context.cpp | 72 keymaster_blob_t clientId; in ParseKeyBlob() local 74 keymaster_blob_t* clientIdPtr = &clientId; in ParseKeyBlob()
|
/system/chre/host/msm/daemon/ |
D | chre_daemon.cc | 506 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()
|