Home
last modified time | relevance | path

Searched refs:appInfo (Results 1 – 22 of 22) sorted by relevance

/system/chre/platform/slpi/include/chre/target_platform/
Dstatic_nanoapp_init.h40 static struct chreNslNanoappInfo appInfo; \
41 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \
42 appInfo.structMinorVersion = CHRE_NSL_NANOAPP_INFO_STRUCT_MINOR_VERSION; \
43 appInfo.targetApiVersion = CHRE_API_VERSION; \
44 appInfo.vendor = "Google"; /* TODO: make this configurable */ \
45 appInfo.name = #appName; \
46 appInfo.isSystemNanoapp = true; \
47 appInfo.isTcmNanoapp = isSlpiUimgSupported(); \
48 appInfo.appId = appId_; \
49 appInfo.appVersion = appVersion_; \
[all …]
Dplatform_nanoapp_base.h77 void loadStatic(const struct chreNslNanoappInfo *appInfo);
/system/chre/platform/linux/include/chre/target_platform/
Dstatic_nanoapp_init.h39 static struct chreNslNanoappInfo appInfo; \
40 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \
41 appInfo.structMinorVersion = CHRE_NSL_NANOAPP_INFO_STRUCT_MINOR_VERSION; \
42 appInfo.targetApiVersion = CHRE_API_VERSION; \
43 appInfo.vendor = "Google"; /* TODO: make this configurable */ \
44 appInfo.name = #appName; \
45 appInfo.isSystemNanoapp = true; \
46 appInfo.isTcmNanoapp = false; \
47 appInfo.appId = appId_; \
48 appInfo.appVersion = appVersion_; \
[all …]
Dplatform_nanoapp_base.h47 void loadStatic(const struct chreNslNanoappInfo *appInfo);
/system/chre/platform/embos/include/chre/target_platform/
Dstatic_nanoapp_init.h38 static struct chreNslNanoappInfo appInfo; \
39 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \
40 appInfo.structMinorVersion = CHRE_NSL_NANOAPP_INFO_STRUCT_MINOR_VERSION; \
41 appInfo.targetApiVersion = CHRE_API_VERSION; \
42 appInfo.vendor = "Google"; \
43 appInfo.name = #appName; \
44 appInfo.isSystemNanoapp = true; \
45 appInfo.isTcmNanoapp = false; \
46 appInfo.appId = appId_; \
47 appInfo.appVersion = appVersion_; \
[all …]
/system/chre/platform/freertos/include/chre/target_platform/
Dstatic_nanoapp_init.h39 static struct chreNslNanoappInfo appInfo; \
40 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \
41 appInfo.structMinorVersion = CHRE_NSL_NANOAPP_INFO_STRUCT_MINOR_VERSION; \
42 appInfo.targetApiVersion = CHRE_API_VERSION; \
43 appInfo.vendor = "Google"; /* TODO: make this configurable */ \
44 appInfo.name = #appName; \
45 appInfo.isSystemNanoapp = true; \
46 appInfo.isTcmNanoapp = false; \
47 appInfo.appId = appId_; \
48 appInfo.appVersion = appVersion_; \
[all …]
Dplatform_nanoapp_base.h34 void loadStatic(const struct chreNslNanoappInfo *appInfo);
/system/chre/platform/shared/nanoapp/
Dnanoapp_dso_util.cc29 const struct chreNslNanoappInfo *appInfo) { in validateAppInfo() argument
32 CHRE_EXTRACT_MAJOR_VERSION(appInfo->targetApiVersion); in validateAppInfo()
35 if (appInfo->magic != CHRE_NSL_NANOAPP_INFO_MAGIC) { in validateAppInfo()
37 appInfo->magic, static_cast<uint32_t>(CHRE_NSL_NANOAPP_INFO_MAGIC)); in validateAppInfo()
38 } else if (appInfo->appId == 0) { in validateAppInfo()
40 } else if (expectedAppId != 0 && expectedAppId != appInfo->appId) { in validateAppInfo()
43 expectedAppId, appInfo->appId); in validateAppInfo()
44 } else if (expectedAppVersion != appInfo->appVersion) { in validateAppInfo()
47 expectedAppVersion, appInfo->appVersion); in validateAppInfo()
48 } else if (expectedTargetApiVersion != appInfo->targetApiVersion) { in validateAppInfo()
[all …]
/system/chre/test/simulation/
Dtest_util.cc56 chreNslNanoappInfo *appInfo = nanoappInfo.get(); in createStaticNanoapp() local
58 appInfo->magic = CHRE_NSL_NANOAPP_INFO_MAGIC; in createStaticNanoapp()
59 appInfo->structMinorVersion = infoStructVersion; in createStaticNanoapp()
60 appInfo->targetApiVersion = CHRE_API_VERSION; in createStaticNanoapp()
61 appInfo->vendor = "Google"; in createStaticNanoapp()
62 appInfo->name = name; in createStaticNanoapp()
63 appInfo->isSystemNanoapp = true; in createStaticNanoapp()
64 appInfo->isTcmNanoapp = true; in createStaticNanoapp()
65 appInfo->appId = appId; in createStaticNanoapp()
66 appInfo->appVersion = appVersion; in createStaticNanoapp()
[all …]
/system/chre/platform/zephyr/
Dplatform_nanoapp.cc64 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument
67 mAppInfo = appInfo; in loadStatic()
/system/chre/apps/test/chqts/src/general_test/
Devent_between_apps_test.cc86 NanoappInfo appInfo; in setUp() local
87 appInfo.sendToHost(); in setUp()
/system/chre/platform/shared/include/chre/platform/shared/
Dnanoapp_dso_util.h38 const struct chreNslNanoappInfo *appInfo);
/system/chre/platform/linux/
Dplatform_nanoapp.cc88 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument
91 mAppInfo = appInfo; in loadStatic()
/system/chre/platform/zephyr/include/chre/target_platform/
Dplatform_nanoapp_base.h35 void loadStatic(const struct ::chreNslNanoappInfo *appInfo);
/system/chre/host/hal_generic/common/
Dgeneric_context_hub_base.h312 HubAppInfo appInfo; in onNanoappListResponse() local
314 appInfo.info_1_0.appId = nanoapp->app_id; in onNanoappListResponse()
315 appInfo.info_1_0.version = nanoapp->version; in onNanoappListResponse()
316 appInfo.info_1_0.enabled = nanoapp->enabled; in onNanoappListResponse()
317 appInfo.permissions = in onNanoappListResponse()
320 appInfoList.push_back(appInfo); in onNanoappListResponse()
Dmulti_client_context_hub_base.cc450 NanoappInfo appInfo; in onNanoappListResponse() local
451 appInfo.nanoappId = nanoapp->app_id; in onNanoappListResponse()
452 appInfo.nanoappVersion = nanoapp->version; in onNanoappListResponse()
453 appInfo.enabled = nanoapp->enabled; in onNanoappListResponse()
454 appInfo.permissions = chreToAndroidPermissions(nanoapp->permissions); in onNanoappListResponse()
463 appInfo.rpcServices = rpcServices; in onNanoappListResponse()
464 appInfoList.push_back(appInfo); in onNanoappListResponse()
/system/chre/platform/exynos/include/chre/target_platform/
Dplatform_nanoapp_base.h35 void loadStatic(const struct ::chreNslNanoappInfo *appInfo);
/system/chre/platform/exynos/
Dplatform_nanoapp.cc118 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument
121 mAppInfo = appInfo; in loadStatic()
/system/chre/host/hal_generic/aidl/
Dgeneric_context_hub_aidl.cc378 NanoappInfo appInfo; in onNanoappListResponse() local
380 appInfo.nanoappId = nanoapp->app_id; in onNanoappListResponse()
381 appInfo.nanoappVersion = nanoapp->version; in onNanoappListResponse()
382 appInfo.enabled = nanoapp->enabled; in onNanoappListResponse()
383 appInfo.permissions = chreToAndroidPermissions(nanoapp->permissions); in onNanoappListResponse()
392 appInfo.rpcServices = rpcServices; in onNanoappListResponse()
394 appInfoList.push_back(appInfo); in onNanoappListResponse()
/system/chre/platform/slpi/
Dplatform_nanoapp.cc138 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument
141 mAppInfo = appInfo; in loadStatic()
/system/chre/platform/freertos/
Dplatform_nanoapp.cc170 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument
173 mAppInfo = appInfo; in loadStatic()
/system/chre/host/common/
Dchre_aidl_hal_client.cc169 const std::vector<NanoappInfo> &appInfo) override { in handleNanoappInfo() argument
170 std::cout << appInfo.size() << " nanoapps loaded" << std::endl; in handleNanoappInfo()
171 for (const NanoappInfo &app : appInfo) { in handleNanoappInfo()