Searched refs:appPackageInfo (Results 1 – 2 of 2) sorted by relevance
100 bool fetchAppPackageLocationInfo(uid_t uid, TypeManager::AppPackageInfo* appPackageInfo) { in fetchAppPackageLocationInfo() argument120 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() local149 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 …]
122 static bool isExtensionsUseAllowed(const AppPackageInfo& appPackageInfo,