Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java273 final ArraySet<String> approved = approvedByType.valueAt(j); in resetComponents() local
278 if (approved.remove(currentComponent.flattenToString())) { in resetComponents()
286 changed |= approved.add(candidate.flattenToString()); in resetComponents()
328 final ArraySet<String> approved = approvedByType.valueAt(j); in dump() local
330 pw.println(" " + String.join(ENABLED_SERVICES_SEPARATOR, approved) in dump()
374 final ArraySet<String> approved = approvedByType.valueAt(j); in dump() local
377 for (String s : approved) { in dump()
467 final Set<String> approved = approvedByType.valueAt(j); in writeXml() local
468 if (approved != null) { in writeXml()
469 String allowedItems = String.join(ENABLED_SERVICES_SEPARATOR, approved); in writeXml()
[all …]
DNotificationManagerService.java633 ArraySet<ComponentName> approved = mAssistants.queryPackageForServices( in setDefaultAssistantForUser() local
637 for (int i = 0; i < approved.size(); i++) { in setDefaultAssistantForUser()
638 if (allowAssistant(userId, approved.valueAt(i))) return; in setDefaultAssistantForUser()
8685 ArraySet<ComponentName> approved = queryPackageForServices(packageName,
8687 if (approved.contains(assistantCn)) {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java87 List<ResolveInfo> approved = new ArrayList<>(); in setUp() local
89 approved.add(resolve); in setUp()
95 .thenReturn(approved); in setUp()
DManagedServicesTest.java1492 private String getXmlEntry(String approved, int userId, boolean isPrimary) { in getXmlEntry() argument
1496 + ManagedServices.ATT_APPROVED_LIST + "=\"" + approved +"\" " in getXmlEntry()
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags34 # [ 6] install approved
35 # [ 5] download approved
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java204 boolean approved = getNextArgRequiredTrueOrFalse("yes", "no"); in onCommand()
205 mWifiNetworkSuggestionsManager.setHasUserApprovedForApp(approved, packageName); in onCommand()
226 boolean approved = getNextArgRequiredTrueOrFalse("yes", "no"); in onCommand()
228 .setHasUserApprovedImsiPrivacyExemptionForCarrier(approved, carrierId); in onCommand()
602 boolean approved = getNextArgRequiredTrueOrFalse("yes", "no"); in onCommand()
603 mClientModeImpl.setNetworkRequestUserApprovedApp(packageName, approved); in onCommand()
DWifiNetworkFactory.java1310 boolean approved = mCompanionDeviceManager.isDeviceAssociatedForWifiConnection( in isAccessPointApprovedInCompanionDeviceManager()
1312 if (!approved) return false; in isAccessPointApprovedInCompanionDeviceManager()
1472 public void setUserApprovedApp(@NonNull String packageName, boolean approved) { in setUserApprovedApp() argument
1473 if (approved) { in setUserApprovedApp()
DWifiCarrierInfoManager.java1406 public void setHasUserApprovedImsiPrivacyExemptionForCarrier(boolean approved, int carrierId) { in setHasUserApprovedImsiPrivacyExemptionForCarrier() argument
1409 + (approved ? " approved" : " not approved")); in setHasUserApprovedImsiPrivacyExemptionForCarrier()
1411 mImsiPrivacyProtectionExemptionMap.put(carrierId, approved); in setHasUserApprovedImsiPrivacyExemptionForCarrier()
1413 if (approved) { in setHasUserApprovedImsiPrivacyExemptionForCarrier()
DWifiNetworkSuggestionsManager.java1213 public void setHasUserApprovedForApp(boolean approved, String packageName) { in setHasUserApprovedForApp() argument
1219 + (approved ? " approved" : " not approved")); in setHasUserApprovedForApp()
1221 perAppInfo.hasUserApproved = approved; in setHasUserApprovedForApp()
DClientModeImpl.java6056 public void setNetworkRequestUserApprovedApp(@NonNull String packageName, boolean approved) {
6057 mNetworkFactory.setUserApprovedApp(packageName, 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/proto/src/metrics_constants/
Dmetrics_constants.proto5140 // ACTION: An app was granted the a permission. This can happen after a user approved a request