Home
last modified time | relevance | path

Searched refs:mSettingsInjector (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DLocationServicesPreferenceControllerTest.java59 private SettingsInjector mSettingsInjector; field in LocationServicesPreferenceControllerTest
73 mController.setSettingsInjector(mSettingsInjector); in setUp()
80 verify(mSettingsInjector).reloadStatusMessages(); in onStart_registersBroadcastReceiver()
87 verify(mSettingsInjector).reloadStatusMessages(); in onStop_unregistersBroadcastReceiver()
89 clearInvocations(mSettingsInjector); in onStop_unregistersBroadcastReceiver()
92 verify(mSettingsInjector, never()).reloadStatusMessages(); in onStop_unregistersBroadcastReceiver()
99 doReturn(samplePrefs).when(mSettingsInjector) in updateState_addsInjectedSettingsToPreferenceCategory()
110 doReturn(samplePrefs).when(mSettingsInjector) in updateState_updatesPreferenceSummary()
123 doReturn(getSamplePreferences()).when(mSettingsInjector) in preferenceCategory_isVisibleIfThereAreInjectedSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationServicePreferenceControllerTest.java74 private AppSettingsInjector mSettingsInjector; field in LocationServicePreferenceControllerTest
90 mContext, mFragment, mLifecycle, mSettingsInjector)); in setUp()
129 .when(mSettingsInjector).getInjectedSettings(any(Context.class), anyInt()); in updateState_shouldRemoveAllAndAddInjectedSettings()
162 verify(mSettingsInjector).getInjectedSettings( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
182 verify(mSettingsInjector).getInjectedSettings( in workProfileDisallowShareLocationOff_getAllUserLocationServices()
190 verify(mSettingsInjector).reloadStatusMessages(); in onLocationModeChanged_shouldRequestReloadInjectedSettigns()
202 doReturn(map).when(mSettingsInjector) in withUserRestriction_shouldDisableLocationAccuracy()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationServicesPreferenceController.java48 private SettingsInjector mSettingsInjector; field in LocationServicesPreferenceController
53 mSettingsInjector.reloadStatusMessages();
60 mSettingsInjector = new SettingsInjector(context); in LocationServicesPreferenceController()
65 mSettingsInjector = injector; in setSettingsInjector()
103 mSettingsInjector.getInjectedSettings(getContext(), profileId); in getSortedInjectedPreferences()