Searched refs:stateStatsArrayLength (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | PowerStats.java | 119 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/ |
D | PowerStatsTest.java | 95 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/ |
D | AggregatedPowerStatsTest.java | 241 long[] out = new long[powerComponentStats.getPowerStatsDescriptor().stateStatsArrayLength]; in getStateStats()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | MobileRadioPowerStatsProcessor.java | 226 mTmpStateStatsArray = new long[descriptor.stateStatsArrayLength]; in unpackPowerStatsDescriptor()
|
D | PowerComponentAggregatedPowerStats.java | 342 mPowerStatsDescriptor.stateStatsArrayLength, mDeviceStateConfig); in createStateStats()
|