mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700 Change-Id: I2d5be618227828a815867144c1e29c826ba3c2ab
This commit is contained in:
@@ -75,7 +75,7 @@ TEST_P(SupplicantHidlTest, AddStaInterface) {
|
|||||||
* AddP2pInterface
|
* AddP2pInterface
|
||||||
*/
|
*/
|
||||||
TEST_P(SupplicantHidlTest, AddP2pInterface) {
|
TEST_P(SupplicantHidlTest, AddP2pInterface) {
|
||||||
if (isP2pOn_) return;
|
if (!isP2pOn_) return;
|
||||||
ISupplicant::IfaceInfo iface_info;
|
ISupplicant::IfaceInfo iface_info;
|
||||||
iface_info.name = getP2pIfaceName();
|
iface_info.name = getP2pIfaceName();
|
||||||
iface_info.type = IfaceType::P2P;
|
iface_info.type = IfaceType::P2P;
|
||||||
@@ -115,7 +115,7 @@ TEST_P(SupplicantHidlTest, RemoveStaInterface) {
|
|||||||
* RemoveP2pInterface
|
* RemoveP2pInterface
|
||||||
*/
|
*/
|
||||||
TEST_P(SupplicantHidlTest, RemoveP2pInterface) {
|
TEST_P(SupplicantHidlTest, RemoveP2pInterface) {
|
||||||
if (isP2pOn_) return;
|
if (!isP2pOn_) return;
|
||||||
ISupplicant::IfaceInfo iface_info;
|
ISupplicant::IfaceInfo iface_info;
|
||||||
iface_info.name = getP2pIfaceName();
|
iface_info.name = getP2pIfaceName();
|
||||||
iface_info.type = IfaceType::P2P;
|
iface_info.type = IfaceType::P2P;
|
||||||
|
|||||||
Reference in New Issue
Block a user