/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | Notifications.kt | 75 LISTENER_COMPONENT, granted = true, TestApis.users().instrumented() in <lambda>() 88 LISTENER_COMPONENT, granted = false, TestApis.users().instrumented() in <lambda>() 103 listener: ComponentReference, granted: Boolean, user: UserReference in <lambda>() 106 val command = if (granted) "allow_listener" else "disallow_listener" in <lambda>() 116 "Error setting notification listener access $granted", e in <lambda>() 126 listener.componentName(), granted, /* userSet= */false in <lambda>()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | SessionParamsPermissionStateTest.kt | 246 params.finalPermissionState.forEach { (permission, granted) -> in <lambda>() method 247 assertPermission(packageInfo, permission, granted) in <lambda>() 251 private fun assertPermission(packageInfo: PackageInfo, name: String, granted: Boolean?) { in <lambda>() 254 if (granted == null) { in <lambda>() 269 if (granted) { in <lambda>()
|
/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/hostsidetests/gputools/layers/ |
D | LICENSE_MIT | 1 Permission is hereby granted, free of charge, to any person obtaining a copy
|
/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 | 276 public static void pollForPermission(String perm, boolean granted) throws Exception { in pollForPermission() argument 277 pollForCondition(() -> granted == checkPermissionAndAppOp(perm), in pollForPermission() 279 + (granted ? "granted" : "revoked")); in pollForPermission()
|
/cts/hostsidetests/appsecurity/test-apps/tinyapp/ |
D | Android.bp | 200 // capabilities granted; the lineage for this package prevents an app signed 366 // keys so an app with only common signers in the lineage should not be granted the 388 // key in the lineage that is still granted the permission capability is sufficient 389 // to be granted a signature permission. 529 // permissions are also granted if the app was previously signed with
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1540 public static void pollForPermission(String perm, boolean granted) throws Exception { in pollForPermission() argument 1541 pollForCondition(() -> granted == checkPermissionAndAppOp(perm), in pollForPermission() 1543 + (granted ? "granted" : "revoked")); in pollForPermission() 1549 public static void pollForPermission(TestApp app, String perm, boolean granted) in pollForPermission() argument 1551 pollForPermission(app.getPackageName(), perm, granted); in pollForPermission() local 1557 public static void pollForPermission(String packageName, String perm, boolean granted) in pollForPermission() argument 1560 () -> granted == checkPermission(packageName, perm), in pollForPermission() 1562 + (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/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/ |
D | Permissions.java | 751 …oid forceRootPermissionState(Package pkg, UserReference user, String permission, boolean granted) { 754 granted ? PERMISSION_GRANTED : PERMISSION_DENIED);
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 748 boolean granted = (KeyChain.getPrivateKey(mActivity, alias) != null); in assertGranted() 749 assertWithMessage("Grant for alias: \"" + alias + "\"").that(granted).isEqualTo(expected); in assertGranted()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BaseDefaultPermissionGrantPolicyTest.java | 438 boolean granted) { in setPermissionGrantState() argument 440 if (granted) { in setPermissionGrantState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 161 boolean granted = intent.getBooleanExtra( in onCreate() 163 if (granted) { in onCreate() 1621 boolean granted = intent.getBooleanExtra( in attachedTask() 1623 if (granted) { in attachedTask()
|
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/ |
D | TunerTest.java | 2569 boolean granted = mTunerResourceManager.requestFrontend(request, feHandle); in assignFeResource() 2570 assertEquals(granted, expectedResult); in assignFeResource()
|
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/ |
D | TunerTest.java | 2568 boolean granted = mTunerResourceManager.requestFrontend(request, feHandle); in assignFeResource() 2569 assertEquals(granted, expectedResult); in assignFeResource()
|