Home
last modified time | relevance | path

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

12345

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java93 private boolean isDfsChannel(int frequency) { in isDfsChannel() argument
96 if (frequency == dfsChannel.frequency) { in isDfsChannel()
104 private int getBandFromChannel(int frequency) { in getBandFromChannel() argument
105 if (2400 <= frequency && frequency < 2500) { in getBandFromChannel()
107 } else if (isDfsChannel(frequency)) { in getBandFromChannel()
109 } else if (5100 <= frequency && frequency < 6000) { in getBandFromChannel()
125 if (settingsChannels[i].frequency == channel) { in settingsContainChannel()
153 public void addChannel(int frequency) { in addChannel() argument
154 mChannels.add(frequency); in addChannel()
155 mAllBands |= getBandFromChannel(frequency); in addChannel()
[all …]
DChannelHelper.java130 addChannel(scanSettings.channels[j].frequency); in addChannels()
143 addChannel(bucketSettings.channels[j].frequency); in addChannels()
156 if (!containsChannel(scanSettings.channels[j].frequency)) { in containsSettings()
172 if (containsChannel(scanSettings.channels[j].frequency)) { in partiallyContainsSettings()
189 if (!containsChannel(scanSettings.channels[j].frequency)) { in getMissingChannelsFromSettings()
190 missingChannels.add(scanSettings.channels[j].frequency); in getMissingChannelsFromSettings()
207 if (containsChannel(scanSettings.channels[j].frequency)) { in getContainingChannelsFromSettings()
208 containingChannels.add(scanSettings.channels[j].frequency); in getContainingChannelsFromSettings()
270 sb.append(channels[c].frequency); in toString()
287 sb.append(channels[c].frequency); in toString()
DScanScheduleUtil.java42 if (channel1.frequency != channel2.frequency) return false; in channelEquals()
134 return channelHelper.settingsContainChannel(settings, result.frequency); in shouldReportFullScanResultForSettings()
161 if (channelHelper.settingsContainChannel(settings, scanResult.frequency)) { in filterResultsForSettings()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderConfig.java159 public final int frequency; field in ResponderConfig
201 boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, in ResponderConfig() argument
212 this.frequency = frequency; in ResponderConfig()
240 boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, in ResponderConfig() argument
247 this.frequency = frequency; in ResponderConfig()
279 @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, in ResponderConfig() argument
286 this.frequency = frequency; in ResponderConfig()
301 int frequency = scanResult.frequency; in fromScanResult() local
333 frequency, centerFreq0, centerFreq1, preamble); in fromScanResult()
403 dest.writeInt(frequency); in writeToParcel()
[all …]
/frameworks/base/core/java/android/provider/
DUserDictionary.java133 int frequency, int localeType) { in addWord() argument
147 addWord(context, word, frequency, null, locale); in addWord()
162 int frequency, String shortcut, Locale locale) { in addWord() argument
169 if (frequency < FREQUENCY_MIN) frequency = FREQUENCY_MIN; in addWord()
170 if (frequency > FREQUENCY_MAX) frequency = FREQUENCY_MAX; in addWord()
176 values.put(FREQUENCY, frequency); in addWord()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java50 public static int convertFrequencyToChannel(int frequency) { in convertFrequencyToChannel() argument
51 if (frequency >= 2412 && frequency <= 2472) { in convertFrequencyToChannel()
52 return (frequency - 2412) / 5 + 1; in convertFrequencyToChannel()
53 } else if (frequency == 2484) { in convertFrequencyToChannel()
55 } else if (frequency >= 5170 && frequency <= 5825) { in convertFrequencyToChannel()
57 return (frequency - 5170) / 5 + 34; in convertFrequencyToChannel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
DChannelSettings.java33 public int frequency; field in ChannelSettings
49 return frequency == channel.frequency; in equals()
55 return Objects.hash(frequency); in hashCode()
70 out.writeInt(frequency); in writeToParcel()
82 result.frequency = in.readInt();
DNativeScanResult.java36 public int frequency; field in NativeScanResult
51 frequency = source.frequency; in NativeScanResult()
70 out.writeInt(frequency); in writeToParcel()
93 result.frequency = in.readInt();
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java170 public int frequency; field in ScanResult
364 return ScanResult.is24GHz(frequency); in is24GHz()
379 return ScanResult.is5GHz(frequency); in is5GHz()
462 byte[] osuProviders, String caps, int level, int frequency, long tsf) { in ScanResult() argument
476 this.frequency = frequency; in ScanResult()
491 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
498 this.frequency = frequency; in ScanResult()
514 int level, int frequency, in ScanResult() argument
523 this.frequency = frequency; in ScanResult()
544 int frequency, long tsf, int distCm, int distSdCm, int channelWidth, in ScanResult() argument
[all …]
/frameworks/wilhelm/src/itf/
DIVibra.cpp55 static SLresult IVibra_SetFrequency(SLVibraItf self, SLmilliHertz frequency) in IVibra_SetFrequency() argument
62 } else if (!(d->minFrequency <= frequency && frequency <= d->maxFrequency)) { in IVibra_SetFrequency()
67 thiz->mFrequency = frequency; in IVibra_SetFrequency()
85 SLmilliHertz frequency = thiz->mFrequency; in IVibra_GetFrequency() local
87 *pFrequency = frequency; in IVibra_GetFrequency()
/frameworks/minikin/libs/minikin/
DLineBreaker.cpp25 HyphenationFrequency frequency, bool justified, in breakIntoLines() argument
30 frequency != HyphenationFrequency::None); in breakIntoLines()
32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency, in breakIntoLines()
DOptimalLineBreaker.cpp130 HyphenationFrequency frequency, bool justified) { in computePenalties() argument
135 if (frequency == HyphenationFrequency::Normal) { in computePenalties()
208 const LineWidth& lineWidth, HyphenationFrequency frequency, in populateCandidates() argument
215 const bool doHyphenation = frequency != HyphenationFrequency::None; in populateCandidates()
225 auto penalties = computePenalties(*run, lineWidth, frequency, isJustified); in populateCandidates()
422 HyphenationFrequency frequency, bool justified) { in breakLineOptimal() argument
427 populateCandidates(textBuf, measured, lineWidth, frequency, justified); in breakLineOptimal()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DRttManagerTest.java67 && params1.frequency == params2.frequency; in rttParamsEquals()
78 params.frequency = 5240; in testRttParamsReadWriteParcel()
83 params2.frequency = 5220; in testRttParamsReadWriteParcel()
DScoringParamsTest.java71 private void checkThresholds(int frequency) { in checkThresholds() argument
72 assertTrue(-127 < mScoringParams.getExitRssi(frequency)); in checkThresholds()
73 assertTrue(mScoringParams.getExitRssi(frequency) in checkThresholds()
74 <= mScoringParams.getEntryRssi(frequency)); in checkThresholds()
75 assertTrue(mScoringParams.getEntryRssi(frequency) in checkThresholds()
76 <= mScoringParams.getSufficientRssi(frequency)); in checkThresholds()
77 assertTrue(mScoringParams.getSufficientRssi(frequency) in checkThresholds()
78 <= mScoringParams.getGoodRssi(frequency)); in checkThresholds()
79 assertTrue(mScoringParams.getGoodRssi(frequency) < 0); in checkThresholds()
DWakeupEvaluatorTest.java56 private ScanResult makeScanResult(String ssid, int frequency, int level) { in makeScanResult() argument
59 scanResult.frequency = frequency; in makeScanResult()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiRecordSources.java583 public static AnalogueServiceSource ofAnalogue(int broadcastType, int frequency, in ofAnalogue() argument
590 if (frequency < 0 || frequency > 0xFFFF) { in ofAnalogue()
591 Log.w(TAG, "Invalid frequency value[0x0000-0xFFFF]:" + frequency); in ofAnalogue()
593 "Invalid frequency value[0x0000-0xFFFF]:" + frequency); in ofAnalogue()
603 return new AnalogueServiceSource(broadcastType, frequency, broadcastSystem); in ofAnalogue()
630 private AnalogueServiceSource(int broadcastType, int frequency, int broadcastSystem) { in AnalogueServiceSource() argument
633 mFrequency = frequency; in AnalogueServiceSource()
/frameworks/base/core/java/android/text/
DPrecomputedText.java146 public Builder setHyphenationFrequency(@Layout.HyphenationFrequency int frequency) { in setHyphenationFrequency() argument
147 mHyphenationFrequency = frequency; in setHyphenationFrequency()
179 @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) { in Params() argument
183 mHyphenationFrequency = frequency; in Params()
225 @Layout.HyphenationFrequency int frequency) { in isSameTextMetricsInternal() argument
228 && mHyphenationFrequency == frequency in isSameTextMetricsInternal()
439 @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) { in canUseMeasuredResult() argument
443 && mParams.isSameTextMetricsInternal(paint, textDir, strategy, frequency); in canUseMeasuredResult()
/frameworks/rs/perf-test-scripts/
Dget-freq38 frequency=
64 frequency=`getprop $CPU_DIR/$core/cpufreq/scaling_cur_freq`
66 echo " Current Frequency: $frequency (Hz)"
Dset-cpu-freq103 frequency=`getprop $DIR/$core/cpufreq/scaling_cur_freq`
104 if [ $frequency != ${selectedFreq[$core]} ]; then
105 echo "$core: $frequency != ${selectedFreq[$core]}"
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DNativeScanResultTest.java63 scanResult.frequency = TEST_FREQUENCY; in canSerializeAndDeserialize()
80 assertEquals(scanResult.frequency, scanResultDeserialized.frequency); in canSerializeAndDeserialize()
DSingleScanSettingsTest.java52 channelSettings1.frequency = TEST_FREQUENCY_1; in canSerializeAndDeserialize()
54 channelSettings2.frequency = TEST_FREQUENCY_2; in canSerializeAndDeserialize()
/frameworks/base/core/proto/android/os/
Dcpufreq.proto24 // cpu frequency time from /sys/devices/system/cpu/cpufreq/all_time_in_state
30 // frequency time pre cpu, unit in jiffy.
39 optional int32 state_khz = 1; // cpu frequency
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java43 String caps, int level, int frequency, long tsf, in ScanDetail() argument
48 caps, level, frequency, tsf); in ScanDetail()
64 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, in ScanDetail() argument
67 mScanResult = new ScanResult(wifiSsid, bssid, 0L, -1, null, caps, level, frequency, tsf); in ScanDetail()
DVelocityBasedConnectedScore.java103 int frequency = wifiInfo.getFrequency(); in updateUsingWifiInfo() local
104 if (frequency != mFrequency) { in updateUsingWifiInfo()
108 mFrequency = frequency; in updateUsingWifiInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java120 if (result.frequency >= AccessPoint.LOWER_FREQ_5GHZ in getVisibilityStatus()
121 && result.frequency <= AccessPoint.HIGHER_FREQ_5GHZ) { in getVisibilityStatus()
133 } else if (result.frequency >= AccessPoint.LOWER_FREQ_24GHZ in getVisibilityStatus()
134 && result.frequency <= AccessPoint.HIGHER_FREQ_24GHZ) { in getVisibilityStatus()
180 stringBuilder.append("=").append(result.frequency); in verboseScanResultSummary()

12345