Home
last modified time | relevance | path

Searched refs:mCompanionManager (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenersTest.java154 mNm.mCompanionManager = mock(ICompanionDeviceManager.class); in setUp()
155 when(mNm.mCompanionManager.getAllAssociationsForUser(anyInt())) in setUp()
724 mNm.mCompanionManager = mock(ICompanionDeviceManager.class); in testListenerTrusted_withCdmAssociation()
731 when(mNm.mCompanionManager.getAllAssociationsForUser(anyInt())).thenReturn(infos); in testListenerTrusted_withCdmAssociation()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java617 ICompanionDeviceManager mCompanionManager; field in NotificationManagerService
2426 mCompanionManager = companionManager; in init()
10679 if (mCompanionManager == null) {
10680 mCompanionManager = getCompanionManager();
10683 if (mCompanionManager == null) {
10688 List<AssociationInfo> associations = mCompanionManager.getAssociations(pkg, userId);
11986 if (mCompanionManager == null) {
11987 mCompanionManager = getCompanionManager();
11989 if (mCompanionManager != null) {
11991 mCompanionManager.getAllAssociationsForUser(UserHandle.getUserId(uid));