Home
last modified time | relevance | path

Searched refs:allowlist (Results 1 – 7 of 7) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestExtensions.cpp125 std::vector<std::string> allowlist = {"/data/foo", "/vendor/foo", "/odm/foo", in TEST_F() local
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()
172 allowlist)); in TEST_F()
[all …]
/frameworks/ml/nn/runtime/
DTypeManager.cpp83 std::vector<std::string> allowlist = {kCtsAllowlist}; in getVendorExtensionAllowlistedApps() local
89 return allowlist; in getVendorExtensionAllowlistedApps()
98 allowlist.push_back(line); in getVendorExtensionAllowlistedApps()
103 return allowlist; in getVendorExtensionAllowlistedApps()
123 bool isNNAPIVendorExtensionsUseAllowed(const std::vector<std::string>& allowlist) { in isNNAPIVendorExtensionsUseAllowed() argument
139 appPackageInfo, isNNAPIVendorExtensionsUseAllowedInProductImage(), allowlist); in isNNAPIVendorExtensionsUseAllowed()
153 const std::vector<std::string>& allowlist) { in isExtensionsUseAllowed() argument
170 return std::find(allowlist.begin(), allowlist.end(), appPackageInfo.binaryPath) != in isExtensionsUseAllowed()
171 allowlist.end(); in isExtensionsUseAllowed()
178 std::find(allowlist.begin(), allowlist.end(), appPackageInfo.appPackageName) != in isExtensionsUseAllowed()
[all …]
DTypeManager.h133 const std::vector<std::string>& allowlist);
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp574 static const unsigned allowlist[] = { in checkAndSetPerformanceModePre() local
583 for (unsigned i = 0; i < sizeof(allowlist)/sizeof(allowlist[0]); ++i) { in checkAndSetPerformanceModePre()
584 if (mph == allowlist[i]) { in checkAndSetPerformanceModePre()
DAudioPlayer_to_android.cpp1550 static const unsigned allowlist[] = { in checkAndSetPerformanceModePre() local
1564 for (unsigned i = 0; i < sizeof(allowlist)/sizeof(allowlist[0]); ++i) { in checkAndSetPerformanceModePre()
1565 if (mph == allowlist[i]) { in checkAndSetPerformanceModePre()
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md3 …ing on the status of Data Saver mode, Battery Saver mode, and the app's allowlist on those restric…
/frameworks/ml/nn/extensions/
DREADME.md13 ## Extensions usage allowlist
26 The allowlist is enforced from the NNAPI runtime shared library. This library