/frameworks/base/services/tests/servicestests/src/com/android/server/people/ |
D | PeopleServiceTest.java | 116 private IPeopleManager mIPeopleManager; field in PeopleServiceTest 129 mIPeopleManager = ((IPeopleManager) mPeopleService.mService); in setUp() 130 mPeopleManager = new PeopleManager(mContext, mIPeopleManager); in setUp() 190 mIPeopleManager.registerConversationListener(TEST_PACKAGE_NAME, 0, CONVERSATION_ID_1, in testRegisterConversationListener() 197 mIPeopleManager.registerConversationListener(TEST_PACKAGE_NAME, 0, CONVERSATION_ID_1, in testRegisterConversationListener() 204 mIPeopleManager.registerConversationListener(TEST_PACKAGE_NAME, 0, CONVERSATION_ID_2, in testRegisterConversationListener() 215 mIPeopleManager.registerConversationListener(TEST_PACKAGE_NAME, 0, CONVERSATION_ID_1, in testUnregisterConversationListener() 218 mIPeopleManager.registerConversationListener(TEST_PACKAGE_NAME, 0, CONVERSATION_ID_1, in testUnregisterConversationListener() 221 mIPeopleManager.registerConversationListener(TEST_PACKAGE_NAME, 0, CONVERSATION_ID_2, in testUnregisterConversationListener() 228 mIPeopleManager.unregisterConversationListener( in testUnregisterConversationListener() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJob.java | 69 private IPeopleManager mIPeopleManager; field in PeopleBackupFollowUpJob 90 mIPeopleManager = IPeopleManager.Stub.asInterface( in onCreate() 102 mIPeopleManager = iPeopleManager; in setManagers() 148 boolean restored = isReadyForRestore(mIPeopleManager, mPackageManager, peopleTileKey); in processFollowUpFile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJobTest.java | 81 private IPeopleManager mIPeopleManager; field in PeopleBackupFollowUpJobTest 103 when(mIPeopleManager.isConversation(any(), anyInt(), any())).thenReturn(true); in setUp() 107 mContext, mPackageManager, mIPeopleManager, mJobScheduler); in setUp() 120 when(mIPeopleManager.isConversation(any(), anyInt(), any())).thenReturn(false); in testProcessFollowUpFile_shouldFollowUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelper.java | 69 private final IPeopleManager mIPeopleManager; field in PeopleBackupHelper 99 mIPeopleManager = IPeopleManager.Stub.asInterface( in PeopleBackupHelper() 112 mIPeopleManager = peopleManager; in PeopleBackupHelper() 332 mIPeopleManager, mPackageManager, peopleTileKey); in restorePeopleTileKeyAndCorrespondingWidgetFile()
|
D | PeopleSpaceWidgetManager.java | 144 private IPeopleManager mIPeopleManager; field in PeopleSpaceWidgetManager 196 mIPeopleManager = IPeopleManager.Stub.asInterface( in PeopleSpaceWidgetManager() 277 mIPeopleManager = iPeopleManager; in PeopleSpaceWidgetManager() 428 if (mIPeopleManager == null || mLauncherApps == null) { in getTileFromPersistentStorage() 434 ConversationChannel channel = mIPeopleManager.getConversation( in getTileFromPersistentStorage() 1034 List<PeopleSpaceTile> priorityTiles = PeopleSpaceUtils.getSortedTiles(mIPeopleManager, in getPriorityTiles() 1053 mIPeopleManager.getRecentConversations().getList(); in getRecentTiles() 1061 PeopleSpaceUtils.getSortedTiles(mIPeopleManager, mLauncherApps, mUserManager, in getRecentTiles() 1075 channel = mIPeopleManager.getConversation( in getPreview()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 241 private IPeopleManager mIPeopleManager; field in PeopleSpaceWidgetManagerTest 279 mManager = new PeopleSpaceWidgetManager(mContext, mAppWidgetManager, mIPeopleManager, in setUp() 349 when(mIPeopleManager.getRecentConversations()).thenReturn( in testGetRecentTilesReturnsSortedListWithOnlyRecentConversations() 408 when(mIPeopleManager.getRecentConversations()).thenReturn( in testGetTilesReturnsNothingInQuietMode() 1157 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)).thenReturn(channel); in testGetPeopleTileFromPersistentStorageExistingConversation() 1166 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)).thenReturn(null); in testGetPeopleTileFromPersistentStorageNoConversation() 1177 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)) in testRequestPinAppWidgetExistingConversation() 1191 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)).thenReturn(null); in testRequestPinAppWidgetNoConversation() 1648 when(mIPeopleManager.getConversation(tile.getPackageName(), 0, tile.getId())) in addTileForWidget() 1796 when(mIPeopleManager.getLastInteraction(anyString(), anyInt(), in getConversationChannelWrapper() [all …]
|