Searched refs:appInfo (Results 1 – 10 of 10) sorted by relevance
39 static struct chreNslNanoappInfo appInfo; \40 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \41 appInfo.structMinorVersion = \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 …]
74 void loadStatic(const struct chreNslNanoappInfo *appInfo);
37 static struct chreNslNanoappInfo appInfo; \38 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \39 appInfo.structMinorVersion = \41 appInfo.targetApiVersion = CHRE_API_VERSION; \42 appInfo.vendor = "Google"; /* TODO: make this configurable */ \43 appInfo.name = #appName; \44 appInfo.isSystemNanoapp = true; \45 appInfo.isTcmNanoapp = false; \46 appInfo.appId = appId_; \47 appInfo.appVersion = appVersion_; \[all …]
49 void loadStatic(const struct chreNslNanoappInfo *appInfo);
28 const struct chreNslNanoappInfo *appInfo) { in validateAppInfo() argument31 appInfo->targetApiVersion); in validateAppInfo()34 if (appInfo->magic != CHRE_NSL_NANOAPP_INFO_MAGIC) { in validateAppInfo()36 appInfo->magic, static_cast<uint32_t>(CHRE_NSL_NANOAPP_INFO_MAGIC)); in validateAppInfo()37 } else if (appInfo->appId == 0) { in validateAppInfo()39 } else if (expectedAppId != 0 && expectedAppId != appInfo->appId) { in validateAppInfo()41 PRIx64 ")", expectedAppId, appInfo->appId); in validateAppInfo()42 } else if (expectedAppVersion != appInfo->appVersion) { in validateAppInfo()44 PRIx32 ")", expectedAppVersion, appInfo->appVersion); in validateAppInfo()48 } else if (strlen(appInfo->name) > CHRE_NSL_DSO_NANOAPP_STRING_MAX_LEN) { in validateAppInfo()[all …]
35 const struct chreNslNanoappInfo *appInfo);
91 NanoappInfo appInfo; in setUp() local92 appInfo.sendToHost(); in setUp()
72 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument75 mAppInfo = appInfo; in loadStatic()
422 HubAppInfo appInfo; in handleNanoappListResponse() local424 appInfo.appId = nanoapp->app_id; in handleNanoappListResponse()425 appInfo.version = nanoapp->version; in handleNanoappListResponse()426 appInfo.enabled = nanoapp->enabled; in handleNanoappListResponse()428 appInfoList.push_back(appInfo); in handleNanoappListResponse()
234 void PlatformNanoappBase::loadStatic(const struct chreNslNanoappInfo *appInfo) { in loadStatic() argument237 mAppInfo = appInfo; in loadStatic()