Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DAdbPackageParser26.java132 String permissionName = trimmed[0]; in parseInstallPermissions() local
135 pkg.mInstallPermissions.add(permissionName); in parseInstallPermissions()
174 String permissionName = trimmed[0]; in parseUser() local
177 userPackage.mGrantedPermissions.add(permissionName); in parseUser()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java886 String permissionName = "android.permission.INTERNET"; in testGetPermissionInfo() local
887 PermissionInfo permissionInfo = mPackageManager.getPermissionInfo(permissionName, 0); in testGetPermissionInfo()
888 assertEquals(permissionName, permissionInfo.name); in testGetPermissionInfo()
892 permissionName = "android.permission.RECORD_AUDIO"; in testGetPermissionInfo()
893 permissionInfo = mPackageManager.getPermissionInfo(permissionName, 0); in testGetPermissionInfo()
894 assertEquals(permissionName, permissionInfo.name); in testGetPermissionInfo()
899 permissionName = "android.permission.MODIFY_PHONE_STATE"; in testGetPermissionInfo()
900 permissionInfo = mPackageManager.getPermissionInfo(permissionName, 0); in testGetPermissionInfo()
901 assertEquals(permissionName, permissionInfo.name); in testGetPermissionInfo()
905 permissionName = "android.permission.SYSTEM_ALERT_WINDOW"; in testGetPermissionInfo()
[all …]
/cts/tests/tests/permission3/src/android/permission3/cts/
DBaseUsePermissionTest.kt634 protected fun assertAppHasPermission(permissionName: String, expectPermission: Boolean) { in <lambda>()
641 packageManager.checkPermission(permissionName, APP_PACKAGE_NAME) in <lambda>()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1188 private static boolean isPermissionGrantedInPackageInfo(String permissionName) in isPermissionGrantedInPackageInfo() argument
1194 permissionName); in isPermissionGrantedInPackageInfo()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBaseDefaultPermissionGrantPolicyTest.java95 public abstract boolean isSplitPermissionNameViolation(String permissionName); in isSplitPermissionNameViolation() argument