Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationServicesPreferenceController.java48 private SettingsInjector mSettingsInjector; field in LocationServicesPreferenceController
53 mSettingsInjector.reloadStatusMessages();
60 mSettingsInjector = new CarLocationSettingsInjector(context); in LocationServicesPreferenceController()
65 mSettingsInjector = injector; in setSettingsInjector()
103 mSettingsInjector.getInjectedSettings(getContext(), profileId); in getSortedInjectedPreferences()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DLocationServicesPreferenceControllerTest.java71 private CarLocationSettingsInjector mSettingsInjector; field in LocationServicesPreferenceControllerTest
87 mPreferenceController.setSettingsInjector(mSettingsInjector); in setUp()
100 verify(mSettingsInjector).reloadStatusMessages(); in onStart_registersBroadcastReceiver()
120 doReturn(samplePrefs).when(mSettingsInjector) in updateState_addsInjectedSettingsToPreferenceCategory()
131 doReturn(samplePrefs).when(mSettingsInjector) in updateState_updatesPreferenceSummary()
145 doReturn(getSamplePreferences()).when(mSettingsInjector) in preferenceCategory_isVisibleIfThereAreInjectedSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationInjectedServicesPreferenceControllerTest.java72 private AppSettingsInjector mSettingsInjector; field in LocationInjectedServicesPreferenceControllerTest
91 mController.mInjector = mSettingsInjector; in setUp()
134 verify(mSettingsInjector).getInjectedSettings( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
153 verify(mSettingsInjector).getInjectedSettings( in workProfileDisallowShareLocationOff_getAllUserLocationServices()
161 verify(mSettingsInjector).reloadStatusMessages(); in onLocationModeChanged_shouldRequestReloadInjectedSettigns()
173 doReturn(map).when(mSettingsInjector) in withUserRestriction_shouldDisableLocationAccuracy()