Home
last modified time | relevance | path

Searched refs:params1 (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DRttManagerTest.java67 private boolean rttParamsEquals(RttParams params1, RttParams params2) { in rttParamsEquals() argument
68 return params1.bssid.equals(params2.bssid) in rttParamsEquals()
69 && params1.secure == params2.secure in rttParamsEquals()
70 && params1.frequency == params2.frequency; in rttParamsEquals()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackAidlImplTest.java589 P2pGroupStartedEventParams params1 = new P2pGroupStartedEventParams(); in testOnGroupStartedWithParams_success() local
590 params1.groupInterfaceName = fakeName; in testOnGroupStartedWithParams_success()
591 params1.isGroupOwner = false; in testOnGroupStartedWithParams_success()
592 params1.ssid = fakeSsidBytesList; in testOnGroupStartedWithParams_success()
593 params1.frequencyMHz = 1; in testOnGroupStartedWithParams_success()
594 params1.passphrase = fakePassphrase; in testOnGroupStartedWithParams_success()
595 params1.goDeviceAddress = mDeviceAddress1Bytes; in testOnGroupStartedWithParams_success()
596 params1.goInterfaceAddress = fakeMacAddress; in testOnGroupStartedWithParams_success()
597 params1.isPersistent = true; in testOnGroupStartedWithParams_success()
598 params1.isP2pClientEapolIpAddressInfoPresent = true; in testOnGroupStartedWithParams_success()
[all …]
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java307 final RaParams params1 = createRaParams("2001:1122:3344::5566"); in testUnSolicitRouterAdvertisement() local
308 mRaDaemon.buildNewRa(null, params1); in testUnSolicitRouterAdvertisement()
309 assertMulticastRaPacket(new TestRaPacket(null, params1)); in testUnSolicitRouterAdvertisement()
312 mRaDaemon.buildNewRa(params1, params2); in testUnSolicitRouterAdvertisement()
313 assertMulticastRaPacket(new TestRaPacket(params1, params2)); in testUnSolicitRouterAdvertisement()
325 final RaParams params1 = createRaParams("2001:1122:3344::5566"); in testSolicitRouterAdvertisement() local
326 mRaDaemon.buildNewRa(null, params1); in testSolicitRouterAdvertisement()
327 assertMulticastRaPacket(new TestRaPacket(null, params1)); in testSolicitRouterAdvertisement()
341 assertUnicastRaPacket(new TestRaPacket(null, params1)); in testSolicitRouterAdvertisement()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DMscsParamsTest.java124 MscsParams params1 = createTestMscsParams(); in testSameObjectComparison() local
126 assertTrue(params1.equals(params2)); in testSameObjectComparison()
127 assertEquals(params1.hashCode(), params2.hashCode()); in testSameObjectComparison()
DQosPolicyParamsTest.java187 QosPolicyParams params1 = createTestQosPolicyParams(); in testObjectComparison() local
189 assertTrue(params1.equals(params2)); in testObjectComparison()
190 assertEquals(params1.hashCode(), params2.hashCode()); in testObjectComparison()