Home
last modified time | relevance | path

Searched refs:pkgPerm (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java226 public void setNotificationPermission(PackagePermission pkgPerm) { in setNotificationPermission() argument
227 if (pkgPerm == null || pkgPerm.packageName == null) { in setNotificationPermission()
230 if (!isPermissionFixed(pkgPerm.packageName, pkgPerm.userId)) { in setNotificationPermission()
231 setNotificationPermission(pkgPerm.packageName, pkgPerm.userId, pkgPerm.granted, in setNotificationPermission()
DPreferencesHelper.java2921 PackagePermission pkgPerm = new PackagePermission( in migrateNotificationPermissions() local
2925 mPermissionHelper.setNotificationPermission(pkgPerm); 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() local
268 mPermissionHelper.setNotificationPermission(pkgPerm); in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet()