Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DRttManagerTest.java46 private boolean verifyEquals(ParcelableRttParams params, ParcelableRttParams params2) { in verifyEquals() argument
47 if (params.mParams == params2.mParams) { in verifyEquals()
50 if (params == null || params2.mParams == null) { in verifyEquals()
54 RttParams[] paramsArray2 = params2.mParams; in verifyEquals()
67 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()
83 RttParams params2 = new RttParams(); in testRttParamsReadWriteParcel() local
84 params2.bssid = "12-34-56-78-9B-CD"; in testRttParamsReadWriteParcel()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackAidlImplTest.java607 P2pGroupStartedEventParams params2 = new P2pGroupStartedEventParams(); in testOnGroupStartedWithParams_success() local
608 params2.groupInterfaceName = fakeName; in testOnGroupStartedWithParams_success()
609 params2.isGroupOwner = true; in testOnGroupStartedWithParams_success()
610 params2.ssid = fakeSsidBytesList; in testOnGroupStartedWithParams_success()
611 params2.frequencyMHz = 1; in testOnGroupStartedWithParams_success()
612 params2.goDeviceAddress = mDeviceAddress1Bytes; in testOnGroupStartedWithParams_success()
613 params2.goInterfaceAddress = fakeMacAddress; in testOnGroupStartedWithParams_success()
614 params2.isPersistent = true; in testOnGroupStartedWithParams_success()
615 mDut.onGroupStartedWithParams(params2); in testOnGroupStartedWithParams_success()
698 P2pGroupStartedEventParams params2 = new P2pGroupStartedEventParams(); in testOnGroupStartedWithParams_invalidArguments() local
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DMscsParamsTest.java125 MscsParams params2 = createTestMscsParams(); in testSameObjectComparison() local
126 assertTrue(params1.equals(params2)); in testSameObjectComparison()
127 assertEquals(params1.hashCode(), params2.hashCode()); in testSameObjectComparison()
DQosPolicyParamsTest.java188 QosPolicyParams params2 = createTestQosPolicyParams(); in testObjectComparison() local
189 assertTrue(params1.equals(params2)); in testObjectComparison()
190 assertEquals(params1.hashCode(), params2.hashCode()); in testObjectComparison()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java311 final RaParams params2 = createRaParams("2006:3344:5566::7788"); in testUnSolicitRouterAdvertisement() local
312 mRaDaemon.buildNewRa(params1, params2); in testUnSolicitRouterAdvertisement()
313 assertMulticastRaPacket(new TestRaPacket(params1, params2)); in testUnSolicitRouterAdvertisement()