Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java65 private SummaryLoader mSummaryLoader; field in DashboardFragment
130 if (mSummaryLoader != null) { in onStart()
132 mSummaryLoader.setListening(true); in onStart()
179 if (mSummaryLoader != null) { in onStop()
181 mSummaryLoader.setListening(false); in onStop()
326 if (mSummaryLoader != null) { in refreshDashboardTiles()
327 mSummaryLoader.release(); in refreshDashboardTiles()
330 mSummaryLoader = new SummaryLoader(getActivity(), getCategoryKey()); in refreshDashboardTiles()
331 mSummaryLoader.setSummaryConsumer(this); in refreshDashboardTiles()
370 mSummaryLoader.setListening(true); in refreshDashboardTiles()
DDashboardSummary.java70 private SummaryLoader mSummaryLoader; field in DashboardSummary
95 mSummaryLoader = new SummaryLoader(activity, CategoryKey.CATEGORY_HOMEPAGE); in onCreate()
112 mSummaryLoader.release(); in onDestroy()
122 mSummaryLoader.setListening(true); in onResume()
140 mSummaryLoader.setListening(false); in onPause()
202 mSummaryLoader.setSummaryConsumer(mAdapter); in onViewCreated()
316 mSummaryLoader.updateSummaryToCache(category); in updateCategoryAndSuggestion()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DSummaryLoaderTest.java53 private SummaryLoader mSummaryLoader; field in SummaryLoaderTest
69 mSummaryLoader = new SummaryLoader(activity, categories); in SetUp()
70 mSummaryLoader.setSummaryConsumer(new SummaryLoader.SummaryConsumer() { in SetUp()
80 mSummaryLoader.updateSummaryIfNeeded(mTile, SUMMARY_1); in testUpdateSummaryIfNeeded_SummaryIdentical_NoCallback()
87 mSummaryLoader.updateSummaryIfNeeded(mTile, SUMMARY_2); in testUpdateSummaryIfNeeded_SummaryChanged_HasCallback()
104 mSummaryLoader.updateSummaryIfNeeded(tile, testSummary); in testUpdateSummaryToCache_hasCache_shouldUpdate()
106 mSummaryLoader.updateSummaryToCache(category); in testUpdateSummaryToCache_hasCache_shouldUpdate()
DDashboardSummaryTest.java64 private SummaryLoader mSummaryLoader; field in DashboardSummaryTest
78 ReflectionHelpers.setField(mSummary, "mSummaryLoader", mSummaryLoader); in setUp()
86 verify(mSummaryLoader).updateSummaryToCache(nullable(DashboardCategory.class)); in updateCategoryAndSuggestion_shouldGetCategoryFromFeatureProvider()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DNotificationAppsTest.java59 private SummaryLoader mSummaryLoader; field in NotificationAppsTest
72 mSummaryProvider = spy(new NotificationApps.SummaryProvider(mContext, mSummaryLoader)); in setUp()
96 verify(mSummaryLoader).setSummary(mSummaryProvider, in setListening_shouldSetSummary()
103 verify(mSummaryLoader).setSummary(mSummaryProvider, in setListening_shouldSetSummary()
109 verify(mSummaryLoader).setSummary(mSummaryProvider, in setListening_shouldSetSummary()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DConnectedDeviceDashboardFragment.java98 private final SummaryLoader mSummaryLoader; field in ConnectedDeviceDashboardFragment.SummaryProvider
103 mSummaryLoader = summaryLoader; in SummaryProvider()
112 mSummaryLoader.setSummary(this, in setListening()
115 mSummaryLoader.setSummary(this, mContext.getString( in setListening()
/packages/apps/Settings/src/com/android/settings/language/
DLanguageAndInputSettings.java122 private final SummaryLoader mSummaryLoader; field in LanguageAndInputSettings.SummaryProvider
126 mSummaryLoader = summaryLoader; in SummaryProvider()
144 mSummaryLoader.setSummary(this, imi.loadLabel(packageManage)); in setListening()
149 mSummaryLoader.setSummary(this, ""); in setListening()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSettingsSummaryProviderTest.java45 private SummaryLoader mSummaryLoader; field in BluetoothSettingsSummaryProviderTest
53 mSummaryProvider = new BluetoothSettings.SummaryProvider(mContext, mSummaryLoader, in setUp()
78 verify(mSummaryLoader).setSummary(mSummaryProvider, summary); in onSummaryChanged_shouldSetSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java46 @Mock private SummaryLoader mSummaryLoader; field in UserSettingsTest
57 mActivity, mSummaryLoader); in setUp()
69 verify(mSummaryLoader).setSummary(mSummaryProvider, in setListening_shouldSetSummaryWithUserName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DDeviceInfoSettingsTest.java62 private SummaryLoader mSummaryLoader; field in DeviceInfoSettingsTest
82 .createSummaryProvider(null, mSummaryLoader); in getSummary_shouldReturnDeviceModel()
86 verify(mSummaryLoader).setSummary(mProvider, Build.MODEL + DeviceInfoUtils.getMsvSuffix()); in getSummary_shouldReturnDeviceModel()
DSecuritySettingsTest.java77 private SummaryLoader mSummaryLoader; field in SecuritySettingsTest
94 mSummaryProvider = new SecuritySettings.SummaryProvider(mContext, mSummaryLoader); in setUp()
101 verifyNoMoreInteractions(mSummaryLoader); in testSummaryProvider_notListening()
/packages/apps/Settings/src/com/android/settings/accounts/
DUserAndAccountDashboardFragment.java87 private final SummaryLoader mSummaryLoader; field in UserAndAccountDashboardFragment.SummaryProvider
91 mSummaryLoader = summaryLoader; in SummaryProvider()
99 mSummaryLoader.setSummary(this, in setListening()
/packages/apps/Settings/src/com/android/settings/print/
DPrintSettingsFragment.java509 private final SummaryLoader mSummaryLoader; field in PrintSettingsFragment.PrintSummaryProvider
520 mSummaryLoader = summaryLoader; in PrintSummaryProvider()
550 mSummaryLoader.setSummary(this, mContext.getResources().getQuantityString( in onPrintJobStateChanged()
556 mSummaryLoader.setSummary(this, in onPrintJobStateChanged()
560 mSummaryLoader.setSummary(this, in onPrintJobStateChanged()
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettings.java146 private final SummaryLoader mSummaryLoader; field in DateTimeSettings.SummaryProvider
150 mSummaryLoader = summaryLoader; in SummaryProvider()
157 mSummaryLoader.setSummary(this, ZoneGetter.getTimeZoneOffsetAndName(mContext, in setListening()
DDeviceInfoSettings.java94 private final SummaryLoader mSummaryLoader; field in DeviceInfoSettings.SummaryProvider
97 mSummaryLoader = summaryLoader; in SummaryProvider()
103 mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel()); in setListening()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAppSettings.java117 private final SummaryLoader mSummaryLoader; field in DefaultAppSettings.SummaryProvider
124 mSummaryLoader = summaryLoader; in SummaryProvider()
141 mSummaryLoader.setSummary(this, summary); in setListening()
DProcessStatsSummary.java127 private final SummaryLoader mSummaryLoader; field in ProcessStatsSummary.SummaryProvider
131 mSummaryLoader = summaryLoader; in SummaryProvider()
144 mSummaryLoader.setSummary(this, mContext.getString(R.string.memory_summary, in setListening()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java381 private final SummaryLoader mSummaryLoader; field in BluetoothSettings.SummaryProvider
390 mSummaryLoader = summaryLoader; in SummaryProvider()
401 if (mSummaryLoader != null) { in onSummaryChanged()
402 mSummaryLoader.setSummary(this, summary); in onSummaryChanged()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java160 private final SummaryLoader mSummaryLoader; field in NetworkDashboardFragment.SummaryProvider
175 mSummaryLoader = summaryLoader; in SummaryProvider()
201 mSummaryLoader.setSummary(this, summary); in setListening()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java434 private final SummaryLoader mSummaryLoader; field in LocationSettings.SummaryProvider
438 mSummaryLoader = summaryLoader; in SummaryProvider()
444 mSummaryLoader.setSummary( in setListening()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataPlanUsageSummary.java324 private final SummaryLoader mSummaryLoader; field in DataPlanUsageSummary.SummaryProvider
329 mSummaryLoader = summaryLoader; in SummaryProvider()
345 mSummaryLoader.setSummary(this, in setListening()
DDataUsageSummary.java349 private final SummaryLoader mSummaryLoader; field in DataUsageSummary.SummaryProvider
354 mSummaryLoader = summaryLoader; in SummaryProvider()
370 mSummaryLoader.setSummary(this, in setListening()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wfd/
DWifiDisplaySettingsTest.java50 private SummaryLoader mSummaryLoader; field in WifiDisplaySettingsTest
63 mActivity, mSummaryLoader); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/
DPrintSettingsFragmentTest.java58 private SummaryLoader mSummaryLoader; field in PrintSettingsFragmentTest
65 mSummaryProvider = new PrintSettingsFragment.PrintSummaryProvider(mActivity, mSummaryLoader, in setUp()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java757 private final SummaryLoader mSummaryLoader; field in WifiDisplaySettings.SummaryProvider
788 mSummaryLoader = summaryLoader; in SummaryProvider()
814 mSummaryLoader.setSummary(this, summary); in updateSummary()

12