Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java422 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_staticCacheMultipleRequests() method
506 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_normalResult() method
568 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_retryAndTimeout() method
611 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_timeoutFromVehicleStub() method
642 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_errorResult() method
666 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_errorResultVendorErrorCode() method
698 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_propStatusUnavailable() method
726 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_propStatusError() method
754 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_multipleResultsSameCall() method
804 doAnswer((invocation) -> { in testGetCarPropertyValuesAsync_multipleResultsDifferentCalls() 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
/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.java3062 doAnswer((invocation) -> { in requestAdditionalClientModeManager() method
3175 doAnswer((invocation) -> { in requestRemoveAdditionalClientModeManagerWhenNotAllowed() method
3328 doAnswer((invocation) -> { in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() method
3768 doAnswer((invocation) -> { in requestHighPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() method
3853 doAnswer((invocation) -> { in requestLowPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() method
3928 doAnswer((invocation) -> { in requestSecondaryTransientClientModeManagerWhenDppInProgress() method
3993 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForEnterCarModePrioritized() method
4053 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForShell() method
4380 doAnswer((invocation) -> { in testSwitchPrimaryClientModeManager() method
4767 doAnswer((invocation) -> { in testRequestForSecondaryLocalOnlyForPreSAppWithUserConnect() method
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManagerTest.java150 doAnswer( in testGetAdServicesExtData_onErrorSet_returnsDefaultParams() method
173 doAnswer( in testGetAdServicesExtData_timedOut_returnsDefaultParams() method
211 doAnswer( in testSetAdServicesExtData_onErrorSet_returnsFalse() method
230 doAnswer( in testSetAdServicesExtData_timedOut_returnsFalse() method
484 doAnswer( in mockWorkerGetAdExtDataCall() method
495 doAnswer( in mockWorkerSetAdExtDataCall() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java270 doAnswer((invocation) -> { in testGetAidlSmallData() method
296 doAnswer((invocation) -> { in testGetAidlLargeData() method
333 doAnswer((invocation) -> { in testGetAidlError() method
357 doAnswer((invocation) -> { in testGetAidlAsyncCallback() method
404 doAnswer((invocation) -> { in testGetAsyncAidl() method
441 doAnswer((invocation) -> { in testGetAsyncAidlError() method
602 doAnswer((invocation) -> { in mockGetValues() method
628 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedAfterRegisterCallback() method
662 doAnswer((invocation) -> { in testGetAsyncAidlBinderDiedWhileRegisterCallback() method
735 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.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
DCarRemoteDeviceManagerUnitTest.java114 doAnswer((invocation) -> { in testRegisterStateCallbackWithOccupantZoneStateChange() method
141 doAnswer((invocation) -> { in testRegisterStateCallbackWithAppStateChange() method
/packages/services/Car/tests/carservice_unit_test/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
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketClientTests.java113 doAnswer( in setup() method
164 doAnswer( in setup() method
423 doAnswer( in testFailedToParseMdnsResponse_useSeparateSocketForUnicast() method
432 doAnswer( in testFailedToParseMdnsResponse_useSeparateSocketForUnicast() method
454 doAnswer( in testFailedToParseMdnsResponse_useSameSocketForMulticastAndUnicast() method
/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
/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/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java180 doAnswer( in testRegisterSource_adIdEnabled_register() method
219 doAnswer( in testRegisterSource_adIdZeroOut_register() method
257 doAnswer( in testRegisterSource_adIdDisabled_register() method
296 doAnswer( in testRegisterSource_adIdTimeOut_register() method
518 doAnswer( in testRegisterWebSource_adIdEnabled_register() method
556 doAnswer( in testRegisterWebSource_adIdZeroOut_register() method
593 doAnswer( in testRegisterWebSource_adIdDisabled_register() method
631 doAnswer( in testRegisterWebSource_adIdTimeOut_register() method
753 doAnswer( in testRegisterWebTrigger_adIdEnabled_register() method
791 doAnswer( in testRegisterWebTrigger_adIdZeroOut_register() method
[all …]
/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
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java97 doAnswer((invocation) -> { in setUp() method
99 doAnswer((invocation2) -> { in setUp() method
/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
DEmergencySmsDomainSelectorTest.java986 doAnswer((invocation) -> { in setUpWwanSelectorCallback() method
994 doAnswer((invocation) -> { in setUpWwanSelectorCallback() method
1014 doAnswer((invocation) -> { in setUpImsStateListener() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsAccessTest.java125 doAnswer((invocation) -> { in onRebuildComplete_ecmRestricted_shouldBeDisabled() method
160 doAnswer((invocation) -> { in onRebuildComplete_ecmNotRestricted_notDisabled() method
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DCarMockitoHelper.java41 doAnswer((invocation) -> { in mockHandleRemoteExceptionFromCarServiceWithDefaultValue() method
/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
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandomTest.java74 doAnswer( in testDeterministicSecureRandomInKePayload() method
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDownloadProcessingJobServiceTests.java106 doAnswer( in onStartJobTest() method
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningManagerTest.java183 doAnswer((InvocationOnMock invocation) -> { in testListener_preFinalizationCompleted() method

123