Searched refs:stateValues (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsProcessor.java | 110 MultiStateStats.States[] deviceStatesTrackedPerUid, int[] stateValues, int state) { in combineDeviceStateEstimationsRecursively() argument 112 DeviceStateEstimation dse = getDeviceStateEstimate(stateValues); in combineDeviceStateEstimationsRecursively() 114 deviceStatesTrackedPerUid, stateValues); in combineDeviceStateEstimationsRecursively() 116 cdse = new CombinedDeviceStateEstimate(deviceStatesTrackedPerUid, stateValues); in combineDeviceStateEstimationsRecursively() 127 stateValues[state] = stateValue; in combineDeviceStateEstimationsRecursively() 129 deviceStatesTrackedPerUid, stateValues, state + 1); in combineDeviceStateEstimationsRecursively() 133 deviceStatesTrackedPerUid, stateValues, state + 1); in combineDeviceStateEstimationsRecursively() 160 for (int[] stateValues : uidStateCombinations) { in addUidStateEstimations() 162 getCombinedDeviceStateEstimate(uidStatesTrackedForDevice, stateValues); in addUidStateEstimations() 166 + concatLabels(uidStatesTrackedForDevice, stateValues)); in addUidStateEstimations() [all …]
|
D | BinaryStatePowerStatsProcessor.java | 192 if (!stats.getDeviceStats(mTmpDeviceStatsArray, estimation.stateValues)) { in computeDevicePowerEstimates() 205 stats.setDeviceStats(estimation.stateValues, mTmpDeviceStatsArray); in computeDevicePowerEstimates() 220 deviceStateEstimation.stateValues)) { in combineDevicePowerEstimates() 239 proportionalEstimate.stateValues)) { in computeUidActivityTotals() 264 proportionalEstimate.stateValues)) { in computeUidPowerEstimates() 269 stats.setUidStats(uid, proportionalEstimate.stateValues, in computeUidPowerEstimates()
|
D | BluetoothPowerStatsProcessor.java | 104 computeDevicePowerEstimates(stats, estimation.stateValues, intermediates); in finish() 113 adjustDevicePowerEstimates(stats, estimation.stateValues, in finish() 250 if (!stats.getUidStats(mTmpUidStatsArray, uid, proportionalEstimate.stateValues)) { in computeUidActivityTotals() 273 if (!stats.getUidStats(mTmpUidStatsArray, uid, proportionalEstimate.stateValues)) { in computeUidPowerEstimates() 301 stats.setUidStats(uid, proportionalEstimate.stateValues, mTmpUidStatsArray); in computeUidPowerEstimates()
|
D | WifiPowerStatsProcessor.java | 132 computeDevicePowerEstimates(stats, estimation.stateValues, intermediates); in finish() 141 adjustDevicePowerEstimates(stats, estimation.stateValues, in finish() 318 if (!stats.getUidStats(mTmpUidStatsArray, uid, proportionalEstimate.stateValues)) { in computeUidActivityTotals() 333 if (!stats.getUidStats(mTmpUidStatsArray, uid, proportionalEstimate.stateValues)) { in computeUidPowerEstimates() 376 stats.setUidStats(uid, proportionalEstimate.stateValues, mTmpUidStatsArray); in computeUidPowerEstimates() 380 + " states: " + Arrays.toString(proportionalEstimate.stateValues) in computeUidPowerEstimates()
|
D | MobileRadioPowerStatsProcessor.java | 184 computeDevicePowerEstimates(stats, estimation.stateValues, intermediates); in finish() 192 adjustDevicePowerEstimates(stats, estimation.stateValues, in finish() 355 if (!stats.getUidStats(mTmpUidStatsArray, uid, proportionalEstimate.stateValues)) { in computeUidRxTxTotals() 370 if (!stats.getUidStats(mTmpUidStatsArray, uid, proportionalEstimate.stateValues)) { in computeUidPowerEstimates() 385 stats.setUidStats(uid, proportionalEstimate.stateValues, mTmpUidStatsArray); in computeUidPowerEstimates() 389 + " states: " + Arrays.toString(proportionalEstimate.stateValues) in computeUidPowerEstimates()
|
D | CpuPowerStatsProcessor.java | 291 if (!stats.getDeviceStats(mTmpDeviceStatsArray, deviceStateEstimation.stateValues)) { in computeTotals() 362 stats.getDeviceStats(mTmpDeviceStatsArray, deviceStateEstimation.stateValues); in estimatePowerByDeviceState() 387 stats.setDeviceStats(deviceStateEstimation.stateValues, mTmpDeviceStatsArray); in estimatePowerByDeviceState() 465 if (!stats.getUidStats(mTmpUidStatsArray, uid, proportionalEstimate.stateValues)) { in estimateUidPowerConsumption() 486 stats.setUidStats(uid, proportionalEstimate.stateValues, mTmpUidStatsArray); in estimateUidPowerConsumption()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PowerStatsProcessorTest.java | 86 .map(dse -> dse.stateValues).map(Arrays::toString).toList(); in deviceStateEstimatesToStrings() 94 .map(dse -> dse.stateValues).map(Arrays::toString).toList()) in combinedDeviceStatsToStrings() 106 .map(dse -> dse.stateValues).map(Arrays::toString).toList() in uidStateEstimatesToStrings() 113 .map(pe -> trackedStatesToString(uidStateConfig, pe.stateValues)) in uidStateEstimatesToStrings() 119 int[] stateValues) { in trackedStatesToString() argument 132 sb.append(stateValues[i]); in trackedStatesToString()
|