Home
last modified time | relevance | path

Searched refs:allow (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java259 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/
DAlertWindowsTests.java220 private void setAlertWindowPermission(final ComponentName activityName, final boolean allow) in setAlertWindowPermission() argument
222 int mode = allow ? MODE_ALLOWED : MODE_ERRORED; in setAlertWindowPermission()
DAlertWindowsImportanceTests.java173 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/
DRoleManagerTest.java299 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/
DExternalStorageHostTest.java689 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/
Dplatform.xml.pb.txt6 key: "allow-in-power-save"
8 name: "allow-in-power-save"
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java510 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/
DAndroid.bp16 // This allow us to have different device owner and profile owner, some APIs may behave differently
/cts/tests/tests/net/src/android/net/cts/
DIpSecManagerTunnelTest.java178 private static void setAppop(int appop, boolean allow) { in setAppop() argument
186 (allow ? "allow" : "deny")); // Action in setAppop()