Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 25 of 39) 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/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/base/libs/hwui/tests/scripts/
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/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/av/media/common_time/
Dcc_helper.cpp122 CCHELPER_METHOD(getCommonFreq(uint64_t* freq),
123 getCommonFreq(freq))
126 CCHELPER_METHOD(getLocalFreq(uint64_t* freq),
127 getLocalFreq(freq))
DICommonClock.cpp115 virtual status_t getCommonFreq(uint64_t* freq) { in getCommonFreq() argument
122 *freq = reply.readInt64(); in getCommonFreq()
141 virtual status_t getLocalFreq(uint64_t* freq) { in getLocalFreq() argument
148 *freq = reply.readInt64(); in getLocalFreq()
292 uint64_t freq; in onTransact() local
293 status_t status = getCommonFreq(&freq); in onTransact()
296 reply->writeInt64(freq); in onTransact()
314 uint64_t freq; in onTransact() local
315 status_t status = getLocalFreq(&freq); in onTransact()
318 reply->writeInt64(freq); in onTransact()
/frameworks/base/libs/common_time/
Dcommon_clock_service.cpp60 status_t CommonClockService::getCommonFreq(uint64_t* freq) { in getCommonFreq() argument
61 *freq = mTimeServer.getCommonClock().getCommonFreq(); in getCommonFreq()
70 status_t CommonClockService::getLocalFreq(uint64_t* freq) { in getLocalFreq() argument
71 *freq = mTimeServer.getLocalClock().getLocalFreq(); in getLocalFreq()
Dcommon_clock_service.h40 virtual status_t getCommonFreq(uint64_t* freq);
42 virtual status_t getLocalFreq(uint64_t* freq);
/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/av/include/common_time/
Dcc_helper.h52 status_t getCommonFreq(uint64_t* freq);
54 status_t getLocalFreq(uint64_t* freq);
DICommonClock.h78 virtual status_t getCommonFreq(uint64_t* freq) = 0;
80 virtual status_t getLocalFreq(uint64_t* freq) = 0;
/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/
Dtest_utils.h194 size_t channels, double sampleRate, double freq)
200 double y = sin(2. * M_PI * freq * t);
264 double freq, double sampleRate, double time)
267 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq);
/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/base/wifi/java/android/net/wifi/
DScanResult.java371 public static boolean is24GHz(int freq) { in is24GHz() argument
372 return freq > 2400 && freq < 2500; in is24GHz()
386 public static boolean is5GHz(int freq) { in is5GHz() argument
387 return freq > 4900 && freq < 5900; in is5GHz()
/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/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

12