Home
last modified time | relevance | path

Searched refs:approved (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java301 final ArraySet<String> approved = approvedByType.valueAt(j); in resetComponents() local
306 if (approved.remove(currentComponent.flattenToString())) { in resetComponents()
315 changed |= approved.add(candidate.flattenToString()); in resetComponents()
365 final ArraySet<String> approved = approvedByType.valueAt(j); in dump() local
367 pw.println(" " + String.join(ENABLED_SERVICES_SEPARATOR, approved) in dump()
430 final ArraySet<String> approved = approvedByType.valueAt(j); in dump() local
433 for (String s : approved) { in dump()
538 final Set<String> approved = approvedByType.valueAt(j); in writeXml() local
540 if (approved != null || userSet != null || isUserChanged != null) { in writeXml()
541 String allowedItems = approved == null in writeXml()
[all …]
DConditionProviders.java492 final ArraySet<String> approved = approvedByType.valueAt(i); in removePackageFromApprovedLists() local
493 int approvedSize = approved.size(); in removePackageFromApprovedLists()
495 final String packageOrComponent = approved.valueAt(j); in removePackageFromApprovedLists()
498 approved.removeAt(j); in removePackageFromApprovedLists()
DNotificationManagerService.java10839 ArraySet<ComponentName> approved = queryPackageForServices(packageName,
10841 if (approved.contains(assistantCn)) {
10870 protected void addApprovedList(String approved, int userId, boolean isPrimary,
10872 if (!TextUtils.isEmpty(approved)) {
10873 String[] approvedArray = approved.split(ENABLED_SERVICES_SEPARATOR);
10876 approved = approvedArray[0];
10879 super.addApprovedList(approved, userId, isPrimary, userSet);
11643 int approved = FLAG_FILTER_TYPE_CONVERSATIONS | FLAG_FILTER_TYPE_ALERTING
11650 approved = XmlUtils.readIntAttribute(parser, ATT_TYPES);
11661 new NotificationListenerFilter(approved, disallowedPkgs);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java112 List<ResolveInfo> approved = new ArrayList<>(); in setUp() local
114 approved.add(resolve); in setUp()
121 .thenReturn(approved); in setUp()
187 ArrayMap<Boolean, ArraySet<String>> approved = mAssistants.mApproved.get(0); in testWriteXml_userTurnedOffNAS() local
189 assertNotNull(approved); in testWriteXml_userTurnedOffNAS()
190 assertEquals(new ArraySet<>(), approved.get(true)); in testWriteXml_userTurnedOffNAS()
212 ArrayMap<Boolean, ArraySet<String>> approved = mAssistants.mApproved.get(0); in testReadXml_userDisabled() local
215 assertNotNull(approved); in testReadXml_userDisabled()
216 assertEquals(new ArraySet<>(), approved.get(true)); in testReadXml_userDisabled()
236 ArrayMap<Boolean, ArraySet<String>> approved = mAssistants.mApproved.get(0); in testReadXml_userDisabled_restore() local
[all …]
DManagedServicesTest.java2347 private String getXmlEntry(String approved, int userId, boolean isPrimary) { in getXmlEntry() argument
2348 return getXmlEntry(approved, userId, isPrimary, true); in getXmlEntry()
2351 private String getXmlEntry(String approved, int userId, boolean isPrimary, boolean userSet) { in getXmlEntry() argument
2358 ManagedServices.ATT_USER_SET + "=\"" + (userSet ? approved : "") + "\" "; in getXmlEntry()
2363 + ManagedServices.ATT_APPROVED_LIST + "=\"" + approved +"\" " in getXmlEntry()
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags34 # [ 6] install approved
35 # [ 5] download approved
/frameworks/base/cmds/incidentd/src/
Dreport_file.proto64 * Whether the user has approved this report to be shared with
/frameworks/base/core/proto/android/service/
Dnotification.proto108 repeated ServiceProto approved = 2; field
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationService.java2142 @UserIdInt int userId, boolean approved, @NonNull String reason) {
2143 String approvalString = approved ? "approved" : "denied";
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5156 // ACTION: An app was granted the a permission. This can happen after a user approved a request