mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-23 07:00:07 +00:00
commit
5c93ba96cc
@ -44,6 +44,7 @@ public:
|
||||
virtual void SetDefaultFrequenciesByCountryBand(const BandType band, std::vector<int> &frequencies,
|
||||
int instId = 0) = 0;
|
||||
virtual int SyncHotspotConfig() = 0;
|
||||
virtual std::string GetPackageName(std::string tag) = 0;
|
||||
};
|
||||
|
||||
class WifiSettings : public MockWifiSettings {
|
||||
@ -60,6 +61,7 @@ public:
|
||||
MOCK_METHOD0(GetApMaxConnNum, int());
|
||||
MOCK_METHOD3(SetDefaultFrequenciesByCountryBand, void(const BandType band, std::vector<int> &frequencies, int));
|
||||
MOCK_METHOD0(SyncHotspotConfig, int());
|
||||
MOCK_METHOD1(GetPackageName, std::string(std::string tag));
|
||||
};
|
||||
} /* namespace Wifi */
|
||||
} /* namespace OHOS */
|
||||
|
Loading…
Reference in New Issue
Block a user