Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackTestCase.java247 callback.assertCalled(); in testAssertCalled()
272 assertThrows(SyncCallbackTimeoutException.class, () -> callback.assertCalled()); in testAssertCalled_neverCalled()
296 callback.assertCalled(); in testAssertCalled_interrupted()
321 assertThrows(SyncCallbackTimeoutException.class, () -> callback.assertCalled()); in testAssertCalled_multipleCalls()
327 callback.assertCalled(); in testAssertCalled_multipleCalls()
352 assertThrows(SyncCallbackTimeoutException.class, () -> callback1.assertCalled()); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
353 assertThrows(SyncCallbackTimeoutException.class, () -> callback2.assertCalled()); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
359 assertThrows(SyncCallbackTimeoutException.class, () -> callback1.assertCalled()); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
360 assertThrows(SyncCallbackTimeoutException.class, () -> callback2.assertCalled()); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
366 assertThrows(SyncCallbackTimeoutException.class, () -> callback1.assertCalled()); in testAssertCalled_multipleCallsFromMultipleCallbacks_firstFinishFirst()
[all …]
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DAnswerSyncCallbackTest.java84 callback.assertCalled(); in testForSingleVoidAnswer()
102 callback.assertCalled(); in testForSingleAnswer()
130 callback.assertCalled(); in forTwoVoidAnswers()
161 callback.assertCalled(); in forTwoAnswersTest()
179 callback.assertCalled(); in testForSingleFailure_void()
196 callback.assertCalled(); in testForSingleFailure_nonVoid()
DOutcomeReceiverForTestsTest.java84 receiver.assertCalled(); in testOnResult_calledTwice()
97 receiver.assertCalled(); in testOnResult_afterOnError()
146 receiver.assertCalled(); in testOnError_calledTwice()
159 receiver.assertCalled(); in testOnError_afterOnResult()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java393 callback.assertCalled(); in testGetUserInfo_halSetTimedOut()
409 callback.assertCalled(); in testGetUserInfo_halDidNotReply()
425 callback1.assertCalled(); in testGetUserInfo_secondCallFailWhilePending()
429 callback2.assertCalled(); in testGetUserInfo_secondCallFailWhilePending()
447 callback.assertCalled(); in testGetUserInfo_halReplyWithWrongRequestId()
465 callback.assertCalled(); in testGetUserInfo_halReturnedInvalidAction()
492 callback.assertCalled(); in getUserInfoSuccessTest()
537 callback.assertCalled(); in testGetUserInfo_successSwitchUser()
583 callback.assertCalled(); in testGetUserInfo_successCreateUser()
675 callback.assertCalled(); in testSwitchUser_halSetTimedOut()
[all …]
/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/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java173 mActivity.restoreRootAndDirectory.assertCalled(); in testInitLocation_RestoresIfStackIsLoaded()
221 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToDocuments()
234 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_RestoresLastAccessedStack()
285 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testOpenContainerDocument()
310 mActivity.finishedHandler.assertCalled(); in testIncreasePickCountRecordCalled()
338 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
367 mActivity.finishedHandler.assertCalled(); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
397 mActivity.finishedHandler.assertCalled(); in testSaveDocument_SetsCorrectResultAndFinishes()
447 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
474 mActivity.finishedHandler.assertCalled(); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
[all …]
/packages/services/Car/libs/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/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/queries/
DCommandInterceptorTest.java52 mCommand0.assertCalled(); in testTriesAllCommands()
53 mCommand1.assertCalled(); in testTriesAllCommands()
60 mCommand0.assertCalled(); in testStopsAfterCommandHandled()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/
DFailableResultSyncCallback.java84 assertCalled(); in assertFailureReceived()
152 assertCalled(); in assertResultReceived()
162 public final void assertCalled() throws InterruptedException { in assertCalled() method in FailableResultSyncCallback
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DDeviceSideSyncCallbackTest.java50 assertThrows(CalledOnMainThreadException.class, () -> callback.assertCalled()); in testSetCalled_calledOnMainThread_fails()
76 callback.assertCalled(); in testSetCalled_calledOnMainThread_pass()
DIResultSyncCallbackTestCase.java119 mCallback.assertCalled(); in testInjectResult_assertCalled()
130 mCallback.assertCalled(); in testInjectNullResult_assertCalled()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java216 mActivity.startService.assertCalled(); in testDeleteSelectedDocuments()
443 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToStackLocation()
452 mActivity.restoreRootAndDirectory.assertCalled(); in testInitLocation_RestoresIfStackIsLoaded()
529 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testInitLocation_LaunchToDocuments()
646 mActivity.refreshCurrentRootAndDirectory.assertCalled(); in testOnActivityResult_onOK()
663 mActivity.startActivity.assertCalled(); in testShowInspector()
736 mActivity.rootPicked.assertCalled(); in assertRootPicked()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/
DAbstractSyncCallback.java158 public void assertCalled() throws InterruptedException { in assertCalled() method in AbstractSyncCallback
169 mSettings.assertCalled(() -> toString()); in internalAssertCalled()
DSyncCallback.java81 void assertCalled() throws InterruptedException; in assertCalled() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportAndRegisterEventFallbackImplTest.java346 sellerCallback.assertCalled(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
347 buyerCallback.assertCalled(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
402 sellerCallback.assertCalled(); in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException()
403 buyerCallback.assertCalled(); in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException()
467 sellerCallback.assertCalled(); in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
468 buyerCallback.assertCalled(); in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
523 sellerCallback.assertCalled(); in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException()
524 buyerCallback.assertCalled(); in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException()
1584 callback.assertCalled(); in callReportEvent()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DJobServiceLoggingCallback.java50 assertCalled(); in assertLoggingFinished()
DHandlerIdleSyncCallback.java56 assertCalled(); in assertIdle()
/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
/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()

12