Lines Matching refs:ifNames
501 * @tc.desc: Obtain all ifNames and the number of the current chip
509 char *ifNames = nullptr;
522 ret = staFeature->baseFeature.getIfNamesByChipId(100, &ifNames, &num);
524 ret = staFeature->baseFeature.getIfNamesByChipId(chipId, &ifNames, &num);
525 EXPECT_NE(nullptr, ifNames);
529 EXPECT_EQ(0, strncmp("wlan", ifNames + i * MAX_IF_NAME_LENGTH, SIZE));
531 free(ifNames);
1220 * @tc.desc: Obtain all ifNames and the number of the current chip
1228 char *ifNames = nullptr;
1242 ret = apFeature->baseFeature.getIfNamesByChipId(100, &ifNames, &num);
1244 ret = apFeature->baseFeature.getIfNamesByChipId(chipId, &ifNames, &num);
1245 EXPECT_NE(nullptr, ifNames);
1250 EXPECT_EQ(0, strncmp("wlan", ifNames + i * MAX_IF_NAME_LENGTH, SIZE));
1252 free(ifNames);