Home
last modified time | relevance | path

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

/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAutoRevokeTest.kt191 assertPermission(PERMISSION_DENIED) in <lambda>()
252 assertPermission(PERMISSION_GRANTED, APK_PACKAGE_NAME_R_APP, BLUETOOTH_CONNECT) in <lambda>()
260 assertPermission(PERMISSION_GRANTED, APK_PACKAGE_NAME_R_APP, BLUETOOTH_CONNECT) in <lambda>()
280 assertPermission(PERMISSION_GRANTED) in <lambda>()
307 assertPermission(PERMISSION_GRANTED) in <lambda>()
338 assertPermission(PERMISSION_DENIED) in <lambda>()
350 assertPermission(PERMISSION_GRANTED, preMinVersionAppPackageName) in <lambda>()
360 assertPermission(PERMISSION_GRANTED, preMinVersionAppPackageName) in <lambda>()
375 assertPermission(PERMISSION_GRANTED) in <lambda>()
402 assertPermission(PERMISSION_GRANTED) in <lambda>()
[all …]
/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.java150 assertPermission(permission, packageName, pm.checkPermission(permission, packageName), in checkPermission()
154 private static void assertPermission(String permission, String packageName, int actual, in assertPermission() method in PermissionUtils
175 assertPermission(permission, packageName, in checkPermissionAndAppOps()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DSessionParamsPermissionStateTest.kt247 assertPermission(packageInfo, permission, granted) in <lambda>()
251 private fun assertPermission(packageInfo: PackageInfo, name: String, granted: Boolean?) { in <lambda>() method in android.packageinstaller.install.cts.SessionParamsPermissionStateTest