Home
last modified time | relevance | path

Searched refs:CpuScalingPolicies (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DCpuScalingPolicies.java31 public class CpuScalingPolicies { class
37 public CpuScalingPolicies(@NonNull SparseArray<int[]> cpusByPolicy, in CpuScalingPolicies() method in CpuScalingPolicies
DCpuScalingPolicyReader.java69 public CpuScalingPolicies read() { in read()
117 return new CpuScalingPolicies(cpusByPolicy, freqsByPolicy); in read()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMockBatteryStatsImpl.java31 import com.android.internal.os.CpuScalingPolicies;
85 new CpuScalingPolicies(new SparseArray<>(), new SparseArray<>()), in MockBatteryStatsImpl()
174 setCpuScalingPolicies(new CpuScalingPolicies(freqsByPolicy, freqsByPolicy)); in setTestCpuScalingPolicies()
178 public MockBatteryStatsImpl setCpuScalingPolicies(CpuScalingPolicies cpuScalingPolicies) { in setCpuScalingPolicies()
DCpuPowerStatsCollectorTest.java42 import com.android.internal.os.CpuScalingPolicies;
80 private CpuScalingPolicies mCpuScalingPolicies;
107 public CpuScalingPolicies getCpuScalingPolicies() { in getCpuScalingPolicies()
161 mCpuScalingPolicies = new CpuScalingPolicies( in powerBrackets_specifiedInPowerProfile()
412 mCpuScalingPolicies = new CpuScalingPolicies(cpus, freqs); in mockCpuScalingPolicies()
DBatteryUsageStatsRule.java43 import com.android.internal.os.CpuScalingPolicies;
123 mBatteryStats.setCpuScalingPolicies(new CpuScalingPolicies(mCpusByPolicy, mFreqsByPolicy)); in initBatteryStats()
192 new CpuScalingPolicies(mCpusByPolicy, mFreqsByPolicy)); in setCpuScalingPolicy()
362 public CpuScalingPolicies getCpuScalingPolicies() {
DBatteryExternalStatsWorkerTest.java49 import com.android.internal.os.CpuScalingPolicies;
229 private static CpuScalingPolicies buildScalingPolicies() { in buildScalingPolicies()
236 return new CpuScalingPolicies(freqsByPolicy, freqsByPolicy); in buildScalingPolicies()
DBatteryStatsCpuTimesTest.java51 import com.android.internal.os.CpuScalingPolicies;
226 CpuScalingPolicies scalingPolicies = new CpuScalingPolicies( in testUpdateClusterSpeedTimes()
651 CpuScalingPolicies scalingPolicies = new CpuScalingPolicies( in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
767 CpuScalingPolicies scalingPolicies = new CpuScalingPolicies( in testReadKernelUidCpuFreqTimesLocked_partialTimers()
DBatteryStatsImplTest.java64 import com.android.internal.os.CpuScalingPolicies;
106 private final CpuScalingPolicies mCpuScalingPolicies = new CpuScalingPolicies(
/frameworks/base/services/core/java/com/android/server/power/stats/
DSystemServicePowerCalculator.java28 import com.android.internal.os.CpuScalingPolicies;
45 public SystemServicePowerCalculator(CpuScalingPolicies cpuScalingPolicies, in SystemServicePowerCalculator()
DCpuPowerCalculator.java27 import com.android.internal.os.CpuScalingPolicies;
37 private final CpuScalingPolicies mCpuScalingPolicies;
65 public CpuPowerCalculator(CpuScalingPolicies cpuScalingPolicies, PowerProfile profile) { in CpuPowerCalculator()
DBatteryUsageStatsProvider.java33 import com.android.internal.os.CpuScalingPolicies;
51 private final CpuScalingPolicies mCpuScalingPolicies;
58 PowerProfile powerProfile, CpuScalingPolicies cpuScalingPolicies, in BatteryUsageStatsProvider()
DCpuPowerStatsProcessor.java22 import com.android.internal.os.CpuScalingPolicies;
37 private final CpuScalingPolicies mCpuScalingPolicies;
75 public CpuPowerStatsProcessor(PowerProfile powerProfile, CpuScalingPolicies scalingPolicies) { in CpuPowerStatsProcessor()
DCpuPowerStatsCollector.java31 import com.android.internal.os.CpuScalingPolicies;
57 CpuScalingPolicies getCpuScalingPolicies(); in getCpuScalingPolicies()
76 private CpuScalingPolicies mCpuScalingPolicies;
DBatteryStatsImpl.java126 import com.android.internal.os.CpuScalingPolicies;
273 protected CpuScalingPolicies mCpuScalingPolicies;
2006 public CpuScalingPolicies getCpuScalingPolicies() { in getCpuScalingPolicies()
11204 public CpuScalingPolicies getCpuScalingPolicies() { in getCpuScalingPolicies()
11223 @NonNull CpuScalingPolicies cpuScalingPolicies, in BatteryStatsImpl()
11236 @NonNull CpuScalingPolicies cpuScalingPolicies, in BatteryStatsImpl()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DCpuScalingPolicyReaderTest.java70 CpuScalingPolicies info = mCpuScalingPolicyReader.read(); in readFromSysFs()
/frameworks/base/ravenwood/texts/
Dravenwood-annotation-allowed-classes.txt318 com.android.internal.os.CpuScalingPolicies
/frameworks/base/core/java/android/os/
DBatteryStats.java60 import com.android.internal.os.CpuScalingPolicies;
1664 public abstract CpuScalingPolicies getCpuScalingPolicies(); in getCpuScalingPolicies()
4733 final CpuScalingPolicies scalingPolicies = getCpuScalingPolicies(); in dumpCheckinLocked()
6076 final CpuScalingPolicies scalingPolicies = getCpuScalingPolicies(); in dumpLocked()
8120 final CpuScalingPolicies scalingPolicies = getCpuScalingPolicies(); in dumpProtoAppsLocked()
8616 final CpuScalingPolicies scalingPolicies = getCpuScalingPolicies(); in dumpProtoSystemLocked()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java107 import com.android.internal.os.CpuScalingPolicies;
187 private final CpuScalingPolicies mCpuScalingPolicies;
/frameworks/base/services/
Dart-profile3140 …nternal/os/Clock$1;]Lcom/android/internal/os/CpuScalingPolicies;Lcom/android/internal/os/CpuScalin…
3142 …uTimeLocked(ZZ[J)V+]Lcom/android/internal/os/CpuScalingPolicies;Lcom/android/internal/os/CpuScalin…
Dart-wear-profile22074 …der;Lcom/android/internal/os/PowerProfile;Lcom/android/internal/os/CpuScalingPolicies;Lcom/android…
22206 …ter;Lcom/android/internal/os/PowerProfile;Lcom/android/internal/os/CpuScalingPolicies;Lcom/android…
22209 …essor;-><init>(Lcom/android/internal/os/PowerProfile;Lcom/android/internal/os/CpuScalingPolicies;)V
22230 …wer/stats/CpuPowerStatsCollector;-><init>(Lcom/android/internal/os/CpuScalingPolicies;Lcom/android…
22231 …wer/stats/CpuPowerStatsCollector;-><init>(Lcom/android/internal/os/CpuScalingPolicies;Lcom/android…