Searched refs:ConfirmationCallback (Results 1 – 6 of 6) sorted by relevance
20 import com.android.documentsui.base.ConfirmationCallback;43 mNextConfirmationCode = ConfirmationCallback.CONFIRM; in TestDialogController()47 public void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback) { in confirmDelete()121 mNextConfirmationCode = ConfirmationCallback.CONFIRM; in confirmNext()125 mNextConfirmationCode = ConfirmationCallback.REJECT; in rejectNext()
19 import com.android.documentsui.base.ConfirmationCallback;29 public class TestConfirmationCallback implements ConfirmationCallback {41 Assert.assertEquals(ConfirmationCallback.CONFIRM, mLastValue); in assertConfirmed()45 Assert.assertEquals(ConfirmationCallback.REJECT, mLastValue); in assertRejected()
27 import com.android.documentsui.base.ConfirmationCallback;45 void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback); in confirmDelete()77 public void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback) { in confirmDelete()97 callback.accept(ConfirmationCallback.CONFIRM); in confirmDelete()
32 import com.android.documentsui.base.ConfirmationCallback;33 import com.android.documentsui.base.ConfirmationCallback.Result;199 if (code == ConfirmationCallback.CONFIRM) { in finishOnConfirmed()
54 import com.android.documentsui.base.ConfirmationCallback;313 ConfirmationCallback result = (@ConfirmationCallback.Result int code) -> { in deleteSelectedDocuments()317 if (code != ConfirmationCallback.CONFIRM) { in deleteSelectedDocuments()
28 public interface ConfirmationCallback { interface