Home
last modified time | relevance | path

Searched refs:assertPermission (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageSetInstallerTest.kt144 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/
DPermissionUtils.java140 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/
DCompanionDeviceManagerTest.kt192 assertPermission( in testProfiles()
196 assertPermission( in testProfiles()