/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaNetworkHalTest.java | 32 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 …]
|
D | WifiNetworkSelectorTestUtil.java | 24 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 …]
|
D | WifiConnectivityHelperTest.java | 24 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()
|
D | SupplicantStaIfaceHalTest.java | 433 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 …]
|
D | WifiConnectivityManagerTest.java | 28 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 …]
|
D | WifiVendorHalTest.java | 46 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 …]
|
D | ConfigurationMapTest.java | 25 import android.app.test.MockAnswerUtil.AnswerWithArguments; 88 .then(new AnswerWithArguments() { in setUp()
|
D | WifiDiagnosticsTest.java | 37 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() {
|
D | HalDeviceManagerTest.java | 2808 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 …]
|
D | HostapdHalTest.java | 702 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in executeAndValidateInitializationSequenceV1_1() 709 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in executeAndValidateInitializationSequenceV1_1()
|
D | WifiNativeInterfaceManagementTest.java | 427 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown() 471 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testSetupSoftApAndClientInterfaceCausesSoftApInterfaceTeardown() 690 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in testSetupClientInterfaceAndTriggerInterfaceUpOnDestroyedIface()
|
D | ClientModeImplTest.java | 34 import android.app.test.MockAnswerUtil.AnswerWithArguments; 218 doAnswer(new AnswerWithArguments() { in getFrameworkFacade() 461 .then(new AnswerWithArguments() { in setUp() 494 doAnswer(new AnswerWithArguments() { in setUp()
|
D | WifiConfigManagerTest.java | 25 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/ |
D | SupplicantP2pIfaceHalTest.java | 29 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 …]
|
D | SupplicantP2pIfaceCallbackTest.java | 26 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()
|
D | WifiP2pNativeInterfaceManagementTest.java | 86 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in setUp()
|
D | WifiP2pNativeTest.java | 31 import android.app.test.MockAnswerUtil.AnswerWithArguments; 120 doAnswer(new AnswerWithArguments() { in setUp()
|
D | WifiP2pServiceImplTest.java | 41 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/ |
D | TestAlarmManager.java | 27 import android.app.test.MockAnswerUtil.AnswerWithArguments; 138 private class SetListenerAnswer extends AnswerWithArguments { 146 private class CancelListenerAnswer extends AnswerWithArguments {
|
D | MockAnswerUtil.java | 36 public static class AnswerWithArguments implements Answer<Object> { class in MockAnswerUtil
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 1453 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/ |
D | PasspointProvisionerTest.java | 497 doAnswer(new MockAnswerUtil.AnswerWithArguments() { in verifySelectBestOsuProviderForProvisioning()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 55 import android.app.test.MockAnswerUtil.AnswerWithArguments; 415 .thenAnswer(new AnswerWithArguments() { in setupAndLoadDriver()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 2389 private class SendMessageQueueModelAnswer extends MockAnswerUtil.AnswerWithArguments {
|