Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 25 of 83) 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/base/media/java/android/media/tv/tuner/frontend/
DAtscFrontendSettings.java63 private AtscFrontendSettings(long frequency, int modulation) { in AtscFrontendSettings() argument
64 super(frequency); in AtscFrontendSettings()
103 public Builder setFrequency(int frequency) { in setFrequency() argument
104 return setFrequencyLong((long) frequency); in setFrequency()
114 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
115 mFrequency = frequency; in setFrequencyLong()
DIsdbsFrontendSettings.java144 private IsdbsFrontendSettings(long frequency, int streamId, int streamIdType, int modulation, in IsdbsFrontendSettings() argument
146 super(frequency); in IsdbsFrontendSettings()
228 public Builder setFrequency(int frequency) { in setFrequency() argument
229 return setFrequencyLong((long) frequency); in setFrequency()
239 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
240 mFrequency = frequency; in setFrequencyLong()
DAnalogFrontendSettings.java230 private AnalogFrontendSettings(long frequency, int signalType, int sifStandard, int aftFlag) { in AnalogFrontendSettings() argument
231 super(frequency); in AnalogFrontendSettings()
257 public Builder setFrequency(int frequency) { in setFrequency() argument
258 return setFrequencyLong((long) frequency); in setFrequency()
268 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
269 mFrequency = frequency; in setFrequencyLong()
DIsdbs3FrontendSettings.java159 private Isdbs3FrontendSettings(long frequency, int streamId, int streamIdType, int modulation, in Isdbs3FrontendSettings() argument
161 super(frequency); in Isdbs3FrontendSettings()
243 public Builder setFrequency(int frequency) { in setFrequency() argument
244 return setFrequencyLong((long) frequency); in setFrequency()
254 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
255 mFrequency = frequency; in setFrequencyLong()
DAtsc3FrontendSettings.java274 long frequency, int bandwidth, int demodOutputFormat, Atsc3PlpSettings[] plpSettings) { in Atsc3FrontendSettings() argument
275 super(frequency); in Atsc3FrontendSettings()
333 public Builder setFrequency(int frequency) { in setFrequency() argument
334 return setFrequencyLong((long) frequency); in setFrequency()
344 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
345 mFrequency = frequency; in setFrequencyLong()
DDtmbFrontendSettings.java244 private DtmbFrontendSettings(long frequency, int modulation, int codeRate, int transmissionMode, in DtmbFrontendSettings() argument
246 super(frequency); in DtmbFrontendSettings()
335 public Builder setFrequency(int frequency) { in setFrequency() argument
336 return setFrequencyLong((long) frequency); in setFrequency()
347 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
348 mFrequency = frequency; in setFrequencyLong()
DDvbcFrontendSettings.java265 private DvbcFrontendSettings(long frequency, int modulation, long innerFec, int symbolRate, in DvbcFrontendSettings() argument
267 super(frequency); in DvbcFrontendSettings()
368 public Builder setFrequency(int frequency) { in setFrequency() argument
369 return setFrequencyLong((long) frequency); in setFrequency()
379 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
380 mFrequency = frequency; in setFrequencyLong()
DDvbsFrontendSettings.java263 private DvbsFrontendSettings(long frequency, int modulation, DvbsCodeRate codeRate, in DvbsFrontendSettings() argument
266 super(frequency); in DvbsFrontendSettings()
387 public Builder setFrequency(int frequency) { in setFrequency() argument
388 return setFrequencyLong((long) frequency); in setFrequency()
398 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
399 mFrequency = frequency; in setFrequencyLong()
DIsdbtFrontendSettings.java240 private IsdbtFrontendSettings(long frequency, int bandwidth, int mode, int guardInterval, in IsdbtFrontendSettings() argument
242 super(frequency); in IsdbtFrontendSettings()
372 public Builder setFrequency(int frequency) { in setFrequency() argument
373 return setFrequencyLong((long) frequency); in setFrequency()
383 public Builder setFrequencyLong(long frequency) { in setFrequencyLong() argument
384 mFrequency = frequency; in setFrequencyLong()
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DFps.h43 static constexpr Fps fromValue(float frequency) { in fromValue() argument
44 return frequency > 0.f ? Fps(frequency, static_cast<nsecs_t>(1e9f / frequency)) : Fps(); in fromValue()
60 constexpr Fps(float frequency, nsecs_t period) : mFrequency(frequency), mPeriod(period) {} in Fps() argument
99 constexpr Fps operator""_Hz(unsigned long long frequency) {
100 return Fps::fromValue(static_cast<float>(frequency));
103 constexpr Fps operator""_Hz(long double frequency) {
104 return Fps::fromValue(static_cast<float>(frequency));
/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, useBoundsForWidth); in breakIntoLines()
32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency, justified, in breakIntoLines()
/frameworks/base/services/core/java/com/android/server/vibrator/
DRampDownAdapter.java193 private List<VibrationEffectSegment> createStepsDown(float amplitude, float frequency, in createStepsDown() argument
200 steps.add(new StepSegment(amplitude - i * amplitudeStep, frequency, mStepDuration)); in createStepsDown()
203 steps.add(new StepSegment(0, frequency, remainingDuration)); in createStepsDown()
207 private static RampSegment createRampDown(float amplitude, float frequency, long duration) { in createRampDown() argument
208 return new RampSegment(amplitude, /* endAmplitude= */ 0, frequency, frequency, in createRampDown()
/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h76 StaticLayoutNative(BreakStrategy strategy, HyphenationFrequency frequency, bool isJustified, in StaticLayoutNative() argument
79 mFrequency(frequency), in StaticLayoutNative()
84 StaticLayoutNative(BreakStrategy strategy, HyphenationFrequency frequency, bool isJustified, in StaticLayoutNative() argument
86 : StaticLayoutNative(strategy, frequency, isJustified, std::move(indents), in StaticLayoutNative()
/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/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/proto_logging/stats/atoms/cpu/
Dcpu_atoms.proto32 * Logs information related to CPU policies such as frequency limits.
38 // The current maximum frequency.
41 // The normal maximum frequency.
/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/core/java/android/text/
DPrecomputedText.java169 public Builder setHyphenationFrequency(@Layout.HyphenationFrequency int frequency) { in setHyphenationFrequency() argument
170 mHyphenationFrequency = frequency; in setHyphenationFrequency()
218 @Layout.HyphenationFrequency int frequency) { in Params() argument
222 mHyphenationFrequency = frequency; in Params()
301 @Layout.HyphenationFrequency int frequency, @NonNull LineBreakConfig lbConfig) { in checkResultUsable() argument
302 if (mBreakStrategy == strategy && mHyphenationFrequency == frequency in checkResultUsable()
443 private static boolean isFastHyphenation(int frequency) { in isFastHyphenation() argument
444 return frequency == Layout.HYPHENATION_FREQUENCY_FULL_FAST in isFastHyphenation()
445 || frequency == Layout.HYPHENATION_FREQUENCY_NORMAL_FAST; in isFastHyphenation()
617 @Layout.HyphenationFrequency int frequency, @NonNull LineBreakConfig lbConfig) { in checkResultUsable() argument
[all …]

1234