/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackTestCase.java | 247 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/ |
D | AnswerSyncCallbackTest.java | 84 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()
|
D | OutcomeReceiverForTestsTest.java | 84 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/ |
D | UserHalServiceTest.java | 393 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/ |
D | HeaderTextSelectorTest.java | 61 mTestSelector.assertCalled(); in testSimpleFileName() 77 mTestSelector.assertCalled(); in testLotsOfPeriodsInFileName() 90 mTestSelector.assertCalled(); in testNoPeriodsInFileName() 134 public void assertCalled() { in assertCalled() method in HeaderTextSelectorTest.TestSelector
|
D | InspectorControllerTest.java | 196 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/ |
D | ActionHandlerTest.java | 173 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/ |
D | BlockingResultReceiver.java | 61 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/ |
D | DocumentLoaderTest.java | 108 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/ |
D | CommandInterceptorTest.java | 52 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/ |
D | FailableResultSyncCallback.java | 84 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/ |
D | DeviceSideSyncCallbackTest.java | 50 assertThrows(CalledOnMainThreadException.class, () -> callback.assertCalled()); in testSetCalled_calledOnMainThread_fails() 76 callback.assertCalled(); in testSetCalled_calledOnMainThread_pass()
|
D | IResultSyncCallbackTestCase.java | 119 mCallback.assertCalled(); in testInjectResult_assertCalled() 130 mCallback.assertCalled(); in testInjectNullResult_assertCalled()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 216 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/ |
D | AbstractSyncCallback.java | 158 public void assertCalled() throws InterruptedException { in assertCalled() method in AbstractSyncCallback 169 mSettings.assertCalled(() -> toString()); in internalAssertCalled()
|
D | SyncCallback.java | 81 void assertCalled() throws InterruptedException; in assertCalled() method
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ReportAndRegisterEventFallbackImplTest.java | 346 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/ |
D | JobServiceLoggingCallback.java | 50 assertCalled(); in assertLoggingFinished()
|
D | HandlerIdleSyncCallback.java | 56 assertCalled(); in assertIdle()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestConfirmationCallback.java | 48 public void assertCalled() { in assertCalled() method in TestConfirmationCallback
|
D | TestEventListener.java | 47 public void assertCalled() { in assertCalled() method in TestEventListener
|
D | TestEventHandler.java | 48 public void assertCalled() { in assertCalled() method in TestEventHandler
|
D | LatchedConsumer.java | 37 public void assertCalled(long timeout, TimeUnit unit) in assertCalled() method in LatchedConsumer
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | TestEventListener.java | 44 public void assertCalled() { in assertCalled() method in TestEventListener
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | SinglePaneFactoryResetFragmentTest.java | 51 mActivity.getStartActivityListener().assertCalled(); in processActivityResult_resultOk_launchesActivity()
|