Searched refs:appInfo (Results 1 – 13 of 13) sorted by relevance
40 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 …]
78 void loadStatic(const struct chreNslNanoappInfo *appInfo);
39 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 …]
49 void loadStatic(const struct chreNslNanoappInfo *appInfo);
34 void loadStatic(const struct chreNslNanoappInfo *appInfo);
29 const struct chreNslNanoappInfo *appInfo) { in validateAppInfo() argument32 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 …]
38 const struct chreNslNanoappInfo *appInfo);
86 NanoappInfo appInfo; in setUp() local87 appInfo.sendToHost(); in setUp()
88 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument91 mAppInfo = appInfo; in loadStatic()
442 HubAppInfo appInfo; in handleNanoappListResponse() local444 appInfo.info_1_0.appId = nanoapp->app_id; in handleNanoappListResponse()445 appInfo.info_1_0.version = nanoapp->version; in handleNanoappListResponse()446 appInfo.info_1_0.enabled = nanoapp->enabled; in handleNanoappListResponse()447 appInfo.permissions = chreToAndroidPermissions(nanoapp->permissions); in handleNanoappListResponse()449 appInfoList.push_back(appInfo); in handleNanoappListResponse()
166 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument169 mAppInfo = appInfo; in loadStatic()
138 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument141 mAppInfo = appInfo; in loadStatic()