Home
last modified time | relevance | path

Searched refs:finishedHandler (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java218 mActivity.finishedHandler.assertNotCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
234 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
244 mActivity.finishedHandler.assertNotCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
261 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
290 mActivity.finishedHandler.assertCalled(); in testSaveDocument_SetsCorrectResultAndFinishes()
314 mActivity.finishedHandler.assertNotCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
330 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
341 mActivity.finishedHandler.assertNotCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
357 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
366 mActivity.finishedHandler.assertNotCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestActivity.java70 public TestEventHandler<Void> finishedHandler; field in TestActivity
93 finishedHandler = new TestEventHandler<>(); in init()
212 finishedHandler.accept(null); in finish()