Searched refs:permissionName (Results 1 – 2 of 2) sorted by relevance
775 String permissionName = "android.permission.INTERNET"; in testGetPermissionInfo() local776 PermissionInfo permissionInfo = mPackageManager.getPermissionInfo(permissionName, 0); in testGetPermissionInfo()777 assertEquals(permissionName, permissionInfo.name); in testGetPermissionInfo()781 permissionName = "android.permission.RECORD_AUDIO"; in testGetPermissionInfo()782 permissionInfo = mPackageManager.getPermissionInfo(permissionName, 0); in testGetPermissionInfo()783 assertEquals(permissionName, permissionInfo.name); in testGetPermissionInfo()788 permissionName = "android.permission.MODIFY_PHONE_STATE"; in testGetPermissionInfo()789 permissionInfo = mPackageManager.getPermissionInfo(permissionName, 0); in testGetPermissionInfo()790 assertEquals(permissionName, permissionInfo.name); in testGetPermissionInfo()794 permissionName = "android.permission.SYSTEM_ALERT_WINDOW"; in testGetPermissionInfo()[all …]
433 private boolean shouldSkipPermission(String permissionName) { in shouldSkipPermission() argument435 HIDE_NON_SYSTEM_OVERLAY_WINDOWS_PERMISSION.equals(permissionName); in shouldSkipPermission()