Searched refs:allowlist (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestExtensions.cpp | 121 std::vector<std::string> allowlist = {"/data/foo", "/vendor/foo", "/odm/foo", in TEST_F() local 136 allowlist)); in TEST_F() 140 allowlist)); in TEST_F() 144 allowlist)); in TEST_F() 148 allowlist)); in TEST_F() 152 allowlist)); in TEST_F() 156 allowlist)); in TEST_F() 160 allowlist)); in TEST_F() 164 allowlist)); in TEST_F() 168 allowlist)); in TEST_F() [all …]
|
/frameworks/ml/nn/runtime/ |
D | TypeManager.cpp | 75 std::vector<std::string> allowlist = {kCtsAllowlist}; in getVendorExtensionAllowlistedApps() local 81 return allowlist; in getVendorExtensionAllowlistedApps() 90 allowlist.push_back(line); in getVendorExtensionAllowlistedApps() 95 return allowlist; in getVendorExtensionAllowlistedApps() 141 bool isNNAPIVendorExtensionsUseAllowed(const std::vector<std::string>& allowlist) { in isNNAPIVendorExtensionsUseAllowed() argument 157 appPackageInfo, isNNAPIVendorExtensionsUseAllowedInProductImage(), allowlist); in isNNAPIVendorExtensionsUseAllowed() 171 const std::vector<std::string>& allowlist) { in isExtensionsUseAllowed() argument 188 return std::find(allowlist.begin(), allowlist.end(), appPackageInfo.binaryPath) != in isExtensionsUseAllowed() 189 allowlist.end(); in isExtensionsUseAllowed() 196 std::find(allowlist.begin(), allowlist.end(), appPackageInfo.appPackageName) != in isExtensionsUseAllowed() [all …]
|
D | TypeManager.h | 124 const std::vector<std::string>& allowlist);
|
/frameworks/ml/nn/extensions/ |
D | README.md | 13 ## Extensions usage allowlist 19 The allowlist is stored in `/vendor/etc/nnapi_extensions_app_allowlist`, and contains
|