Lines Matching defs:wifiChip
42 wifiChip = new WifiChip(chipId, isPrimary, wifiVendorHalTest,
55 sptr<WifiChip> wifiChip;
68 if (wifiChip == nullptr) {
69 HDF_LOGE("wifiChip is null");
72 EXPECT_TRUE(wifiChip->GetCurrentMode(modeId) == HDF_ERR_INVALID_PARAM);
74 wifiChip->GetCurrentMode(modeId);
75 wifiChip->RegisterChipEventCallback(nullptr);
88 if (wifiChip == nullptr) {
89 HDF_LOGE("wifiChip is null");
92 EXPECT_TRUE(wifiChip->SetChipMode(modeId) == HDF_FAILURE);
104 if (wifiChip == nullptr) {
105 HDF_LOGE("wifiChip is null");
114 wifiChip->CreateApService(apIface);
116 wifiChip->GetApServiceIfNames(ifnames);
118 wifiChip->GetApService(ifname1, apIface);
119 wifiChip->RemoveApService(ifname1);
120 EXPECT_TRUE(wifiChip->GetApServiceIfNames(ifnames) == HDF_FAILURE);
121 EXPECT_TRUE(wifiChip->GetApService(ifname1, apIface) == HDF_FAILURE);
133 if (wifiChip == nullptr) {
134 HDF_LOGE("wifiChip is null");
142 wifiChip->CreateP2pService(p2pIface);
144 wifiChip->GetP2pServiceIfNames(ifnames);
146 wifiChip->GetP2pService(ifname1, p2pIface);
147 wifiChip->RemoveP2pService(ifname1);
148 EXPECT_TRUE(wifiChip->GetP2pServiceIfNames(ifnames) == HDF_FAILURE);
149 EXPECT_TRUE(wifiChip->GetP2pService(ifname1, p2pIface) == HDF_FAILURE);
161 if (wifiChip == nullptr) {
162 HDF_LOGE("wifiChip is null");
170 wifiChip->CreateStaService(staIface);
173 wifiChip->GetStaServiceIfNames(ifnames);
175 wifiChip->GetStaService(ifname1, staIface);
176 wifiChip->RemoveStaService(ifname1);
177 EXPECT_TRUE(wifiChip->GetStaServiceIfNames(ifnames) == HDF_FAILURE);
178 EXPECT_TRUE(wifiChip->GetStaService(ifname1, staIface) == HDF_FAILURE);