Searched refs:assertPermission (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PackageSetInstallerTest.kt | 144 assertPermission(false, permission) in runTest() 157 assertPermission(true, permission) in runTest() 159 assertPermission(false, permission) in runTest() 174 assertPermission(false, permission) in runTest() 201 private fun assertPermission(granted: Boolean, permission: String) { in assertPermission() method
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | PermissionUtils.java | 140 assertPermission(permission, packageName, getContext().getPackageManager() in checkPermission() 144 private static void assertPermission(String permission, String packageName, int actual, in assertPermission() method in PermissionUtils 155 assertPermission(permission, packageName, checkPermissionAndAppOps(permission, packageName), in checkPermissionAndAppOps()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CompanionDeviceManagerTest.kt | 192 assertPermission( in testProfiles() 196 assertPermission( in testProfiles()
|