Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 25 of 31) sorted by relevance

12

/system/chre/apps/wifi_offload/
Dchannel_histogram.cc45 uint8_t GetChannelNumber(uint32_t frequency) { in GetChannelNumber() argument
47 utility::Ieee80211FrequencyToChannel(static_cast<int>(frequency)); in GetChannelNumber()
49 LOGE("Unknown channel frequency %" PRIu32 " MHz.", frequency); in GetChannelNumber()
81 bool ChannelHistogram::IsSupportedFrequency(uint32_t frequency) { in IsSupportedFrequency() argument
82 return GetChannelNumber(frequency) != 0; in IsSupportedFrequency()
109 bool ChannelHistogram::IncrementScanCountForFrequency(uint32_t frequency) { in IncrementScanCountForFrequency() argument
110 size_t index = GetChannelIndex(GetChannelNumber(frequency)); in IncrementScanCountForFrequency()
120 uint32_t frequency, uint32_t increase_count) { in IncrementScanCountForFrequencyForTest() argument
121 return IncrementScanCountForChannelForTest(GetChannelNumber(frequency), in IncrementScanCountForFrequencyForTest()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dchannel_histogram.h38 static bool IsSupportedFrequency(uint32_t frequency);
44 bool IncrementScanCountForFrequency(uint32_t frequency);
46 bool IncrementScanCountForFrequencyForTest(uint32_t frequency,
/system/bt/embdrv/sbc/decoder/srce/
Ddecoder-oina.c39 OI_CODEC_SBC_DECODER_CONTEXT* context, OI_BOOL enhanced, uint8_t frequency, in OI_CODEC_SBC_DecoderConfigureRaw() argument
42 if (frequency > SBC_FREQ_48000) { in OI_CODEC_SBC_DecoderConfigureRaw()
77 context->common.frameInfo.freqIndex = frequency; in OI_CODEC_SBC_DecoderConfigureRaw()
Dframing-sbc.c48 printf(" frequency: %d\n", frameInfo->frequency); in OI_CODEC_SBC_DumpConfig()
Dframing.c239 frame->frequency = freq_values[frame->freqIndex]; in OI_SBC_ExpandFrameFields()
Ddecoder-private.c103 frame->frequency = freq_values[frame->freqIndex]; in OI_SBC_ReadHeader()
Dbitalloc.c82 return DIVIDE(8 * internal_CalculateFramelen(frame) * frame->frequency, in internal_CalculateBitrate()
/system/connectivity/wificond/
Dap_interface_impl.cpp110 void ApInterfaceImpl::OnChannelSwitchEvent(uint32_t frequency, in OnChannelSwitchEvent() argument
112 LOG(INFO) << "New channel on frequency: " << frequency in OnChannelSwitchEvent()
114 binder_->NotifySoftApChannelSwitched(frequency, bandwidth); in OnChannelSwitchEvent()
Dap_interface_binder.cpp41 int frequency, ChannelBandwidth channel_bandwidth) { in NotifySoftApChannelSwitched() argument
72 ap_interface_event_callback_->onSoftApChannelSwitched(frequency, bandwidth); in NotifySoftApChannelSwitched()
Dap_interface_binder.h46 void NotifySoftApChannelSwitched(int frequency,
Dap_interface_impl.h70 void OnChannelSwitchEvent(uint32_t frequency, ChannelBandwidth bandwidth);
Dclient_interface_impl.cpp269 associate_freq_ = scan_result.frequency; in RefreshAssociateFreq()
/system/connectivity/wificond/scanning/
Dscan_result.cpp48 frequency(frequency_), in NativeScanResult()
61 RETURN_IF_FAILED(parcel->writeUint32(frequency)); in writeToParcel()
91 RETURN_IF_FAILED(parcel->readUint32(&frequency)); in readFromParcel()
126 LOG(INFO) << "FREQUENCY: " << frequency; in DebugLog()
Dscan_result.h43 uint32_t frequency,
62 uint32_t frequency; variable
Dscanner_impl.cpp273 for (const auto& frequency : network.frequencies_) { in ParsePnoSettings() local
274 unique_frequencies.insert(frequency); in ParsePnoSettings()
287 for (const auto& frequency : unique_frequencies) { in ParsePnoSettings() local
288 freqs->push_back(frequency); in ParsePnoSettings()
/system/connectivity/wificond/aidl/android/net/wifi/
DIApInterfaceEventCallback.aidl40 oneway void onSoftApChannelSwitched(int frequency, int bandwidth); in onSoftApChannelSwitched() argument
/system/connectivity/wificond/scanning/offload/
Doffload_scan_utils.cpp48 single_scan_result.frequency = scan_result[i].frequency; in convertToNativeScanResults()
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc.h162 uint16_t frequency; /**< The sampling frequency. Input parameter. */ member
327 OI_CODEC_SBC_DECODER_CONTEXT* context, OI_BOOL enhanced, uint8_t frequency,
/system/connectivity/wificond/tests/
Doffload_scan_utils_test.cpp58 EXPECT_EQ(native_scan_results[i].frequency, in TEST_F()
59 dummy_scan_results_[i].frequency); in TEST_F()
Dscan_result_unittest.cpp78 EXPECT_EQ(kFakeFrequency, scan_result_copy.frequency); in TEST_F()
Doffload_test_utils.cpp42 scanResult.frequency = kFrequency1; in createOffloadScanResults()
/system/nfc/src/nfa/dm/
Dnfa_dm_discover.cc111 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pa; in nfa_dm_get_rf_discover_config()
120 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pb; in nfa_dm_get_rf_discover_config()
129 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pf; in nfa_dm_get_rf_discover_config()
138 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pacm; in nfa_dm_get_rf_discover_config()
147 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->paa; in nfa_dm_get_rf_discover_config()
156 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pfa; in nfa_dm_get_rf_discover_config()
167 disc_params[num_params].frequency = 1; in nfa_dm_get_rf_discover_config()
176 disc_params[num_params].frequency = 1; in nfa_dm_get_rf_discover_config()
185 disc_params[num_params].frequency = 1; in nfa_dm_get_rf_discover_config()
194 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pacm; in nfa_dm_get_rf_discover_config()
[all …]
/system/connectivity/wificond/net/
Dnetlink_manager.cpp716 uint32_t frequency = 0; in OnChannelSwitchEvent() local
717 if (!packet->GetAttributeValue(NL80211_ATTR_WIPHY_FREQ, &frequency)) { in OnChannelSwitchEvent()
731 handler->second(frequency, getBandwidthType(bandwidth)); in OnChannelSwitchEvent()
Dnetlink_manager.h105 uint32_t frequency, ChannelBandwidth bandwidth)> OnChannelSwitchEventHandler;
/system/extras/perfprofd/
Dperfprofd_config.proto42 // Desired sampling frequency (passed to perf -f option). A value of 0

12