Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DRecentLocationRequestPreferenceControllerTest.java76 mController.mRecentLocationApps = spy(new RecentLocationApps(mContext)); in setUp()
87 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_whenAppListMoreThanThree_shouldDisplayTopThreeApps()
100 when(mController.mRecentLocationApps.getAppListSorted(false)) in updateState_whenAppListMoreThanThree_showSystem()
102 when(mController.mRecentLocationApps.getAppListSorted(true)) in updateState_whenAppListMoreThanThree_showSystem()
120 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_workProfile_shouldShowOnlyWorkProfileApps()
136 when(mController.mRecentLocationApps.getAppListSorted(false)).thenReturn(requests); in updateState_Personal_shouldShowOnlyPersonalApps()
DRecentLocationAccessPreferenceControllerTest.java67 private RecentAppOpsAccess mRecentLocationApps; field in RecentLocationAccessPreferenceControllerTest
79 mRecentLocationApps)); in setUp()
104 doReturn(new ArrayList<>()).when(mRecentLocationApps).getAppListSorted(false); in updateState_whenAppListIsEmpty_shouldDisplayTitleTextAndDetailsText()
123 .when(mRecentLocationApps).getAppListSorted(false); in updateState_showSystemAccess()
124 doReturn(new ArrayList<>()).when(mRecentLocationApps).getAppListSorted(true); in updateState_showSystemAccess()
/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.java44 RecentLocationApps mRecentLocationApps; field in RecentLocationRequestPreferenceController
79 mRecentLocationApps = new RecentLocationApps(context); in RecentLocationRequestPreferenceController()
95 for (RecentLocationApps.Request request : mRecentLocationApps.getAppListSorted( in displayPreference()
DRecentLocationAccessPreferenceController.java48 RecentAppOpsAccess mRecentLocationApps; field in RecentLocationAccessPreferenceController
87 mRecentLocationApps = recentLocationApps; in RecentLocationAccessPreferenceController()
117 for (RecentAppOpsAccess.Access access : mRecentLocationApps.getAppListSorted(mShowSystem)) { in loadRecentAccesses()