Lines Matching refs:native_info
134 auto native_info = [&](const std::string& binaryPath) -> android::nn::AppInfoFetcher::AppInfo { in TEST_F() local
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()
188 EXPECT_EQ(TypeManager::isExtensionsUseAllowed(native_info("/product/foo_not_allowlisted"), in TEST_F()
193 TypeManager::isExtensionsUseAllowed(native_info("/odm/foo_not_allowlisted"), in TEST_F()
198 TypeManager::isExtensionsUseAllowed(native_info("/vendor/foo_not_allowlisted"), in TEST_F()
203 TypeManager::isExtensionsUseAllowed(native_info("/data/foo_not_allowlisted"), in TEST_F()