Home
last modified time | relevance | path

Searched refs:LoadingStatus (Results 1 – 7 of 7) sorted by relevance

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionType.java29 @IntDef({LoadingStatus.LOADING, LoadingStatus.COMPLETE, LoadingStatus.EMPTY})
30 @interface LoadingStatus { annotation
66 @LoadingStatus
75 return getLoadingStatus() == LoadingStatus.COMPLETE; in isComplete()
84 return getLoadingStatus() == LoadingStatus.EMPTY; in isEmpty()
91 void setLoadingStatus(@LoadingStatus int loadingStatus); in setLoadingStatus()
106 setLoadingStatus(LoadingStatus.EMPTY); in updateLoadingStatus()
108 setLoadingStatus(LoadingStatus.COMPLETE); in updateLoadingStatus()
DCollapsibleCheckboxPreferenceGroup.java37 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;
231 mLoaded = loadingStatus != LoadingStatus.LOADING; in switchSpinnerToCheckboxOrDisablePreference()
232 setEnabled(loadingStatus != LoadingStatus.EMPTY); in switchSpinnerToCheckboxOrDisablePreference()
DDownloadsDeletionType.java55 mLoadingStatus = LoadingStatus.LOADING; in DownloadsDeletionType()
119 public void setLoadingStatus(@LoadingStatus int loadingStatus) { in setLoadingStatus()
DAppDeletionType.java61 mLoadingStatus = LoadingStatus.LOADING; in AppDeletionType()
218 public void setLoadingStatus(@LoadingStatus int loadingStatus) { in setLoadingStatus()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroupTest.java28 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;
73 when(mDeletionType.getLoadingStatus()).thenReturn(LoadingStatus.COMPLETE); in testItemVisibilityAfterLoaded()
89 when(mDeletionType.getLoadingStatus()).thenReturn(LoadingStatus.EMPTY); in loadCompleteUpdate_disablesWhenNothingToDelete()
98 when(mDeletionType.getLoadingStatus()).thenReturn(LoadingStatus.COMPLETE); in loadCompleteUpdate_enabledWhenDeletableContentFound()
DAppDeletionTypeTest.java19 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;
100 assertThat(mDeletion.getLoadingStatus()).isEqualTo(LoadingStatus.LOADING); in testLoadingState_initiallyIncomplete()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DDownloadsDeletionTypeTest.java29 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;
165 assertThat(mDeletion.getLoadingStatus()).isEqualTo(LoadingStatus.LOADING); in testLoadingState_initiallyIncomplete()