/system/chre/core/ |
D | host_comms_manager.cc | 29 void HostCommsManager::flushMessagesSentByNanoapp(uint64_t appId) { in flushMessagesSentByNanoapp() argument 30 mHostLink.flushMessagesSentByNanoapp(appId); in flushMessagesSentByNanoapp() 51 msgToHost->appId = nanoapp->getAppId(); in sendMessageToHostFromNanoapp() 72 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType, in deliverNanoappMessageFromHost() argument 85 msgFromHost->appId = appId; in deliverNanoappMessageFromHost() 103 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, in sendMessageToNanoappFromHost() argument 116 } else if (!eventLoop.findNanoappInstanceIdByAppId(appId, in sendMessageToNanoappFromHost() 119 appId); in sendMessageToNanoappFromHost() 121 deliverNanoappMessageFromHost(appId, hostEndpoint, messageType, messageData, in sendMessageToNanoappFromHost() 151 msgToHost->appId, msgToHost->toHostData.nanoappFreeFunction, in freeMessageToHost()
|
D | event_loop.cc | 50 info->appId = app->getAppId(); in populateNanoappInfo() 61 bool EventLoop::findNanoappInstanceIdByAppId(uint64_t appId, in findNanoappInstanceIdByAppId() argument 68 if (app->getAppId() == appId) { in findNanoappInstanceIdByAppId() 87 uint64_t appId, chreMessageFreeFunction *freeFunction, void *message, in invokeMessageFreeFunction() argument 89 Nanoapp *nanoapp = lookupAppByAppId(appId); in invokeMessageFreeFunction() 91 LOGE("Couldn't find app 0x%016" PRIx64 " for message free callback", appId); in invokeMessageFreeFunction() 308 uint64_t appId, struct chreNanoappInfo *info) const { in populateNanoappInfoForAppId() argument 310 Nanoapp *app = lookupAppByAppId(appId); in populateNanoappInfoForAppId() 426 Nanoapp *EventLoop::lookupAppByAppId(uint64_t appId) const { in lookupAppByAppId() 428 if (app->getAppId() == appId) { in lookupAppByAppId() [all …]
|
/system/chre/host/common/include/chre_host/ |
D | fragmented_load_transaction.h | 35 uint64_t appId; member 47 size_t fragmentId, uint32_t transactionId, uint64_t appId, in FragmentedLoadRequest() 52 appId(appId), in FragmentedLoadRequest() 78 uint32_t transactionId, uint64_t appId, uint32_t appVersion,
|
D | host_protocol_host.h | 142 uint64_t appId, bool allowSystemNanoappUnload); 199 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion, 212 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion,
|
/system/chre/apps/chqts/src/general_test/ |
D | nanoapp_info.cc | 27 uint64_t appId; member 41 .appId = nanoapp_testing::hostToLittleEndian(mAppId), in sendToHost() 49 bool NanoappInfo::validate(uint64_t appId, uint32_t instanceId) { in validate() argument 51 if (appId != mAppId) { in validate()
|
D | running_info.cc | 37 } else if (mRunningInfo.appId != NANOAPP_ID) { in validate() 46 result = mPlatformInfo.validate(mRunningInfo.appId, in validate()
|
/system/chre/core/include/chre/core/ |
D | host_comms_manager.h | 68 uint64_t appId; member 87 void flushMessagesSentByNanoapp(uint64_t appId); 130 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, 169 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType,
|
D | event_loop.h | 72 bool findNanoappInstanceIdByAppId(uint64_t appId, uint32_t *instanceId) const; 96 uint64_t appId, chreMessageFreeFunction *freeFunction, void *message, 224 bool populateNanoappInfoForAppId(uint64_t appId, 388 Nanoapp *lookupAppByAppId(uint64_t appId) const;
|
/system/chre/platform/slpi/ |
D | host_link.cc | 66 uint64_t appId; member 119 uint64_t appId; member 293 if (!eventLoop.findNanoappInstanceIdByAppId(cbData->appId, &instanceId)) { in handleUnloadNanoappCallback() 294 LOGE("Couldn't unload app ID 0x%016" PRIx64 ": not found", cbData->appId); in handleUnloadNanoappCallback() 317 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost() 508 uint16_t hostClientId, uint32_t transactionId, uint64_t appId, in handleLoadNanoappFile() argument 512 PRIu16 ")", appId, appVersion, targetApiVersion, transactionId, in handleLoadNanoappFile() 519 } else if (!nanoapp->setAppInfo(appId, appVersion, appFilename) in handleLoadNanoappFile() 546 uint16_t hostClientId, uint32_t transactionId, uint64_t appId, in handleLoadNanoappData() argument 556 PRIu16 ")", appId, appVersion, targetApiVersion, totalAppBinaryLen, in handleLoadNanoappData() [all …]
|
D | platform_nanoapp.cc | 174 uint64_t appId, uint32_t appVersion, const char *appFilename) { in setAppInfo() argument 176 mExpectedAppId = appId; in setAppInfo() 193 uint64_t appId, uint32_t appVersion, size_t appBinaryLen) { in reserveBuffer() argument 204 appBinaryLen, appId); in reserveBuffer() 206 mExpectedAppId = appId; in reserveBuffer() 331 PRIx32 " (%s) uimg %d system %d", mAppInfo->name, mAppInfo->appId, in verifyNanoappInfo() 364 return (mAppInfo != nullptr) ? mAppInfo->appId : mExpectedAppId; in getAppId()
|
D | nanoapp_load_manager.cc | 22 uint16_t hostClientId, uint32_t transactionId, uint64_t appId, in prepareForLoad() argument 37 success = mNanoapp->reserveBuffer(appId, appVersion, totalBinaryLen); in prepareForLoad()
|
/system/chre/platform/shared/nanoapp/ |
D | nanoapp_dso_util.cc | 37 } else if (appInfo->appId == 0) { in validateAppInfo() 39 } else if (expectedAppId != 0 && expectedAppId != appInfo->appId) { in validateAppInfo() 41 PRIx64 ")", expectedAppId, appInfo->appId); in validateAppInfo()
|
/system/chre/host/common/ |
D | host_protocol_host.cc | 104 builder, request.transactionId, request.appId, request.appVersion, in encodeFragmentedLoadNanoappRequest() 115 FlatBufferBuilder& builder, uint32_t transactionId, uint64_t appId, in encodeUnloadNanoappRequest() argument 118 builder, transactionId, appId, allowSystemNanoappUnload); in encodeUnloadNanoappRequest() 170 FlatBufferBuilder& builder, uint32_t transactionId, uint64_t appId, in encodeLoadNanoappRequestForBinary() argument 176 builder, transactionId, appId, appVersion, targetApiVersion, appBinary, in encodeLoadNanoappRequestForBinary() 183 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion, in encodeLoadNanoappRequestForFile() argument 189 builder, transactionId, appId, appVersion, targetApiVersion, appBinary, in encodeLoadNanoappRequestForFile()
|
D | fragmented_load_transaction.cc | 50 uint32_t transactionId, uint64_t appId, uint32_t appVersion, in FragmentedLoadTransaction() argument 62 fragmentId++, transactionId, appId, appVersion, targetApiVersion, in FragmentedLoadTransaction()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_protocol_chre.h | 50 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, 58 uint16_t hostClientId, uint32_t transactionId, uint64_t appId, 64 uint16_t hostClientId, uint32_t transactionId, uint64_t appId, 124 uint64_t appId, uint32_t appVersion, bool enabled, bool isSystemNanoapp);
|
/system/chre/apps/unload_tester/ |
D | unload_tester.cc | 66 CHRE_ASSERT(info.appId == chreGetAppId()); in nanoappStart() 67 CHRE_ASSERT(info.appId == kUnloadTesterAppId); in nanoappStart() 92 if (info->appId == kSpammerAppId) { in nanoappHandleEvent()
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | platform_nanoapp_base.h | 43 bool setAppInfo(uint64_t appId, uint32_t appVersion, const char *appFilename); 55 bool reserveBuffer(uint64_t appId, uint32_t appVersion, size_t appBinarylen);
|
/system/chre/build/app_support/qcom_nanohub/ |
D | app_support_uimg.cc | 40 uint64_t appId; member 55 .appId = NANOAPP_ID,
|
/system/vold/ |
D | KeyStorage.cpp | 109 const std::string& appId, std::string* key) { in generateKeymasterKey() argument 113 … .Authorization(km::TAG_APPLICATION_ID, km::support::blob2hidlVec(appId)); in generateKeymasterKey() 164 const KeyAuthentication& auth, const std::string& appId) { in beginParams() argument 167 … .Authorization(km::TAG_APPLICATION_ID, km::support::blob2hidlVec(appId)); in beginParams() 366 std::string* appId) { in generateAppId() argument 369 *appId = secdiscardable_hash + stretched; in generateAppId() 501 std::string appId; in storeKey() local 502 if (!generateAppId(auth, stretching, salt, secdiscardable_hash, &appId)) return false; in storeKey() 508 if (!generateKeymasterKey(keymaster, auth, appId, &kmKey)) return false; in storeKey() 512 std::tie(keyParams, authToken) = beginParams(auth, appId); in storeKey() [all …]
|
/system/chre/platform/shared/ |
D | host_protocol_common.cc | 30 FlatBufferBuilder& builder, uint64_t appId, uint32_t messageType, in encodeNanoappMessage() argument 36 builder, appId, messageType, hostEndpoint, messageDataOffset); in encodeNanoappMessage()
|
/system/chre/host/hal_generic/ |
D | generic_context_hub.cc | 238 transactionId, appBinary.appId, appBinary.appVersion, targetApiVersion, in loadNanoApp() 250 appBinary.customBinary.size(), appBinary.appId, transactionId, result); in loadNanoApp() 276 uint32_t hubId, uint64_t appId, uint32_t transactionId) { in unloadNanoApp() argument 285 builder, transactionId, appId, false /* allowSystemNanoappUnload */); in unloadNanoApp() 294 " as transaction ID %" PRIu32 ": result %" PRIu32, appId, transactionId, in unloadNanoApp() 301 uint32_t /* hubId */, uint64_t appId, uint32_t /* transactionId */) { in enableNanoApp() argument 304 appId); in enableNanoApp() 309 uint32_t /* hubId */, uint64_t appId, uint32_t /* transactionId */) { in disableNanoApp() argument 312 appId); in disableNanoApp() 424 appInfo.appId = nanoapp->app_id; in handleNanoappListResponse()
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | event.h | 269 uint64_t appId; member 446 bool chreGetNanoappInfoByAppId(uint64_t appId, struct chreNanoappInfo *info);
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 169 uint64_t appId, uint32_t appVersion, in sendLoadNanoappRequest() argument 188 1 /* transactionId */, appId, appVersion, apiVersion, in sendLoadNanoappRequest() 200 void sendUnloadNanoappRequest(SocketClient& client, uint64_t appId) { in sendUnloadNanoappRequest() argument 204 builder, kTransactionId, appId, true /* allowSystemNanoappUnload */); in sendUnloadNanoappRequest() 207 appId, builder.GetSize()); in sendUnloadNanoappRequest()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | event.h | 297 uint64_t appId; member 474 bool chreGetNanoappInfoByAppId(uint64_t appId, struct chreNanoappInfo *info);
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | event.h | 297 uint64_t appId; member 474 bool chreGetNanoappInfoByAppId(uint64_t appId, struct chreNanoappInfo *info);
|