Home
last modified time | relevance | path

Searched refs:appVersion (Results 1 – 25 of 25) sorted by relevance

/system/chre/apps/chqts/src/general_test/
Dnanoapp_info_by_instance_id_test.cc42 uint32_t appVersion; in handleEvent() local
47 sizeof(&appVersion)); in handleEvent()
49 nanoapp_testing::memcpy(&appVersion, message, sizeof(appVersion)); in handleEvent()
50 appVersion = nanoapp_testing::littleEndianToHost(appVersion); in handleEvent()
54 if (runningInfo.queryByInstanceId() && runningInfo.validate(appVersion)) { in handleEvent()
Dnanoapp_info_by_app_id_test.cc42 uint32_t appVersion; in handleEvent() local
47 sizeof(&appVersion)); in handleEvent()
49 nanoapp_testing::memcpy(&appVersion, message, sizeof(appVersion)); in handleEvent()
50 appVersion = nanoapp_testing::littleEndianToHost(appVersion); in handleEvent()
54 if (runningInfo.queryByAppId() && runningInfo.validate(appVersion)) { in handleEvent()
Drunning_info.cc31 bool RunningInfo::validate(uint32_t appVersion) { in validate() argument
33 if (mRunningInfo.version != appVersion) { in validate()
Dversion_sanity_test.cc61 uint32_t appVersion = CHRE_API_VERSION; in setUp() local
63 &appVersion); in setUp()
Drunning_info.h39 bool validate(uint32_t appVersion);
/system/chre/host/common/include/chre_host/
Dfragmented_load_transaction.h36 uint32_t appVersion; member
48 uint32_t appVersion, uint32_t targetApiVersion, size_t appTotalSizeBytes, in FragmentedLoadRequest()
53 appVersion(appVersion), in FragmentedLoadRequest()
78 uint32_t transactionId, uint64_t appId, uint32_t appVersion,
Dhost_protocol_host.h199 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion,
212 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion,
/system/chre/platform/slpi/include/chre/target_platform/
Dplatform_nanoapp_base.h43 bool setAppInfo(uint64_t appId, uint32_t appVersion, const char *appFilename);
55 bool reserveBuffer(uint64_t appId, uint32_t appVersion, size_t appBinarylen);
Dstatic_nanoapp_init.h49 appInfo.appVersion = appVersion_; \
/system/chre/platform/shared/nanoapp/
Dnanoapp_dso_util.cc42 } else if (expectedAppVersion != appInfo->appVersion) { in validateAppInfo()
44 PRIx32 ")", expectedAppVersion, appInfo->appVersion); in validateAppInfo()
/system/chre/host/common/
Dhost_protocol_host.cc104 builder, request.transactionId, request.appId, request.appVersion, in encodeFragmentedLoadNanoappRequest()
171 uint32_t appVersion, uint32_t targetApiVersion, 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()
Dfragmented_load_transaction.cc50 uint32_t transactionId, uint64_t appId, uint32_t appVersion, in FragmentedLoadTransaction() argument
62 fragmentId++, transactionId, appId, appVersion, targetApiVersion, in FragmentedLoadTransaction()
/system/chre/platform/slpi/
Dplatform_nanoapp.cc174 uint64_t appId, uint32_t appVersion, const char *appFilename) { in setAppInfo() argument
177 mExpectedAppVersion = appVersion; in setAppInfo()
193 uint64_t appId, uint32_t appVersion, size_t appBinaryLen) { in reserveBuffer() argument
207 mExpectedAppVersion = appVersion; in reserveBuffer()
332 mAppInfo->appVersion, getAppVersionString(), in verifyNanoappInfo()
368 return (mAppInfo != nullptr) ? mAppInfo->appVersion : mExpectedAppVersion; in getAppVersion()
Dnanoapp_load_manager.cc23 uint32_t appVersion, size_t totalBinaryLen) { in prepareForLoad() argument
37 success = mNanoapp->reserveBuffer(appId, appVersion, totalBinaryLen); in prepareForLoad()
Dhost_link.cc509 uint32_t appVersion, uint32_t targetApiVersion, const char *appFilename) { in handleLoadNanoappFile() argument
512 PRIu16 ")", appId, appVersion, targetApiVersion, transactionId, in handleLoadNanoappFile()
519 } else if (!nanoapp->setAppInfo(appId, appVersion, appFilename) in handleLoadNanoappFile()
547 uint32_t appVersion, uint32_t targetApiVersion, const void *buffer, in handleLoadNanoappData() argument
556 PRIu16 ")", appId, appVersion, targetApiVersion, totalAppBinaryLen, in handleLoadNanoappData()
568 hostClientId, transactionId, appId, appVersion, totalAppBinaryLen); in handleLoadNanoappData()
792 uint32_t appVersion, uint32_t targetApiVersion, const void *buffer, in handleLoadNanoappRequest() argument
798 hostClientId, transactionId, appId, appVersion, targetApiVersion, in handleLoadNanoappRequest()
802 hostClientId, transactionId, appId, appVersion, targetApiVersion, in handleLoadNanoappRequest()
/system/chre/host/common/test/
Dchre_test_client.cc169 uint64_t appId, uint32_t appVersion, in sendLoadNanoappRequest() argument
188 1 /* transactionId */, appId, appVersion, apiVersion, in sendLoadNanoappRequest()
256 uint32_t appVersion = kDefaultAppVersion; in main() local
266 std::istringstream(appVerStr) >> std::setbase(0) >> appVersion; in main()
271 sendLoadNanoappRequest(client, path.c_str(), id, appVersion, apiVersion); in main()
/system/chre/host/common/audio_stress_test/
Daudio_stress_test.cc80 uint64_t appId, uint32_t appVersion) { in sendLoadNanoappRequest() argument
98 1 /* transactionId */, appId, appVersion, in sendLoadNanoappRequest()
/system/chre/platform/linux/
Dplatform_nanoapp.cc53 return mAppInfo->appVersion; in getAppVersion()
121 mAppInfo->appId, mAppInfo->appVersion, mAppInfo->isTcmNanoapp, in openNanoappFromFile()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_chre.h59 uint32_t appVersion, uint32_t targetApiVersion, const void *buffer,
124 uint64_t appId, uint32_t appVersion, bool enabled, bool isSystemNanoapp);
Dnanoapp_support_lib_dso.h96 uint32_t appVersion; member
/system/chre/platform/linux/include/chre/target_platform/
Dstatic_nanoapp_init.h47 appInfo.appVersion = appVersion_; \
/system/chre/platform/slpi/include/chre/platform/slpi/
Dnanoapp_load_manager.h61 uint32_t appVersion, size_t totalBinaryLen);
/system/chre/platform/shared/
Dhost_protocol_chre.cc141 uint64_t appId, uint32_t appVersion, bool enabled, bool isSystemNanoapp) { in addNanoappListEntry() argument
143 builder, appId, appVersion, enabled, isSystemNanoapp); in addNanoappListEntry()
/system/chre/host/msm/daemon/
Dchre_daemon.cc631 uint64_t appId, uint32_t appVersion, uint32_t appTargetApiVersion, in sendNanoappLoad() argument
635 builder, transactionId, appId, appVersion, appTargetApiVersion, in sendNanoappLoad()
667 uint32_t appVersion; in loadNanoapp() member
687 success = sendNanoappLoad(appHeader->appId, appHeader->appVersion, in loadNanoapp()
/system/chre/host/hal_generic/
Dgeneric_context_hub.cc238 transactionId, appBinary.appId, appBinary.appVersion, targetApiVersion, in loadNanoApp()