Home
last modified time | relevance | path

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

12

/system/chre/apps/test/chqts/src/general_test/
Dnanoapp_info_by_app_id_test.cc40 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()
Dnanoapp_info_by_instance_id_test.cc41 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()
Drunning_info.cc31 bool RunningInfo::validate(uint32_t appVersion) { in validate() argument
33 if (mRunningInfo.version != appVersion) { in validate()
Dversion_consistency_test.cc60 uint32_t appVersion = CHRE_API_VERSION; in setUp() local
62 &appVersion); in setUp()
Drunning_info.h39 bool validate(uint32_t appVersion);
/system/chre/host/common/include/chre_host/
Dfragmented_load_transaction.h42 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,
Dnapp_header.h29 uint32_t appVersion; member
Dhost_protocol_host.h204 uint64_t appId, uint32_t appVersion, uint32_t appFlags,
217 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion,
/system/chre/platform/slpi/
Dplatform_nanoapp.cc72 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()
Dhost_link.cc493 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/
Dplatform_nanoapp_base.h44 bool setAppInfo(uint64_t appId, uint32_t appVersion, const char *appFilename,
58 bool reserveBuffer(uint64_t appId, uint32_t appVersion, uint32_t appFlags,
Dstatic_nanoapp_init.h49 appInfo.appVersion = appVersion_; \
/system/chre/platform/freertos/include/chre/target_platform/
Dplatform_nanoapp_base.h59 bool setAppInfo(uint64_t appId, uint32_t appVersion, const char *appFilename,
74 bool reserveBuffer(uint64_t appId, uint32_t appVersion, uint32_t appFlags,
Dstatic_nanoapp_init.h48 appInfo.appVersion = appVersion_; \
/system/chre/platform/shared/nanoapp/
Dnanoapp_dso_util.cc44 } else if (expectedAppVersion != appInfo->appVersion) { in validateAppInfo()
47 expectedAppVersion, appInfo->appVersion); in validateAppInfo()
/system/chre/host/common/test/
Dchre_test_client.cc206 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/
Dfragmented_load_transaction.cc50 uint32_t transactionId, uint64_t appId, uint32_t appVersion, in FragmentedLoadTransaction() argument
62 fragmentId++, transactionId, appId, appVersion, appFlags, in FragmentedLoadTransaction()
Dhost_protocol_host.cc109 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/
Dnanoapp_load_manager.cc23 uint32_t appVersion, uint32_t appFlags, in prepareForLoad() argument
41 success = mNanoapp->reserveBuffer(appId, appVersion, appFlags, in prepareForLoad()
/system/chre/platform/freertos/
Dplatform_nanoapp.cc86 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/
Daudio_stress_test.cc81 uint64_t appId, uint32_t appVersion) { in sendLoadNanoappRequest() argument
102 FragmentedLoadTransaction(1 /* transactionId */, appId, appVersion, in sendLoadNanoappRequest()
/system/chre/platform/linux/
Dplatform_nanoapp.cc53 return mAppInfo->appVersion; in getAppVersion()
137 mAppInfo->name, mAppInfo->appId, mAppInfo->appVersion, in openNanoappFromFile()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_chre.h63 uint32_t appVersion, uint32_t appFlags, uint32_t targetApiVersion,
133 uint32_t appVersion, bool enabled, bool isSystemNanoapp,
Dnanoapp_support_lib_dso.h100 uint32_t appVersion; member
/system/chre/platform/linux/include/chre/target_platform/
Dstatic_nanoapp_init.h48 appInfo.appVersion = appVersion_; \

12