Home
last modified time | relevance | path

Searched refs:mAppInfo (Results 1 – 8 of 8) sorted by relevance

/system/chre/platform/linux/
Dplatform_nanoapp.cc35 return openNanoapp() && mAppInfo->entryPoints.start(); in start()
40 mAppInfo->entryPoints.handleEvent(senderInstanceId, eventType, eventData); in handleEvent()
44 mAppInfo->entryPoints.end(); in end()
49 return (mAppInfo == nullptr) ? 0 : mAppInfo->appId; in getAppId()
53 return mAppInfo->appVersion; in getAppVersion()
61 return (mAppInfo != nullptr) ? mAppInfo->name : "Unknown"; in getAppName()
65 return (mAppInfo != nullptr) ? (mAppInfo->structMinorVersion >= in supportsAppPermissions()
72 ? mAppInfo->appPermissions in getAppPermissions()
77 return (mAppInfo != nullptr && mAppInfo->isSystemNanoapp); in isSystemNanoapp()
91 mAppInfo = appInfo; in loadStatic()
[all …]
/system/chre/platform/freertos/
Dplatform_nanoapp.cc56 } else if (mAppInfo == nullptr) { in start()
59 success = mAppInfo->entryPoints.start(); in start()
68 mAppInfo->entryPoints.handleEvent(senderInstanceId, eventType, eventData); in handleEvent()
73 mAppInfo->entryPoints.end(); in end()
81 return (mAppInfo != nullptr) ? mAppInfo->appId : mExpectedAppId; in getAppId()
86 return (mAppInfo != nullptr) ? mAppInfo->appVersion : mExpectedAppVersion; in getAppVersion()
90 return (mAppInfo != nullptr) ? (mAppInfo->structMinorVersion >= in supportsAppPermissions()
97 ? mAppInfo->appPermissions in getAppPermissions()
103 return (mAppInfo != nullptr) ? mAppInfo->name : "Unknown"; in getAppName()
108 return (mAppInfo != nullptr) ? mAppInfo->targetApiVersion in getTargetApiVersion()
[all …]
/system/chre/platform/slpi/
Dplatform_nanoapp.cc51 return openNanoapp() && mAppInfo->entryPoints.start(); in start()
60 mAppInfo->entryPoints.handleEvent(senderInstanceId, eventType, eventData); in handleEvent()
68 mAppInfo->entryPoints.end(); in end()
141 mAppInfo = appInfo; in loadStatic()
156 mAppInfo = nullptr; in closeNanoapp()
184 if (mAppInfo != nullptr) { in openNanoapp()
185 mIsUimgApp = mAppInfo->isTcmNanoapp; in openNanoapp()
225 mAppInfo = static_cast<const struct chreNslNanoappInfo *>( in verifyNanoappInfo()
227 if (mAppInfo == nullptr) { in verifyNanoappInfo()
231 mExpectedTargetApiVersion, mAppInfo); in verifyNanoappInfo()
[all …]
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubEventBetweenAppsTestExecutor.java56 private AppInfo[] mAppInfo = new AppInfo[]{new AppInfo(), new AppInfo()}; field in ContextHubEventBetweenAppsTestExecutor
78 mAppInfo[index].haveInfo); in handleMessageFromNanoApp()
83 mAppInfo[index].appId = buffer.getLong(); in handleMessageFromNanoApp()
84 mAppInfo[index].instanceId = buffer.getInt(); in handleMessageFromNanoApp()
85 mAppInfo[index].haveInfo = true; in handleMessageFromNanoApp()
95 if (!mAppInfo[otherIndex].haveInfo) { in handleMessageFromNanoApp()
102 mAppInfo[0].appId); in handleMessageFromNanoApp()
105 mAppInfo[1].appId); in handleMessageFromNanoApp()
107 mAppInfo[0].instanceId != mAppInfo[1].instanceId); in handleMessageFromNanoApp()
112 .putInt(mAppInfo[0].instanceId); in handleMessageFromNanoApp()
[all …]
/system/chre/build/app_support/qcom_nanohub/
Dapp_support_uimg.cc54 static const struct AppInfo mAppInfo = {.appId = NANOAPP_ID, variable
62 hexChreAddApp(&(mAppInfo)); in __appInit()
67 hexChreRemoveApp(&(mAppInfo)); in __appEnd()
/system/chre/platform/linux/include/chre/target_platform/
Dplatform_nanoapp_base.h66 const struct chreNslNanoappInfo *mAppInfo = nullptr; variable
/system/chre/platform/slpi/include/chre/target_platform/
Dplatform_nanoapp_base.h128 const struct chreNslNanoappInfo *mAppInfo = nullptr; variable
/system/chre/platform/freertos/include/chre/target_platform/
Dplatform_nanoapp_base.h123 const struct chreNslNanoappInfo *mAppInfo = nullptr; variable