Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DTestableNotificationManagerService.java120 ComponentName assistant, int userId, boolean granted, boolean userSet) { in setNotificationAssistantAccessGrantedForUserInternal() argument
123 userSet); in setNotificationAssistantAccessGrantedForUserInternal()
127 userSet); in setNotificationAssistantAccessGrantedForUserInternal()
145 void onGranted(ComponentName assistant, int userId, boolean granted, boolean userSet); in onGranted() argument
DManagedServicesTest.java2351 private String getXmlEntry(String approved, int userId, boolean isPrimary, boolean userSet) { in getXmlEntry() argument
2355 ManagedServices.ATT_USER_CHANGED + "=\"" + String.valueOf(userSet) + "\" "; in getXmlEntry()
2358 ManagedServices.ATT_USER_SET + "=\"" + (userSet ? approved : "") + "\" "; in getXmlEntry()
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java184 boolean userSet) { in setNotificationPermission() argument
192 || (isPermissionGrantedByDefaultOrRole(packageName, userId) && !userSet)) { in setNotificationPermission()
206 if (userSet) { in setNotificationPermission()
307 public PackagePermission(String pkg, int userId, boolean granted, boolean userSet) { in PackagePermission() argument
311 this.userModifiedSettings = userSet; in PackagePermission()
DManagedServices.java334 ArraySet<String> userSet = mUserSetServices.get(userId); in clearUserSetFlagLocked() local
335 return userSet != null && userSet.remove(approvedValue); in clearUserSetFlagLocked()
539 final Set<String> userSet = mUserSetServices.get(approvedUserId); in writeXml() local
540 if (approved != null || userSet != null || isUserChanged != null) { in writeXml()
550 } else if (userSet != null) { in writeXml()
552 String.join(ENABLED_SERVICES_SEPARATOR, userSet); in writeXml()
782 protected void addApprovedList(String approved, int userId, boolean isPrimary, String userSet) { in addApprovedList() argument
786 if (userSet == null) { in addApprovedList()
787 userSet = approved; in addApprovedList()
815 String[] userSetArray = userSet.split(ENABLED_SERVICES_SEPARATOR); in addApprovedList()
[all …]
DNotificationManagerService.java6184 boolean granted, boolean userSet) throws RemoteException {
6186 listener, getCallingUserHandle().getIdentifier(), granted, userSet);
6198 boolean granted, boolean userSet) {
6211 if (!userSet && isNotificationListenerAccessUserSet(listener, userId)) {
6220 userId, false, granted, userSet);
6222 userId, true, granted, userSet);
6560 ComponentName assistant, int baseUserId, boolean granted, boolean userSet) {
6570 allowedAssistant, userId, false, userSet);
6579 userId, true, granted, userSet);
10871 String userSet) {
[all …]
/frameworks/base/core/java/android/app/
DINotificationManager.aidl195 … setNotificationListenerAccessGranted(in ComponentName listener, boolean enabled, boolean userSet); in setNotificationListenerAccessGranted() argument
197 …tenerAccessGrantedForUser(in ComponentName listener, int userId, boolean enabled, boolean userSet); in setNotificationListenerAccessGrantedForUser() argument
DNotificationManager.java1873 @NonNull ComponentName listener, boolean granted, boolean userSet) { in setNotificationListenerAccessGranted() argument
1878 granted, userSet); in setNotificationListenerAccessGranted()
1880 service.setNotificationListenerAccessGranted(listener, granted, userSet); in setNotificationListenerAccessGranted()