Home
last modified time | relevance | path

Searched refs:mSummaryLoader (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DSummaryLoaderTest.java51 private SummaryLoader mSummaryLoader; field in SummaryLoaderTest
70 mSummaryLoader = new SummaryLoader(activity, CategoryKey.CATEGORY_HOMEPAGE); in SetUp()
71 mSummaryLoader.setSummaryConsumer(tile -> mCallbackInvoked = true); in SetUp()
81 mSummaryLoader.updateSummaryIfNeeded(mContext, mTile, SUMMARY_1); in testUpdateSummaryIfNeeded_SummaryIdentical_NoCallback()
88 mSummaryLoader.updateSummaryIfNeeded(mContext, mTile, SUMMARY_2); in testUpdateSummaryIfNeeded_SummaryChanged_HasCallback()
108 mSummaryLoader.updateSummaryIfNeeded(mContext, tile, testSummary); in testUpdateSummaryToCache_hasCache_shouldUpdate()
110 mSummaryLoader.updateSummaryToCache(category); in testUpdateSummaryToCache_hasCache_shouldUpdate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DDashboardFragment.java67 private SummaryLoader mSummaryLoader; field in DashboardFragment
165 if (mSummaryLoader != null) { in onStart()
167 mSummaryLoader.setListening(true); in onStart()
216 if (mSummaryLoader != null) { in onStop()
218 mSummaryLoader.setListening(false); in onStop()
405 if (mSummaryLoader != null) { in refreshDashboardTiles()
406 mSummaryLoader.release(); in refreshDashboardTiles()
409 mSummaryLoader = new SummaryLoader(getActivity(), getCategoryKey()); in refreshDashboardTiles()
410 mSummaryLoader.setSummaryConsumer(this); in refreshDashboardTiles()
447 mSummaryLoader.setListening(true); in refreshDashboardTiles()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java70 private SummaryLoader mSummaryLoader; field in DashboardFragment
171 if (mSummaryLoader != null) { in onStart()
173 mSummaryLoader.setListening(true); in onStart()
222 if (mSummaryLoader != null) { in onStop()
224 mSummaryLoader.setListening(false); in onStop()
416 if (mSummaryLoader != null) { in refreshDashboardTiles()
417 mSummaryLoader.release(); in refreshDashboardTiles()
420 mSummaryLoader = new SummaryLoader(getActivity(), getCategoryKey()); in refreshDashboardTiles()
421 mSummaryLoader.setSummaryConsumer(this); in refreshDashboardTiles()
458 mSummaryLoader.setListening(true); in refreshDashboardTiles()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java258 private final SummaryLoader mSummaryLoader; field in DataUsageSummary.SummaryProvider
263 mSummaryLoader = summaryLoader; in SummaryProvider()
271 mSummaryLoader.setSummary(this, in setListening()
279 mSummaryLoader.setSummary(this, null); in setListening()
285 mSummaryLoader.setSummary(this, in setListening()
/packages/apps/Settings/src/com/android/settings/language/
DLanguageAndInputSettings.java129 private final SummaryLoader mSummaryLoader; field in LanguageAndInputSettings.SummaryProvider
133 mSummaryLoader = summaryLoader; in SummaryProvider()
151 mSummaryLoader.setSummary(this, imi.loadLabel(packageManage)); in setListening()
156 mSummaryLoader.setSummary(this, ""); in setListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/language/
DLanguageAndInputSettings.java129 private final SummaryLoader mSummaryLoader; field in LanguageAndInputSettings.SummaryProvider
133 mSummaryLoader = summaryLoader; in SummaryProvider()
151 mSummaryLoader.setSummary(this, imi.loadLabel(packageManage)); in setListening()
156 mSummaryLoader.setSummary(this, ""); in setListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummary.java269 private final SummaryLoader mSummaryLoader; field in DataUsageSummary.SummaryProvider
274 mSummaryLoader = summaryLoader; in SummaryProvider()
282 mSummaryLoader.setSummary(this, in setListening()
290 mSummaryLoader.setSummary(this, null); in setListening()
296 mSummaryLoader.setSummary(this, in setListening()
/packages/apps/Settings/src/com/android/settings/notification/
DConfigureNotificationSettings.java175 private final SummaryLoader mSummaryLoader; field in ConfigureNotificationSettings.SummaryProvider
180 mSummaryLoader = summaryLoader; in SummaryProvider()
196 mSummaryLoader.setSummary(this, in setListening()
199 mSummaryLoader.setSummary(this, in setListening()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryTest.java69 private SummaryLoader mSummaryLoader; field in DataUsageSummaryTest
101 .createSummaryProvider(mActivity, mSummaryLoader); in setUp()
117 verify(mSummaryLoader).setSummary(mSummaryProvider, null); in setListening_shouldBlankSummaryWithNoSim()
124 verify(mSummaryLoader).setSummary(anyObject(), endsWith(" of data used")); in setListening_shouldSetSummaryWithSim()
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettings.java152 private final SummaryLoader mSummaryLoader; field in DateTimeSettings.SummaryProvider
156 mSummaryLoader = summaryLoader; in SummaryProvider()
163 mSummaryLoader.setSummary(this, ZoneGetter.getTimeZoneOffsetAndName(mContext, in setListening()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsSummary.java134 private final SummaryLoader mSummaryLoader; field in ProcessStatsSummary.SummaryProvider
138 mSummaryLoader = summaryLoader; in SummaryProvider()
151 mSummaryLoader.setSummary(this, mContext.getString(R.string.memory_summary, in setListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsSummary.java134 private final SummaryLoader mSummaryLoader; field in ProcessStatsSummary.SummaryProvider
138 mSummaryLoader = summaryLoader; in SummaryProvider()
151 mSummaryLoader.setSummary(this, mContext.getString(R.string.memory_summary, in setListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DDateTimeSettings.java152 private final SummaryLoader mSummaryLoader; field in DateTimeSettings.SummaryProvider
156 mSummaryLoader = summaryLoader; in SummaryProvider()
163 mSummaryLoader.setSummary(this, ZoneGetter.getTimeZoneOffsetAndName(mContext, in setListening()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wfd/
DWifiDisplaySettingsTest.java49 private SummaryLoader mSummaryLoader; field in WifiDisplaySettingsTest
65 .createSummaryProvider(mActivity, mSummaryLoader); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java90 private SummaryLoader mSummaryLoader; field in UserSettingsTest
128 UserSettings.SUMMARY_PROVIDER_FACTORY.createSummaryProvider(mActivity, mSummaryLoader); in setUp()
146 verify(mSummaryLoader) in setListening_shouldSetSummaryWithUserName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java768 private final SummaryLoader mSummaryLoader; field in WifiDisplaySettings.SummaryProvider
799 mSummaryLoader = summaryLoader; in SummaryProvider()
825 mSummaryLoader.setSummary(this, summary); in updateSummary()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java769 private final SummaryLoader mSummaryLoader; field in WifiDisplaySettings.SummaryProvider
800 mSummaryLoader = summaryLoader; in SummaryProvider()
827 mSummaryLoader.setSummary(this, summary); in updateSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java1185 private final SummaryLoader mSummaryLoader; field in WifiSettings.SummaryProvider
1192 mSummaryLoader = summaryLoader; in SummaryProvider()
1204 mSummaryLoader.setSummary(this, summary); in onSummaryChanged()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java1219 private final SummaryLoader mSummaryLoader; field in WifiSettings.SummaryProvider
1226 mSummaryLoader = summaryLoader; in SummaryProvider()
1238 mSummaryLoader.setSummary(this, summary); in onSummaryChanged()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java1202 private final SummaryLoader mSummaryLoader; field in UserSettings.SummaryProvider
1206 mSummaryLoader = summaryLoader; in SummaryProvider()
1214 mSummaryLoader.setSummary(this, mContext.getString(R.string.users_summary, in setListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java1198 private final SummaryLoader mSummaryLoader; field in UserSettings.SummaryProvider
1202 mSummaryLoader = summaryLoader; in SummaryProvider()
1210 mSummaryLoader.setSummary(this, mContext.getString(R.string.users_summary, in setListening()