Searched refs:DownloadsDeletionType (Results 1 – 6 of 6) sorted by relevance
83 DownloadsDeletionType downloadsDeletionType = mock(DownloadsDeletionType.class); in downloadsNotDeletedInNoThresholdMode()113 DownloadsDeletionType downloadsDeletionType = mock(DownloadsDeletionType.class); in requestingSpecificBytesToClearSetsOkResultCodeOnSufficientClear()132 DownloadsDeletionType downloadsDeletionType = mock(DownloadsDeletionType.class); in requestingSpecificBytesToClearSetsNegativeResultCodeOnSufficientClear()151 DownloadsDeletionType downloadsDeletionType = mock(DownloadsDeletionType.class); in requestingSpecificBytesToClearSetsNegativeResultCodeOnNoClear()
50 private DownloadsDeletionType mType;60 mType = new DownloadsDeletionType(RuntimeEnvironment.application, new String[0]); in setUp()
30 import com.android.storagemanager.deletionhelper.DownloadsDeletionType;45 private DownloadsDeletionType mDeletion;50 mDeletion = new DownloadsDeletionType(RuntimeEnvironment.application, null); in setUp()62 mDeletion = new DownloadsDeletionType(RuntimeEnvironment.application, filePaths); in testInitializeWithUncheckedFiles()134 mDeletion = new DownloadsDeletionType(RuntimeEnvironment.application, in testSaveAndRestoreRemembersUncheckedFiles()135 savedBundle.getStringArray(DownloadsDeletionType.EXTRA_UNCHECKED_DOWNLOADS)); in testSaveAndRestoreRemembersUncheckedFiles()
72 private DownloadsDeletionType mDownloadsDeletion;184 DownloadsDeletionType.EXTRA_UNCHECKED_DOWNLOADS); in onActivityCreated()188 mDownloadsDeletion = new DownloadsDeletionType(getActivity(), uncheckedFiles); in onActivityCreated()354 void setDownloadsDeletionType(DownloadsDeletionType downloadsDeletion) { in setDownloadsDeletionType()
43 public class DownloadsDeletionType implements DeletionType, LoaderCallbacks<DownloadsResult> { class54 public DownloadsDeletionType(Context context, String[] uncheckedFiles) { in DownloadsDeletionType() method in DownloadsDeletionType
43 private DownloadsDeletionType mDeletionType;67 public void registerDeletionService(DownloadsDeletionType type) { in registerDeletionService()