/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/keymaster/ng/include/ |
D | AndroidKeymaster41Device.h | 102 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 105 return super::getKeyCharacteristics(keyBlob, clientId, appData, _hidl_cb); in getKeyCharacteristics() 125 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in exportKey() argument 127 return super::exportKey(exportFormat, keyBlob, clientId, appData, _hidl_cb); in exportKey()
|
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 | 67 const hidl_vec<uint8_t>& clientId, 79 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
|
/system/security/keystore/ |
D | keymaster_worker.cpp | 181 const hidl_vec<uint8_t>& clientId, in createKeyCharacteristicsCache() argument 251 dev, dev->getKeyCharacteristics(hidlKeyBlob, clientId, appData, hidlCb)); in createKeyCharacteristicsCache() 258 if (clientId.size()) { in createKeyCharacteristicsCache() 259 upgradeParams.push_back(TAG_APPLICATION_ID, clientId); in createKeyCharacteristicsCache() 272 dev, dev->getKeyCharacteristics(upgradedHidlKeyBlob, clientId, appData, hidlCb)); in createKeyCharacteristicsCache() 389 hidl_vec<uint8_t> clientId; in begin() local 393 clientId = authorizationValue(TAG_APPLICATION_ID, param).value(); in begin() 400 lockedEntry, clientId, appData, std::move(keyBlob), std::move(charBlob)); in begin() 884 hidl_vec<uint8_t> clientId, hidl_vec<uint8_t> appData, in getKeyCharacteristics() argument 887 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 | 177 const hidl_vec<uint8_t>& clientId, 252 void getKeyCharacteristics(LockedKeyBlobEntry lockedEntry, hidl_vec<uint8_t> clientId, 272 hidl_vec<uint8_t> clientId, hidl_vec<uint8_t> appData, Blob keyBlob,
|
D | key_store_service.h | 98 const ::android::security::keymaster::KeymasterBlob& clientId, 110 const ::android::security::keymaster::KeymasterBlob& clientId,
|
D | key_store_service.cpp | 673 const String16& name, const ::android::security::keymaster::KeymasterBlob& clientId, in getKeyCharacteristics() 708 std::move(lockedEntry), clientId.getData(), appData.getData(), std::move(keyBlob), in getKeyCharacteristics() 775 const ::android::security::keymaster::KeymasterBlob& clientId, in exportKey() 801 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 | 164 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument 167 if (clientId.size()) { in addClientAndAppData() 168 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData() 340 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 345 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 411 const hidl_vec<uint8_t>& clientId, in exportKey() argument 417 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,
|
D | TrustyKeymaster4Device.h | 63 const hidl_vec<uint8_t>& clientId, 75 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 250 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument 253 if (clientId.size()) { in addClientAndAppData() 254 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData() 368 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 373 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 438 const hidl_vec<uint8_t>& clientId, in exportKey() argument 444 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
|
/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/security/keystore/binder/android/security/keystore/ |
D | IKeystoreService.aidl | 61 …(IKeystoreKeyCharacteristicsCallback cb, String alias, in KeymasterBlob clientId, in KeymasterBlob… in getKeyCharacteristics() argument 65 … int exportKey(IKeystoreExportKeyCallback cb, String alias, int format, in KeymasterBlob clientId, in exportKey() argument
|
/system/chre/host/msm/daemon/ |
D | chre_daemon.cc | 589 static bool sendMessageToChre(uint16_t clientId, void *data, size_t length) { in sendMessageToChre() argument 600 } else if (!HostProtocolHost::mutateHostClientId(data, length, clientId)) { in sendMessageToChre() 966 void onMessageReceivedFromClient(uint16_t clientId, void *data, size_t length) { in onMessageReceivedFromClient() argument 967 sendMessageToChre(clientId, data, length); in onMessageReceivedFromClient()
|