Home
last modified time | relevance | path

Searched refs:PowerParam (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_spec.h93 struct PowerParam { struct
100 PowerParam() = delete;
106 ~PowerParam(){}; in ~PowerParam() argument
116 PowerParam(int max, int min, int attempt, int timeout) in PowerParam() function
218 static PowerParam GetPowerParam(PowerModeLevel level);
252 static const std::map<PowerModeLevel, PowerParam> POWER_PARAM;
H A Dpower_spec.cpp122 const std::map<PowerModeLevel, PowerParam> PowerSpec::POWER_PARAM = {
124PowerParam(SNIFF_LEVEL_LOW_MAX_INTERVAL, SNIFF_LEVEL_LOW_MIN_INTERVAL, SNIFF_LEVEL_LOW_ATTEMPT,
127PowerParam(SNIFF_LEVEL_MID_MAX_INTERVAL, SNIFF_LEVEL_MID_MIN_INTERVAL, SNIFF_LEVEL_MID_ATTEMPT,
130PowerParam(SNIFF_LEVEL_HIG_MAX_INTERVAL, SNIFF_LEVEL_HIG_MIN_INTERVAL, SNIFF_LEVEL_HIG_ATTEMPT,
234 PowerParam PowerSpec::GetPowerParam(PowerModeLevel level) in GetPowerParam()
240 return PowerParam(0, 0, 0, 0); in GetPowerParam()
H A Dpower_device.h165 int BtmEnterSniffMode(const PowerParam &param) const;
H A Dpower_device.cpp224 int PowerDevice::BtmEnterSniffMode(const PowerParam &param) const in BtmEnterSniffMode()