Home
last modified time | relevance | path

Searched refs:assertCalled (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java307 callback.assertCalled(); in testGetUserInfo_halSetTimedOut()
323 callback.assertCalled(); in testGetUserInfo_halDidNotReply()
339 callback1.assertCalled(); in testGetUserInfo_secondCallFailWhilePending()
343 callback2.assertCalled(); in testGetUserInfo_secondCallFailWhilePending()
361 callback.assertCalled(); in testGetUserInfo_halReplyWithWrongRequestId()
379 callback.assertCalled(); in testGetUserInfo_halReturnedInvalidAction()
402 callback.assertCalled(); in testGetUserInfo_successDefault()
432 callback.assertCalled(); in testGetUserInfo_successSwitchUser()
465 callback.assertCalled(); in testGetUserInfo_successCreateUser()
542 callback.assertCalled(); in testSwitchUser_halSetTimedOut()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java151 mActivity.restoreRootAndDirectory.assertCalled(); in testInitLocation_RestoresIfStackIsLoaded()
196 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToDocuments()
209 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_RestoresLastAccessedStack()
257 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testOpenContainerDocument()
282 mActivity.finishedHandler.assertCalled(); in testIncreasePickCountRecordCalled()
310 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
339 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
368 mActivity.finishedHandler.assertCalled(); in testSaveDocument_SetsCorrectResultAndFinishes()
418 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
445 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
[all …]
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/inspector/
DDocumentLoaderTest.java108 consumer.assertCalled(1000, TimeUnit.MILLISECONDS); in testLoadsDocument()
127 consumer.assertCalled(1000, TimeUnit.MILLISECONDS); in testInvalidInput()
158 consumer.assertCalled(1000, TimeUnit.MILLISECONDS); in testDir_loadNumberOfChildren()
187 consumer.assertCalled(100, TimeUnit.MILLISECONDS); in testLoadMetadata()
204 consumer.assertCalled(100, TimeUnit.MILLISECONDS); in testLoadMetadata_Unsupported()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DHeaderTextSelectorTest.java61 mTestSelector.assertCalled(); in testSimpleFileName()
77 mTestSelector.assertCalled(); in testLotsOfPeriodsInFileName()
90 mTestSelector.assertCalled(); in testNoPeriodsInFileName()
134 public void assertCalled() { in assertCalled() method in HeaderTextSelectorTest.TestSelector
DInspectorControllerTest.java196 mHeaderTestDouble.assertCalled(); in testUpdateViewWithValidInput()
197 mDetailsTestDouble.assertCalled(); in testUpdateViewWithValidInput()
239 mErrCallback.assertCalled(); in testUpdateView_withNullValue()
357 public void assertCalled() { in assertCalled() method in InspectorControllerTest.TestHeader
385 public void assertCalled() { in assertCalled() method in InspectorControllerTest.TestDetails
456 void assertCalled() { in assertCalled() method in InspectorControllerTest.TestRunnable
/packages/services/Car/car-test-lib/src/android/car/test/util/
DBlockingResultReceiver.java61 private void assertCalled() throws InterruptedException { in assertCalled() method in BlockingResultReceiver
71 assertCalled(); in getResultCode()
80 assertCalled(); in getResultData()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DCommandInterceptorTest.java52 mCommand0.assertCalled(); in testTriesAllCommands()
53 mCommand1.assertCalled(); in testTriesAllCommands()
60 mCommand0.assertCalled(); in testStopsAfterCommandHandled()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java188 mActivity.startService.assertCalled(); in testDeleteSelectedDocuments()
415 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToStackLocation()
424 mActivity.restoreRootAndDirectory.assertCalled(); in testInitLocation_RestoresIfStackIsLoaded()
501 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToDocuments()
606 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testOnActivityResult_onOK()
623 mActivity.startActivity.assertCalled(); in testShowInspector()
696 mActivity.rootPicked.assertCalled(); in assertRootPicked()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestConfirmationCallback.java48 public void assertCalled() { in assertCalled() method in TestConfirmationCallback
DTestEventListener.java47 public void assertCalled() { in assertCalled() method in TestEventListener
DTestEventHandler.java48 public void assertCalled() { in assertCalled() method in TestEventHandler
DLatchedConsumer.java37 public void assertCalled(long timeout, TimeUnit unit) in assertCalled() method in LatchedConsumer
DTestPredicate.java54 public void assertCalled() { in assertCalled() method in TestPredicate
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DTestEventListener.java44 public void assertCalled() { in assertCalled() method in TestEventListener
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DSinglePaneFactoryResetFragmentTest.java51 mActivity.getStartActivityListener().assertCalled(); in processActivityResult_resultOk_launchesActivity()
DFactoryResetFragmentTestCase.java72 mFragment.mStartActivityForResult.assertCalled(); in factoryResetButtonClicked_launchesCheckLockActivity()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragHostTest.java92 mDragAndDropManager.dropOnDocumentHandler.assertCalled(); in testHandleDrop_onValidView()
DDragStartListenerTest.java117 mManager.startDragHandler.assertCalled(); in testDragStarted_OnMouseMove()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java225 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testLaunchToDocuments()
255 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testLaunchToDocuments_convertsTreeUriToDocumentUri()
DDragAndDropManagerTests.java855 mShadowUpdateListener.assertCalled(); in assertStateUpdated()