Searched refs:permissionName (Results 1 – 5 of 5) sorted by relevance
132 String permissionName = trimmed[0]; in parseInstallPermissions() local135 pkg.mInstallPermissions.add(permissionName); in parseInstallPermissions()174 String permissionName = trimmed[0]; in parseUser() local177 userPackage.mGrantedPermissions.add(permissionName); in parseUser()
886 String permissionName = "android.permission.INTERNET"; in testGetPermissionInfo() local887 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 …]
634 protected fun assertAppHasPermission(permissionName: String, expectPermission: Boolean) { in <lambda>()641 packageManager.checkPermission(permissionName, APP_PACKAGE_NAME) in <lambda>()
1188 private static boolean isPermissionGrantedInPackageInfo(String permissionName) in isPermissionGrantedInPackageInfo() argument1194 permissionName); in isPermissionGrantedInPackageInfo()
95 public abstract boolean isSplitPermissionNameViolation(String permissionName); in isSplitPermissionNameViolation() argument