Home
last modified time | relevance | path

Searched refs:mRecentLocationApps (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DRecentLocationRequestsPreferenceControllerTest.java64 private RecentLocationApps mRecentLocationApps; field in RecentLocationRequestsPreferenceControllerTest
80 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()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DRecentLocationRequestsPreferenceController.java43 private RecentLocationApps mRecentLocationApps; field in RecentLocationRequestsPreferenceController
50 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DRecentLocationRequestPreferenceControllerTest.java71 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()
DRecentLocationAccessPreferenceControllerTest.java64 private RecentLocationAccesses mRecentLocationApps; field in RecentLocationAccessPreferenceControllerTest
76 mRecentLocationApps)); in setUp()
101 doReturn(new ArrayList<>()).when(mRecentLocationApps).getAppListSorted(false); in updateState_whenAppListIsEmpty_shouldDisplayTitleTextAndDetailsText()
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestSeeAllPreferenceController.java40 private RecentLocationApps mRecentLocationApps; field in RecentLocationRequestSeeAllPreferenceController
47 mRecentLocationApps = new RecentLocationApps(context); in RecentLocationRequestSeeAllPreferenceController()
68 for (RecentLocationApps.Request request : mRecentLocationApps.getAppListSorted( in updateState()
DRecentLocationRequestPreferenceController.java41 RecentLocationApps mRecentLocationApps; field in RecentLocationRequestPreferenceController
76 mRecentLocationApps = new RecentLocationApps(context); in RecentLocationRequestPreferenceController()
86 for (RecentLocationApps.Request request : mRecentLocationApps.getAppListSorted( in displayPreference()
DRecentLocationAccessPreferenceController.java45 RecentLocationAccesses mRecentLocationApps; field in RecentLocationAccessPreferenceController
81 mRecentLocationApps = recentLocationApps; in RecentLocationAccessPreferenceController()
91 for (RecentLocationAccesses.Access access : mRecentLocationApps.getAppListSorted( in displayPreference()