/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFragment.java | 65 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()
|
D | DashboardSummary.java | 70 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/ |
D | SummaryLoaderTest.java | 53 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()
|
D | DashboardSummaryTest.java | 64 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/ |
D | NotificationAppsTest.java | 59 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/ |
D | ConnectedDeviceDashboardFragment.java | 98 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/ |
D | LanguageAndInputSettings.java | 122 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/ |
D | BluetoothSettingsSummaryProviderTest.java | 45 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/ |
D | UserSettingsTest.java | 46 @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/ |
D | DeviceInfoSettingsTest.java | 62 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()
|
D | SecuritySettingsTest.java | 77 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/ |
D | UserAndAccountDashboardFragment.java | 87 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/ |
D | PrintSettingsFragment.java | 509 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/ |
D | DateTimeSettings.java | 146 private final SummaryLoader mSummaryLoader; field in DateTimeSettings.SummaryProvider 150 mSummaryLoader = summaryLoader; in SummaryProvider() 157 mSummaryLoader.setSummary(this, ZoneGetter.getTimeZoneOffsetAndName(mContext, in setListening()
|
D | DeviceInfoSettings.java | 94 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/ |
D | DefaultAppSettings.java | 117 private final SummaryLoader mSummaryLoader; field in DefaultAppSettings.SummaryProvider 124 mSummaryLoader = summaryLoader; in SummaryProvider() 141 mSummaryLoader.setSummary(this, summary); in setListening()
|
D | ProcessStatsSummary.java | 127 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/ |
D | BluetoothSettings.java | 381 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/ |
D | NetworkDashboardFragment.java | 160 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/ |
D | LocationSettings.java | 434 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/ |
D | DataPlanUsageSummary.java | 324 private final SummaryLoader mSummaryLoader; field in DataPlanUsageSummary.SummaryProvider 329 mSummaryLoader = summaryLoader; in SummaryProvider() 345 mSummaryLoader.setSummary(this, in setListening()
|
D | DataUsageSummary.java | 349 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/ |
D | WifiDisplaySettingsTest.java | 50 private SummaryLoader mSummaryLoader; field in WifiDisplaySettingsTest 63 mActivity, mSummaryLoader); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/ |
D | PrintSettingsFragmentTest.java | 58 private SummaryLoader mSummaryLoader; field in PrintSettingsFragmentTest 65 mSummaryProvider = new PrintSettingsFragment.PrintSummaryProvider(mActivity, mSummaryLoader, in setUp()
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 757 private final SummaryLoader mSummaryLoader; field in WifiDisplaySettings.SummaryProvider 788 mSummaryLoader = summaryLoader; in SummaryProvider() 814 mSummaryLoader.setSummary(this, summary); in updateSummary()
|