Searched refs:ManagedServiceInfo (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ConditionProvidersTest.java | 79 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_findCondition() 96 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_callbackOnConditionChanged() 115 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_duplicateIds_ignored() 135 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_nullItems_ignored() 155 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_appCannotUndoUserEnablement() 176 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_appCanTakeoverUserEnablement()
|
D | NotificationListenersTest.java | 649 ManagedServices.ManagedServiceInfo info = mListeners.new ManagedServiceInfo( in testImplicitGrant() 651 List<ManagedServices.ManagedServiceInfo> services = ImmutableList.of(info); in testImplicitGrant() 672 ManagedServices.ManagedServiceInfo i1 = getParcelingListener(updated); in testUpdateGroup_notifyTwoListeners() 673 ManagedServices.ManagedServiceInfo i2= getParcelingListener(updated); in testUpdateGroup_notifyTwoListeners() 707 ManagedServices.ManagedServiceInfo info = getMockServiceInfo(); in testListenerTrusted_withPermission() 716 ManagedServices.ManagedServiceInfo info = getMockServiceInfo(); in testListenerTrusted_withSystemSignature() 732 ManagedServices.ManagedServiceInfo info = getMockServiceInfo(); in testListenerTrusted_withCdmAssociation() 740 ManagedServices.ManagedServiceInfo info = getMockServiceInfo(); in testListenerTrusted_ifFlagDisabled() 748 ArrayList<ManagedServices.ManagedServiceInfo> infos = new ArrayList<>(); in testRedaction_whenPosted() 774 ArrayList<ManagedServices.ManagedServiceInfo> infos = new ArrayList<>(); in testRedaction_whenPosted_oldRemoved() [all …]
|
D | TestableNotificationManagerService.java | 27 import com.android.server.notification.ManagedServices.ManagedServiceInfo; 164 ManagedServiceInfo listener) { in isVisibleToListener()
|
D | ManagedServicesTest.java | 1370 ManagedServices.ManagedServiceInfo info = services.checkServiceTokenLocked(service); in testIsSameUser() 1419 ManagedServices.ManagedServiceInfo service0 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind_forceRebind() 1422 ManagedServices.ManagedServiceInfo service10 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind_forceRebind() 1425 Set<ManagedServices.ManagedServiceInfo> removableBoundServices = new ArraySet<>(); in testPopulateComponentsToUnbind_forceRebind() 1455 ManagedServices.ManagedServiceInfo service0 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind() 1458 ManagedServices.ManagedServiceInfo service0a = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind() 1461 ManagedServices.ManagedServiceInfo service10 = service.new ManagedServiceInfo( in testPopulateComponentsToUnbind() 1464 Set<ManagedServices.ManagedServiceInfo> removableBoundServices = new ArraySet<>(); in testPopulateComponentsToUnbind() 1815 ManagedServices.ManagedServiceInfo info = services.checkServiceTokenLocked(service); in testInfoIsPermittedForProfile_notProfile() 1830 ManagedServices.ManagedServiceInfo info = services.checkServiceTokenLocked(service); in testInfoIsPermittedForProfile_profileAndDpmAllows() [all …]
|
D | NotificationManagerServiceTest.java | 475 private ManagedServices.ManagedServiceInfo mListener; 673 mListener = mListeners.new ManagedServiceInfo( in setUp() 4157 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testUpdateNotificationChannelFromPrivilegedListener_badUser() 4312 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testGetNotificationChannelFromPrivilegedListener_badUser() 4363 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testGetNotificationChannelGroupsFromPrivilegedListener_badUser() 4401 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testCrossUserSnooze() 4420 mListener = mock(ManagedServices.ManagedServiceInfo.class); in testSameUserSnooze() 4442 mListener = mock(ManagedServices.ManagedServiceInfo.class); in snoozeNotificationInt_rapidSnooze_new() 4468 mListener = mock(ManagedServices.ManagedServiceInfo.class); in snoozeNotificationInt_rapidSnooze_old() 4494 mListener = mock(ManagedServices.ManagedServiceInfo.class); in snoozeNotificationInt_rapidSnooze_new_flagDisabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 143 private final ArrayList<ManagedServiceInfo> mServices = new ArrayList<>(); 210 abstract protected void onServiceAdded(ManagedServiceInfo info); in onServiceAdded() 214 protected List<ManagedServiceInfo> getServices() { in getServices() 216 List<ManagedServiceInfo> services = new ArrayList<>(mServices); in getServices() 342 protected void onServiceRemovedLocked(ManagedServiceInfo removed) { } in onServiceRemovedLocked() 344 private ManagedServiceInfo newServiceInfo(IInterface service, in newServiceInfo() 347 return new ManagedServiceInfo(service, component, userId, isSystem, connection, in newServiceInfo() 394 for (ManagedServiceInfo info : mServices) { in dump() 451 for (ManagedServiceInfo info : mServices) { in dump() 1060 private ManagedServiceInfo getServiceFromTokenLocked(IInterface service) { in getServiceFromTokenLocked() [all …]
|
D | ConditionProviders.java | 189 protected void onServiceAdded(ManagedServiceInfo info) { in onServiceAdded() 223 protected void onServiceRemovedLocked(ManagedServiceInfo removed) { in onServiceRemovedLocked() 266 public ManagedServiceInfo checkServiceToken(IConditionProvider provider) { in checkServiceToken() 314 public void notifyConditions(String pkg, ManagedServiceInfo info, Condition[] conditions) { in notifyConditions() 352 for (ManagedServiceInfo service : getServices()) { in findConditionProvider() 456 private static IConditionProvider provider(ManagedServiceInfo info) { in provider() 516 public ManagedServiceInfo info;
|
D | NotificationManagerService.java | 349 import com.android.server.notification.ManagedServices.ManagedServiceInfo; 3175 private boolean removeDisabledHints(ManagedServiceInfo info) { 3179 private boolean removeDisabledHints(ManagedServiceInfo info, int hints) { 3194 private void addDisabledHints(ManagedServiceInfo info, int hints) { 3208 private void addDisabledHint(ManagedServiceInfo info, int hint) { 4970 final ManagedServiceInfo info; 5067 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token); 5102 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token); 5141 private void cancelNotificationFromListenerLocked(ManagedServiceInfo info, 5199 final ManagedServiceInfo info = [all …]
|
/frameworks/base/services/ |
D | art-wear-profile | 15541 …tification/IConditionProvider;)Lcom/android/server/notification/ManagedServices$ManagedServiceInfo; 15549 …Ljava/lang/String;Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;[Landroid/se… 15552 …onProviders;->onServiceAdded(Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;)V 15555 …viders;->provider(Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;)Landroid/se… 15645 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;-><init>(Lcom/android/server/… 15646 PLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->binderDied()V 15647 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->enabledAndUserMatches(I)Z 15648 PLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->getService()Landroid/os/IInt… 15649 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->hashCode()I 15650 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isEnabledForCurrentProfiles… [all …]
|
D | art-profile | 2005 …ManagedServiceInfo;->enabledAndUserMatches(I)Z+]Lcom/android/server/notification/ManagedServices$M… 2006 HSPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->hashCode()I 2007 HSPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isEnabledForCurrentProfile… 2008 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isPermittedForProfile(I)Z+]… 2009 …ManagedServiceInfo;->isSameUser(I)Z+]Lcom/android/server/notification/ManagedServices$ManagedServi… 2011 …id/os/IInterface;)Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;+]Landroid/o… 2032 …g;Ljava/lang/String;IIIZIIIILcom/android/server/notification/ManagedServices$ManagedServiceInfo;J)V 2035 …ver/notification/ManagedServices$ManagedServiceInfo;Lcom/android/server/notification/ManagedServic… 2042 …che;->ForListener(Lcom/android/server/notification/ManagedServices$ManagedServiceInfo;)Landroid/se… 2044 …ng/String;IIIZIIIILcom/android/server/notification/ManagedServices$ManagedServiceInfo;)V+]Lcom/and… [all …]
|