/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
D | ap_config_use.cpp | 34 int ApConfigUse::TransformFrequencyIntoChannel(int freq) const in TransformFrequencyIntoChannel() 36 if (freq >= FREP_2G_MIN && freq <= FREP_2G_MAX) { in TransformFrequencyIntoChannel() 37 return (freq - FREP_2G_MIN) / CENTER_FREP_DIFF + CHANNEL_2G_MIN; in TransformFrequencyIntoChannel() 38 } else if (freq == CHANNEL_14_FREP) { in TransformFrequencyIntoChannel() 40 } else if (freq >= FREP_5G_MIN && freq <= FREP_5G_MAX) { in TransformFrequencyIntoChannel() 41 return (freq - FREP_5G_MIN) / CENTER_FREP_DIFF + CHANNEL_5G_MIN; in TransformFrequencyIntoChannel() 80 bool ApConfigUse::IsValid24GHz(int freq) const in IsValid24GHz() 82 return (freq >= FREP_2G_MIN) && (freq <= CHANNEL_14_FREP); in IsValid24GHz() 85 bool ApConfigUse::IsValid5GHz(int freq) const in IsValid5GHz() 87 return (freq >= FREP_5G_MIN) && (freq <= FREP_5G_MAX); in IsValid5GHz()
|
D | ap_config_use.h | 59 virtual bool IsValid24GHz(int freq) const; 65 virtual bool IsValid5GHz(int freq) const; 92 virtual int TransformFrequencyIntoChannel(const int freq) const;
|
/foundation/communication/dsoftbus/core/connection/p2p/negotiation/src/ |
D | p2plink_channel_freq.c | 131 static int32_t GetChannelByFreq(int32_t freq) in GetChannelByFreq() argument 133 if (freq >= FREQUENCY_2G_FIRST && freq <= FREQUENCY_2G_LAST) { in GetChannelByFreq() 134 return ((freq - FREQUENCY_2G_FIRST) / FREQUENCY_STEP) + CHANNEL_2G_FIRST; in GetChannelByFreq() 135 } else if (freq >= FREQUENCY_5G_FIRST && freq <= FREQUENCY_5G_LAST) { in GetChannelByFreq() 136 return ((freq - FREQUENCY_5G_FIRST) / FREQUENCY_STEP) + CHANNEL_5G_FIRST; in GetChannelByFreq() 142 static bool Is2GBand(int32_t freq) in Is2GBand() argument 144 if (freq >= FREQUENCY_2G_FIRST && freq <= FREQUENCY_2G_LAST) { in Is2GBand() 167 int32_t freq = P2pLinkGetFrequency(); in P2pLinkUpateAndGetStationFreq() local 168 if (freq < FREQUENCY_2G_FIRST) { in P2pLinkUpateAndGetStationFreq() 171 int32_t channel = GetChannelByFreq(freq); in P2pLinkUpateAndGetStationFreq() [all …]
|
/foundation/graphic/standard/frameworks/wmtest/test/ |
D | vsync_native_test_1.cpp | 76 void Vsync(int64_t, void *, uint32_t freq, int32_t data, std::function<void(int32_t)> check) in Vsync() argument 79 RequestSync(std::bind(&VsyncNativeTest1::Vsync, this, _1, _2, freq, data, check), freq); in Vsync() 82 void RequestSync(const SyncFunc syncFunc, uint32_t freq) in RequestSync() argument 85 .frequency_ = freq, in RequestSync()
|
/foundation/communication/wifi/tests/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/ |
D | mock_ap_config_use.h | 31 MOCK_CONST_METHOD1(IsValid24GHz, bool(int freq)); 32 MOCK_CONST_METHOD1(IsValid5GHz, bool(int freq)); 34 MOCK_CONST_METHOD1(TransformFrequencyIntoChannel, int(int freq));
|
/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/ |
D | disc_manager_test.cpp | 101 .freq = LOW, 111 .freq = MID, 121 .freq = MID, 133 .freq = MID, 145 .freq = LOW, 155 .freq = MID, 165 .freq = MID, 177 .freq = MID, 211 .freq = LOW, 227 testInfo.freq = (ExchangeFreq)(SUPER_HIGH + 1); [all …]
|
/foundation/graphic/standard/frameworks/vsync/src/ |
D | vsync_manager.cpp | 68 uint32_t freq = 0; in OnRemoteRequest() local 69 GSError ret = GetVsyncFrequency(freq); in OnRemoteRequest() 71 reply.WriteUint32(freq); in OnRemoteRequest() 111 GSError VsyncManager::GetVsyncFrequency(uint32_t &freq) in GetVsyncFrequency() argument 114 freq = defaultVsyncFrequency; in GetVsyncFrequency()
|
D | static_call.cpp | 56 GSError StaticCall::GetVsyncFrequency(sptr<IVsyncManager>& server, uint32_t &freq) in GetVsyncFrequency() argument 58 return server->GetVsyncFrequency(freq); in GetVsyncFrequency()
|
D | vsync_manager_proxy.cpp | 93 GSError VsyncManagerProxy::GetVsyncFrequency(uint32_t &freq) in GetVsyncFrequency() argument 118 freq = ret.ReadUint32(); in GetVsyncFrequency()
|
/foundation/graphic/standard/frameworks/vsync/test/unittest/ |
D | vsync_remote_manager_proxy_test.cpp | 129 uint32_t freq= 30; variable 130 auto ret = vc_ ->GetVsyncFrequency(freq); 137 uint32_t freq= 30; variable 138 auto ret = vc_ ->GetVsyncFrequency(freq); 145 uint32_t freq= 30; variable 146 auto ret = vc_ ->GetVsyncFrequency(freq);
|
D | vsync_remote_manager_stub_test.cpp | 111 uint32_t freq = 30; variable 112 vc_->GetVsyncFrequency(freq); 113 int result = static_cast<int>(freq);
|
/foundation/communication/dsoftbus/tests/sdk/discovery/unittest/ |
D | disc_sdk_test.cpp | 73 .freq = MID, 85 .freq = MID, 95 .freq = MID, 105 .freq = MID, 162 .freq = MID, 187 testInfo.freq = (ExchangeFreq)(SUPER_HIGH + 1); 190 testInfo.freq = LOW; 251 .freq = MID, 278 testInfo.freq = (ExchangeFreq)(SUPER_HIGH + 1); 281 testInfo.freq = LOW;
|
/foundation/communication/dsoftbus/sdk/discovery/service/src/ |
D | client_disc_service.c | 38 if ((info->freq < LOW) || (info->freq > SUPER_HIGH)) { in PublishInfoCheck() 73 if ((info->freq < LOW) || (info->freq > SUPER_HIGH)) { in SubscribeInfoCheck()
|
/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
D | p2p_group_operating_state.cpp | 72 int freq = p2pStateMachine.GetAvailableFreqByBand(config.GetGoBand()); in ProcessCmdCreateGroup() local 85 ret = WifiP2PHalInterface::GetInstance().GroupAdd(true, netId, freq); in ProcessCmdCreateGroup() 93 …iP2PHalInterface::GetInstance().GroupAdd((netId == PERSISTENT_NET_ID) ? true : false, netId, freq); in ProcessCmdCreateGroup() 96 if (p2pStateMachine.DealCreateNewGroupWithConfig(config, freq)) { in ProcessCmdCreateGroup() 305 int freq = 0; in ProcessCmdHid2dCreateGroup() local 306 msg.GetMessageObj(freq); in ProcessCmdHid2dCreateGroup() 307 WIFI_LOGI("Create a hid2d group, frequency: %{public}d.", freq); in ProcessCmdHid2dCreateGroup() 308 ret = WifiP2PHalInterface::GetInstance().GroupAdd(true, PERSISTENT_NET_ID, freq); in ProcessCmdHid2dCreateGroup()
|
/foundation/communication/dsoftbus/tests/sdk/discovery/mini_test/ |
D | discover_test.c | 59 .freq = MID, 71 .freq = MID, 83 .freq = MID, 95 .freq = MID, 105 .freq = MID,
|
/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
D | bus_center_sdk_test.cpp | 76 .freq = MID, 88 .freq = MID, 98 .freq = MID, 108 .freq = MID, 348 g_pInfo.freq = (ExchangeFreq)(SUPER_HIGH + 1); 351 g_pInfo.freq = LOW; 423 g_sInfo.freq = (ExchangeFreq)(SUPER_HIGH + 1); 426 g_sInfo.freq = LOW;
|
/foundation/communication/dsoftbus/core/frame/small/init/src/ |
D | disc_server_stub.c | 51 .freq = info->commonSerializer.freq, in ServerPublishService() 108 .freq = info->commonSerializer.freq, in ServerStartDiscovery()
|
/foundation/communication/dsoftbus/core/connection/p2p/adapter/ |
D | p2plink_adapter.h | 56 int32_t P2pLinkCreateGroup(int32_t freq, bool isWideBandSupport); 57 int32_t P2pLinkGetRecommendChannel(int32_t *freq);
|
/foundation/communication/dsoftbus/core/discovery/manager/include/ |
D | disc_manager.h | 31 int32_t freq; member 38 int32_t freq; member
|
/foundation/communication/dsoftbus/sdk/discovery/ipc/small/ |
D | disc_server_proxy.c | 87 .freq = info->freq, in ServerIpcPublishService() 151 .freq = info->freq, in ServerIpcStartDiscovery()
|
/foundation/communication/dsoftbus/interfaces/kits/common/ |
D | softbus_common.h | 299 ExchangeFreq freq; member 320 ExchangeFreq freq; member
|
/foundation/communication/wifi/services/wifi_standard/wifi_framework/common/utils/ |
D | wifi_global_func.cpp | 373 bool IsValid24GHz(int freq) in IsValid24GHz() argument 375 return freq > 2400 && freq < 2500; in IsValid24GHz() 378 bool IsValid5GHz(int freq) in IsValid5GHz() argument 380 return freq > 4900 && freq < 5900; in IsValid5GHz()
|
/foundation/communication/dsoftbus/core/discovery/interface/ |
D | disc_serializer.h | 34 ExchangeFreq freq; member
|
/foundation/communication/dsoftbus/core/bus_center/lnn/disc_mgr/src/ |
D | lnn_coap_discovery_impl.c | 75 .freq = HIGH, in LnnStartCoapPublish() 99 .freq = HIGH, in LnnStartCoapDiscovery()
|
/foundation/graphic/standard/frameworks/vsync/include/ |
D | ivsync_manager.h | 30 virtual GSError GetVsyncFrequency(uint32_t &freq) = 0;
|