Home
last modified time | relevance | path

Searched refs:DeletionHelperSettings (Results 1 – 11 of 11) sorted by relevance

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettingsTest.java61 assertThat(DeletionHelperSettings.getGaugeString(mContext, intent, PACKAGE_NAME)).isNull(); in nullAppHasNoGaugeTitle()
73 assertThat(DeletionHelperSettings.getGaugeString(mContext, intent, PACKAGE_NAME)) in realAppHasGaugeTitle()
79 DeletionHelperSettings settings = in downloadsNotDeletedInNoThresholdMode()
80 spy(DeletionHelperSettings.newInstance(AppsAsyncLoader.NO_THRESHOLD)); in downloadsNotDeletedInNoThresholdMode()
94 DeletionHelperSettings settings = in onFreeableChangeChecksForNull()
95 DeletionHelperSettings.newInstance(AppsAsyncLoader.NO_THRESHOLD); in onFreeableChangeChecksForNull()
105 DeletionHelperSettings settings = in requestingSpecificBytesToClearSetsOkResultCodeOnSufficientClear()
106 spy(DeletionHelperSettings.newInstance(AppsAsyncLoader.NORMAL_THRESHOLD)); in requestingSpecificBytesToClearSetsOkResultCodeOnSufficientClear()
124 DeletionHelperSettings settings = in requestingSpecificBytesToClearSetsNegativeResultCodeOnSufficientClear()
125 spy(DeletionHelperSettings.newInstance(AppsAsyncLoader.NORMAL_THRESHOLD)); in requestingSpecificBytesToClearSetsNegativeResultCodeOnSufficientClear()
[all …]
DPhotosDeletionPreferenceTest.java64 assertThat(mPreference.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testConstructor()
119 assertThat(mPreference.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testGetFreeableBytes()
121 assertThat(mPreference.getFreeableBytes(DeletionHelperSettings.COUNT_UNCHECKED)) in testGetFreeableBytes()
DAppDeletionTypeTest.java40 private DeletionHelperSettings mFragment;
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperActivity.java49 private DeletionHelperSettings mFragment;
62 mFragment = DeletionHelperSettings.newInstance(AppsAsyncLoader.NORMAL_THRESHOLD); in onCreate()
163 mFragment = DeletionHelperSettings.newInstance(thresholdType); in onOptionsItemSelected()
185 Fragment fragment = DeletionHelperSettings.newInstance(AppsAsyncLoader.NO_THRESHOLD); in onClick()
DDeletionHelperSettings.java53 public class DeletionHelperSettings extends PreferenceFragment class
83 public static DeletionHelperSettings newInstance(int thresholdType) { in newInstance()
84 DeletionHelperSettings instance = new DeletionHelperSettings(); in newInstance()
DDownloadsDeletionPreferenceGroup.java114 mDeletionType.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in onPreferenceChange()
125 mDeletionType.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in onPreferenceChange()
DAppDeletionType.java58 DeletionHelperSettings fragment, in AppDeletionType()
191 getTotalAppsFreeableSpace(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in maybeNotifyListener()
DDeletionPreference.java129 mFreeableItems, getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in maybeUpdateListener()
DConfirmDeletionDialog.java83 ((DeletionHelperSettings) getTargetFragment()).clearData(); in onClick()
DAppDeletionPreferenceGroup.java154 mBackend.getTotalAppsFreeableSpace(DeletionHelperSettings.COUNT_UNCHECKED); in updateText()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DDownloadsDeletionTypeTest.java27 import com.android.storagemanager.deletionhelper.DeletionHelperSettings;
114 assertThat(mDeletion.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testUncheckedFilesDoNotCountForSize()
118 assertThat(mDeletion.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testUncheckedFilesDoNotCountForSize()