/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerProfileTest.java | 80 Assert.assertEquals(9, cpu.clusters[0].frequencies.length, EPSILON); in testReadGood() 81 Assert.assertEquals(100000, cpu.clusters[0].frequencies[0].speedHz); in testReadGood() 82 Assert.assertEquals(0.29f, cpu.clusters[0].frequencies[0].onMa, EPSILON); in testReadGood() 83 Assert.assertEquals(303200, cpu.clusters[0].frequencies[1].speedHz); in testReadGood() 84 Assert.assertEquals(0.63f, cpu.clusters[0].frequencies[1].onMa, EPSILON); in testReadGood() 85 Assert.assertEquals(380000, cpu.clusters[0].frequencies[2].speedHz); in testReadGood() 86 Assert.assertEquals(1.23f, cpu.clusters[0].frequencies[2].onMa, EPSILON); in testReadGood() 87 Assert.assertEquals(476000, cpu.clusters[0].frequencies[3].speedHz); in testReadGood() 88 Assert.assertEquals(1.24f, cpu.clusters[0].frequencies[3].onMa, EPSILON); in testReadGood() 89 Assert.assertEquals(552800, cpu.clusters[0].frequencies[4].speedHz); in testReadGood() [all …]
|
/frameworks/rs/perf-test-scripts/ |
D | set-gpu-freq | 46 frequencies=(`getprop $DIR/devfreq/available_frequencies`) 48 frequencies=(`getprop $DIR/gpu_available_frequencies`) 50 frequencies=(`getprop /d/clock/gbus/possible_rates`) 56 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` ) 57 if [ ${frequencies[0]} == "(kHz)" ]; then 58 frequencies=(`printf "%s000\n" "${frequencies[@]:1}"`) 60 minFreq=${frequencies[0]} 61 maxFreq=${frequencies[-1]} 62 echo Frequencies: ${frequencies[@]} 66 freq=`printf "%d\n" "${frequencies[@]}" | awk -v closest=${frequencies[0]} -v target=$targetFreq 'B…
|
D | get-freq | 39 frequencies= 55 frequencies=(`getprop $CPU_DIR/$core/cpufreq/scaling_available_frequencies`) 57 …frequencies=(`adb shell cat $CPU_DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\… 59 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` ) 76 frequencies=(`getprop $GPU_DIR/devfreq/available_frequencies`) 78 frequencies=(`getprop $GPU_DIR/gpu_available_frequencies`) 80 frequencies=(`getprop /d/clock/gbus/possible_rates`) 86 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` ) 87 if [ ${frequencies[0]} == "(kHz)" ]; then 88 frequencies=(`printf "%s000\n" "${frequencies[@]:1}"`)
|
D | set-cpu-freq | 70 frequencies=(`getprop $DIR/$core/cpufreq/scaling_available_frequencies`) 72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`) 74 frequencies=(`printf "%s\n" "${frequencies[@]}" | sort -n`) 77 minFreq=${frequencies[0]} 78 maxFreq=${frequencies[-1]} 82 …freq=`printf "%d\n" "${frequencies[@]}" | awk -v c=${frequencies[0]} -v t=$targetFreq 'BEGIN{d=$0-…
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 180 long[] frequencies = {1, 2, 3, 4, 1, 2, 3, 4}; in testBucketSetup_simple() local 183 frequencies, 4); in testBucketSetup_simple() 186 frequencyBucketCreator.bucketFrequencies(frequencies)); in testBucketSetup_simple() 194 long[] frequencies = {1, 2, 3, 4, 5, 6, 7, 8}; in testBucketSetup_noBig() local 197 frequencies, 4); in testBucketSetup_noBig() 200 frequencyBucketCreator.bucketFrequencies(frequencies)); in testBucketSetup_noBig() 208 long[] frequencies = {1, 2, 3, 4, 5, 1, 2, 3}; in testBucketSetup_moreLittle() local 211 frequencies, 4); in testBucketSetup_moreLittle() 214 frequencyBucketCreator.bucketFrequencies(frequencies)); in testBucketSetup_moreLittle() 222 long[] frequencies = {1, 2, 3, 1, 2, 3, 4, 5}; in testBucketSetup_moreBig() local [all …]
|
/frameworks/base/media/java/android/media/tv/tuner/frontend/ |
D | ScanCallback.java | 51 @Deprecated void onFrequenciesReported(@NonNull int[] frequencies); in onFrequenciesReported() argument 54 default void onFrequenciesLongReported(@NonNull long[] frequencies) { in onFrequenciesLongReported() argument 55 final int[] intFrequencies = new int[frequencies.length]; in onFrequenciesLongReported() 56 for (int i = 0; i < frequencies.length; i++) { in onFrequenciesLongReported() 57 intFrequencies[i] = (int) frequencies[i]; in onFrequenciesLongReported()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReader.java | 410 public FrequencyBucketCreator(long[] frequencies, int targetNumBuckets) { in FrequencyBucketCreator() argument 411 mNumFrequencies = frequencies.length; in FrequencyBucketCreator() 412 int[] clusterStartIndices = getClusterStartIndices(frequencies); in FrequencyBucketCreator() 443 public int[] bucketFrequencies(long[] frequencies) { in bucketFrequencies() argument 444 Preconditions.checkArgument(frequencies.length == mNumFrequencies); in bucketFrequencies() 447 buckets[i] = (int) frequencies[mBucketStartIndices[i]]; in bucketFrequencies() 459 private static int[] getClusterStartIndices(long[] frequencies) { in getClusterStartIndices() argument 462 for (int i = 0; i < frequencies.length - 1; i++) { in getClusterStartIndices() 463 if (frequencies[i] >= frequencies[i + 1]) { in getClusterStartIndices()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | CpuPowerStatsCollector.java | 180 int[] frequencies = mCpuScalingPolicies.getFrequencies(policy); in initPowerBracketsFromPowerProfile() local 181 for (int step = 0; step < frequencies.length; step++) { in initPowerBracketsFromPowerProfile() 196 int[] frequencies = mCpuScalingPolicies.getFrequencies(policy); in initPowerBracketsByCluster() local 197 double[] powerByStep = new double[frequencies.length]; in initPowerBracketsByCluster() 198 for (int step = 0; step < frequencies.length; step++) { in initPowerBracketsByCluster() 202 int[] policyStepToBracketMap = new int[frequencies.length]; in initPowerBracketsByCluster() 206 for (int step = 0; step < frequencies.length; step++) { in initPowerBracketsByCluster() 224 int[] frequencies = mCpuScalingPolicies.getFrequencies(policy); in initDefaultPowerBrackets() local 225 for (int step = 0; step < frequencies.length; step++) { in initDefaultPowerBrackets()
|
D | CpuPowerStatsProcessor.java | 89 int[] frequencies = scalingPolicies.getFrequencies(policy); in CpuPowerStatsProcessor() local 90 for (int i = 0; i < frequencies.length; i++) { in CpuPowerStatsProcessor()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/ |
D | CpuProfile.java | 34 public Frequency[] frequencies; field in CpuProfile.Cluster 132 cluster.frequencies = new Frequency[speeds.length]; in build() 134 final Frequency freq = cluster.frequencies[j] = new Frequency(); in build()
|
/frameworks/base/apct-tests/perftests/surfaceflinger/ |
D | README.md | 5 is available, it is better to use the following instructions to lock CPU and GPU frequencies.
|
/frameworks/base/apct-tests/perftests/windowmanager/ |
D | README.md | 5 is available, it is better to use the following instructions to lock CPU and GPU frequencies.
|
/frameworks/base/apct-tests/perftests/inputmethod/ |
D | README.md | 7 is available, it is better to use the following instructions to lock CPU and GPU frequencies.
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryUsageStatsRule.java | 182 int[] frequencies) { in setCpuScalingPolicy() argument 189 mFreqsByPolicy.put(policy, frequencies); in setCpuScalingPolicy()
|
/frameworks/native/cmds/flatland/ |
D | README.txt | 72 flatland is being run. Check that the hardware clock frequencies are
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 3401 int[] frequencies = new int[CPU_TIME_PER_THREAD_FREQ_MAX_NUM_FREQUENCIES]; 3405 frequencies[k] = cpuFrequencies[k]; 3411 frequencies[k] = 0; 3417 processCpuUsage.processName, threadCpuUsage.threadName, frequencies[0], 3418 usageTimesMillis[0], frequencies[1], usageTimesMillis[1], frequencies[2], 3419 usageTimesMillis[2], frequencies[3], usageTimesMillis[3], frequencies[4], 3420 usageTimesMillis[4], frequencies[5], usageTimesMillis[5], frequencies[6], 3421 usageTimesMillis[6], frequencies[7], usageTimesMillis[7]));
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorManagerService.java | 2341 List<Float> frequencies = new ArrayList<>(); in addWaveformToComposition() local 2361 frequencies.add(Float.parseFloat(getNextArgRequired())); in addWaveformToComposition() 2379 targetFrequency(frequencies.get(i))); in addWaveformToComposition() 2395 targetFrequency(frequencies.get(i))); in addWaveformToComposition()
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 428 // The device is in a NR non-standalone network at non-MMWAVE frequencies. 430 // The device is in a NR non-standalone network at MMWAVE frequencies. 432 // The device is in a NR standalone network at non-MMWAVE frequencies. 434 // The device is in a NR standalone network at MMWAVE frequencies.
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | Tuner.java | 2037 private void onFrequenciesReport(long[] frequencies) { in onFrequenciesReport() argument 2043 mScanCallback.onFrequenciesLongReported(frequencies); in onFrequenciesReport()
|
/frameworks/av/services/tuner/hidl/ |
D | TunerHidlFrontend.cpp | 424 const vector<uint32_t>& f = message.frequencies(); in onScanMessage() 426 scanMessage.set<FrontendScanMessage::frequencies>(lf); in onScanMessage()
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 210 // All CPU frequencies of the device.
|
/frameworks/base/media/jni/ |
D | android_media_tv_Tuner.cpp | 1185 std::vector<int64_t> v = message.get<FrontendScanMessage::Tag::frequencies>(); in executeOnScanMessage()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 9382 * TODO(mishaw): This is an experimental atom. Issues with big/little CPU frequencies, and 9398 // Report eight different frequencies, and how much time is spent in each frequency. Frequencies 9400 // frequencies are given here as the alternative is sending eight separate atoms. This method
|