Home
last modified time | relevance | path

Searched refs:AnswerWithArguments (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaNetworkHalTest.java32 import android.app.test.MockAnswerUtil.AnswerWithArguments;
346 doAnswer(new AnswerWithArguments() { in testSsidLoadFailure()
365 doAnswer(new AnswerWithArguments() { in testSsidSaveFailure()
515 doAnswer(new AnswerWithArguments() { in testSendNetworkEapSimGsmAuthResponseWith2KcSresPair()
550 doAnswer(new AnswerWithArguments() { in testSendNetworkEapSimGsmAuthResponseWith3KcSresPair()
583 doAnswer(new AnswerWithArguments() { in testSendInvalidKcSresLenNetworkEapSimGsmAuthResponse()
605 doAnswer(new AnswerWithArguments() { in testSendInvalidKcSresPairNumNetworkEapSimGsmAuthResponse()
630 doAnswer(new AnswerWithArguments() { in testSendNetworkEapSimUmtsAuthResponse()
663 doAnswer(new AnswerWithArguments() { in testSendInvalidNetworkEapSimUmtsAuthResponse()
684 doAnswer(new AnswerWithArguments() { in testSendNetworkEapSimUmtsAutsResponse()
[all …]
DWifiNetworkSelectorTestUtil.java24 import android.app.test.MockAnswerUtil.AnswerWithArguments;
200 .then(new AnswerWithArguments() { in prepareConfigStore()
211 .then(new AnswerWithArguments() { in prepareConfigStore()
222 .then(new AnswerWithArguments() { in prepareConfigStore()
232 .then(new AnswerWithArguments() { in prepareConfigStore()
248 .then(new AnswerWithArguments() { in prepareConfigStore()
262 .then(new AnswerWithArguments() { in prepareConfigStore()
277 .then(new AnswerWithArguments() { in prepareConfigStore()
394 .then(new AnswerWithArguments() { in setupEphemeralNetwork()
401 .then(new AnswerWithArguments() { in setupEphemeralNetwork()
[all …]
DWifiConnectivityHelperTest.java24 import android.app.test.MockAnswerUtil.AnswerWithArguments;
71 doAnswer(new AnswerWithArguments() { in setupWifiNative()
148 doAnswer(new AnswerWithArguments() { in verifyFirmwareRoamingCapabilityWithFailureNativeCall()
168 doAnswer(new AnswerWithArguments() { in verifyFirmwareRoamingCapabilityWithInvalidMaxBssidBlacklistSize()
190 doAnswer(new AnswerWithArguments() { in verifyFirmwareRoamingCapabilityWithInvalidMaxSsidWhitelistSize()
DSupplicantStaIfaceHalTest.java433 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworks()
439 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworks()
442 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworks()
486 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworksRemovesDuplicates()
492 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworksRemovesDuplicates()
497 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworksRemovesDuplicates()
500 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworksRemovesDuplicates()
557 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworksFailedDueToListNetworks()
575 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworksFailedDueToGetNetwork()
581 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testLoadNetworksFailedDueToGetNetwork()
[all …]
DWifiConnectivityManagerTest.java28 import android.app.test.MockAnswerUtil.AnswerWithArguments;
214 doAnswer(new AnswerWithArguments() { in mockWifiScanner()
220 doAnswer(new AnswerWithArguments() { in mockWifiScanner()
247 doAnswer(new AnswerWithArguments() { in mockWifiScanner()
253 doAnswer(new AnswerWithArguments() { in mockWifiScanner()
1185 doAnswer(new AnswerWithArguments() { in checkSingleScanSettingsWhenConnectedWithLowDataRate()
1226 doAnswer(new AnswerWithArguments() { in checkPartialScanRequestedWithHighDataRateWithoutFwRoaming()
1311 doAnswer(new AnswerWithArguments() { in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
1340 doAnswer(new AnswerWithArguments() { in checkMaximumScanRetry()
1377 doAnswer(new AnswerWithArguments() { in verifyScanFailureCountIsResetAfterOnResult()
[all …]
DWifiVendorHalTest.java46 import android.app.test.MockAnswerUtil.AnswerWithArguments;
304 doAnswer(new AnswerWithArguments() { in setUp()
314 doAnswer(new AnswerWithArguments() { in setUp()
353 doAnswer(new AnswerWithArguments() { in setUp()
359 doAnswer(new AnswerWithArguments() { in setUp()
425 doAnswer(new AnswerWithArguments() { in testStartHalFailureInStaMode()
698 doAnswer(new AnswerWithArguments() { in testGetBgScanCapabilities()
805 doAnswer(new AnswerWithArguments() { in testGetSupportedFeatures()
810 doAnswer(new AnswerWithArguments() { in testGetSupportedFeatures()
827 doAnswer(new AnswerWithArguments() { in testGetFactoryMacWithHalV1_3()
[all …]
DConfigurationMapTest.java25 import android.app.test.MockAnswerUtil.AnswerWithArguments;
88 .then(new AnswerWithArguments() { in setUp()
DWifiDiagnosticsTest.java37 import android.app.test.MockAnswerUtil.AnswerWithArguments;
457 when(mWifiNative.getTxPktFates(any(), anyObject())).then(new AnswerWithArguments() { in getDumpString()
470 when(mWifiNative.getRxPktFates(any(), anyObject())).then(new AnswerWithArguments() { in getDumpString()
591 when(mWifiNative.getTxPktFates(any(), anyObject())).then(new AnswerWithArguments() {
600 when(mWifiNative.getRxPktFates(any(), anyObject())).then(new AnswerWithArguments() {
DHalDeviceManagerTest.java2808 private class GetChipIdsAnswer extends MockAnswerUtil.AnswerWithArguments {
2822 private class GetChipAnswer extends MockAnswerUtil.AnswerWithArguments {
2836 private class GetIdAnswer extends MockAnswerUtil.AnswerWithArguments {
2848 private class GetAvailableModesAnswer extends MockAnswerUtil.AnswerWithArguments {
2860 private class GetModeAnswer extends MockAnswerUtil.AnswerWithArguments {
2873 private class ConfigureChipAnswer extends MockAnswerUtil.AnswerWithArguments {
2887 private class GetXxxIfaceNamesAnswer extends MockAnswerUtil.AnswerWithArguments {
2911 private class GetXxxIfaceAnswer extends MockAnswerUtil.AnswerWithArguments {
2939 private class CreateXxxIfaceAnswer extends MockAnswerUtil.AnswerWithArguments {
2982 private class CreateRttControllerAnswer extends MockAnswerUtil.AnswerWithArguments {
[all …]
DHostapdHalTest.java702 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in executeAndValidateInitializationSequenceV1_1()
709 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in executeAndValidateInitializationSequenceV1_1()
DWifiNativeInterfaceManagementTest.java427 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
471 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testSetupSoftApAndClientInterfaceCausesSoftApInterfaceTeardown()
690 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testSetupClientInterfaceAndTriggerInterfaceUpOnDestroyedIface()
DClientModeImplTest.java34 import android.app.test.MockAnswerUtil.AnswerWithArguments;
218 doAnswer(new AnswerWithArguments() { in getFrameworkFacade()
461 .then(new AnswerWithArguments() { in setUp()
494 doAnswer(new AnswerWithArguments() { in setUp()
DWifiConfigManagerTest.java25 import android.app.test.MockAnswerUtil.AnswerWithArguments;
185 doAnswer(new AnswerWithArguments() { in setUp()
202 doAnswer(new AnswerWithArguments() { in setUp()
3815 doAnswer(new AnswerWithArguments() { in testUpdateSingleNetworkWithKeysUpdate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java29 import android.app.test.MockAnswerUtil.AnswerWithArguments;
329 doAnswer(new AnswerWithArguments() { in testGetName_success()
348 doAnswer(new AnswerWithArguments() { in testGetName_failure()
365 doAnswer(new AnswerWithArguments() { in testGetName_exception()
660 doAnswer(new AnswerWithArguments() { in testConnect_success()
716 doAnswer(new AnswerWithArguments() { in testConnect_invalidArguments()
760 doAnswer(new AnswerWithArguments() { in testConnect_failure()
1042 doAnswer(new AnswerWithArguments() { in testGetDeviceAddress_success()
1066 doAnswer(new AnswerWithArguments() { in testGetDeviceAddress_invalidResult()
1088 doAnswer(new AnswerWithArguments() { in testGetDeviceAddress_failure()
[all …]
DSupplicantP2pIfaceCallbackTest.java26 import android.app.test.MockAnswerUtil.AnswerWithArguments;
100 doAnswer(new AnswerWithArguments() { in testOnDeviceFound_success()
247 doAnswer(new AnswerWithArguments() { in testOnDeviceLost_success()
289 doAnswer(new AnswerWithArguments() { in testOnGoNegotiationRequest_success()
352 doAnswer(new AnswerWithArguments() { in testOnGroupStarted_success()
DWifiP2pNativeInterfaceManagementTest.java86 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in setUp()
DWifiP2pNativeTest.java31 import android.app.test.MockAnswerUtil.AnswerWithArguments;
120 doAnswer(new AnswerWithArguments() { in setUp()
DWifiP2pServiceImplTest.java41 import android.app.test.MockAnswerUtil.AnswerWithArguments;
729 doAnswer(new AnswerWithArguments() { in setUpWifiP2pServiceImpl()
738 doAnswer(new AnswerWithArguments() { in setUpWifiP2pServiceImpl()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DTestAlarmManager.java27 import android.app.test.MockAnswerUtil.AnswerWithArguments;
138 private class SetListenerAnswer extends AnswerWithArguments {
146 private class CancelListenerAnswer extends AnswerWithArguments {
DMockAnswerUtil.java36 public static class AnswerWithArguments implements Answer<Object> { class in MockAnswerUtil
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java1453 private class AwareTranslatePeerHandlesToMac extends MockAnswerUtil.AnswerWithArguments {
1484 private class BinderDeathAnswerBase extends MockAnswerUtil.AnswerWithArguments {
1501 private class ClockAnswer extends MockAnswerUtil.AnswerWithArguments {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java497 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in verifySelectBestOsuProviderForProvisioning()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java55 import android.app.test.MockAnswerUtil.AnswerWithArguments;
415 .thenAnswer(new AnswerWithArguments() { in setupAndLoadDriver()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java2389 private class SendMessageQueueModelAnswer extends MockAnswerUtil.AnswerWithArguments {