Searched refs:DeletionHelperSettings (Results 1 – 11 of 11) sorted by relevance
61 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 …]
64 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()
40 private DeletionHelperSettings mFragment;
49 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()
53 public class DeletionHelperSettings extends PreferenceFragment class83 public static DeletionHelperSettings newInstance(int thresholdType) { in newInstance()84 DeletionHelperSettings instance = new DeletionHelperSettings(); in newInstance()
114 mDeletionType.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in onPreferenceChange()125 mDeletionType.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in onPreferenceChange()
58 DeletionHelperSettings fragment, in AppDeletionType()191 getTotalAppsFreeableSpace(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in maybeNotifyListener()
129 mFreeableItems, getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in maybeUpdateListener()
83 ((DeletionHelperSettings) getTargetFragment()).clearData(); in onClick()
154 mBackend.getTotalAppsFreeableSpace(DeletionHelperSettings.COUNT_UNCHECKED); in updateText()
27 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()