Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java413 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_normalResult() method
473 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_retryAndTimeout() method
514 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_timeoutFromVehicleStub() method
544 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_errorResult() method
567 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_errorResultVendorErrorCode() method
592 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_propStatusUnavailable() method
618 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_propStatusError() method
644 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_multipleResultsSameCall() method
693 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_multipleResultsDifferentCalls() method
742 doAnswer((invocation) -> { in testSetCarPropertyValuesAsync() method
[all …]
/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
/packages/services/Car/tests/carservice_test/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
DCarTelemetryManagerTest.java176 doAnswer((invocation) -> { in testGetFinishedReport_noSuchConfig() method
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketClientTests.java96 doAnswer( in setup() method
147 doAnswer( in setup() method
393 doAnswer( in testFailedToParseMdnsResponse_useSeparateSocketForUnicast() method
402 doAnswer( in testFailedToParseMdnsResponse_useSeparateSocketForUnicast() method
424 doAnswer( in testFailedToParseMdnsResponse_useSameSocketForMulticastAndUnicast() method
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementManagerTest.java187 doAnswer( in testRegisterSource_adIdEnabled_register() method
225 doAnswer( in testRegisterSource_adIdZeroOut_register() method
262 doAnswer( in testRegisterSource_adIdDisabled_register() method
300 doAnswer( in testRegisterSource_adIdTimeOut_register() method
521 doAnswer( in testRegisterWebSource_adIdEnabled_register() method
558 doAnswer( in testRegisterWebSource_adIdZeroOut_register() method
594 doAnswer( in testRegisterWebSource_adIdDisabled_register() method
631 doAnswer( in testRegisterWebSource_adIdTimeOut_register() method
752 doAnswer( in testRegisterWebTrigger_adIdEnabled_register() method
789 doAnswer( in testRegisterWebTrigger_adIdZeroOut_register() method
[all …]
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/
DCarDevicePolicyManagerUnitTest.java190 doAnswer((invocation) -> { in mockRemoveUser() method
201 doAnswer((invocation) -> { in mockCreateUser() method
211 doAnswer((invocation) -> { in mockStartUserInBackground() method
221 doAnswer((invocation) -> { in mockStopUser() method
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAbstractExtendedMockitoTestCase.java512 doAnswer((invocation) -> { in interceptWtfCalls() method
515 doAnswer((invocation) -> { in interceptWtfCalls() method
518 doAnswer((invocation) -> { in interceptWtfCalls() method
521 doAnswer((invocation) -> { in interceptWtfCalls() method
524 doAnswer((invocation) -> { in interceptWtfCalls() method
527 doAnswer((invocation) -> { in interceptWtfCalls() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java271 doAnswer((invocation) -> { in testGetAidlSmallData() method
297 doAnswer((invocation) -> { in testGetAidlLargeData() method
335 doAnswer((invocation) -> { in testGetAidlError() method
359 doAnswer((invocation) -> { in testGetAidlAsyncCallback() method
406 doAnswer((invocation) -> { in testGetAsyncAidl() method
443 doAnswer((invocation) -> { in testGetAsyncAidlError() method
604 doAnswer((invocation) -> { in mockGetValues() method
630 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedAfterRegisterCallback() method
664 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedWhileRegisterCallback() method
737 doAnswer((invocation) -> { in testGetAsyncAidlTimeoutMustNotTiggerAfterRequestFinished() method
[all …]
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
DHidlVehicleStubUnitTest.java388 doAnswer((invocation) -> { in testGetAsync() method
412 doAnswer((invocation) -> { in testGetAsyncError() method
435 doAnswer((invocation) -> { in testGetAsyncTryAgainError() method
458 doAnswer((invocation) -> { in testGetAsyncOneOkayResultOneNoValue() method
499 doAnswer((invocation) -> { in testGetSync() method
515 doAnswer((invocation) -> { in testGetSyncError() method
DCarRemoteDeviceManagerUnitTest.java114 doAnswer((invocation) -> { in testRegisterStateCallbackWithOccupantZoneStateChange() method
141 doAnswer((invocation) -> { in testRegisterStateCallbackWithAppStateChange() method
DCarPropertyManagerUnitTest.java945 doAnswer((invocation) -> { in testGetPropertiesAsync_cancellationSignalCancelRequests() method
973 doAnswer((invocation) -> { in testOnGetValueResult_onSuccess() method
1009 doAnswer((invocation) -> { in testOnGetValueResult_onSuccessMultipleRequests() method
1058 doAnswer((invocation) -> { in testOnGetValueResult_onFailure() method
1463 doAnswer((invocation) -> { in testOnSetValueResult_onSuccess() method
1500 doAnswer((invocation) -> { in testOnSetValueResult_onSuccessMultipleRequests() method
1550 doAnswer((invocation) -> { in testOnSetValueResult_onFailure() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DExternalSourcesDetailsTest.java131 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference() method
170 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference() method
211 doAnswer((answer) -> { in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference() method
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java87 doAnswer((invocation) -> { in setUp() method
89 doAnswer((invocation2) -> { in setUp() method
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DSmsDomainSelectorTest.java152 doAnswer((invocation) -> { in testSelectDomainWhenWwanSelectorCallbackNull() method
407 doAnswer((invocation) -> { in setUpWwanSelectorCallback() method
418 doAnswer((invocation) -> { in setUpImsStateListener() method
DEmergencySmsDomainSelectorTest.java779 doAnswer((invocation) -> { in setUpWwanSelectorCallback() method
790 doAnswer((invocation) -> { in setUpImsStateListener() method
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSelfRecoveryTest.java76 doAnswer((invocation) -> { in setUp() method
293 doAnswer((invocation) -> { in testWifiNativeStartSubsystemRestartFailed() method
DActiveModeWardenTest.java2955 doAnswer((invocation) -> { in requestAdditionalClientModeManager() method
3064 doAnswer((invocation) -> { in requestRemoveAdditionalClientModeManagerWhenNotAllowed() method
3217 doAnswer((invocation) -> { in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() method
3611 doAnswer((invocation) -> { in requestHighPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() method
3696 doAnswer((invocation) -> { in requestLowPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() method
3771 doAnswer((invocation) -> { in requestSecondaryTransientClientModeManagerWhenDppInProgress() method
3836 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForEnterCarModePrioritized() method
3896 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForShell() method
4204 doAnswer((invocation) -> { in testSwitchPrimaryClientModeManager() method
4591 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForPreSAppWithUserConnect() method
[all …]
DWifiCountryCodeTest.java199 doAnswer((invocation) -> { in createWifiCountryCode() method
650 doAnswer((invocation) -> { in testClientModeManagerAndSoftApManagerDoesntImpactEachOther() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java498 doAnswer((invocation) -> { in testAppStateChanged() method
559 doAnswer((invocation) -> { in testProcessObserverCallbackInvokedBeforeOccupantZoneCallback() method
591 doAnswer((invocation) -> { in testOccupantZoneStateChanged() method
646 doAnswer((invocation) -> { in testOccupantZonePowerStateChanged() method
666 doAnswer((invocation) -> { in testUserAssigned() method
689 doAnswer((invocation) -> { in testUserUnassigned() method
713 doAnswer((invocation) -> { in testUserSwitched() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserManagerUnitTest.java741 doAnswer((inv) -> { in testSetUserIdentificationAssociation_ok() method
789 doAnswer((invocation) -> { in expectServiceSwitchUserSucceeds() method
804 doAnswer((invocation) -> { in expectServiceLogoutUserSucceeds() method
818 doAnswer((invocation) -> { in expectServiceRemoveUserSucceeds() method
831 doAnswer((invocation) -> { in expectServiceCreateUserSucceeds() method
/packages/services/Car/car-test-lib/src/android/car/testapi/
DCarMockitoHelper.java40 doAnswer((invocation) -> { in mockHandleRemoteExceptionFromCarServiceWithDefaultValue() method
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandomTest.java74 doAnswer( in testDeterministicSecureRandomInKePayload() method
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerTest.java183 doAnswer((InvocationOnMock invocation) -> { in testListener_preFinalizationCompleted() method

123