Searched refs:freq (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_reorder.cpp131 int32 freq; local
153 for (freq = 0; freq < 3*sfb_lines; freq += 3)
159 Scratch_mem[freq ] = tmp1;
160 Scratch_mem[freq+1] = tmp2;
161 Scratch_mem[freq+2] = tmp3;
174 for (freq = 0; freq < 3*sfb_lines; freq
[all...]
/frameworks/base/libs/hwui/tests/scripts/
H A 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/
H A Dset-gpu-freq66 freq=`printf "%d\n" "${frequencies[@]}" | awk -v closest=${frequencies[0]} -v target=$targetFreq 'BEGIN{diff=$0-target;if(diff<0)diff=-diff;lowest=diff};{diff=$0-target;if(diff<0)diff=-diff;if(diff<lowest){lowest=diff;closest=$0}};END{print closest}'`
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"
H A Dset-cpu-freq82 freq=`printf "%d\n" "${frequencies[@]}" | awk -v c=${frequencies[0]} -v t=$targetFreq 'BEGIN{d=$0-t;if(d<0)d=-d;l=d}{d=$0-t;if(d<0)d=-d;if(d<l){l=d;c=$0}}END{print c}'`
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"
H A Dget-freq94 freq=`getprop $GPU_DIR/max_gpuclk`
96 freq=`getprop /d/clock/override.gbus/rate`
101 echo " Current Frequency: $freq (Hz)"
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DEnergyProbe.java56 public int capture(int freq) throws InterruptedException { argument
60 if (freq > mMaxFrequency) {
69 if (freq == mMaxFrequency) {
72 int bin = 2 * (freq * CAPTURE_SIZE / mMaxFrequency / 2);
/frameworks/av/include/common_time/
H A Dcc_helper.h52 status_t getCommonFreq(uint64_t* freq);
54 status_t getLocalFreq(uint64_t* freq);
H A DICommonClock.h78 virtual status_t getCommonFreq(uint64_t* freq) = 0;
80 virtual status_t getLocalFreq(uint64_t* freq) = 0;
/frameworks/av/media/common_time/
H A Dcc_helper.cpp122 CCHELPER_METHOD(getCommonFreq(uint64_t* freq),
123 getCommonFreq(freq))
126 CCHELPER_METHOD(getLocalFreq(uint64_t* freq),
127 getLocalFreq(freq))
H A DICommonClock.cpp115 virtual status_t getCommonFreq(uint64_t* freq) { argument
122 *freq = reply.readInt64();
141 virtual status_t getLocalFreq(uint64_t* freq) { argument
148 *freq = reply.readInt64();
292 uint64_t freq; local
293 status_t status = getCommonFreq(&freq);
296 reply->writeInt64(freq);
314 uint64_t freq; local
315 status_t status = getLocalFreq(&freq);
318 reply->writeInt64(freq);
[all...]
/frameworks/base/libs/common_time/
H A Dcommon_clock_service.cpp60 status_t CommonClockService::getCommonFreq(uint64_t* freq) { argument
61 *freq = mTimeServer.getCommonClock().getCommonFreq();
70 status_t CommonClockService::getLocalFreq(uint64_t* freq) { argument
71 *freq = mTimeServer.getLocalClock().getLocalFreq();
H A Dcommon_clock_service.h40 virtual status_t getCommonFreq(uint64_t* freq);
42 virtual status_t getLocalFreq(uint64_t* freq);
/frameworks/wilhelm/src/desktop/
H A DSDL.cpp48 fmt.freq = 44100;
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java198 int freq = r.freq;
200 if (EventRecurrence.MONTHLY >= freq) {
210 if (EventRecurrence.WEEKLY >= freq) {
222 if (EventRecurrence.DAILY >= freq) {
255 if (EventRecurrence.HOURLY >= freq) {
264 if (EventRecurrence.MINUTELY >= freq) {
273 if (EventRecurrence.SECONDLY >= freq) {
286 if (freq == EventRecurrence.MONTHLY && r.bydayCount > 0) {
398 int generateByList(int count, int freq, in argument
411 useBYX(int freq, int freqConstant, int count) argument
[all...]
H A DEventRecurrence.java51 public int freq; // SECONDLY, MINUTELY, etc. field in class:EventRecurrence
326 switch (this.freq)
397 if (this.freq != WEEKLY) {
430 if (this.freq != MONTHLY) {
480 freq == er.freq &&
515 freq = count = interval = bysecondCount = byminuteCount = byhourCount =
530 * recur = "FREQ"=freq *(
590 /* TODO: replace with "if (freq != 0) throw" if nothing requires this */
727 Integer freq
[all...]
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp80 const float freq = 1 / dT; local
81 if (freq >= 100 && freq<1000) { // filter values obviously wrong
83 mEstimatedGyroRate = freq + (mEstimatedGyroRate - freq)*alpha;
/frameworks/base/media/tests/audiotests/
H A Dshared_mem_test.cpp81 long freq = 1237; local
84 f0 = pow(2., 32.) * freq / (float)rate;
/frameworks/av/media/libaudioprocessing/tests/
H A 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);
193 createSine(void *vbuffer, size_t frames, size_t channels, double sampleRate, double freq) argument
263 setSine(size_t channels, double freq, double sampleRate, double time) argument
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.h39 uint32_t freq; member in struct:android::AudioEqualizer::BandConfig
H A DAudioEqualizer.cpp210 setFrequency(band, bandCfg.freq);
266 uint32_t freq = mpPeakingFilters[i].getFrequency(); local
267 if (freq >= targetFreq) {
268 high = freq;
272 low = freq;
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java361 * TODO: makes real freq boundaries
363 public static boolean is24GHz(int freq) { argument
364 return freq > 2400 && freq < 2500;
376 * TODO: makes real freq boundaries
378 public static boolean is5GHz(int freq) { argument
379 return freq > 4900 && freq < 5900;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEqualizerTest.java173 int freq = mEqualizer.getCenterFreq(band);
175 (freqRange[0] <= freq) && (freqRange[1] >= freq));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DScanResults.java106 int freq = freqs[i];
118 NetworkDetail nd = new NetworkDetail(bssid, ie, anqpLines, freq);
120 bssid, "", rssi, freq,
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java39 /* int freq */ EventRecurrence.SECONDLY,
60 /* int freq */ EventRecurrence.MINUTELY,
81 /* int freq */ EventRecurrence.HOURLY,
102 /* int freq */ EventRecurrence.DAILY,
123 /* int freq */ EventRecurrence.WEEKLY,
144 /* int freq */ EventRecurrence.MONTHLY,
165 /* int freq */ EventRecurrence.YEARLY,
187 /* int freq */ EventRecurrence.DAILY,
209 /* int freq */ EventRecurrence.DAILY,
231 /* int freq */ EventRecurrenc
718 verifyRecurType(String recur, int freq, String until, int count, int interval, int[] bysecond, int[] byminute, int[] byhour, int[] byday, int[] bydayNum, int[] bymonthday, int[] byyearday, int[] byweekno, int[] bymonth, int[] bysetpos, int wkst) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkHistory.java333 int freq = 0;
487 freq = 0;
496 freq = Integer.parseInt(value);
515 caps, rssi, freq, (long) 0, seen);

Completed in 834 milliseconds

12