/system/chre/host/common/ |
D | socket_server.cc | 95 pair.second.clientId, strerror(errno)); in run() 110 uint16_t clientId = pair.second.clientId; in sendToAllClients() local 111 if (sendToClientSocket(data, length, clientSocket, clientId)) { in sendToAllClients() 126 uint16_t clientId) { in sendToClientById() argument 131 uint16_t thisClientId = pair.second.clientId; in sendToClientById() 132 if (thisClientId == clientId) { in sendToClientById() 151 clientData.clientId = mNextClientId++; in acceptClientConnection() 157 if (clientData.clientId == 0) { in acceptClientConnection() 183 mClients.size(), clientData.clientId); in acceptClientConnection() 190 uint16_t clientId = clientData.clientId; in handleClientData() local [all …]
|
D | daemon_base.cc | 149 bool ChreDaemonBase::sendMessageToChre(uint16_t clientId, void *data, in sendMessageToChre() argument 152 if (!HostProtocolHost::mutateHostClientId(data, length, clientId)) { in sendMessageToChre()
|
/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); 98 uint16_t clientId; member 118 uint16_t clientId);
|
D | daemon_base.h | 62 bool sendMessageToChre(uint16_t clientId, void *data, size_t dataLen);
|
/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/keymaster/ng/include/ |
D | KeyMintUtils.h | 122 inline void addClientAndAppData(const vector<uint8_t>& clientId, const vector<uint8_t>& appData, in addClientAndAppData() argument 125 if (clientId.size()) { in addClientAndAppData() 126 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData()
|
D | AndroidKeymaster41Device.h | 103 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 106 return super::getKeyCharacteristics(keyBlob, clientId, appData, _hidl_cb); in getKeyCharacteristics() 126 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in exportKey() argument 128 return super::exportKey(exportFormat, keyBlob, clientId, appData, _hidl_cb); in exportKey()
|
D | AndroidKeymaster3Device.h | 66 const hidl_vec<uint8_t>& clientId, 72 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
|
D | AndroidKeymaster4Device.h | 69 const hidl_vec<uint8_t>& clientId, 81 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 209 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument 212 if (clientId.size()) { in addClientAndAppData() 213 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData() 297 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 302 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 341 const hidl_vec<uint8_t>& clientId, in exportKey() argument 347 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
|
D | AndroidKeymaster4Device.cpp | 162 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument 165 if (clientId.size()) { in addClientAndAppData() 166 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData() 336 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 341 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 407 const hidl_vec<uint8_t>& clientId, in exportKey() argument 413 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
|
/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/core/trusty/keymaster/keymint/ |
D | TrustyKeyMintDevice.cpp | 84 void addClientAndAppData(const vector<uint8_t>& clientId, const vector<uint8_t>& appData, in addClientAndAppData() argument 87 if (clientId.size()) params->push_back(TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData() 145 const vector<uint8_t>& clientId, // in getKeyCharacteristics() argument 150 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics()
|
/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,
|
D | TrustyKeyMintDevice.h | 48 const vector<uint8_t>& clientId,
|
/system/chre/host/msm/daemon/ |
D | fastrpc_daemon.cc | 116 auto serverCb = [&](uint16_t clientId, void *data, size_t len) { in run() argument 120 sendMessageToChre(clientId, data, len); in run()
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 75 keymaster_blob_t clientId; in ParseKeyBlob() local 77 keymaster_blob_t* clientIdPtr = &clientId; in ParseKeyBlob()
|
/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()
|