/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | KnownBandsChannelHelper.java | 93 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 …]
|
D | ChannelHelper.java | 130 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()
|
D | ScanScheduleUtil.java | 42 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/ |
D | ResponderConfig.java | 160 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/ |
D | UserDictionary.java | 133 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/ |
D | ApConfigUtil.java | 50 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/ |
D | ChannelSettings.java | 33 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();
|
D | NativeScanResult.java | 36 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/ |
D | ScanResult.java | 206 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/ |
D | IVibra.cpp | 55 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()
|
D | IEqualizer.cpp | 289 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/ |
D | LineBreaker.cpp | 25 HyphenationFrequency frequency, bool justified, in breakIntoLines() argument 30 frequency != HyphenationFrequency::None); in breakIntoLines() 32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency, in breakIntoLines()
|
D | OptimalLineBreaker.cpp | 130 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/ |
D | RttManagerTest.java | 70 && params1.frequency == params2.frequency; in rttParamsEquals() 81 params.frequency = 5240; in testRttParamsReadWriteParcel() 86 params2.frequency = 5220; in testRttParamsReadWriteParcel()
|
D | ScoringParamsTest.java | 72 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/ |
D | HdmiRecordSources.java | 583 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/ |
D | get-freq | 38 frequency= 64 frequency=`getprop $CPU_DIR/$core/cpufreq/scaling_cur_freq` 66 echo " Current Frequency: $frequency (Hz)"
|
D | set-cpu-freq | 103 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/ |
D | NativeScanResultTest.java | 64 scanResult.frequency = TEST_FREQUENCY; in canSerializeAndDeserialize() 81 assertEquals(scanResult.frequency, scanResultDeserialized.frequency); in canSerializeAndDeserialize()
|
/frameworks/base/core/proto/android/os/ |
D | cpufreq.proto | 24 // 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/ |
D | WifiScoreCard.java | 385 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 …]
|
D | ScanDetail.java | 43 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()
|
D | VelocityBasedConnectedScore.java | 103 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/ |
D | WifiUtils.java | 121 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/ |
D | PrecomputedText.java | 159 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()
|