Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_reorder.cpp131 int32 freq; in pvmp3_reorder() local
153 for (freq = 0; freq < 3*sfb_lines; freq += 3) in pvmp3_reorder()
159 Scratch_mem[freq ] = tmp1; in pvmp3_reorder()
160 Scratch_mem[freq+1] = tmp2; in pvmp3_reorder()
161 Scratch_mem[freq+2] = tmp3; in pvmp3_reorder()
174 for (freq = 0; freq < 3*sfb_lines; freq += 3) in pvmp3_reorder()
180 Scratch_mem[freq ] = tmp1; in pvmp3_reorder()
181 Scratch_mem[freq+1] = tmp2; in pvmp3_reorder()
182 Scratch_mem[freq+2] = tmp3; in pvmp3_reorder()
/frameworks/base/libs/hwui/tests/scripts/
Dprep_generic.sh112 for freq in ${cpuAvailFreq}; do
113 freqMhz=`expr ${freq} \/ 1000`
115 chosenFreq=${freq}
122 freq=${CPU_BASE}/cpu$cpu/cpufreq
126 echo ${chosenFreq} > ${freq}/scaling_max_freq
127 echo ${chosenFreq} > ${freq}/scaling_min_freq
128 echo ${chosenFreq} > ${freq}/scaling_setspeed
131 obsCur=`cat ${freq}/scaling_cur_freq`
132 obsMin=`cat ${freq}/scaling_min_freq`
133 obsMax=`cat ${freq}/scaling_max_freq`
[all …]
Dprep_buller.sh48 freq=0
52 freq=300000000
55 freq=305000000
57 echo "performance mode, $freq Hz"
59 adb shell "echo $freq > /sys/class/kgsl/kgsl-3d0/devfreq/min_freq"
60 adb shell "echo $freq > /sys/class/kgsl/kgsl-3d0/devfreq/max_freq"
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DUtils.java33 static FrequencyBand getBand(int freq) { in getBand() argument
35 if (freq < 30) return FrequencyBand.UNKNOWN; in getBand()
36 if (freq < 500) return FrequencyBand.AM_LW; in getBand()
37 if (freq < 1705) return FrequencyBand.AM_MW; in getBand()
38 if (freq < 30000) return FrequencyBand.AM_SW; in getBand()
39 if (freq < 60000) return FrequencyBand.UNKNOWN; in getBand()
40 if (freq < 110000) return FrequencyBand.FM; in getBand()
/frameworks/rs/perf-test-scripts/
Dset-gpu-freq66 freq=`printf "%d\n" "${frequencies[@]}" | awk -v closest=${frequencies[0]} -v target=$targetFreq 'B…
67 echo Selected: $freq
83 setprop $DIR/max_gpuclk $freq
84 setprop $DIR/gpuclk $freq
86 setprop /d/clock/override.gbus/rate $freq
89 echo "GPU Frequency set to $freq"
Dset-cpu-freq82freq=`printf "%d\n" "${frequencies[@]}" | awk -v c=${frequencies[0]} -v t=$targetFreq 'BEGIN{d=$0-…
83 selectedFreq[$core]=$freq
86 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_min_freq"
87 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_max_freq"
141 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_min_freq"
142 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_max_freq"
Dget-freq94 freq=`getprop $GPU_DIR/max_gpuclk`
96 freq=`getprop /d/clock/override.gbus/rate`
101 echo " Current Frequency: $freq (Hz)"
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java198 int freq = r.freq; in filter() local
200 if (EventRecurrence.MONTHLY >= freq) { in filter()
210 if (EventRecurrence.WEEKLY >= freq) { in filter()
222 if (EventRecurrence.DAILY >= freq) { in filter()
255 if (EventRecurrence.HOURLY >= freq) { in filter()
264 if (EventRecurrence.MINUTELY >= freq) { in filter()
273 if (EventRecurrence.SECONDLY >= freq) { in filter()
286 if (freq == EventRecurrence.MONTHLY && r.bydayCount > 0) { in filter()
398 int generateByList(int count, int freq, int byFreq) in generateByList() argument
400 if (byFreq >= freq) { in generateByList()
[all …]
DEventRecurrence.java51 public int freq; // SECONDLY, MINUTELY, etc. field in EventRecurrence
326 switch (this.freq) in toString()
397 if (this.freq != WEEKLY) { in repeatsOnEveryWeekDay()
430 if (this.freq != MONTHLY) { in repeatsMonthlyOnDayCount()
480 freq == er.freq && in equals()
515 freq = count = interval = bysecondCount = byminuteCount = byhourCount = in resetFields()
727 Integer freq = sParseFreqMap.get(value); in parsePart() local
728 if (freq == null) { in parsePart()
731 er.freq = freq; in parsePart()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DCpuFrequencies.java67 final long freq = Long.parseLong(coreAndFreq[1]); in parseString() local
69 mCoreAndFrequencies.put(core, freq); in parseString()
96 final long freq = mCoreAndFrequencies.valueAt(i); in addToSysFileMap() local
101 map.put(file, Long.toString(freq)); in addToSysFileMap()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DEnergyProbe.java56 public int capture(int freq) throws InterruptedException { in capture() argument
60 if (freq > mMaxFrequency) { in capture()
69 if (freq == mMaxFrequency) { in capture()
72 int bin = 2 * (freq * CAPTURE_SIZE / mMaxFrequency / 2); in capture()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp80 const float freq = 1 / dT; in process() local
81 if (freq >= 100 && freq<1000) { // filter values obviously wrong in process()
83 mEstimatedGyroRate = freq + (mEstimatedGyroRate - freq)*alpha; in process()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DCpuProfile.java134 final Frequency freq = cluster.frequencies[j] = new Frequency(); in build() local
135 freq.speedHz = speeds[j]; in build()
136 freq.onMa = power[j]; in build()
/frameworks/av/media/libeffects/testlibs/
DAudioEqualizer.cpp210 setFrequency(band, bandCfg.freq); in setPreset()
266 uint32_t freq = mpPeakingFilters[i].getFrequency(); in getMostRelevantBand() local
267 if (freq >= targetFreq) { in getMostRelevantBand()
268 high = freq; in getMostRelevantBand()
272 low = freq; in getMostRelevantBand()
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp116 bool validFreq(int freq) { return freq > MIN_FREQ && freq < MAX_FREQ; } in validFreq() argument
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h195 size_t channels, double sampleRate, double freq)
201 double y = sin(2. * M_PI * freq * t);
265 double freq, double sampleRate, double time)
268 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java588 int freq = 0; in p2pGroupAdd() local
591 freq = 2; in p2pGroupAdd()
594 freq = 5; in p2pGroupAdd()
598 freq = config.groupOwnerBand; in p2pGroupAdd()
604 freq, config.deviceAddress, join); in p2pGroupAdd()
/frameworks/base/cmds/incident_helper/src/parsers/
DCpuFreqParser.cpp53 int freq = toInt(record[0]); in Parse() local
58 cpucores[i].push_back(make_pair(freq, toLongLong(record[i+1]))); in Parse()
/frameworks/base/media/tests/audiotests/
Dshared_mem_test.cpp81 long freq = 1237; in Test01() local
84 f0 = pow(2., 32.) * freq / (float)rate; in Test01()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java106 int freq = freqs[i]; in generateNativeResults() local
118 NetworkDetail nd = new NetworkDetail(bssid, ie, anqpLines, freq); in generateNativeResults()
120 bssid, "", rssi, freq, in generateNativeResults()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java413 public static boolean is24GHz(int freq) { in is24GHz() argument
414 return freq > 2400 && freq < 2500; in is24GHz()
428 public static boolean is5GHz(int freq) { in is5GHz() argument
429 return freq > 4900 && freq < 5900; in is5GHz()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEqualizerTest.java173 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency() local
175 (freqRange[0] <= freq) && (freqRange[1] >= freq)); in test1_1BandFrequency()
/frameworks/base/cmds/incident_helper/testdata/
Dcpufreq.txt1 freq cpu0 cpu1 cpu2 cpu3
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DEventRecurrenceTest.java719 int freq, String until, int count, int interval, in verifyRecurType() argument
726 if (eventRecurrence.freq != freq in verifyRecurType()
735 System.out.println(" freq=" + freq); in verifyRecurType()
767 System.out.println(" freq=" + er.freq); in print()
/frameworks/wilhelm/src/desktop/
DSDL.cpp48 fmt.freq = 44100; in SDL_open()

12