/system/chre/host/common/ |
D | socket_server.cc | 74 pair.second.clientId, strerror(errno)); in run() 89 uint16_t clientId = pair.second.clientId; in sendToAllClients() local 90 if (sendToClientSocket(data, length, clientSocket, clientId)) { in sendToAllClients() 105 uint16_t clientId) { in sendToClientById() argument 110 uint16_t thisClientId = pair.second.clientId; in sendToClientById() 111 if (thisClientId == clientId) { in sendToClientById() 130 clientData.clientId = mNextClientId++; in acceptClientConnection() 136 if (clientData.clientId == 0) { in acceptClientConnection() 162 mClients.size(), clientData.clientId); in acceptClientConnection() 169 uint16_t clientId = clientData.clientId; in handleClientData() local [all …]
|
D | preloaded_nanoapp_loader.cc | 218 const ::chre::fbs::LoadNanoappResponseT &response, HalClientId clientId) { in onLoadNanoappResponse() argument 220 if (clientId != kHalId || !mFragmentedLoadPromise.has_value()) { in onLoadNanoappResponse() 224 response.success ? "success" : "failure", clientId, in onLoadNanoappResponse()
|
D | fbs_daemon_base.cc | 94 bool FbsDaemonBase::sendMessageToChre(uint16_t clientId, void *data, in sendMessageToChre() argument 97 if (!HostProtocolHost::mutateHostClientId(data, length, clientId)) { in sendMessageToChre()
|
/system/chre/host/hal_generic/common/ |
D | hal_client_manager.cc | 61 client.clientId << HalClientManager::kNumOfBitsForEndpointId | in mutateVendorEndpointId() 96 Client *HalClientManager::getClientByClientId(HalClientId clientId) { in getClientByClientId() argument 97 return getClientByField([&clientId](const Client &client) { in getClientByClientId() 98 return client.clientId == clientId; in getClientByClientId() 115 usedClientIds.insert(client.clientId); in updateNextClientId() 155 return client->clientId; in getClientId() 159 HalClientId clientId) { in getCallback() argument 161 const Client *client = getClientByClientId(clientId); in getCallback() 163 LOGE("Failed to find the callback for the client id %" PRIu16, clientId); in getCallback() 229 mPendingLoadTransaction->clientId == client->clientId) { in handleClientDeath() [all …]
|
D | hal_client_manager.h | 95 const HalClientId clientId) in Client() 96 : Client(uuid, name, clientId, /* pid= */ kPidUnset, in Client() 101 const HalClientId clientId, pid_t pid, in Client() 106 clientId{clientId}, 123 const HalClientId clientId; member 181 std::shared_ptr<IContextHubCallback> getCallback(HalClientId clientId); 216 getNanoappInfoFromPendingLoadTransaction(HalClientId clientId, 270 std::optional<int64_t> resetPendingUnloadTransaction(HalClientId clientId, 354 PendingTransaction(HalClientId clientId, uint32_t transactionId, in PendingTransaction() 356 this->clientId = clientId; in PendingTransaction() [all …]
|
D | multi_client_context_hub_base.cc | 219 HalClientId clientId = mHalClientManager->getClientId(pid); in loadNanoapp() local 226 if (sendFragmentedLoadRequest(clientId, request.value())) { in loadNanoapp() 242 HalClientId clientId, FragmentedLoadRequest &request) { in sendFragmentedLoadRequest() argument 247 builder.GetSize(), clientId); in sendFragmentedLoadRequest() 264 HalClientId clientId = mHalClientManager->getClientId(pid); in unloadNanoapp() local 269 builder.GetSize(), clientId); in unloadNanoapp() 273 mHalClientManager->resetPendingUnloadTransaction(clientId, transactionId); in unloadNanoapp() 608 HalClientId clientId = container->host_addr->client_id(); in handleMessageFromChre() local 616 onNanoappListResponse(*message.AsNanoappListResponse(), clientId); in handleMessageFromChre() 620 onNanoappLoadResponse(*message.AsLoadNanoappResponse(), clientId); in handleMessageFromChre() [all …]
|
D | multi_client_context_hub_base.h | 115 bool sendFragmentedLoadRequest(HalClientId clientId, 123 HalClientId clientId); 126 HalClientId clientId);
|
/system/chre/host/common/include/chre_host/ |
D | socket_server.h | 46 typedef std::function<void(uint16_t clientId, void *data, size_t len)> 81 bool sendToClientById(const void *data, size_t length, uint16_t clientId); 111 uint16_t clientId; member 134 uint16_t clientId);
|
D | fbs_daemon_base.h | 44 bool sendMessageToChre(uint16_t clientId, void *data,
|
/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/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.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() 254 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 259 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 298 const hidl_vec<uint8_t>& clientId, in exportKey() argument 304 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
|
/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() 304 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 309 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 348 const hidl_vec<uint8_t>& clientId, in exportKey() argument 354 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() 343 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 348 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 414 const hidl_vec<uint8_t>& clientId, in exportKey() argument 420 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,
|
/system/chre/host/msm/daemon/ |
D | fastrpc_daemon.cc | 109 auto serverCb = [&](uint16_t clientId, void *data, size_t len) { in run() argument 113 sendMessageToChre(clientId, data, len); in run()
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 77 keymaster_blob_t clientId; in ParseKeyBlob() local 79 keymaster_blob_t* clientIdPtr = &clientId; in ParseKeyBlob()
|
/system/chre/host/test/hal_generic/common/ |
D | hal_client_manager_test.cc | 224 EXPECT_EQ(client.clientId, systemClientId); in TEST_F() 246 EXPECT_NE(client.clientId, ::chre::kHostClientIdUnspecified); in TEST_F() 344 EXPECT_EQ(reservedClientIds.find(client.clientId), reservedClientIds.end()); in TEST_F() 443 HalClientId clientId = halClientManager->getClientId(kVendorPid); in TEST_F() local 444 EXPECT_EQ(mutatedEndpointId, 0x8000 | clientId << 6 | originalEndpointId); in TEST_F() 520 EXPECT_NE(client.clientId, ::chre::kHostClientIdUnspecified); in TEST_F()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 251 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData() argument 254 if (clientId.size()) { in addClientAndAppData() 255 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData() 369 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics() argument 374 addClientAndAppData(clientId, appData, &request.additional_params); in getKeyCharacteristics() 439 const hidl_vec<uint8_t>& clientId, in exportKey() argument 445 addClientAndAppData(clientId, appData, &request.additional_params); in exportKey()
|
/system/chre/test/simulation/ |
D | rpc_test.cc | 343 uint64_t clientId = loadNanoapp(MakeUnique<ClientApp>()); in TEST_F() local 347 sendEventToNanoapp(clientId, INCREMENT_REQUEST, kNumber); in TEST_F() 352 unloadNanoapp(clientId); in TEST_F()
|