Searched refs:binaryPath (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestExtensions.cpp | 125 [&](const std::string& binaryPath) -> android::nn::TypeManager::AppPackageInfo { in TEST_F() argument 126 return {.binaryPath = binaryPath, in TEST_F() 199 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 208 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 217 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 226 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 235 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 244 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 253 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 262 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() [all …]
|
/frameworks/ml/nn/runtime/ |
D | TypeManager.cpp | 143 .binaryPath = ::android::procpartition::getExe(getpid()), in isNNAPIVendorExtensionsUseAllowed() 149 if (appPackageInfo.binaryPath == "/system/bin/app_process64" || in isNNAPIVendorExtensionsUseAllowed() 150 appPackageInfo.binaryPath == "/system/bin/app_process32") { in isNNAPIVendorExtensionsUseAllowed() 174 if (StartsWith(appPackageInfo.binaryPath, "/vendor/") || in isExtensionsUseAllowed() 175 StartsWith(appPackageInfo.binaryPath, "/odm/") || in isExtensionsUseAllowed() 176 StartsWith(appPackageInfo.binaryPath, "/data/") || in isExtensionsUseAllowed() 177 (StartsWith(appPackageInfo.binaryPath, "/product/") && useOnProductImageEnabled)) { in isExtensionsUseAllowed() 181 if (StartsWith(appPackageInfo.binaryPath, "/data/nativetest") || in isExtensionsUseAllowed() 183 StartsWith(appPackageInfo.binaryPath, "/data/local/tmp/NeuralNetworksTest_")) { in isExtensionsUseAllowed() 188 return std::find(allowlist.begin(), allowlist.end(), appPackageInfo.binaryPath) != in isExtensionsUseAllowed() [all …]
|
D | TypeManager.h | 105 std::string binaryPath; member
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/ |
D | ExternalProtoCompiler.java | 90 String binaryPath, in encodeFromTextprotoFile() argument 95 File binFile = new File(binaryPath); in encodeFromTextprotoFile()
|