Home
last modified time | relevance | path

Searched refs:userSet (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java320 ArraySet<String> userSet = mUserSetServices.get(userId); in clearUserSetFlagLocked() local
321 return userSet != null && userSet.remove(approvedValue); in clearUserSetFlagLocked()
508 final Set<String> userSet = mUserSetServices.get(approvedUserId); in writeXml() local
519 } else if (userSet != null) { in writeXml()
521 String.join(ENABLED_SERVICES_SEPARATOR, userSet); in writeXml()
746 if (userSet == null) { in addApprovedList()
747 userSet = approved; in addApprovedList()
775 String[] userSetArray = userSet.split(ENABLED_SERVICES_SEPARATOR); in addApprovedList()
795 boolean isPrimary, boolean enabled, boolean userSet) { in setPackageOrComponentEnabled() argument
798 + pkgOrComponent + " (userSet: " + userSet + ")"); in setPackageOrComponentEnabled()
[all …]
H A DNotificationManagerService.java5188 boolean granted, boolean userSet) {
5200 userId, false, granted, userSet);
5202 userId, true, granted, userSet);
5503 userId, true, granted, userSet);
9553 String userSet) {
9561 super.addApprovedList(approved, userId, isPrimary, userSet);
9738 Boolean userSet = mIsUserChanged.get(userId);
9739 return (userSet != null && userSet);
10032 boolean isPrimary, boolean enabled, boolean userSet) {
10040 currentComponent, userId, false, userSet);
[all …]
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
H A DPermission.java264 public void setUserSet(boolean userSet) { in setUserSet() argument
265 if (userSet) { in setUserSet()
/aosp12/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl183 … setNotificationListenerAccessGranted(in ComponentName listener, boolean enabled, boolean userSet); in setNotificationListenerAccessGranted() argument
185 …tenerAccessGrantedForUser(in ComponentName listener, int userId, boolean enabled, boolean userSet); in setNotificationListenerAccessGrantedForUser() argument
H A DNotificationManager.java1652 @NonNull ComponentName listener, boolean granted, boolean userSet) { in setNotificationListenerAccessGranted() argument
1655 service.setNotificationListenerAccessGranted(listener, granted, userSet); in setNotificationListenerAccessGranted()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DManagedServicesTest.java1732 private String getXmlEntry(String approved, int userId, boolean isPrimary, boolean userSet) { in getXmlEntry() argument
1736 ManagedServices.ATT_USER_CHANGED + "=\"" + String.valueOf(userSet) + "\" "; in getXmlEntry()
1739 ManagedServices.ATT_USER_SET + "=\"" + (userSet ? approved : "") + "\" "; in getXmlEntry()
H A DNotificationManagerServiceTest.java389 ComponentName assistant, int userId, boolean granted, boolean userSet) { in setNotificationAssistantAccessGrantedForUserInternal() argument
392 userSet); in setNotificationAssistantAccessGrantedForUserInternal()
396 userSet); in setNotificationAssistantAccessGrantedForUserInternal()
410 void onGranted(ComponentName assistant, int userId, boolean granted, boolean userSet); in onGranted() argument