Searched refs:appId (Results 1 - 25 of 34) sorted by relevance

12

/system/chre/platform/linux/
H A Dhost_link.cc21 void HostLink::flushMessagesSentByNanoapp(uint64_t appId) { argument
/system/chre/apps/chqts/src/general_test/
H A Dnanoapp_info.cc27 uint64_t appId; member in struct:general_test::AppInfo
41 info.appId = mAppId;
44 nanoapp_testing::hostToLittleEndian(&info.appId);
51 bool NanoappInfo::validate(uint64_t appId, uint32_t instanceId) { argument
53 if (appId != mAppId) {
H A Drunning_info.cc37 } else if (mRunningInfo.appId != NANOAPP_ID) {
39 "Running info appId does not match build constant");
46 result = mPlatformInfo.validate(mRunningInfo.appId,
H A Dnanoapp_info.h38 * @param appId The app ID to validate against
42 bool validate(uint64_t appId, uint32_t instanceId);
/system/chre/platform/shared/nanoapp/
H A Dnanoapp_dso_util.cc38 } else if (appInfo->appId == 0) {
40 } else if (expectedAppId != 0 && expectedAppId != appInfo->appId) {
42 PRIx64 ")", expectedAppId, appInfo->appId);
H A Dnanoapp_support_lib_dso.c47 .appId = NANOAPP_ID,
/system/chre/platform/slpi/include/chre/target_platform/
H A Dplatform_nanoapp_base.h38 * @param appId The unique app identifier associated with this binary
46 bool loadFromBuffer(uint64_t appId, uint32_t appVersion,
54 * @param appId The nanoapp's ID
59 void loadFromFile(uint64_t appId, const char *filename);
H A Dstatic_nanoapp_init.h31 * @param appId the app's unique 64-bit ID
48 appInfo.appId = appId_; \
/system/chre/platform/slpi/
H A Dpreloaded_nanoapps.cc34 const uint64_t appId; member in struct:chre::PreloadedNanoappDescriptor
51 preloadedNanoapps[i].nanoapp->loadFromFile(preloadedNanoapps[i].appId,
H A Dplatform_nanoapp.cc72 bool PlatformNanoappBase::loadFromBuffer(uint64_t appId, uint32_t appVersion, argument
85 appBinaryLen, appId);
87 mExpectedAppId = appId;
98 void PlatformNanoappBase::loadFromFile(uint64_t appId, const char *filename) { argument
100 mExpectedAppId = appId;
175 PRIx32 " uimg %d system %d", mAppInfo->name, mAppInfo->appId,
208 mAppInfo->appId, mAppInfo->appVersion, mAppInfo->isTcmNanoapp,
223 return (mAppInfo != nullptr) ? mAppInfo->appId : mExpectedAppId;
H A Dhost_link.cc55 uint64_t appId; member in struct:chre::__anon1385::LoadNanoappCallbackData
106 uint64_t appId; member in struct:chre::__anon1385::UnloadNanoappCallbackData
279 if (!eventLoop.findNanoappInstanceIdByAppId(cbData->appId, &instanceId)) {
280 LOGE("Couldn't unload app ID 0x%016" PRIx64 ": not found", cbData->appId);
303 builder, msgToHost->appId, msgToHost->toHostData.messageType,
521 void HostLink::flushMessagesSentByNanoapp(uint64_t /*appId*/) {
604 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
608 appId, hostEndpoint, messageType, messageDataLen);
613 appId, messageType, hostEndpoint, messageData, messageDataLen);
633 uint16_t hostClientId, uint32_t transactionId, uint64_t appId,
603 handleNanoappMessage( uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, const void *messageData, size_t messageDataLen) argument
632 handleLoadNanoappRequest( uint16_t hostClientId, uint32_t transactionId, uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion, const void *appBinary, size_t appBinaryLen) argument
661 handleUnloadNanoappRequest( uint16_t hostClientId, uint32_t transactionId, uint64_t appId, bool allowSystemNanoappUnload) argument
[all...]
/system/chre/core/
H A Dhost_comms_manager.cc29 void HostCommsManager::flushMessagesSentByNanoapp(uint64_t appId) { argument
30 mHostLink.flushMessagesSentByNanoapp(appId);
51 msgToHost->appId = nanoapp->getAppId();
72 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType,
85 msgFromHost->appId = appId;
103 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
116 } else if (!eventLoop.findNanoappInstanceIdByAppId(appId,
119 appId);
121 deliverNanoappMessageFromHost(appId, hostEndpoin
71 deliverNanoappMessageFromHost( uint64_t appId, uint16_t hostEndpoint, uint32_t messageType, const void *messageData, uint32_t messageSize, uint32_t targetInstanceId) argument
102 sendMessageToNanoappFromHost( uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, const void *messageData, size_t messageSize) argument
[all...]
H A Devent_loop.cc47 info->appId = app->getAppId();
61 bool EventLoop::findNanoappInstanceIdByAppId(uint64_t appId, argument
68 if (app->getAppId() == appId) {
87 uint64_t appId, chreMessageFreeFunction *freeFunction, void *message,
89 Nanoapp *nanoapp = lookupAppByAppId(appId);
91 LOGE("Couldn't find app 0x%016" PRIx64 " for message free callback", appId);
277 uint64_t appId, struct chreNanoappInfo *info) const {
279 Nanoapp *app = lookupAppByAppId(appId);
377 Nanoapp *EventLoop::lookupAppByAppId(uint64_t appId) const {
379 if (app->getAppId() == appId) {
86 invokeMessageFreeFunction( uint64_t appId, chreMessageFreeFunction *freeFunction, void *message, size_t messageSize) argument
276 populateNanoappInfoForAppId( uint64_t appId, struct chreNanoappInfo *info) const argument
[all...]
/system/chre/core/include/chre/core/
H A Dhost_comms_manager.h68 uint64_t appId; member in struct:chre::HostMessage
87 void flushMessagesSentByNanoapp(uint64_t appId);
121 * @param appId Identifier for the destination nanoapp
130 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
169 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType,
H A Devent_loop.h59 * @param appId The nanoapp identifier to search for.
61 * instanceId associated with the given appId; otherwise unmodified.
65 bool findNanoappInstanceIdByAppId(uint64_t appId, uint32_t *instanceId) const;
82 * @param appId Identifies the nanoapp that sent this message and supplied the
89 uint64_t appId, chreMessageFreeFunction *freeFunction, void *message,
204 bool populateNanoappInfoForAppId(uint64_t appId,
338 * Finds a Nanoapp with the given 64-bit appId.
343 * @param appId Nanoapp ID
347 Nanoapp *lookupAppByAppId(uint64_t appId) const;
/system/chre/platform/include/chre/platform/
H A Dhost_link.h46 void flushMessagesSentByNanoapp(uint64_t appId);
/system/chre/platform/shared/include/chre/platform/shared/
H A Dhost_protocol_chre.h37 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
45 uint16_t hostClientId, uint32_t transactionId, uint64_t appId,
50 uint16_t hostClientId, uint32_t transactionId, uint64_t appId,
110 uint64_t appId, uint32_t appVersion, bool enabled, bool isSystemNanoapp);
H A Dnanoapp_support_lib_dso.h92 uint64_t appId; member in struct:chreNslNanoappInfo
H A Dhost_protocol_common.h57 flatbuffers::FlatBufferBuilder& builder, uint64_t appId,
/system/chre/apps/unload_tester/
H A Dunload_tester.cc66 CHRE_ASSERT(info.appId == chreGetAppId());
67 CHRE_ASSERT(info.appId == kUnloadTesterAppId);
94 if (info->appId == kSpammerAppId) {
/system/chre/host/common/include/chre_host/
H A Dhost_protocol_host.h39 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
104 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion,
122 * @param appId Identifier for the app to unload
130 uint64_t appId, bool allowSystemNanoappUnload);
/system/chre/platform/shared/
H A Dhost_protocol_common.cc30 FlatBufferBuilder& builder, uint64_t appId, uint32_t messageType,
36 builder, appId, messageType, hostEndpoint, messageDataOffset);
29 encodeNanoappMessage( FlatBufferBuilder& builder, uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, const void *messageData, size_t messageDataLen) argument
/system/chre/host/hal_generic/
H A Dgeneric_context_hub.cc232 builder, transactionId, appBinary.appId, appBinary.appVersion,
243 appBinary.customBinary.size(), appBinary.appId, transactionId, result);
249 uint32_t hubId, uint64_t appId, uint32_t transactionId) {
258 builder, transactionId, appId, false /* allowSystemNanoappUnload */);
267 " as transaction ID %" PRIu32 ": result %" PRIu32, appId, transactionId,
274 uint32_t /* hubId */, uint64_t appId, uint32_t /* transactionId */) {
277 appId);
282 uint32_t /* hubId */, uint64_t appId, uint32_t /* transactionId */) {
285 appId);
333 uint64_t appId, uint32_
248 unloadNanoApp( uint32_t hubId, uint64_t appId, uint32_t transactionId) argument
273 enableNanoApp( uint32_t , uint64_t appId, uint32_t ) argument
281 disableNanoApp( uint32_t , uint64_t appId, uint32_t ) argument
332 handleNanoappMessage( uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, const void *messageData, size_t messageDataLen) argument
[all...]
/system/chre/platform/linux/include/chre/target_platform/
H A Dstatic_nanoapp_init.h30 * @param appId the app's unique 64-bit ID
46 appInfo.appId = appId_; \
/system/chre/chre_api/include/chre_api/chre/
H A Devent.h269 uint64_t appId; member in struct:chreNanoappInfo
432 * In the current API, appId is required to be unique, i.e. there cannot be two
433 * nanoapps running concurrently with the same appId. If this restriction is
434 * removed in a future API version and multiple instances of the same appId are
437 * @param appId Identifier for the nanoapp that the caller is requesting
446 bool chreGetNanoappInfoByAppId(uint64_t appId, struct chreNanoappInfo *info);

Completed in 205 milliseconds

12