Searched refs:mSettingsInjector (Results 1 – 3 of 3) sorted by relevance
59 private SettingsInjector mSettingsInjector; field in LocationServicesPreferenceControllerTest73 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()
74 private AppSettingsInjector mSettingsInjector; field in LocationServicePreferenceControllerTest90 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()
48 private SettingsInjector mSettingsInjector; field in LocationServicesPreferenceController53 mSettingsInjector.reloadStatusMessages();60 mSettingsInjector = new SettingsInjector(context); in LocationServicesPreferenceController()65 mSettingsInjector = injector; in setSettingsInjector()103 mSettingsInjector.getInjectedSettings(getContext(), profileId); in getSortedInjectedPreferences()