Searched refs:isExtensionsUseAllowed (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestExtensions.cpp | 143 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info(""), in TEST_F() 147 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/foobar/foo"), in TEST_F() 151 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/data/foo"), in TEST_F() 155 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/vendor/foo"), in TEST_F() 159 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/odm/foo"), in TEST_F() 163 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/system/foo"), in TEST_F() 167 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/system/allowlisted"), in TEST_F() 171 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/product/foo"), in TEST_F() 175 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/product/foo"), in TEST_F() 184 EXPECT_EQ(TypeManager::isExtensionsUseAllowed(native_info("/product/foo_not_allowlisted"), in TEST_F() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | TypeManager.cpp | 124 mExtensionsAllowed = TypeManager::isExtensionsUseAllowed( in TypeManager() 135 bool TypeManager::isExtensionsUseAllowed(const AppInfoFetcher::AppInfo& appPackageInfo, in isExtensionsUseAllowed() function in android::nn::TypeManager
|
D | TypeManager.h | 120 static bool isExtensionsUseAllowed(const AppInfoFetcher::AppInfo& appPackageInfo,
|