/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 | 415 boolean granted) { in setPermissionGrantState() argument 417 if (granted) { in setPermissionGrantState()
|
/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()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 940 boolean granted = (KeyChain.getPrivateKey(mActivity, alias) != null); in assertGranted() 941 assertWithMessage("Grant for alias: \"" + alias + "\"").that(granted).isEqualTo(expected); in assertGranted()
|
/cts/apps/CtsVerifier/ |
D | NOTICE.txt | 40 Permission is hereby granted, free of charge, to any person obtaining a copy 84 exercising permissions granted by this License. 146 granted to You under this License for that Work shall terminate 271 Permission is granted to anyone to use this software for any 313 exercising permissions granted by this License. 375 granted to You under this License for that Work shall terminate 686 restrictions on the recipients' exercise of the rights granted herein. 1203 restrictions on the recipients' exercise of the rights granted herein. 1707 restrictions on the recipients' exercise of the rights granted herein. 2034 restrictions on the recipients' exercise of the rights granted herein. [all …]
|