Searched refs:binaryPath (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestExtensions.cpp | 134 auto native_info = [&](const std::string& binaryPath) -> android::nn::AppInfoFetcher::AppInfo { in TEST_F() argument 135 return {.binaryPath = binaryPath, in TEST_F() 228 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 237 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 246 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 255 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 264 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 273 EXPECT_EQ(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 283 EXPECT_EQ(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() 293 EXPECT_EQ(TypeManager::isExtensionsUseAllowed({.binaryPath = binary, in TEST_F() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | TypeManager.cpp | 134 if (appPackageInfo.binaryPath.starts_with("/vendor/") || in isExtensionsUseAllowed() 135 appPackageInfo.binaryPath.starts_with("/odm/") || in isExtensionsUseAllowed() 136 appPackageInfo.binaryPath.starts_with("/data/") || in isExtensionsUseAllowed() 137 (appPackageInfo.binaryPath.starts_with("/product/") && useOnProductImageEnabled)) { in isExtensionsUseAllowed() 144 if (appPackageInfo.binaryPath.starts_with("/data/nativetest") || in isExtensionsUseAllowed() 146 appPackageInfo.binaryPath.starts_with(NN_TMP_DIR "/NeuralNetworksTest_")) { in isExtensionsUseAllowed() 150 return std::find(allowlist.begin(), allowlist.end(), appPackageInfo.binaryPath) != in isExtensionsUseAllowed() 152 } else if (appPackageInfo.binaryPath == "/system/bin/app_process64" || in isExtensionsUseAllowed() 153 appPackageInfo.binaryPath == "/system/bin/app_process32") { in isExtensionsUseAllowed()
|
D | AppInfoFetcher.cpp | 64 : appInfo({.binaryPath = ::android::procpartition::getExe(getpid()), in AppInfoFetcher() 69 if (appInfo.binaryPath == "/system/bin/app_process64" || 70 appInfo.binaryPath == "/system/bin/app_process32") { 80 : appInfo({.binaryPath = "/system/bin/app_process64",
|
D | AppInfoFetcher.h | 39 std::string binaryPath; member
|
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/ |
D | MicrodroidDeviceTestBase.java | 142 public VirtualMachineConfig.Builder newVmConfigBuilderWithPayloadBinary(String binaryPath) { in newVmConfigBuilderWithPayloadBinary() argument 146 .setPayloadBinaryName(binaryPath); in newVmConfigBuilderWithPayloadBinary()
|
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/ |
D | MicrodroidTests.java | 2327 private VirtualMachineConfig buildVmConfigWithNetworkSupported(String binaryPath) in buildVmConfigWithNetworkSupported() argument 2333 newVmConfigBuilderWithPayloadBinary(binaryPath) in buildVmConfigWithNetworkSupported() 2370 private VirtualMachineConfig buildVmConfigWithVendor(File vendorDiskImage, String binaryPath) in buildVmConfigWithVendor() argument 2382 newVmConfigBuilderWithPayloadBinary(binaryPath) in buildVmConfigWithVendor()
|