wifi: set join to true in p2p connect tests am: 858665687d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2743883 Change-Id: I961f6a8cc9569ad401a1df41f252325f94392350 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
2079fbcd04
1 changed files with 7 additions and 11 deletions
|
@ -524,16 +524,12 @@ TEST_P(SupplicantP2pIfaceAidlTest, Flush) {
|
|||
* Connect
|
||||
*/
|
||||
TEST_P(SupplicantP2pIfaceAidlTest, Connect) {
|
||||
/*
|
||||
* Auto-join is not enabled before R. After enabling auto-join,
|
||||
* this should always succeed.
|
||||
*/
|
||||
std::string pin;
|
||||
EXPECT_TRUE(p2p_iface_
|
||||
->connect(kTestMacAddr, WpsProvisionMethod::PBC,
|
||||
kTestConnectPin, false, false,
|
||||
kTestConnectGoIntent, &pin)
|
||||
.isOk());
|
||||
std::string pin;
|
||||
EXPECT_TRUE(p2p_iface_
|
||||
->connect(kTestMacAddr, WpsProvisionMethod::PBC,
|
||||
kTestConnectPin, true, false, kTestConnectGoIntent,
|
||||
&pin)
|
||||
.isOk());
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -543,7 +539,7 @@ TEST_P(SupplicantP2pIfaceAidlTest, CancelConnect) {
|
|||
std::string pin;
|
||||
EXPECT_TRUE(p2p_iface_
|
||||
->connect(kTestMacAddr, WpsProvisionMethod::PBC,
|
||||
kTestConnectPin, false, false,
|
||||
kTestConnectPin, true, false,
|
||||
kTestConnectGoIntent, &pin)
|
||||
.isOk());
|
||||
EXPECT_TRUE(p2p_iface_->cancelConnect().isOk());
|
||||
|
|
Loading…
Reference in a new issue