Searched refs:isExtensionsUseAllowed (Results 1 – 3 of 3) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestExtensions.cpp | 138 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info(""), in TEST_F() 142 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/foobar/foo"), in TEST_F() 146 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/data/foo"), in TEST_F() 150 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/vendor/foo"), in TEST_F() 154 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/odm/foo"), in TEST_F() 158 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/system/foo"), in TEST_F() 162 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/system/allowlisted"), in TEST_F() 166 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/product/foo"), in TEST_F() 170 EXPECT_TRUE(TypeManager::isExtensionsUseAllowed(native_info("/product/foo"), in TEST_F() 174 EXPECT_FALSE(TypeManager::isExtensionsUseAllowed(native_info("/product/foo_not_allowlisted"), in TEST_F() [all …]
|
/frameworks/ml/nn/runtime/ |
D | TypeManager.h | 131 static bool isExtensionsUseAllowed(const AppPackageInfo& appPackageInfo,
|
D | TypeManager.cpp | 138 return TypeManager::isExtensionsUseAllowed( in isNNAPIVendorExtensionsUseAllowed() 151 bool TypeManager::isExtensionsUseAllowed(const AppPackageInfo& appPackageInfo, in isExtensionsUseAllowed() function in android::nn::TypeManager
|