Home
last modified time | relevance | path

Searched refs:ManagedServiceInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java129 private final ArrayList<ManagedServiceInfo> mServices = new ArrayList<>();
182 abstract protected void onServiceAdded(ManagedServiceInfo info); in onServiceAdded()
184 protected List<ManagedServiceInfo> getServices() { in getServices()
186 List<ManagedServiceInfo> services = new ArrayList<>(mServices); in getServices()
306 protected void onServiceRemovedLocked(ManagedServiceInfo removed) { } in onServiceRemovedLocked()
308 private ManagedServiceInfo newServiceInfo(IInterface service, in newServiceInfo()
311 return new ManagedServiceInfo(service, component, userId, isSystem, connection, in newServiceInfo()
347 for (ManagedServiceInfo info : mServices) { in dump()
395 for (ManagedServiceInfo info : mServices) { in dump()
844 private ManagedServiceInfo getServiceFromTokenLocked(IInterface service) { in getServiceFromTokenLocked()
[all …]
DConditionProviders.java185 protected void onServiceAdded(ManagedServiceInfo info) { in onServiceAdded()
214 protected void onServiceRemovedLocked(ManagedServiceInfo removed) { in onServiceRemovedLocked()
252 public ManagedServiceInfo checkServiceToken(IConditionProvider provider) { in checkServiceToken()
296 public void notifyConditions(String pkg, ManagedServiceInfo info, Condition[] conditions) { in notifyConditions()
321 for (ManagedServiceInfo service : getServices()) { in findConditionProvider()
425 private static IConditionProvider provider(ManagedServiceInfo info) { in provider()
433 public ManagedServiceInfo info;
DNotificationManagerService.java264 import com.android.server.notification.ManagedServices.ManagedServiceInfo;
2498 private boolean removeDisabledHints(ManagedServiceInfo info) {
2502 private boolean removeDisabledHints(ManagedServiceInfo info, int hints) {
2517 private void addDisabledHints(ManagedServiceInfo info, int hints) {
2531 private void addDisabledHint(ManagedServiceInfo info, int hint) {
3920 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token);
3973 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token);
3986 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token);
4026 private void cancelNotificationFromListenerLocked(ManagedServiceInfo info,
4045 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token);
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java976 ManagedServices.ManagedServiceInfo info = services.checkServiceTokenLocked(service); in testIsSameUser()
1021 ManagedServices.ManagedServiceInfo service0 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind_forceRebind()
1024 ManagedServices.ManagedServiceInfo service10 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind_forceRebind()
1027 Set<ManagedServices.ManagedServiceInfo> removableBoundServices = new ArraySet<>(); in testPopulateComponentsToUnbind_forceRebind()
1057 ManagedServices.ManagedServiceInfo service0 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind()
1060 ManagedServices.ManagedServiceInfo service0a = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind()
1063 ManagedServices.ManagedServiceInfo service10 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind()
1066 Set<ManagedServices.ManagedServiceInfo> removableBoundServices = new ArraySet<>(); in testPopulateComponentsToUnbind()
1530 protected void onServiceAdded(ManagedServiceInfo info) { in onServiceAdded()
DNotificationManagerServiceTest.java260 private ManagedServices.ManagedServiceInfo mListener;
442 mListener = mListeners.new ManagedServiceInfo( in setUp()
2358 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testUpdateNotificationChannelFromPrivilegedListener_badUser()
2455 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testGetNotificationChannelFromPrivilegedListener_badUser()
2509 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testGetNotificationChannelGroupsFromPrivilegedListener_badUser()
2787 ManagedServices.ManagedServiceInfo listener = mListeners.new ManagedServiceInfo( in testSystemNotificationListenerCanUnsnooze()
/frameworks/base/services/
Dart-profile20855 …rvice$NotificationAssistants;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;)V
20861 …icationAssistants;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;Ljava/util/A…
20867 …rvice$NotificationAssistants;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;)V
20869 …vice$NotificationAssistants;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;I)V
20875 …ficationListeners;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;Ljava/lang/S…
20877 …ficationListeners;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;Ljava/lang/S…
20935 …tification/IConditionProvider;)Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;
20946 …Ljava/lang/String;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;[Landroid/se…
20949 …onProviders;->onServiceAdded(Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;)V
20950 …ers;->onServiceRemovedLocked(Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;)V
[all …]