/system/chre/apps/test/chqts/src/general_test/ |
D | nanoapp_info_by_app_id_test.cc | 40 uint32_t appVersion; in handleEvent() local 43 nanoapp_testing::MessageType::kContinue, sizeof(&appVersion)); in handleEvent() 45 nanoapp_testing::memcpy(&appVersion, message, sizeof(appVersion)); in handleEvent() 46 appVersion = nanoapp_testing::littleEndianToHost(appVersion); in handleEvent() 50 if (runningInfo.queryByAppId() && runningInfo.validate(appVersion)) { in handleEvent()
|
D | nanoapp_info_by_instance_id_test.cc | 41 uint32_t appVersion; in handleEvent() local 44 nanoapp_testing::MessageType::kContinue, sizeof(&appVersion)); in handleEvent() 46 nanoapp_testing::memcpy(&appVersion, message, sizeof(appVersion)); in handleEvent() 47 appVersion = nanoapp_testing::littleEndianToHost(appVersion); in handleEvent() 51 if (runningInfo.queryByInstanceId() && runningInfo.validate(appVersion)) { in handleEvent()
|
D | running_info.cc | 31 bool RunningInfo::validate(uint32_t appVersion) { in validate() argument 33 if (mRunningInfo.version != appVersion) { in validate()
|
D | version_consistency_test.cc | 60 uint32_t appVersion = CHRE_API_VERSION; in setUp() local 62 &appVersion); in setUp()
|
D | running_info.h | 39 bool validate(uint32_t appVersion);
|
/system/chre/host/common/include/chre_host/ |
D | fragmented_load_transaction.h | 42 uint32_t appVersion; member 54 uint64_t appId, uint32_t appVersion, uint32_t appFlags, in FragmentedLoadRequest() 60 appVersion(appVersion), in FragmentedLoadRequest() 87 uint32_t appVersion, uint32_t appFlags,
|
D | napp_header.h | 29 uint32_t appVersion; member
|
D | host_protocol_host.h | 204 uint64_t appId, uint32_t appVersion, uint32_t appFlags, 217 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion,
|
/system/chre/platform/slpi/ |
D | platform_nanoapp.cc | 72 bool PlatformNanoappBase::setAppInfo(uint64_t appId, uint32_t appVersion, in setAppInfo() argument 77 mExpectedAppVersion = appVersion; in setAppInfo() 93 bool PlatformNanoappBase::reserveBuffer(uint64_t appId, uint32_t appVersion, in reserveBuffer() argument 110 mExpectedAppVersion = appVersion; in reserveBuffer() 237 mAppInfo->name, mAppInfo->appId, mAppInfo->appVersion, in verifyNanoappInfo() 278 return (mAppInfo != nullptr) ? mAppInfo->appVersion : mExpectedAppVersion; in getAppVersion()
|
D | host_link.cc | 493 uint32_t appVersion, in handleLoadNanoappFile() argument 498 appId, appVersion, targetApiVersion, transactionId, hostClientId); in handleLoadNanoappFile() 504 } else if (!nanoapp->setAppInfo(appId, appVersion, appFilename, in handleLoadNanoappFile() 534 uint32_t appVersion, uint32_t appFlags, in handleLoadNanoappData() argument 547 appId, appVersion, appFlags, targetApiVersion, totalAppBinaryLen, in handleLoadNanoappData() 558 appVersion, appFlags, in handleLoadNanoappData() 868 uint32_t appVersion, uint32_t appFlags, uint32_t targetApiVersion, in handleLoadNanoappRequest() argument 874 handleLoadNanoappFile(hostClientId, transactionId, appId, appVersion, in handleLoadNanoappRequest() 878 hostClientId, transactionId, appId, appVersion, appFlags, in handleLoadNanoappRequest()
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | platform_nanoapp_base.h | 44 bool setAppInfo(uint64_t appId, uint32_t appVersion, const char *appFilename, 58 bool reserveBuffer(uint64_t appId, uint32_t appVersion, uint32_t appFlags,
|
D | static_nanoapp_init.h | 49 appInfo.appVersion = appVersion_; \
|
/system/chre/platform/freertos/include/chre/target_platform/ |
D | platform_nanoapp_base.h | 59 bool setAppInfo(uint64_t appId, uint32_t appVersion, const char *appFilename, 74 bool reserveBuffer(uint64_t appId, uint32_t appVersion, uint32_t appFlags,
|
D | static_nanoapp_init.h | 48 appInfo.appVersion = appVersion_; \
|
/system/chre/platform/shared/nanoapp/ |
D | nanoapp_dso_util.cc | 44 } else if (expectedAppVersion != appInfo->appVersion) { in validateAppInfo() 47 expectedAppVersion, appInfo->appVersion); in validateAppInfo()
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 206 void sendNanoappLoad(SocketClient &client, uint64_t appId, uint32_t appVersion, in sendNanoappLoad() argument 212 1 /* transactionId */, appId, appVersion, appFlags, apiVersion, binary, in sendNanoappLoad() 243 sendNanoappLoad(client, appHeader->appId, appHeader->appVersion, in sendLoadNanoappRequest() 250 uint64_t appId, uint32_t appVersion, in sendLoadNanoappRequest() argument 260 sendNanoappLoad(client, appId, appVersion, apiVersion, appFlags, buffer); in sendLoadNanoappRequest() 346 uint32_t appVersion = kDefaultAppVersion; in main() local 357 std::istringstream(appVerStr) >> std::setbase(0) >> appVersion; in main() 365 sendLoadNanoappRequest(client, path.c_str(), id, appVersion, apiVersion, in main()
|
/system/chre/host/common/ |
D | fragmented_load_transaction.cc | 50 uint32_t transactionId, uint64_t appId, uint32_t appVersion, in FragmentedLoadTransaction() argument 62 fragmentId++, transactionId, appId, appVersion, appFlags, in FragmentedLoadTransaction()
|
D | host_protocol_host.cc | 109 builder, request.transactionId, request.appId, request.appVersion, in encodeFragmentedLoadNanoappRequest() 177 uint32_t appVersion, uint32_t appFlags, uint32_t targetApiVersion, in encodeLoadNanoappRequestForBinary() argument 182 builder, transactionId, appId, appVersion, targetApiVersion, appBinary, in encodeLoadNanoappRequestForBinary() 190 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion, in encodeLoadNanoappRequestForFile() argument 196 builder, transactionId, appId, appVersion, targetApiVersion, appBinary, in encodeLoadNanoappRequestForFile()
|
/system/chre/platform/shared/ |
D | nanoapp_load_manager.cc | 23 uint32_t appVersion, uint32_t appFlags, in prepareForLoad() argument 41 success = mNanoapp->reserveBuffer(appId, appVersion, appFlags, in prepareForLoad()
|
/system/chre/platform/freertos/ |
D | platform_nanoapp.cc | 86 return (mAppInfo != nullptr) ? mAppInfo->appVersion : mExpectedAppVersion; in getAppVersion() 172 bool PlatformNanoappBase::reserveBuffer(uint64_t appId, uint32_t appVersion, in reserveBuffer() argument 190 mExpectedAppVersion = appVersion; in reserveBuffer() 249 mAppInfo->name, mAppInfo->appId, mAppInfo->appVersion, in verifyNanoappInfo()
|
/system/chre/host/common/audio_stress_test/ |
D | audio_stress_test.cc | 81 uint64_t appId, uint32_t appVersion) { in sendLoadNanoappRequest() argument 102 FragmentedLoadTransaction(1 /* transactionId */, appId, appVersion, in sendLoadNanoappRequest()
|
/system/chre/platform/linux/ |
D | platform_nanoapp.cc | 53 return mAppInfo->appVersion; in getAppVersion() 137 mAppInfo->name, mAppInfo->appId, mAppInfo->appVersion, in openNanoappFromFile()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_protocol_chre.h | 63 uint32_t appVersion, uint32_t appFlags, uint32_t targetApiVersion, 133 uint32_t appVersion, bool enabled, bool isSystemNanoapp,
|
D | nanoapp_support_lib_dso.h | 100 uint32_t appVersion; member
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | static_nanoapp_init.h | 48 appInfo.appVersion = appVersion_; \
|