/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModesSummaryHelperTest.java | 49 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/ |
D | AudioStreamsActiveDeviceController.java | 35 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/ |
D | WifiPrimarySwitchPreferenceController.java | 48 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/ |
D | ZenModePeopleLinkPreferenceController.java | 34 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModePeopleLinkPreferenceController 39 mSummaryHelper = new ZenModeSummaryHelper(mContext, mBackend); in ZenModePeopleLinkPreferenceController() 52 preference.setSummary(mSummaryHelper.getPeopleSummary(zenMode)); in updateState()
|
D | ZenModeCallsLinkPreferenceController.java | 31 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeCallsLinkPreferenceController 36 mSummaryHelper = new ZenModeSummaryHelper(context, backend); in ZenModeCallsLinkPreferenceController() 49 preference.setSummary(mSummaryHelper.getCallsSettingSummary(zenMode)); in updateState()
|
D | ZenModeOtherLinkPreferenceController.java | 34 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeOtherLinkPreferenceController 39 mSummaryHelper = new ZenModeSummaryHelper(mContext, mBackend); in ZenModeOtherLinkPreferenceController() 51 preference.setSummary(mSummaryHelper.getOtherSoundCategoriesSummary(zenMode)); in updateState()
|
D | ZenModeDisplayLinkPreferenceController.java | 31 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeDisplayLinkPreferenceController 36 mSummaryHelper = new ZenModeSummaryHelper(context, backend); in ZenModeDisplayLinkPreferenceController() 53 return mSummaryHelper.getDisplayEffectsSummary(zenMode); in getSummary()
|
D | ZenModeMessagesLinkPreferenceController.java | 30 private final ZenModeSummaryHelper mSummaryHelper; field in ZenModeMessagesLinkPreferenceController 35 mSummaryHelper = new ZenModeSummaryHelper(context, backend); in ZenModeMessagesLinkPreferenceController() 50 preference.setSummary(mSummaryHelper.getMessagesSettingSummary(zenMode.getPolicy())); in updateState()
|
D | ZenModeAppsLinkPreferenceController.java | 48 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/ |
D | InternetPreferenceControllerTest.java | 106 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/ |
D | InternetPreferenceController.java | 73 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()
|