Searched refs:allow (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionManagerHostTest.java | 259 private void setAllowGetActiveSessionForTest(boolean allow, int userId) throws Exception { in setAllowGetActiveSessionForTest() argument 262 + ((allow) ? "allow_listener " : "disallow_listener ") in setAllowGetActiveSessionForTest() 265 if (allow) { in setAllowGetActiveSessionForTest()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AlertWindowsTests.java | 220 private void setAlertWindowPermission(final ComponentName activityName, final boolean allow) in setAlertWindowPermission() argument 222 int mode = allow ? MODE_ALLOWED : MODE_ERRORED; in setAlertWindowPermission()
|
D | AlertWindowsImportanceTests.java | 173 private void setAlertWindowPermission(boolean allow) throws Exception { in setAlertWindowPermission() argument 174 final int mode = allow ? MODE_ALLOWED : MODE_ERRORED; in setAlertWindowPermission()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 299 private void respondToRoleRequest(boolean allow) throws InterruptedException, IOException { in respondToRoleRequest() argument 300 if (allow) { in respondToRoleRequest() 309 Pair<Integer, Intent> result = clickButtonAndWaitForResult(allow); in respondToRoleRequest() 310 int expectedResult = allow ? Activity.RESULT_OK : Activity.RESULT_CANCELED; in respondToRoleRequest()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExternalStorageHostTest.java | 689 private void updateAppOp(String packageName, int userId, String appOp, boolean allow) in updateAppOp() argument 691 updateAppOp(packageName, false, userId, appOp, allow); in updateAppOp() 695 String appOp, boolean allow) in updateAppOp() argument 697 final String verb = allow ? "allow" : "default"; in updateAppOp()
|
/cts/tools/release-parser/tests/resources/ |
D | platform.xml.pb.txt | 6 key: "allow-in-power-save" 8 name: "allow-in-power-save"
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | GeolocationTest.java | 510 GeolocationPermissions.getInstance().allow(URL_2); in testGeolocationPermissions() 520 GeolocationPermissions.getInstance().allow(URL_1); in testGeolocationPermissions() 544 GeolocationPermissions.getInstance().allow(URL_1); in testGeolocationPermissions()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/ |
D | Android.bp | 16 // This allow us to have different device owner and profile owner, some APIs may behave differently
|
/cts/tests/tests/net/src/android/net/cts/ |
D | IpSecManagerTunnelTest.java | 178 private static void setAppop(int appop, boolean allow) { in setAppop() argument 186 (allow ? "allow" : "deny")); // Action in setAppop()
|