/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | AggregatedPowerStatsTest.java | 152 assertThat(getDeviceStats(stats, in verifyAggregatedPowerStats() 157 assertThat(getDeviceStats(stats, in verifyAggregatedPowerStats() 230 private static long[] getDeviceStats(AggregatedPowerStats stats, int... states) { in getDeviceStats() method in AggregatedPowerStatsTest 234 powerComponentStats.getDeviceStats(out, states); in getDeviceStats()
|
D | PowerStatsAggregatorTest.java | 144 assertThat(powerComponentStats.getDeviceStats(values, new int[]{ in stateUpdates() 150 assertThat(powerComponentStats.getDeviceStats(values, new int[]{ in stateUpdates() 231 assertThat(powerComponentStats.getDeviceStats(values, new int[]{ in incompatiblePowerStats() 246 assertThat(powerComponentStats.getDeviceStats(values, new int[]{ in incompatiblePowerStats()
|
D | BinaryStatePowerStatsProcessorTest.java | 103 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel() 107 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in powerProfileModel() 192 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in energyConsumerModel() 196 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in energyConsumerModel()
|
D | BluetoothPowerStatsProcessorTest.java | 219 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_mostlyDataTransfer() 223 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in powerProfileModel_mostlyDataTransfer() 318 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_mostlyScan() 322 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in powerProfileModel_mostlyScan() 421 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in consumedEnergyModel() 425 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in consumedEnergyModel()
|
D | WifiPowerStatsProcessorTest.java | 255 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_powerController() 259 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in powerProfileModel_powerController() 368 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in consumedEnergyModel_powerController() 372 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in consumedEnergyModel_powerController() 475 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_noPowerController() 479 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in powerProfileModel_noPowerController()
|
D | CpuPowerStatsProcessorTest.java | 236 boolean getDeviceStats(long[] outValues, int[] deviceStates) { in getDeviceStats() method in CpuPowerStatsProcessorTest.MockPowerComponentAggregatedPowerStats 237 long[] values = getDeviceStats(deviceStates); in getDeviceStats() 242 private long[] getDeviceStats(int[] deviceStates) { in getDeviceStats() method in CpuPowerStatsProcessorTest.MockPowerComponentAggregatedPowerStats
|
D | PhoneCallPowerStatsProcessorTest.java | 216 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in copyEstimatesFromMobileRadioPowerStats() 219 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in copyEstimatesFromMobileRadioPowerStats()
|
D | MobileRadioPowerStatsProcessorTest.java | 251 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel() 256 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in powerProfileModel() 324 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in energyConsumerModel() 332 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_OTHER)); in energyConsumerModel()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PhoneCallPowerStatsProcessor.java | 71 mobileRadioStats.getDeviceStats(mTmpMobileRadioDeviceStats, states); in finish()
|
D | BluetoothPowerStatsProcessor.java | 155 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStates)) { in computeDevicePowerEstimates() 211 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStates)) { in adjustDevicePowerEstimates()
|
D | BinaryStatePowerStatsProcessor.java | 192 if (!stats.getDeviceStats(mTmpDeviceStatsArray, estimation.stateValues)) { in computeDevicePowerEstimates() 219 if (!stats.getDeviceStats(mTmpDeviceStatsArray, in combineDevicePowerEstimates()
|
D | WifiPowerStatsProcessor.java | 184 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStates)) { in computeDevicePowerEstimates() 274 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStates)) { in adjustDevicePowerEstimates()
|
D | MobileRadioPowerStatsProcessor.java | 235 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStates)) { in computeDevicePowerEstimates() 316 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStates)) { in adjustDevicePowerEstimates()
|
D | CpuPowerStatsProcessor.java | 291 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStateEstimation.stateValues)) { in computeTotals() 362 stats.getDeviceStats(mTmpDeviceStatsArray, deviceStateEstimation.stateValues); in estimatePowerByDeviceState()
|
D | PowerStatsExporter.java | 154 if (!powerComponentStats.getDeviceStats(deviceStats, states)) { in populateBatteryUsageStatsBuilder()
|
D | PowerComponentAggregatedPowerStats.java | 264 boolean getDeviceStats(long[] outValues, int[] deviceStates) { in getDeviceStats() method in PowerComponentAggregatedPowerStats
|