/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | Notifications.java | 123 ComponentReference listener, boolean granted, UserReference user) { in setNotificationListenerAccessGranted() argument 129 String command = granted ? "allow_listener" : "disallow_listener"; in setNotificationListenerAccessGranted() 139 "Error setting notification listener access " + granted, e); in setNotificationListenerAccessGranted() 150 listener.componentName(), granted, /* userGranted= */ false); in setNotificationListenerAccessGranted() local
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | StorageEscalationTest.kt | 104 private fun assertStoragePermissionState(granted: Boolean) { in <lambda>() 113 Assert.assertEquals(granted, userContext.packageManager.checkPermission(permName, in <lambda>() 143 assertStoragePermissionState(granted = true) in <lambda>() 147 assertStoragePermissionState(granted = false) in <lambda>()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | PrivappPermissionsTest.java | 146 Set<String> granted = filterValues(requestedPrivPermissions, in privappPermissionsNeedToBeWhitelisted() local 150 granted); in privappPermissionsNeedToBeWhitelisted() 163 + getPrintableSet(" ", granted) in privappPermissionsNeedToBeWhitelisted() 180 Set<String> grantedNotInWhitelist = difference(granted, whitelist); in privappPermissionsNeedToBeWhitelisted()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PackageSetInstallerTest.kt | 201 private fun assertPermission(granted: Boolean, permission: String) { in assertPermission() 202 assertThat(getPermissionString(permission)).contains("granted=$granted") in assertPermission()
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | AccessoryTestCompanion.java | 82 boolean granted = intent.getBooleanExtra( in runTest() 85 if (granted) { in runTest()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 247 public static void pollForPermission(String perm, boolean granted) throws Exception { in pollForPermission() argument 248 pollForCondition(() -> granted == checkPermissionAndAppOp(perm), in pollForPermission() 250 + (granted ? "granted" : "revoked")); in pollForPermission()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1064 public static void pollForPermission(String perm, boolean granted) throws Exception { in pollForPermission() argument 1065 pollForCondition(() -> granted == checkPermissionAndAppOp(perm), in pollForPermission() 1067 + (granted ? "granted" : "revoked")); in pollForPermission() 1073 public static void pollForPermission(TestApp app, String perm, boolean granted) in pollForPermission() argument 1075 pollForPermission(app.getPackageName(), perm, granted); in pollForPermission() local 1081 public static void pollForPermission(String packageName, String perm, boolean granted) in pollForPermission() argument 1084 () -> granted == checkPermission(packageName, perm), in pollForPermission() 1086 + (granted ? "granted" : "revoked")); in pollForPermission()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | LICENSE.TXT | 18 Permission is hereby granted, free of charge, to any person obtaining a copy of
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BaseDefaultPermissionGrantPolicyTest.java | 425 boolean granted) { in setPermissionGrantState() argument 427 if (granted) { in setPermissionGrantState()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 752 boolean granted = (KeyChain.getPrivateKey(mActivity, alias) != null); in assertGranted() 753 assertWithMessage("Grant for alias: \"" + alias + "\"").that(granted).isEqualTo(expected); in assertGranted()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 157 boolean granted = intent.getBooleanExtra( in onCreate() 160 if (granted) { in onCreate() 1605 boolean granted = intent.getBooleanExtra( in attachedTask() 1607 if (granted) { in attachedTask()
|