Home
last modified time | relevance | path

Searched refs:hostClientId (Results 1 – 16 of 16) sorted by relevance

/system/chre/platform/shared/
Dnanoapp_load_manager.cc21 bool NanoappLoadManager::prepareForLoad(uint16_t hostClientId, in prepareForLoad() argument
32 mCurrentLoadInfo.hostClientId = hostClientId; in prepareForLoad()
52 bool NanoappLoadManager::copyNanoappFragment(uint16_t hostClientId, in copyNanoappFragment() argument
58 if (validateFragment(hostClientId, transactionId, fragmentId)) { in copyNanoappFragment()
70 bool NanoappLoadManager::validateFragment(uint16_t hostClientId, in validateFragment() argument
78 valid = (info.hostClientId == hostClientId && in validateFragment()
86 info.hostClientId, info.transactionId, info.nextFragmentId, in validateFragment()
87 hostClientId, transactionId, fragmentId); in validateFragment()
Dhost_protocol_chre.cc53 uint16_t hostClientId = container->host_addr()->client_id(); in decodeMessageFromHost() local
69 HostMessageHandlers::handleHubInfoRequest(hostClientId); in decodeMessageFromHost()
73 HostMessageHandlers::handleNanoappListRequest(hostClientId); in decodeMessageFromHost()
83 hostClientId, request->transaction_id(), request->app_id(), in decodeMessageFromHost()
95 hostClientId, request->transaction_id(), request->app_id(), in decodeMessageFromHost()
108 HostMessageHandlers::handleDebugDumpRequest(hostClientId); in decodeMessageFromHost()
121 HostMessageHandlers::handleSelfTestRequest(hostClientId); in decodeMessageFromHost()
140 uint64_t platformId, uint32_t version, uint16_t hostClientId) { in encodeHubInfoResponse() argument
150 hostClientId); in encodeHubInfoResponse()
168 uint16_t hostClientId) { in finishNanoappListResponse() argument
[all …]
Dhost_protocol_common.cc51 uint16_t hostClientId) { in finalize() argument
52 fbs::HostAddress hostAddr(hostClientId); in finalize()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_chre.h57 static void handleHubInfoRequest(uint16_t hostClientId);
59 static void handleNanoappListRequest(uint16_t hostClientId);
62 uint16_t hostClientId, uint32_t transactionId, uint64_t appId,
67 static void handleUnloadNanoappRequest(uint16_t hostClientId,
73 static void handleDebugDumpRequest(uint16_t hostClientId);
78 static void handleSelfTestRequest(uint16_t hostClientId);
110 uint64_t platformId, uint32_t version, uint16_t hostClientId);
149 uint16_t hostClientId);
156 uint16_t hostClientId,
165 uint16_t hostClientId,
[all …]
Dnanoapp_load_manager.h34 uint16_t hostClientId; member
61 bool prepareForLoad(uint16_t hostClientId, uint32_t transactionId,
77 bool copyNanoappFragment(uint16_t hostClientId, uint32_t transactionId,
139 bool validateFragment(uint16_t hostClientId, uint32_t transactionId,
Dhost_protocol_common.h108 uint16_t hostClientId = kHostClientIdUnspecified);
/system/chre/platform/slpi/
Dhost_link.cc63 uint16_t hostClientId; member
71 uint16_t hostClientId; member
91 PendingMessage(PendingMessageType msgType, uint16_t hostClientId) { in PendingMessage()
93 data.hostClientId = hostClientId; in PendingMessage()
110 uint16_t hostClientId; member
118 uint16_t hostClientId; member
230 cbData->hostClientId); in buildNanoappListResponse()
242 HostProtocolChre::encodeLoadNanoappResponse(builder, cbData->hostClientId, in finishLoadingNanoappCallback()
268 builder, cbData->hostClientId, cbData->transactionId, success); in handleUnloadNanoappCallback()
297 int generateHubInfoResponse(uint16_t hostClientId, unsigned char *buffer, in generateHubInfoResponse() argument
[all …]
Dplatform_debug_dump_manager.cc88 bool PlatformDebugDumpManagerBase::onDebugDumpRequested(uint16_t hostClientId) { in onDebugDumpRequested() argument
89 mHostClientId = hostClientId; in onDebugDumpRequested()
/system/chre/platform/android/
Dhost_link.cc50 void sendFlatbufferToHost(T &message, uint16_t hostClientId) { in sendFlatbufferToHost() argument
57 container.host_addr.reset(new fbs::HostAddress(hostClientId)); in sendFlatbufferToHost()
64 builder.GetBufferPointer(), builder.GetSize(), hostClientId); in sendFlatbufferToHost()
86 void handleHubInfoRequest(uint16_t hostClientId) { in handleHubInfoRequest() argument
107 sendFlatbufferToHost(response, hostClientId); in handleHubInfoRequest()
115 void handleNanoappListRequest(uint16_t hostClientId) { in handleNanoappListRequest() argument
141 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()
150 void handleLoadNanoappRequest(uint16_t hostClientId, in handleLoadNanoappRequest() argument
162 uint16_t hostClientId, const fbs::UnloadNanoappRequestT &unloadRequest) { in handleUnloadNanoappRequest() argument
171 void handleDebugDumpRequest(uint16_t hostClientId) { in handleDebugDumpRequest() argument
[all …]
/system/chre/platform/freertos/
Dplatform_debug_dump_manager.cc47 void PlatformDebugDumpManagerBase::onDebugDumpRequested(uint16_t hostClientId) { in onDebugDumpRequested() argument
48 mHostClientId = hostClientId; in onDebugDumpRequested()
/system/chre/host/common/
Ddaemon_base.cc167 uint16_t hostClientId; in onMessageReceived() local
170 messageBuffer, messageLen, &hostClientId, &messageType)) { in onMessageReceived()
172 hostClientId = ::chre::kHostClientIdUnspecified; in onMessageReceived()
198 } else if (hostClientId == kHostClientIdDaemon) { in onMessageReceived()
200 } else if (hostClientId == ::chre::kHostClientIdUnspecified) { in onMessageReceived()
204 hostClientId); in onMessageReceived()
Dhost_protocol_host.cc139 const void *message, size_t messageLen, uint16_t *hostClientId, in extractHostClientIdAndType() argument
142 if (hostClientId != nullptr && messageType != nullptr) { in extractHostClientIdAndType()
150 *hostClientId = container->host_addr()->client_id(); in extractHostClientIdAndType()
159 uint16_t hostClientId) { in mutateHostClientId() argument
168 container->mutable_host_addr()->mutate_client_id(hostClientId); in mutateHostClientId()
/system/chre/platform/freertos/include/chre/target_platform/
Dplatform_debug_dump_manager_base.h36 void onDebugDumpRequested(uint16_t hostClientId);
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h179 uint16_t *hostClientId,
193 uint16_t hostClientId);
/system/chre/platform/slpi/include/chre/target_platform/
Dhost_link_base.h31 void sendDebugDumpResultToHost(uint16_t hostClientId, const char *debugStr,
Dplatform_debug_dump_manager_base.h54 bool onDebugDumpRequested(uint16_t hostClientId);