Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/libs/hwui/tests/scripts/
H A Dprep_generic.sh173 for freq in ${cpuAvailFreq}; do
174 freqMhz=$(( ${freq} / 1000 ))
178 chosenFreq=${freq}
219 freq=${CPU_BASE}/cpu$cpu/cpufreq
289 for freq in ${gpuAvailFreq}; do
291 gpuMaxFreq=${freq}
301 for freq in ${gpuAvailFreq}; do
302 freqMhz=$(( ${freq} / 1000000 ))
305 chosenFreq=${freq}
355 for freq in $list; do
[all …]
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"
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DUtils.java38 static FrequencyBand getBand(int freq) { in getBand() argument
40 if (freq < 30) return FrequencyBand.UNKNOWN; in getBand()
41 if (freq < 500) return FrequencyBand.AM_LW; in getBand()
42 if (freq < 1705) return FrequencyBand.AM_MW; in getBand()
43 if (freq < 30000) return FrequencyBand.AM_SW; in getBand()
44 if (freq < 60000) return FrequencyBand.UNKNOWN; in getBand()
45 if (freq < 110000) return FrequencyBand.FM; in getBand()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DModemActivityInfo.java269 @TxPowerLevel int powerLevel, int rat, @FrequencyRange int freq) { in getTransmitDurationMillisAtPowerLevel() argument
272 && mActivityStatsTechSpecificInfo[i].getFrequencyRange() == freq) { in getTransmitDurationMillisAtPowerLevel()
311 public void setTransmitTimeMillis(int rat, int freq, int[] txTimeMs) { in setTransmitTimeMillis() argument
314 && mActivityStatsTechSpecificInfo[i].getFrequencyRange() == freq) { in setTransmitTimeMillis()
343 && mActivityStatsTechSpecificInfo[i].getFrequencyRange() == freq) { in getTransmitTimeMillis()
404 lvl, rat, freq) in getDelta()
406 lvl, rat, freq)); in getDelta()
412 freq, in getDelta()
490 public @DurationMillisLong long getReceiveTimeMillis(int rat, int freq) { in getReceiveTimeMillis() argument
493 && mActivityStatsTechSpecificInfo[i].getFrequencyRange() == freq) { in getReceiveTimeMillis()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A 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()
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
H A DTestUtils.java65 static ProgramSelector makeFmSelector(long freq) { in makeFmSelector() argument
68 freq)); in makeFmSelector()
86 static android.hardware.broadcastradio.V2_0.ProgramSelector makeHalFmSelector(int freq) { in makeHalFmSelector() argument
89 halId.value = freq; in makeHalFmSelector()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DBatteryStatsNoteTest.java1316 for (int freq = 0; freq < frequencyCount; freq++) { in testGetPerStateActiveRadioDurationMs_noModemActivity()
1320 expectedDurationsMs[rat][freq][txLvl] = 0; in testGetPerStateActiveRadioDurationMs_noModemActivity()
1476 for (int freq = 0; freq < frequencyCount; freq++) { in testGetPerStateActiveRadioDurationMs_initialModemActivity()
1480 expectedRxDurationsMs[rat][freq] = 0; in testGetPerStateActiveRadioDurationMs_initialModemActivity()
1615 for (int freq = 0; freq < frequencyCount; freq++) { in testGetPerStateActiveRadioDurationMs_withModemActivity()
1713 for (int freq = 0; freq < frequencyCount; freq++) { in testGetPerStateActiveRadioDurationMs_withModemActivity()
1717 expectedRxDurationsMs[rat][freq] = 0; in testGetPerStateActiveRadioDurationMs_withModemActivity()
1857 for (int freq = 0; freq < frequencyCount; freq++) { in testGetPerStateActiveRadioDurationMs_withSpecificInfoModemActivity()
1992 for (int freq = 0; freq < frequencyCount; freq++) { in testGetPerStateActiveRadioDurationMs_withSpecificInfoModemActivity()
1996 expectedRxDurationsMs[rat][freq] = 0; in testGetPerStateActiveRadioDurationMs_withSpecificInfoModemActivity()
[all …]
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DMobileRadioPowerCalculator.java336 for (int freq = 0; freq < freqCount; freq++) { in calculateActiveModemPowerMah()
338 final long txDurationMs = bs.getActiveTxRadioDurationMs(rat, freq, txLvl, in calculateActiveModemPowerMah()
343 final double txConsumptionMah = calcTxStatePowerMah(rat, freq, txLvl, in calculateActiveModemPowerMah()
352 final long rxDurationMs = bs.getActiveRxRadioDurationMs(rat, freq, in calculateActiveModemPowerMah()
357 final double rxConsumptionMah = calcRxStatePowerMah(rat, freq, rxDurationMs); in calculateActiveModemPowerMah()
H A DBatteryStatsImpl.java1243 for (int freq = 0; freq < oldFreqCount; freq++) { in readSummaryFromParcel()
1258 for (int freq = 0; freq < oldFreqCount; freq++) { in readSummaryFromParcel()
1273 for (int freq = 0; freq < oldFreqCount; freq++) { in readSummaryFromParcel()
1274 if (freq >= currFreqCount) { in readSummaryFromParcel()
1296 for (int freq = 0; freq < freqCount; freq++) { in getTxDurationCounter()
1323 for (int freq = 0; freq < freqCount; freq++) { in getRxDurationCounter()
12491 for (int freq = 0; freq < freqCount; freq++) { in incrementPerRatDataLocked()
12508 for (int freq = 0; freq < freqCount; freq++) { in incrementPerRatDataLocked()
12563 final int freq = deltaInfo.getSpecificInfoFrequencyRange(index); in incrementPerRatDataLocked() local
12573 ratStats.incrementRxDuration(freq, rxTimeMs); in incrementPerRatDataLocked()
[all …]
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
H A DAidlTestUtils.java71 static ProgramSelector makeFmSelector(long freq) { in makeFmSelector() argument
74 freq)); in makeFmSelector()
83 static android.hardware.broadcastradio.ProgramSelector makeHalFmSelector(long freq) { in makeHalFmSelector() argument
84 ProgramIdentifier halId = makeHalIdentifier(IdentifierType.AMFM_FREQUENCY_KHZ, freq); in makeHalFmSelector()
/aosp14/frameworks/base/cmds/incident_helper/src/parsers/
H A DCpuFreqParser.cpp53 int freq = toInt(record[0]); in Parse() local
58 cpucores[i].push_back(make_pair(freq, toLongLong(record[i+1]))); in Parse()
/aosp14/frameworks/base/media/tests/audiotests/
H A Dshared_mem_test.cpp81 long freq = 1237; in Test01() local
84 f0 = pow(2., 32.) * freq / (float)rate; in Test01()
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEqualizerTest.java173 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency() local
175 (freqRange[0] <= freq) && (freqRange[1] >= freq)); in test1_1BandFrequency()
/aosp14/frameworks/base/cmds/incident_helper/testdata/
H A Dcpufreq.txt1 freq cpu0 cpu1 cpu2 cpu3
/aosp14/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
H A DInstantWifi.java280 for (int freq : freqs) { in overrideFreqsForSingleScanSettingsIfNecessary()
281 if (freq > 0) { in overrideFreqsForSingleScanSettingsIfNecessary()
283 channel.frequency = freq; in overrideFreqsForSingleScanSettingsIfNecessary()
H A DWifiNl80211Manager.java1168 for (Integer freq : freqs) { in createSingleScanSettings()
1170 channel.frequency = freq; in createSingleScanSettings()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBinderHeavyHitterTest.java91 final float freq) { in newContainer() argument
96 container.mFrequency = freq; in newContainer()
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEqualizerTest.java230 private void displayFreq(int viewId, int freq) { in displayFreq() argument
232 String text = Integer.toString(freq/1000)+" Hz"; in displayFreq()
/aosp14/frameworks/base/media/java/android/media/audiofx/
H A DDynamicsProcessing.java726 float freq = DEFAULT_MAX_FREQUENCY; in Eq() local
728 freq = (float)Math.pow(10, mMinFreqLog + in Eq()
731 mBands[b] = new EqBand(true, freq, EQ_DEFAULT_GAIN); in Eq()
813 float freq = DEFAULT_MAX_FREQUENCY; in Mbc() local
815 freq = (float)Math.pow(10, mMinFreqLog + in Mbc()
818 mBands[b] = new MbcBand(true, freq, MBC_DEFAULT_ATTACK_TIME, in Mbc()
/aosp14/frameworks/base/apct-tests/perftests/multiuser/trace_configs/
H A Dtrace_config_multi_user.textproto94 atrace_categories: "freq"
/aosp14/frameworks/base/media/jni/
H A Dandroid_media_tv_Tuner.cpp3005 int64_t freq = getFrontendSettingsFreq(env, settings); in getAnalogFrontendSettings() local
3018 .frequency = freq, in getAnalogFrontendSettings()
3087 .frequency = freq, in getAtsc3FrontendSettings()
3108 .frequency = freq, in getAtscFrontendSettings()
3142 .frequency = freq, in getDvbcFrontendSettings()
3216 .frequency = freq, in getDvbsFrontendSettings()
3281 .frequency = freq, in getDvbtFrontendSettings()
3323 .frequency = freq, in getIsdbsFrontendSettings()
3357 .frequency = freq, in getIsdbs3FrontendSettings()
3392 .frequency = freq, in getIsdbtFrontendSettings()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/cpu/
H A DCpuInfoReader.java551 long freq = latestTimeInState.keyAt(i); in calculateDeltaTimeInState() local
553 long prevDurationMillis = prevTimeInState.get(freq); in calculateDeltaTimeInState()
554 deltaTimeInState.put(freq, durationMillis > prevDurationMillis in calculateDeltaTimeInState()
/aosp14/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
H A DWifiNl80211ManagerTest.java1190 for (int freq : freqs) { in testInstantWifi()
1191 if (freq > 0) { in testInstantWifi()
1193 channel.frequency = freq; in testInstantWifi()

12