Searched refs:checkPermissionResult (Results 1 – 2 of 2) sorted by relevance
245 val checkPermissionResult = in <lambda>() constant252 Assert.assertEquals(PackageManager.PERMISSION_GRANTED, checkPermissionResult) in <lambda>()254 Assert.assertEquals(PackageManager.PERMISSION_DENIED, checkPermissionResult) in <lambda>()
1404 val checkPermissionResult = packageManager.checkPermission(permissionName, APP_PACKAGE_NAME) in <lambda>() constant1406 "Invalid permission check result: $checkPermissionResult", in <lambda>()1407 checkPermissionResult == PackageManager.PERMISSION_GRANTED || in <lambda>()1408 checkPermissionResult == PackageManager.PERMISSION_DENIED in <lambda>()1410 if (!expectPermission && checkPermissionResult == PackageManager.PERMISSION_GRANTED) { in <lambda>()1416 if (expectPermission && checkPermissionResult == PackageManager.PERMISSION_DENIED) { in <lambda>()