Home
last modified time | relevance | path

Searched defs:doAnswer (Results 1 – 25 of 138) sorted by relevance

123456

/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java472 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_staticCacheMultipleRequests() method
556 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_normalResult() method
618 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_retryAndTimeout() method
661 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_timeoutFromVehicleStub() method
692 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_errorResult() method
716 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_errorResultVendorErrorCode() method
748 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_propStatusUnavailable() method
776 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_propStatusError() method
804 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_multipleResultsSameCall() method
854 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_multipleResultsDifferentCalls() method
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java164 doAnswer( in testRegisterSource_adIdEnabled_register() method
203 doAnswer( in testRegisterSource_adIdZeroOut_register() method
241 doAnswer( in testRegisterSource_adIdDisabled_register() method
280 doAnswer( in testRegisterSource_adIdTimeOut_register() method
486 doAnswer( in testRegisterWebSource_adIdEnabled_register() method
524 doAnswer( in testRegisterWebSource_adIdZeroOut_register() method
561 doAnswer( in testRegisterWebSource_adIdDisabled_register() method
599 doAnswer( in testRegisterWebSource_adIdTimeOut_register() method
710 doAnswer( in testRegisterWebTrigger_adIdEnabled_register() method
748 doAnswer( in testRegisterWebTrigger_adIdZeroOut_register() method
[all …]
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java297 doAnswer((invocation) -> { in testGetAidlSmallData() method
324 doAnswer((invocation) -> { in testGetAidlLargeData() method
361 doAnswer((invocation) -> { in testGetAidlError() method
385 doAnswer((invocation) -> { in testGetAidlAsyncCallback() method
432 doAnswer((invocation) -> { in testGetAsyncAidl() method
469 doAnswer((invocation) -> { in testGetAsyncAidlError() method
630 doAnswer((invocation) -> { in mockGetValues() method
656 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedAfterRegisterCallback() method
690 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedWhileRegisterCallback() method
763 doAnswer((invocation) -> { in testGetAsyncAidlTimeoutMustNotTiggerAfterRequestFinished() method
[all …]
DHidlVehicleStubUnitTest.java389 doAnswer((invocation) -> { in testGetAsync() method
413 doAnswer((invocation) -> { in testGetAsyncError() method
436 doAnswer((invocation) -> { in testGetAsyncTryAgainError() method
459 doAnswer((invocation) -> { in testGetAsyncOneOkayResultOneNoValue() method
500 doAnswer((invocation) -> { in testGetSync() method
516 doAnswer((invocation) -> { in testGetSyncError() method
DCarOccupantConnectionManagerUnitTest.java124 doAnswer((invocation) -> { in testRequestConnectionWithEstablishedConnection_throwsException() method
144 doAnswer((invocation) -> { in testRequestConnectionWithRejectedConnection() method
179 doAnswer((invocation) -> { in testRequestConnectionCallbackInvoked() method
274 doAnswer((invocation) -> { in testRegisterReceiverCallbackInvoked() method
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java501 doAnswer((invocation) -> { in testAppStateChanged() method
562 doAnswer((invocation) -> { in testProcessObserverCallbackInvokedBeforeOccupantZoneCallback() method
594 doAnswer((invocation) -> { in testOccupantZoneStateChanged() method
649 doAnswer((invocation) -> { in testOccupantZonePowerStateChanged() method
669 doAnswer((invocation) -> { in testUserStarting() method
692 doAnswer((invocation) -> { in testUserBecameVisible() method
715 doAnswer((invocation) -> { in testUserSwitching() method
738 doAnswer((invocation) -> { in testUserAssigned() method
761 doAnswer((invocation) -> { in testUserUnassigned() method
785 doAnswer((invocation) -> { in testUserSwitched() method
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DBroadcastQueueTest.java155 doAnswer((invocation) -> { in setUp() method
218 doAnswer((invocation) -> { in setUp() method
230 doAnswer((invocation) -> { in setUp() method
351 doAnswer((invocation) -> { in makeActiveProcessRecord() method
362 doAnswer((invocation) -> { in makeActiveProcessRecord() method
384 doAnswer((invocation) -> { in makeActiveProcessRecord() method
/aosp_15_r20/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/
DTestUtils.java73 doAnswer( in makeSpyLogThrowExceptionForWtf() method
80 doAnswer( in makeSpyLogThrowExceptionForWtf() method
93 doAnswer( in makeSpyLogDoLogErrorForWtf() method
103 doAnswer( in makeSpyLogDoLogErrorForWtf() method
/aosp_15_r20/packages/services/Car/tests/CarServiceTest/src/com/android/car/telemetry/
DCarTelemetryManagerSpyServiceTest.java116 doAnswer((invocation) -> { in testGetFinishedReport_multipleReports() method
143 doAnswer((invocation) -> { in testGetFinishedReport_validFdButNoReport() method
165 doAnswer((invocation) -> { in testGetFinishedReport_telemetryError() method
186 doAnswer((invocation) -> { in testGetFinishedReport_badFd_shouldReturnRuntimeErrorStatus() method
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketClientTests.java116 doAnswer( in setup() method
167 doAnswer( in setup() method
426 doAnswer( in testFailedToParseMdnsResponse_useSeparateSocketForUnicast() method
435 doAnswer( in testFailedToParseMdnsResponse_useSeparateSocketForUnicast() method
457 doAnswer( in testFailedToParseMdnsResponse_useSameSocketForMulticastAndUnicast() method
/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java78 doAnswer((invocation) -> { in setUp() method
299 doAnswer((invocation) -> { in testWifiNativeStartSubsystemRestartFailed() method
378 doAnswer((invocation) -> { in testSelfRecoveryTriggeredMetrics() method
388 doAnswer((invocation) -> { in testSelfRecoveryTriggeredMetrics() method
DActiveModeWardenTest.java3174 doAnswer((invocation) -> { in requestAdditionalClientModeManager() method
3287 doAnswer((invocation) -> { in requestRemoveAdditionalClientModeManagerWhenNotAllowed() method
3440 doAnswer((invocation) -> { in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() method
3882 doAnswer((invocation) -> { in requestHighPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() method
3967 doAnswer((invocation) -> { in requestLowPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() method
4042 doAnswer((invocation) -> { in requestSecondaryTransientClientModeManagerWhenDppInProgress() method
4107 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForEnterCarModePrioritized() method
4167 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForShell() method
4494 doAnswer((invocation) -> { in testSwitchPrimaryClientModeManager() method
4881 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForPreSAppWithUserConnect() method
[all …]
DWifiCountryCodeTest.java192 doAnswer((invocation) -> { in createWifiCountryCode() method
637 doAnswer((invocation) -> { in testClientModeManagerAndSoftApManagerDoesntImpactEachOther() method
814 doAnswer((invocation) -> { in testCountryCodeDoesntChangeWhenIfClientModeChanged() method
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
H A DWatchlistLoggingHandlerTests.java104 doAnswer((InvocationOnMock invocation) -> { in setUp() method
112 doAnswer((InvocationOnMock invocation) -> { in setUp() method
126 doAnswer((InvocationOnMock invocation) -> { in setUp() method
146 doAnswer((InvocationOnMock invocation) -> { in setUp() method
/aosp_15_r20/packages/services/Car/tests/CarLibUnitTest/src/android/car/admin/
DCarDevicePolicyManagerUnitTest.java189 doAnswer((invocation) -> { in mockRemoveUser() method
200 doAnswer((invocation) -> { in mockCreateUser() method
210 doAnswer((invocation) -> { in mockStartUserInBackground() method
220 doAnswer((invocation) -> { in mockStopUser() method
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DMockMagnificationConnection.java76 doAnswer((invocation) -> { in MockMagnificationConnection() method
82 doAnswer((invocation) -> { in MockMagnificationConnection() method
96 doAnswer((invocation) -> { in stubEnableWindowMagnification() method
117 doAnswer((invocation) -> { in stubDisableWindowMagnification() method
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesInternalProviderTest.java254 doAnswer( in mockDebugFlagsDump() method
265 doAnswer( in mockFlagsDump() method
276 doAnswer( in mockThrottlerDump() method
287 doAnswer( in mockConsentManagerDump() method
/aosp_15_r20/packages/apps/Settings/tests/unit/src/com/android/settings/connecteddevice/display/
DExternalDisplayUpdaterTest.java61 doAnswer((v) -> { in testPreferenceAdded() method
79 doAnswer((v) -> { in testPreferenceRemoved() method
83 doAnswer((v) -> { in testPreferenceRemoved() method
/aosp_15_r20/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java737 doAnswer((inv) -> { in testSetUserIdentificationAssociation_ok() method
785 doAnswer((invocation) -> { in expectServiceSwitchUserSucceeds() method
800 doAnswer((invocation) -> { in expectServiceLogoutUserSucceeds() method
814 doAnswer((invocation) -> { in expectServiceRemoveUserSucceeds() method
827 doAnswer((invocation) -> { in expectServiceCreateUserSucceeds() method
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java134 doAnswer((invocation) -> { in onRebuildComplete_restricted_shouldBeDisabled() method
186 doAnswer((invocation) -> { in onRebuildComplete_ecmRestricted_shouldBeDisabled() method
225 doAnswer((invocation) -> { in onRebuildComplete_ecmNotRestricted_notDisabled() method
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
H A DMasterClearReceiverTest.java205 doAnswer((inv) -> { in expectRebootWipeUserData() method
221 doAnswer((inv) -> { in expectWipeExternalData() method
234 doAnswer((inv) -> { in expectHeadlessSystemUserMode() method
/aosp_15_r20/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DSmsDomainSelectorTest.java152 doAnswer((invocation) -> { in testSelectDomainWhenWwanSelectorCallbackNull() method
392 doAnswer((invocation) -> { in setUpWwanSelectorCallback() method
403 doAnswer((invocation) -> { in setUpImsStateListener() method
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DExternalSourcesDetailsTest.java171 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference() method
210 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference() method
251 doAnswer((answer) -> { in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference() method
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java226 doAnswer( in testBgCmd() method
280 doAnswer( in testBgCmd_withTestUserToken_propertyNotSet() method
334 doAnswer( in testBgCmd_withTestUserToken() method
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java1111 doAnswer((args) -> { in mockWatchdogStorage() method
1115 doAnswer((args) -> { in mockWatchdogStorage() method
1128 doAnswer((args) -> { in mockWatchdogStorage() method
1325 doAnswer((args) -> { in mockPackageManager() method
1333 doAnswer((args) -> { in mockPackageManager() method

123456