/system/connectivity/apmanager/ |
D | config_unittest.cc | 165 uint32_t frequency; in TEST_F() local 167 EXPECT_FALSE(Config::GetFrequencyFromChannel(0, &frequency)); in TEST_F() 168 EXPECT_FALSE(Config::GetFrequencyFromChannel(166, &frequency)); in TEST_F() 169 EXPECT_FALSE(Config::GetFrequencyFromChannel(14, &frequency)); in TEST_F() 170 EXPECT_FALSE(Config::GetFrequencyFromChannel(33, &frequency)); in TEST_F() 177 EXPECT_TRUE(Config::GetFrequencyFromChannel(1, &frequency)); in TEST_F() 178 EXPECT_EQ(kChannel1Frequency, frequency); in TEST_F() 179 EXPECT_TRUE(Config::GetFrequencyFromChannel(13, &frequency)); in TEST_F() 180 EXPECT_EQ(kChannel13Frequency, frequency); in TEST_F() 181 EXPECT_TRUE(Config::GetFrequencyFromChannel(34, &frequency)); in TEST_F() [all …]
|
D | device.cc | 116 shill::AttributeListConstRefPtr frequency; in ParseWiphyCapability() local 118 &frequency)) { in ParseWiphyCapability() 121 if (frequency->GetU32AttributeValue(NL80211_FREQUENCY_ATTR_FREQ, in ParseWiphyCapability() 351 uint32_t frequency; in GetBandCapability() local 352 if (!Config::GetFrequencyFromChannel(channel, &frequency)) { in GetBandCapability() 360 frequency) != band.frequencies.end()) { in GetBandCapability()
|
D | device_unittest.cc | 98 shill::AttributeListRefPtr frequency; in AddWiphyBandAttribute() local 101 frequencies->GetNestedAttributeList(i, &frequency); in AddWiphyBandAttribute() 102 frequency->CreateU32Attribute(NL80211_FREQUENCY_ATTR_FREQ, in AddWiphyBandAttribute() 104 frequency->SetU32AttributeValue(NL80211_FREQUENCY_ATTR_FREQ, in AddWiphyBandAttribute()
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | decoder-oina.c | 41 OI_UINT8 frequency, in OI_CODEC_SBC_DecoderConfigureRaw() argument 48 if (frequency > SBC_FREQ_48000) { in OI_CODEC_SBC_DecoderConfigureRaw() 83 context->common.frameInfo.freqIndex = frequency; in OI_CODEC_SBC_DecoderConfigureRaw()
|
D | framing-sbc.c | 44 printf(" frequency: %d\n", frameInfo->frequency); in OI_CODEC_SBC_DumpConfig()
|
D | framing.c | 201 frame->frequency = freq_values[frame->freqIndex]; in OI_SBC_ExpandFrameFields()
|
D | decoder-private.c | 105 frame->frequency = freq_values[frame->freqIndex]; in OI_SBC_ReadHeader()
|
D | bitalloc.c | 80 return DIVIDE(8 * internal_CalculateFramelen(frame) * frame->frequency, blocksbands); in internal_CalculateBitrate()
|
/system/connectivity/shill/ |
D | metrics.cc | 455 Metrics::WiFiChannel Metrics::WiFiFrequencyToChannel(uint16_t frequency) { in WiFiFrequencyToChannel() argument 457 if (kWiFiFrequency2412 <= frequency && frequency <= kWiFiFrequency2472) { in WiFiFrequencyToChannel() 458 if (((frequency - kWiFiFrequency2412) % kWiFiBandwidth5MHz) == 0) in WiFiFrequencyToChannel() 461 (frequency - kWiFiFrequency2412) / kWiFiBandwidth5MHz); in WiFiFrequencyToChannel() 462 } else if (frequency == kWiFiFrequency2484) { in WiFiFrequencyToChannel() 464 } else if (kWiFiFrequency5170 <= frequency && in WiFiFrequencyToChannel() 465 frequency <= kWiFiFrequency5230) { in WiFiFrequencyToChannel() 466 if ((frequency % kWiFiBandwidth20MHz) == 0) in WiFiFrequencyToChannel() 469 (frequency - kWiFiFrequency5180) / kWiFiBandwidth20MHz); in WiFiFrequencyToChannel() 470 if ((frequency % kWiFiBandwidth20MHz) == 10) in WiFiFrequencyToChannel() [all …]
|
D | metrics.h | 789 static WiFiChannel WiFiFrequencyToChannel(uint16_t frequency);
|
/system/connectivity/shill/wifi/ |
D | scan_session.cc | 87 seen_frequencies.insert(freq_conn.frequency); in ScanSession() 98 SLOG(this, 6) << " freq[" << freq_conn.frequency << "] = " in ScanSession() 133 uint16_t frequency = freq_connect->frequency; in GetScanFrequencies() local 136 frequencies.push_back(frequency); in GetScanFrequencies() 137 SLOG(this, 7) << " freq[" << frequency << "] = " << connection_count; in GetScanFrequencies()
|
D | wifi_endpoint.h | 95 uint16_t frequency() const; 135 uint16_t frequency, 145 uint16_t frequency, 167 uint16_t frequency);
|
D | wifi_endpoint.cc | 223 uint16_t WiFiEndpoint::frequency() const { in frequency() function in shill::WiFiEndpoint 262 uint16_t frequency, in MakeOpenEndpoint() argument 265 frequency, signal_dbm, false, false); in MakeOpenEndpoint() 275 uint16_t frequency, in MakeEndpoint() argument 289 args.SetUint16(WPASupplicant::kBSSPropertyFrequency, frequency); in MakeEndpoint() 385 const KeyValueStore& properties, uint16_t frequency) { in DeterminePhyModeFromFrequency() argument 396 if (frequency < 3000) { in DeterminePhyModeFromFrequency()
|
D | wifi_provider.h | 59 FrequencyCount() : frequency(0), connection_count(0) {} in FrequencyCount() 61 : frequency(freq), connection_count(conn) {} in FrequencyCount() 62 uint16_t frequency; member
|
D | mock_wifi_provider.h | 53 MOCK_METHOD1(IncrementConnectCount, void(uint16_t frequency));
|
D | wifi_service.cc | 786 frequency_ != representative_endpoint->frequency()) { in UpdateFromEndpoints() 794 << "frequency: " << representative_endpoint->frequency(); in UpdateFromEndpoints() 813 frequency_set.insert(endpoint->frequency()); in UpdateFromEndpoints() 820 uint16_t frequency = 0; in UpdateFromEndpoints() local 829 frequency = representative_endpoint->frequency(); in UpdateFromEndpoints() 838 if (frequency_ != frequency) { in UpdateFromEndpoints() 839 frequency_ = frequency; in UpdateFromEndpoints()
|
D | wifi_unittest.cc | 844 uint16_t frequency, in MakeNewEndpointAndService() argument 858 ReportBSS(path, ssid, bssid, signal_strength, frequency, mode); in MakeNewEndpointAndService() 870 uint16_t frequency, in AddEndpointToService() argument 880 ReportBSS(path, ssid, bssid, signal_strength, frequency, mode); in AddEndpointToService() 1035 uint16_t frequency, 1042 uint16_t frequency, 1404 uint16_t frequency, in CreateBSSProperties() argument 1416 bss_properties.SetUint16(WPASupplicant::kBSSPropertyFrequency, frequency); in CreateBSSProperties() 1426 uint16_t frequency, in ReportBSS() argument 1430 CreateBSSProperties(ssid, bssid, signal_strength, frequency, mode)); in ReportBSS() [all …]
|
D | wifi.cc | 476 << "frequency: " << service->frequency(); in ConnectTo() 1255 << "frequency: " << endpoint->frequency(); in BSSAddedTask() 1629 provider_->IncrementConnectCount(affected_service->frequency()); in StateChanged() 1808 Metrics::WiFiFrequencyToChannel(endpoint->frequency()))); in GetGeolocationObjects() 2442 AttributeListConstRefPtr frequency; in OnNewWiphy() local 2444 &frequency)) { in OnNewWiphy() 2447 if (frequency->GetU32AttributeValue(NL80211_FREQUENCY_ATTR_FREQ, in OnNewWiphy()
|
D | wifi_service_unittest.cc | 122 uint16_t frequency, int16_t signal_dbm, in MakeEndpoint() argument 126 frequency, signal_dbm, has_wpa_property, has_rsn_property); in MakeEndpoint() 129 uint16_t frequency, int16_t signal_dbm) { in MakeOpenEndpoint() argument 132 frequency, signal_dbm); in MakeOpenEndpoint() 137 uint16_t frequency, in MakeOpenEndpointWithWiFi() argument 141 frequency, signal_dbm); in MakeOpenEndpointWithWiFi() 1754 simple_ssid_string(), "aa:bb:cc:dd:ee:ff", ok_endpoint->frequency(), 0); in TEST_F() 1763 EXPECT_EQ(vector<uint16_t>{same_freq_as_ok_endpoint->frequency()}, in TEST_F()
|
D | wifi_service.h | 112 uint16_t frequency() const { return frequency_; } in frequency() function
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc.h | 128 OI_UINT16 frequency; /**< The sampling frequency. Input parameter. */ member 291 OI_UINT8 frequency,
|
/system/bt/btif/include/ |
D | btif_media.h | 293 int btif_a2dp_get_track_frequency(UINT8 frequency);
|
/system/core/metricsd/ |
D | metrics_collector.cc | 698 const unique_ptr<PersistentInteger>& frequency) { in SendAndResetCrashFrequencySample() argument 699 SendSample(frequency->Name(), in SendAndResetCrashFrequencySample() 700 frequency->GetAndClear(), in SendAndResetCrashFrequencySample()
|
D | metrics_collector.h | 164 const unique_ptr<PersistentInteger>& frequency);
|
/system/bt/btif/src/ |
D | btif_media_task.c | 2153 int btif_a2dp_get_track_frequency(UINT8 frequency) { in btif_a2dp_get_track_frequency() argument 2155 switch (frequency) { in btif_a2dp_get_track_frequency()
|