HomeSort by relevance Sort by last modified time
    Searched refs:setAppOpsMode (Results 1 - 6 of 6) sorted by null

  /cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
ExternalSourcesInstantAppsTest.kt 38 private fun setAppOpsMode(mode: Int) {
44 setAppOpsMode(MODE_ERRORED)
51 setAppOpsMode(MODE_ALLOWED)
58 setAppOpsMode(MODE_DEFAULT)
65 setAppOpsMode(MODE_DEFAULT)
ExternalSourcesTest.kt 51 private fun setAppOpsMode(mode: Int) {
71 setAppOpsMode(MODE_ERRORED)
93 setAppOpsMode(MODE_ALLOWED)
137 setAppOpsMode(MODE_ERRORED)
144 setAppOpsMode(MODE_ALLOWED)
151 setAppOpsMode(MODE_DEFAULT)
165 setAppOpsMode(MODE_DEFAULT)
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 234 setAppOpsMode(AppOpsManager.OPSTR_WRITE_SETTINGS, "allow");
241 setAppOpsMode(AppOpsManager.OPSTR_WRITE_SETTINGS, mWriteSettingsMode);
244 setAppOpsMode(AppOpsManager.OPSTR_GET_USAGE_STATS, mUsageStatsMode);
249 private void setAppOpsMode(String appop, String mode) throws Exception {
354 setAppOpsMode(AppOpsManager.OPSTR_GET_USAGE_STATS, "allow");
369 setAppOpsMode(AppOpsManager.OPSTR_GET_USAGE_STATS, "deny");
389 setAppOpsMode(AppOpsManager.OPSTR_GET_USAGE_STATS, "allow");
404 setAppOpsMode(AppOpsManager.OPSTR_GET_USAGE_STATS, "deny");
424 setAppOpsMode(AppOpsManager.OPSTR_GET_USAGE_STATS, "allow");
469 setAppOpsMode(AppOpsManager.OPSTR_GET_USAGE_STATS, "deny")
    [all...]
UsageStatsTest.java 127 setAppOpsMode("allow");
149 private void setAppOpsMode(String mode) throws Exception {
354 setAppOpsMode("ignore"); // To ensure permission is not required
522 setAppOpsMode("ignore");
    [all...]
  /cts/tests/AlarmManager/src/android/alarmmanager/cts/
BackgroundRestrictedAlarmsTest.java 89 setAppOpsMode(APP_OP_MODE_IGNORED);
130 setAppOpsMode(APP_OP_MODE_ALLOWED);
153 setAppOpsMode(APP_OP_MODE_ALLOWED);
177 private void setAppOpsMode(String mode) throws IOException {
  /cts/tests/tests/packageinstaller/tapjacking/src/android/packageinstaller/tapjacking/cts/
TapjackingTest.java 77 setAppOpsMode(enabled ? "allow" : "default");
80 private void setAppOpsMode(String mode) throws IOException {

Completed in 93 milliseconds