Searched refs:mRecentLocationApps (Results 1 – 7 of 7) sorted by relevance
64 private RecentLocationApps mRecentLocationApps; field in RecentLocationRequestsPreferenceControllerTest80 mPreferenceController.setRecentLocationApps(mRecentLocationApps); in setUp()87 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(Collections.emptyList()); in refreshUi_noRecentRequests_messageDisplayed()100 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list); in refreshUi_someRecentRequests_preferencesAddedToScreen()112 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list1); in refreshUi_newRecentRequests_listIsUpdated()120 when(mRecentLocationApps.getAppListSorted(true)).thenReturn(list2); in refreshUi_newRecentRequests_listIsUpdated()
43 private RecentLocationApps mRecentLocationApps; field in RecentLocationRequestsPreferenceController50 mRecentLocationApps = new RecentLocationApps(context); in RecentLocationRequestsPreferenceController()56 mRecentLocationApps = apps; in setRecentLocationApps()69 mRecentLocationApps.getAppListSorted(/* showSystemApps= */ true); in updateState()73 List<Request> newRequests = mRecentLocationApps.getAppListSorted(true); in updateState()
71 mController.mRecentLocationApps = spy(new RecentLocationApps(mContext)); in setUp()77 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_whenAppListMoreThanThree_shouldDisplayTopThreeApps()87 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_workProfile_shouldShowOnlyWorkProfileApps()103 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_Personal_shouldShowOnlyPersonalApps()
64 private RecentLocationAccesses mRecentLocationApps; field in RecentLocationAccessPreferenceControllerTest76 mRecentLocationApps)); in setUp()101 doReturn(new ArrayList<>()).when(mRecentLocationApps).getAppListSorted(false); in updateState_whenAppListIsEmpty_shouldDisplayTitleTextAndDetailsText()
40 private RecentLocationApps mRecentLocationApps; field in RecentLocationRequestSeeAllPreferenceController47 mRecentLocationApps = new RecentLocationApps(context); in RecentLocationRequestSeeAllPreferenceController()68 for (RecentLocationApps.Request request : mRecentLocationApps.getAppListSorted( in updateState()
41 RecentLocationApps mRecentLocationApps; field in RecentLocationRequestPreferenceController76 mRecentLocationApps = new RecentLocationApps(context); in RecentLocationRequestPreferenceController()86 for (RecentLocationApps.Request request : mRecentLocationApps.getAppListSorted( in displayPreference()
45 RecentLocationAccesses mRecentLocationApps; field in RecentLocationAccessPreferenceController81 mRecentLocationApps = recentLocationApps; in RecentLocationAccessPreferenceController()91 for (RecentLocationAccesses.Access access : mRecentLocationApps.getAppListSorted( in displayPreference()