Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 25 of 112) 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.java160 public final int frequency; field in ResponderConfig
202 boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, in ResponderConfig() argument
213 this.frequency = frequency; in ResponderConfig()
241 boolean supports80211mc, @ChannelWidth int channelWidth, int frequency, int centerFreq0, in ResponderConfig() argument
248 this.frequency = frequency; in ResponderConfig()
280 @ChannelWidth int channelWidth, int frequency, int centerFreq0, int centerFreq1, in ResponderConfig() argument
287 this.frequency = frequency; in ResponderConfig()
302 int frequency = scanResult.frequency; in fromScanResult() local
334 frequency, centerFreq0, centerFreq1, preamble); in fromScanResult()
404 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.java206 public int frequency; field in ScanResult
406 return ScanResult.is24GHz(frequency); in is24GHz()
421 return ScanResult.is5GHz(frequency); in is5GHz()
563 byte[] osuProviders, String caps, int level, int frequency, long tsf) { in ScanResult() argument
577 this.frequency = frequency; in ScanResult()
592 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
599 this.frequency = frequency; in ScanResult()
615 int level, int frequency, in ScanResult() argument
624 this.frequency = frequency; in ScanResult()
645 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()
DIEqualizer.cpp289 static SLresult IEqualizer_GetBand(SLEqualizerItf self, SLmilliHertz frequency, SLuint16 *pBand) in IEqualizer_GetBand() argument
303 float floatFreq = (float) frequency; in IEqualizer_GetBand()
307 if (!(band->mMin <= frequency && frequency <= band->mMax)) in IEqualizer_GetBand()
311 float ratio = frequency <= band->mCenter ? in IEqualizer_GetBand()
327 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_GET_BAND, frequency, &band); in IEqualizer_GetBand()
/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()
409 HyphenationFrequency frequency, bool justified) { in breakLineOptimal() argument
414 populateCandidates(textBuf, measured, lineWidth, frequency, justified); in breakLineOptimal()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DRttManagerTest.java70 && params1.frequency == params2.frequency; in rttParamsEquals()
81 params.frequency = 5240; in testRttParamsReadWriteParcel()
86 params2.frequency = 5220; in testRttParamsReadWriteParcel()
DScoringParamsTest.java72 private void checkThresholds(int frequency) { in checkThresholds() argument
73 assertTrue(-127 < mScoringParams.getExitRssi(frequency)); in checkThresholds()
74 assertTrue(mScoringParams.getExitRssi(frequency) in checkThresholds()
75 <= mScoringParams.getEntryRssi(frequency)); in checkThresholds()
76 assertTrue(mScoringParams.getEntryRssi(frequency) in checkThresholds()
77 <= mScoringParams.getSufficientRssi(frequency)); in checkThresholds()
78 assertTrue(mScoringParams.getSufficientRssi(frequency) in checkThresholds()
79 <= mScoringParams.getGoodRssi(frequency)); in checkThresholds()
80 assertTrue(mScoringParams.getGoodRssi(frequency) < 0); in checkThresholds()
/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/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.java64 scanResult.frequency = TEST_FREQUENCY; in canSerializeAndDeserialize()
81 assertEquals(scanResult.frequency, scanResultDeserialized.frequency); 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/
DWifiScoreCard.java385 void updateEventStats(Event event, int frequency, int rssi, int linkspeed) { in updateEventStats() argument
386 PerSignal perSignal = lookupSignal(event, frequency); in updateEventStats()
401 PerSignal lookupSignal(Event event, int frequency) { in lookupSignal() argument
403 Pair<Event, Integer> key = new Pair<>(event, frequency); in lookupSignal()
406 ans = new PerSignal(event, frequency); in lookupSignal()
643 public final int frequency; field in WifiScoreCard.PerSignal
647 PerSignal(Event event, int frequency) { in PerSignal() argument
649 this.frequency = frequency; in PerSignal()
668 this.frequency = signal.getFrequency(); in PerSignal()
679 Preconditions.checkArgument(frequency == signal.getFrequency()); in merge()
[all …]
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.java121 if (result.frequency >= AccessPoint.LOWER_FREQ_5GHZ in getVisibilityStatus()
122 && result.frequency <= AccessPoint.HIGHER_FREQ_5GHZ) { in getVisibilityStatus()
134 } else if (result.frequency >= AccessPoint.LOWER_FREQ_24GHZ in getVisibilityStatus()
135 && result.frequency <= AccessPoint.HIGHER_FREQ_24GHZ) { in getVisibilityStatus()
181 stringBuilder.append("=").append(result.frequency); in verboseScanResultSummary()
/frameworks/base/core/java/android/text/
DPrecomputedText.java159 public Builder setHyphenationFrequency(@Layout.HyphenationFrequency int frequency) { in setHyphenationFrequency() argument
160 mHyphenationFrequency = frequency; in setHyphenationFrequency()
192 @Layout.BreakStrategy int strategy, @Layout.HyphenationFrequency int frequency) { in Params() argument
196 mHyphenationFrequency = frequency; in Params()
264 @Layout.HyphenationFrequency int frequency) { in checkResultUsable() argument
265 if (mBreakStrategy == strategy && mHyphenationFrequency == frequency in checkResultUsable()
526 @Layout.HyphenationFrequency int frequency) { in checkResultUsable() argument
530 return mParams.checkResultUsable(paint, textDir, strategy, frequency); in checkResultUsable()

12345