Home
last modified time | relevance | path

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

/system/chre/host/common/
Dsocket_server.cc95 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 …]
Ddaemon_base.cc149 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/
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);
98 uint16_t clientId; member
118 uint16_t clientId);
Ddaemon_base.h62 bool sendMessageToChre(uint16_t clientId, void *data, size_t dataLen);
/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/keymaster/ng/include/
DKeyMintUtils.h122 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()
DAndroidKeymaster41Device.h103 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()
DAndroidKeymaster3Device.h66 const hidl_vec<uint8_t>& clientId,
72 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
DAndroidKeymaster4Device.h69 const hidl_vec<uint8_t>& clientId,
81 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp209 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()
DAndroidKeymaster4Device.cpp162 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/
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/core/trusty/keymaster/keymint/
DTrustyKeyMintDevice.cpp84 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/
DTrustyKeymaster3Device.h52 const hidl_vec<uint8_t>& clientId,
58 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
DTrustyKeymaster4Device.h63 const hidl_vec<uint8_t>& clientId,
75 const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData,
DTrustyKeyMintDevice.h48 const vector<uint8_t>& clientId,
/system/chre/host/msm/daemon/
Dfastrpc_daemon.cc116 auto serverCb = [&](uint16_t clientId, void *data, size_t len) { in run() argument
120 sendMessageToChre(clientId, data, len); in run()
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp75 keymaster_blob_t clientId; in ParseKeyBlob() local
77 keymaster_blob_t* clientIdPtr = &clientId; in ParseKeyBlob()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp250 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()