Home
last modified time | relevance | path

Searched refs:appPackageInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/
DTypeManager.cpp100 bool fetchAppPackageLocationInfo(uid_t uid, TypeManager::AppPackageInfo* appPackageInfo) { in fetchAppPackageLocationInfo() argument
120 appPackageInfo->appPackageName = packageName; in fetchAppPackageLocationInfo()
129 appPackageInfo->appIsSystemApp = in fetchAppPackageLocationInfo()
132 appPackageInfo->appIsOnVendorImage = in fetchAppPackageLocationInfo()
135 appPackageInfo->appIsOnProductImage = in fetchAppPackageLocationInfo()
142 TypeManager::AppPackageInfo appPackageInfo = { in isNNAPIVendorExtensionsUseAllowed() local
149 if (appPackageInfo.binaryPath == "/system/bin/app_process64" || in isNNAPIVendorExtensionsUseAllowed()
150 appPackageInfo.binaryPath == "/system/bin/app_process32") { in isNNAPIVendorExtensionsUseAllowed()
151 if (!fetchAppPackageLocationInfo(getuid(), &appPackageInfo)) { in isNNAPIVendorExtensionsUseAllowed()
157 appPackageInfo, isNNAPIVendorExtensionsUseAllowedInProductImage(), allowlist); in isNNAPIVendorExtensionsUseAllowed()
[all …]
DTypeManager.h122 static bool isExtensionsUseAllowed(const AppPackageInfo& appPackageInfo,