Home
last modified time | relevance | path

Searched refs:mSummaryHelper (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesSummaryHelperTest.java49 private ZenModeSummaryHelper mSummaryHelper; field in ZenModesSummaryHelperTest
56 mSummaryHelper = new ZenModeSummaryHelper(mContext, mBackend); in setup()
68 assertThat(mSummaryHelper.getPeopleSummary(zenMode)).isEqualTo("No one can interrupt"); in getPeopleSummary_noOne()
80 assertThat(mSummaryHelper.getPeopleSummary(zenMode)).isEqualTo("Some people can interrupt"); in getPeopleSummary_some()
94 assertThat(mSummaryHelper.getPeopleSummary(zenMode)).isEqualTo("All people can interrupt"); in getPeopleSummary_all()
106 assertThat(mSummaryHelper.getOtherSoundCategoriesSummary(zenMode)).isEqualTo( in getOtherSoundCategoriesSummary_single()
119 assertThat(mSummaryHelper.getOtherSoundCategoriesSummary(zenMode)).isEqualTo( in getOtherSoundCategoriesSummary_duo()
136 assertThat(mSummaryHelper.getOtherSoundCategoriesSummary(zenMode)).isEqualTo( in getOtherSoundCategoriesSummary_trio()
154 assertThat(mSummaryHelper.getOtherSoundCategoriesSummary(zenMode)).isEqualTo( in getOtherSoundCategoriesSummary_quad()
173 assertThat(mSummaryHelper.getOtherSoundCategoriesSummary(zenMode)).isEqualTo( in getOtherSoundCategoriesSummary_all()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsActiveDeviceController.java35 private final AudioStreamsActiveDeviceSummaryUpdater mSummaryHelper; field in AudioStreamsActiveDeviceController
40 mSummaryHelper = new AudioStreamsActiveDeviceSummaryUpdater(mContext, this); in AudioStreamsActiveDeviceController()
63 mSummaryHelper.register(true); in onResume()
68 mSummaryHelper.register(false); in onStop()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiPrimarySwitchPreferenceController.java48 private final WifiSummaryUpdater mSummaryHelper; field in WifiPrimarySwitchPreferenceController
55 mSummaryHelper = new WifiSummaryUpdater(mContext, this); in WifiPrimarySwitchPreferenceController()
76 mSummaryHelper.register(true); in onResume()
87 mSummaryHelper.register(false); in onPause()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModePeopleLinkPreferenceController.java34 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModePeopleLinkPreferenceController
39 mSummaryHelper = new ZenModeSummaryHelper(mContext, mBackend); in ZenModePeopleLinkPreferenceController()
52 preference.setSummary(mSummaryHelper.getPeopleSummary(zenMode)); in updateState()
DZenModeCallsLinkPreferenceController.java31 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeCallsLinkPreferenceController
36 mSummaryHelper = new ZenModeSummaryHelper(context, backend); in ZenModeCallsLinkPreferenceController()
49 preference.setSummary(mSummaryHelper.getCallsSettingSummary(zenMode)); in updateState()
DZenModeOtherLinkPreferenceController.java34 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeOtherLinkPreferenceController
39 mSummaryHelper = new ZenModeSummaryHelper(mContext, mBackend); in ZenModeOtherLinkPreferenceController()
51 preference.setSummary(mSummaryHelper.getOtherSoundCategoriesSummary(zenMode)); in updateState()
DZenModeDisplayLinkPreferenceController.java31 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeDisplayLinkPreferenceController
36 mSummaryHelper = new ZenModeSummaryHelper(context, backend); in ZenModeDisplayLinkPreferenceController()
53 return mSummaryHelper.getDisplayEffectsSummary(zenMode); in getSummary()
DZenModeMessagesLinkPreferenceController.java30 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeMessagesLinkPreferenceController
35 mSummaryHelper = new ZenModeSummaryHelper(context, backend); in ZenModeMessagesLinkPreferenceController()
50 preference.setSummary(mSummaryHelper.getMessagesSettingSummary(zenMode.getPolicy())); in updateState()
DZenModeAppsLinkPreferenceController.java48 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeAppsLinkPreferenceController
57 mSummaryHelper = new ZenModeSummaryHelper(mContext, mBackend); in ZenModeAppsLinkPreferenceController()
95 mPreference.setSummary(mSummaryHelper.getAppsSummary(mZenMode, appNames)); in updateAppsBypassingDndSummaryText()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetPreferenceControllerTest.java106 private WifiSummaryUpdater mSummaryHelper; field in InternetPreferenceControllerTest
223 when(mSummaryHelper.getSummary()).thenReturn(TEST_SUMMARY); in onSummaryChanged_internetWifi_updateSummary()
224 mController.mSummaryHelper = mSummaryHelper; in onSummaryChanged_internetWifi_updateSummary()
235 when(mSummaryHelper.getSummary()).thenReturn(TEST_SUMMARY); in onSummaryChanged_internetNetworksAvailable_notUpdateSummary()
236 mController.mSummaryHelper = mSummaryHelper; in onSummaryChanged_internetNetworksAvailable_notUpdateSummary()
/packages/apps/Settings/src/com/android/settings/network/
DInternetPreferenceController.java73 WifiSummaryUpdater mSummaryHelper; field in InternetPreferenceController
110 mSummaryHelper = new WifiSummaryUpdater(mContext, this); in InternetPreferenceController()
152 mPreference.setSummary(mSummaryHelper.getSummary()); in updateState()
197 mSummaryHelper.register(true); in onResume()
206 mSummaryHelper.register(false); in onPause()