Home
last modified time | relevance | path

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

1234

/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/base/wifi/java/src/android/net/wifi/nl80211/
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.java56 public int frequency; field in NativeScanResult
112 return frequency; in getFrequencyMhz()
280 out.writeInt(frequency); in writeToParcel()
306 result.frequency = in.readInt();
/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/base/media/java/android/media/tv/tuner/frontend/
DAtscFrontendSettings.java64 private AtscFrontendSettings(int frequency, int modulation) { in AtscFrontendSettings() argument
65 super(frequency); in AtscFrontendSettings()
102 public Builder setFrequency(int frequency) { in setFrequency() argument
103 mFrequency = frequency; in setFrequency()
DIsdbtFrontendSettings.java135 private IsdbtFrontendSettings(int frequency, int modulation, int bandwidth, int mode, in IsdbtFrontendSettings() argument
137 super(frequency); in IsdbtFrontendSettings()
218 public Builder setFrequency(int frequency) { in setFrequency() argument
219 mFrequency = frequency; in setFrequency()
DIsdbsFrontendSettings.java143 private IsdbsFrontendSettings(int frequency, int streamId, int streamIdType, int modulation, in IsdbsFrontendSettings() argument
145 super(frequency); in IsdbsFrontendSettings()
225 public Builder setFrequency(int frequency) { in setFrequency() argument
226 mFrequency = frequency; in setFrequency()
DIsdbs3FrontendSettings.java159 private Isdbs3FrontendSettings(int frequency, int streamId, int streamIdType, int modulation, in Isdbs3FrontendSettings() argument
161 super(frequency); in Isdbs3FrontendSettings()
241 public Builder setFrequency(int frequency) { in setFrequency() argument
242 mFrequency = frequency; in setFrequency()
DAnalogFrontendSettings.java233 private AnalogFrontendSettings(int frequency, int signalType, int sifStandard, int aftFlag) { in AnalogFrontendSettings() argument
234 super(frequency); in AnalogFrontendSettings()
258 public Builder setFrequency(int frequency) { in setFrequency() argument
259 mFrequency = frequency; in setFrequency()
DAtsc3FrontendSettings.java281 private Atsc3FrontendSettings(int frequency, int bandwidth, int demodOutputFormat, in Atsc3FrontendSettings() argument
283 super(frequency); in Atsc3FrontendSettings()
339 public Builder setFrequency(int frequency) { in setFrequency() argument
340 mFrequency = frequency; in setFrequency()
/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/base/services/core/java/com/android/server/vibrator/
DClippingAmplitudeAndFrequencyAdapter.java73 private float clampFrequency(VibratorInfo info, float frequency) { in clampFrequency() argument
74 return info.getFrequencyRange().clamp(frequency); in clampFrequency()
77 private float clampAmplitude(VibratorInfo info, float frequency, float amplitude) { in clampAmplitude() argument
78 return MathUtils.min(amplitude, info.getMaxAmplitude(frequency)); in clampAmplitude()
DRampDownAdapter.java187 private List<VibrationEffectSegment> createStepsDown(float amplitude, float frequency, in createStepsDown() argument
194 steps.add(new StepSegment(amplitude - i * amplitudeStep, frequency, mStepDuration)); in createStepsDown()
197 steps.add(new StepSegment(0, frequency, remainingDuration)); in createStepsDown()
201 private static RampSegment createRampDown(float amplitude, float frequency, long duration) { in createRampDown() argument
202 return new RampSegment(amplitude, /* endAmplitude= */ 0, frequency, frequency, in createRampDown()
/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/native/cmds/idlcli/vibrator/
DCommandGetBandwidthAmplitudeMap.cpp71 float frequency = frequencyMinimumHz; in doMain() local
73 std::cout << frequency << ":" << e << std::endl; in doMain()
74 frequency += frequencyResolutionHz; in doMain()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java148 if (result.frequency >= AccessPoint.LOWER_FREQ_5GHZ in getVisibilityStatus()
149 && result.frequency <= AccessPoint.HIGHER_FREQ_5GHZ) { in getVisibilityStatus()
161 } else if (result.frequency >= AccessPoint.LOWER_FREQ_24GHZ in getVisibilityStatus()
162 && result.frequency <= AccessPoint.HIGHER_FREQ_24GHZ) { in getVisibilityStatus()
174 } else if (result.frequency >= AccessPoint.LOWER_FREQ_60GHZ in getVisibilityStatus()
175 && result.frequency <= AccessPoint.HIGHER_FREQ_60GHZ) { in getVisibilityStatus()
229 stringBuilder.append("=").append(result.frequency); in verboseScanResultSummary()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DNativeScanResultTest.java63 scanResult.frequency = TEST_FREQUENCY; in canSerializeAndDeserialize()
80 assertEquals(scanResult.frequency, scanResultDeserialized.frequency); in canSerializeAndDeserialize()
/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/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/base/telephony/java/android/telephony/
DAccessNetworkUtils.java720 int frequency = 0; in getFrequencyFromArfcn() local
729 frequency = convertArfcnToFrequency(arfcn, uplinkFrequencyFirst, in getFrequencyFromArfcn()
740 return isUplink ? frequency : frequency + downlinkOffset; in getFrequencyFromArfcn()
755 public static int getFrequencyRangeFromArfcn(int frequency) { in getFrequencyRangeFromArfcn() argument
756 if (frequency < FREQUENCY_RANGE_LOW_KHZ) { in getFrequencyRangeFromArfcn()
758 } else if (frequency < FREQUENCY_RANGE_MID_KHZ in getFrequencyRangeFromArfcn()
759 && frequency >= FREQUENCY_RANGE_LOW_KHZ) { in getFrequencyRangeFromArfcn()
761 } else if (frequency < FREQUENCY_RANGE_HIGH_KHZ in getFrequencyRangeFromArfcn()
762 && frequency >= FREQUENCY_RANGE_MID_KHZ) { in getFrequencyRangeFromArfcn()
/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()
/frameworks/av/services/tuner/
DTunerFrontend.cpp890 .frequency = static_cast<uint32_t>(analog.frequency), in getHidlFrontendSettings()
899 .frequency = static_cast<uint32_t>(atsc.frequency), in getHidlFrontendSettings()
907 .frequency = static_cast<uint32_t>(atsc3.frequency), in getHidlFrontendSettings()
918 .frequency = static_cast<uint32_t>(dvbc.frequency), in getHidlFrontendSettings()
932 .frequency = static_cast<uint32_t>(dvbs.frequency), in getHidlFrontendSettings()
947 .frequency = static_cast<uint32_t>(dvbt.frequency), in getHidlFrontendSettings()
968 .frequency = static_cast<uint32_t>(isdbs.frequency), in getHidlFrontendSettings()
981 .frequency = static_cast<uint32_t>(isdbs3.frequency), in getHidlFrontendSettings()
994 .frequency = static_cast<uint32_t>(isdbt.frequency), in getHidlFrontendSettings()
1076 .frequency = static_cast<uint32_t>(dtmb.frequency), in getHidlFrontendSettingsExt()
/frameworks/base/media/jni/tuner/
DFrontendClient.cpp846 .frequency = (int)settings.analog().frequency, in getAidlAnalogSettings()
863 .frequency = (int)settings.dvbs().frequency, in getAidlDvbsSettings()
892 .frequency = (int)settings.dvbc().frequency, in getAidlCableSettings()
914 .frequency = (int)settings.dvbt().frequency, in getAidlDvbtSettings()
944 .frequency = (int)settingsExt1_1.settingExt.dtmb().frequency, in getAidlDtmbSettings()
957 .frequency = (int)settings.atsc().frequency, in getAidlAtscSettings()
965 .frequency = (int)settings.atsc3().frequency, in getAidlAtsc3Settings()
984 .frequency = (int)settings.isdbs().frequency, in getAidlIsdbsSettings()
998 .frequency = (int)settings.isdbs3().frequency, in getAidlIsdbs3Settings()
1011 .frequency = (int)settings.isdbt().frequency, in getAidlIsdbtSettings()

1234