Home
last modified time | relevance | path

Searched refs:permissionName (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java775 String permissionName = "android.permission.INTERNET"; in testGetPermissionInfo() local
776 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 …]
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java433 private boolean shouldSkipPermission(String permissionName) { in shouldSkipPermission() argument
435 HIDE_NON_SYSTEM_OVERLAY_WINDOWS_PERMISSION.equals(permissionName); in shouldSkipPermission()