Home
last modified time | relevance | path

Searched refs:stateStatsArrayLength (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DPowerStats.java119 public final int stateStatsArrayLength; field in PowerStats.Descriptor
138 int stateStatsArrayLength, int uidStatsArrayLength, in Descriptor() argument
141 statsArrayLength, stateLabels, stateStatsArrayLength, uidStatsArrayLength, in Descriptor()
146 @Nullable SparseArray<String> stateLabels, int stateStatsArrayLength, in Descriptor() argument
152 if (stateStatsArrayLength > MAX_STATE_STATS_ARRAY_LENGTH) { in Descriptor()
164 this.stateStatsArrayLength = stateStatsArrayLength; in Descriptor()
222 | ((stateStatsArrayLength << STATE_STATS_ARRAY_LENGTH_SHIFT) in writeSummaryToParcel()
252 int stateStatsArrayLength = in readSummaryFromParcel() local
267 stateStatsArrayLength, uidStatsArrayLength, extras); in readSummaryFromParcel()
278 && stateStatsArrayLength == that.stateStatsArrayLength in equals()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DPowerStatsTest.java95 assertThat(newDescriptor.stateStatsArrayLength).isEqualTo(1); in parceling_compatibleParcel()
134 assertThat(actual.stateStatsArrayLength).isEqualTo(1); in xmlFormat()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DAggregatedPowerStatsTest.java241 long[] out = new long[powerComponentStats.getPowerStatsDescriptor().stateStatsArrayLength]; in getStateStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DMobileRadioPowerStatsProcessor.java226 mTmpStateStatsArray = new long[descriptor.stateStatsArrayLength]; in unpackPowerStatsDescriptor()
DPowerComponentAggregatedPowerStats.java342 mPowerStatsDescriptor.stateStatsArrayLength, mDeviceStateConfig); in createStateStats()