Home
last modified time | relevance | path

Searched refs:mDownloadsPreference (Results 1 – 2 of 2) sorted by relevance

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettings.java71 @VisibleForTesting DownloadsDeletionPreferenceGroup mDownloadsPreference; field in DeletionHelperSettings
186 mDownloadsPreference = in onActivityCreated()
189 mDownloadsPreference.registerFreeableChangedListener(this); in onActivityCreated()
190 mDownloadsPreference.registerDeletionService(mDownloadsDeletion); in onActivityCreated()
202 if (mDownloadsPreference != null) { in setupEmptyState()
203 mDownloadsPreference.setChecked(false); in setupEmptyState()
204 screen.removePreference(mDownloadsPreference); in setupEmptyState()
211 mDownloadsPreference = null; in setupEmptyState()
302 if (mDownloadsPreference != null) { in clearData()
393 if (mDownloadsPreference != null) { in getTotalFreeableSpace()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettingsTest.java112 settings.mDownloadsPreference = mock(DownloadsDeletionPreferenceGroup.class); in requestingSpecificBytesToClearSetsOkResultCodeOnSufficientClear()
131 settings.mDownloadsPreference = mock(DownloadsDeletionPreferenceGroup.class); in requestingSpecificBytesToClearSetsNegativeResultCodeOnSufficientClear()
150 settings.mDownloadsPreference = mock(DownloadsDeletionPreferenceGroup.class); in requestingSpecificBytesToClearSetsNegativeResultCodeOnNoClear()