Home
last modified time | relevance | path

Searched refs:PackagePermission (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java226 public void setNotificationPermission(PackagePermission pkgPerm) { in setNotificationPermission()
301 public static class PackagePermission { class in PermissionHelper
307 public PackagePermission(String pkg, int userId, boolean granted, boolean userSet) { in PackagePermission() method in PermissionHelper.PackagePermission
318 PackagePermission that = (PackagePermission) o; in equals()
DPreferencesHelper.java87 import com.android.server.notification.PermissionHelper.PackagePermission;
2648 PackagePermission p = null; in onPackagesChanged()
2678 p = new PackagePermission( in onPackagesChanged()
2921 PackagePermission pkgPerm = new PackagePermission( in migrateNotificationPermissions()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java265 PermissionHelper.PackagePermission pkgPerm = new PermissionHelper.PackagePermission( in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet()
DPreferencesHelperTest.java147 import com.android.server.notification.PermissionHelper.PackagePermission;
845 PackagePermission pkg1Expected = new PackagePermission("pkg1", 0, true, false); in testReadXml_oldXml_backup_migratesWhenPkgInstalled()
847 PackagePermission pkg2Expected = new PackagePermission("pkg2", 0, false, true); in testReadXml_oldXml_backup_migratesWhenPkgInstalled()
849 PackagePermission pkg3Expected = new PackagePermission("pkg3", 0, true, true); in testReadXml_oldXml_backup_migratesWhenPkgInstalled()