/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BluetoothPowerCalculatorTest.java | 53 BluetoothPowerCalculator calculator = in testTimerBasedModel() local 56 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testTimerBasedModel() 66 BluetoothPowerCalculator calculator = in testReportedEnergyBasedModel() local 70 calculator); in testReportedEnergyBasedModel() 81 final BluetoothPowerCalculator calculator = in testMeasuredEnergyBasedModel() local 84 mStatsRule.apply(calculator); in testMeasuredEnergyBasedModel() 95 BluetoothPowerCalculator calculator = in testIgnoreMeasuredEnergyBasedModel() local 98 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testIgnoreMeasuredEnergyBasedModel()
|
D | WifiPowerCalculatorTest.java | 85 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testPowerControllerBasedModel_nonMeasured() local 86 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testPowerControllerBasedModel_nonMeasured() 118 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testPowerControllerBasedModel_measured() local 119 mStatsRule.apply(calculator); in testPowerControllerBasedModel_measured() 165 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel_nonMeasured() local 166 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testTimerBasedModel_nonMeasured() 185 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel_measured() local 186 mStatsRule.apply(calculator); in testTimerBasedModel_measured()
|
D | BatteryChargeCalculatorTest.java | 57 BatteryChargeCalculator calculator = new BatteryChargeCalculator(); in testDischargeTotals() local 58 BatteryUsageStats batteryUsageStats = mStatsRule.apply(calculator); in testDischargeTotals() 75 batteryUsageStats = mStatsRule.apply(calculator); in testDischargeTotals() 96 BatteryChargeCalculator calculator = new BatteryChargeCalculator(); in testDischargeTotals_chargeUahUnavailable() local 97 BatteryUsageStats batteryUsageStats = mStatsRule.apply(calculator); in testDischargeTotals_chargeUahUnavailable()
|
D | AmbientDisplayPowerCalculatorTest.java | 60 AmbientDisplayPowerCalculator calculator = in testMeasuredEnergyBasedModel() local 63 mStatsRule.apply(calculator); in testMeasuredEnergyBasedModel() 84 AmbientDisplayPowerCalculator calculator = in testPowerProfileBasedModel() local 87 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testPowerProfileBasedModel()
|
D | GnssPowerCalculatorTest.java | 53 GnssPowerCalculator calculator = in testTimerBasedModel() local 56 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testTimerBasedModel() 92 GnssPowerCalculator calculator = in testMeasuredEnergyBasedModel() local 95 mStatsRule.apply(calculator); in testMeasuredEnergyBasedModel()
|
D | MemoryPowerCalculatorTest.java | 50 MemoryPowerCalculator calculator = in testTimerBasedModel() local 53 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | UserPowerCalculatorTest.java | 53 UserPowerCalculator calculator = new UserPowerCalculator(); in testAllUsers() local 55 mStatsRule.apply(BatteryUsageStatsQuery.DEFAULT, calculator, new FakeAudioPowerCalculator(), in testAllUsers() 77 UserPowerCalculator calculator = new UserPowerCalculator(); in testSpecificUser() local 80 calculator, new FakeAudioPowerCalculator(), new FakeVideoPowerCalculator()); in testSpecificUser()
|
D | MobileRadioPowerCalculatorTest.java | 97 MobileRadioPowerCalculator calculator = in testCounterBasedModel() local 100 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testCounterBasedModel() 157 MobileRadioPowerCalculator calculator = in testMeasuredEnergyBasedModel() local 160 mStatsRule.apply(calculator); in testMeasuredEnergyBasedModel()
|
D | FlashlightPowerCalculatorTest.java | 49 FlashlightPowerCalculator calculator = in testTimerBasedModel() local 52 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | IdlePowerCalculatorTest.java | 44 IdlePowerCalculator calculator = new IdlePowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel() local 46 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | VideoPowerCalculatorTest.java | 49 VideoPowerCalculator calculator = in testTimerBasedModel() local 52 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | AudioPowerCalculatorTest.java | 49 AudioPowerCalculator calculator = in testTimerBasedModel() local 52 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | CameraPowerCalculatorTest.java | 49 CameraPowerCalculator calculator = in testTimerBasedModel() local 52 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | SystemServicePowerCalculatorTest.java | 106 SystemServicePowerCalculator calculator = new SystemServicePowerCalculator( in testPowerProfileBasedModel() local 109 mStatsRule.apply(new CpuPowerCalculator(mStatsRule.getPowerProfile()), calculator); in testPowerProfileBasedModel() 138 SystemServicePowerCalculator calculator = new SystemServicePowerCalculator( in testMeasuredEnergyBasedModel() local 141 mStatsRule.apply(new CpuPowerCalculator(mStatsRule.getPowerProfile()), calculator); in testMeasuredEnergyBasedModel()
|
D | ScreenPowerCalculatorTest.java | 80 ScreenPowerCalculator calculator = in testMeasuredEnergyBasedModel() local 83 mStatsRule.apply(calculator); in testMeasuredEnergyBasedModel() 153 ScreenPowerCalculator calculator = in testPowerProfileBasedModel() local 156 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testPowerProfileBasedModel()
|
D | CustomMeasuredPowerCalculatorTest.java | 58 CustomMeasuredPowerCalculator calculator = in testMeasuredEnergyCopiedIntoBatteryConsumers() local 61 mStatsRule.apply(calculator); in testMeasuredEnergyCopiedIntoBatteryConsumers()
|
D | WakelockPowerCalculatorTest.java | 59 WakelockPowerCalculator calculator = in testTimerBasedModel() local 62 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | SensorPowerCalculatorTest.java | 68 SensorPowerCalculator calculator = new SensorPowerCalculator(sensorManager); in testTimerBasedModel() local 70 mStatsRule.apply(calculator); in testTimerBasedModel()
|
D | CpuPowerCalculatorTest.java | 141 CpuPowerCalculator calculator = in testTimerBasedModel() local 144 mStatsRule.apply(BatteryUsageStatsRule.POWER_PROFILE_MODEL_ONLY, calculator); in testTimerBasedModel() 217 CpuPowerCalculator calculator = in testMeasuredEnergyBasedModel() local 220 mStatsRule.apply(calculator); in testMeasuredEnergyBasedModel()
|
D | BatteryUsageStatsRule.java | 193 for (PowerCalculator calculator : calculators) { 194 calculator.calculate(builder, mBatteryStats, mMockClocks.realtime, mMockClocks.uptime,
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 164 private TimeCalculator calculator; field in Time 208 calculator = new TimeCalculator(timezoneId); in initialize() 230 calculator.copyFieldsFromTime(this); in normalize() 231 long timeInMillis = calculator.toMillis(ignoreDst); in normalize() 232 calculator.copyFieldsToTime(this); in normalize() 244 calculator.copyFieldsFromTime(this); in switchTimezone() 245 calculator.switchTimeZone(timezone); in switchTimezone() 246 calculator.copyFieldsToTime(this); in switchTimezone() 342 a.calculator.copyFieldsFromTime(a); in compare() 343 b.calculator.copyFieldsFromTime(b); in compare() [all …]
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 178 float minContrastRatio, ContrastCalculator calculator) { in binaryAlphaSearch() argument 188 final double testRatio = calculator.calculateContrast(foreground, background, in binaryAlphaSearch()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 463 final PowerCalculator calculator = mPowerCalculators.get(i); in processAppUsage() local 464 calculator.calculate(sippers, mStats, mRawRealtimeUs, mRawUptimeUs, mStatsType, in processAppUsage()
|
D | BatteryStatsImpl.java | 12866 CpuDeltaPowerAccumulator(CpuPowerCalculator calculator, int nClusters) { in CpuDeltaPowerAccumulator() argument 12867 mCalculator = calculator; in CpuDeltaPowerAccumulator()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 59418 Landroid/text/format/Time;->calculator:Landroid/text/format/Time$TimeCalculator;
|