Loading wifi/supplicant/1.2/vts/functional/VtsHalWifiSupplicantP2pV1_2TargetTest.cppdeleted 100644 → 0 +0 −26 Original line number Original line Diff line number Diff line /* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <VtsCoreUtil.h> #include "supplicant_hidl_test_utils.h" int main(int argc, char** argv) { if (!::testing::deviceSupportsFeature("android.hardware.wifi.direct")) return 0; ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } wifi/supplicant/1.2/vts/functional/supplicant_p2p_iface_hidl_test.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -43,6 +43,9 @@ class SupplicantP2pIfaceHidlTest : public SupplicantHidlTestBase { virtual void SetUp() override { virtual void SetUp() override { SupplicantHidlTestBase::SetUp(); SupplicantHidlTestBase::SetUp(); EXPECT_TRUE(turnOnExcessiveLogging(supplicant_)); EXPECT_TRUE(turnOnExcessiveLogging(supplicant_)); if (!::testing::deviceSupportsFeature("android.hardware.wifi.direct")) { GTEST_SKIP() << "Wi-Fi Direct is not supported, skip this test."; } p2p_iface_ = getSupplicantP2pIface_1_2(supplicant_); p2p_iface_ = getSupplicantP2pIface_1_2(supplicant_); ASSERT_NE(p2p_iface_.get(), nullptr); ASSERT_NE(p2p_iface_.get(), nullptr); } } Loading Loading
wifi/supplicant/1.2/vts/functional/VtsHalWifiSupplicantP2pV1_2TargetTest.cppdeleted 100644 → 0 +0 −26 Original line number Original line Diff line number Diff line /* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <VtsCoreUtil.h> #include "supplicant_hidl_test_utils.h" int main(int argc, char** argv) { if (!::testing::deviceSupportsFeature("android.hardware.wifi.direct")) return 0; ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
wifi/supplicant/1.2/vts/functional/supplicant_p2p_iface_hidl_test.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -43,6 +43,9 @@ class SupplicantP2pIfaceHidlTest : public SupplicantHidlTestBase { virtual void SetUp() override { virtual void SetUp() override { SupplicantHidlTestBase::SetUp(); SupplicantHidlTestBase::SetUp(); EXPECT_TRUE(turnOnExcessiveLogging(supplicant_)); EXPECT_TRUE(turnOnExcessiveLogging(supplicant_)); if (!::testing::deviceSupportsFeature("android.hardware.wifi.direct")) { GTEST_SKIP() << "Wi-Fi Direct is not supported, skip this test."; } p2p_iface_ = getSupplicantP2pIface_1_2(supplicant_); p2p_iface_ = getSupplicantP2pIface_1_2(supplicant_); ASSERT_NE(p2p_iface_.get(), nullptr); ASSERT_NE(p2p_iface_.get(), nullptr); } } Loading