Searched refs:getFreeableBytes (Results 1 – 7 of 7) sorted by relevance
67 assertThat(mPreference.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testConstructor()122 assertThat(mPreference.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testGetFreeableBytes()124 assertThat(mPreference.getFreeableBytes(DeletionHelperSettings.COUNT_UNCHECKED)) in testGetFreeableBytes()
115 when(downloadsDeletionType.getFreeableBytes(any(Boolean.class))).thenReturn(1001L); in requestingSpecificBytesToClearSetsOkResultCodeOnSufficientClear()134 when(downloadsDeletionType.getFreeableBytes(any(Boolean.class))).thenReturn(999L); in requestingSpecificBytesToClearSetsNegativeResultCodeOnSufficientClear()153 when(downloadsDeletionType.getFreeableBytes(any(Boolean.class))).thenReturn(999L); in requestingSpecificBytesToClearSetsNegativeResultCodeOnNoClear()
57 public long getFreeableBytes(boolean countUnchecked) { in getFreeableBytes() method in DeletionPreference129 mFreeableItems, getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in maybeUpdateListener()
114 mDeletionType.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in onPreferenceChange()125 mDeletionType.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)); in onPreferenceChange()
391 freeableSpace += mPhotoPreference.getFreeableBytes(countUnchecked); in getTotalFreeableSpace()394 freeableSpace += mDownloadsDeletion.getFreeableBytes(countUnchecked); in getTotalFreeableSpace()
175 public long getFreeableBytes(boolean countUnchecked) { in getFreeableBytes() method in DownloadsDeletionType
114 assertThat(mDeletion.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testUncheckedFilesDoNotCountForSize()118 assertThat(mDeletion.getFreeableBytes(DeletionHelperSettings.COUNT_CHECKED_ONLY)) in testUncheckedFilesDoNotCountForSize()