Searched refs:activeTime (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | NetworkStatsHistory.java | 82 private long[] activeTime; field in NetworkStatsHistory 97 public long activeTime; field in NetworkStatsHistory.Entry 121 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize]; in NetworkStatsHistory() 140 activeTime = readLongArray(in); in NetworkStatsHistory() 154 writeLongArray(out, activeTime, bucketCount); in writeToParcel() 182 activeTime = (version >= VERSION_ADD_ACTIVE) ? readVarLongArray(in) in NetworkStatsHistory() 209 writeVarLongArray(out, activeTime, bucketCount); in writeToStream() 293 entry.activeTime = getLong(activeTime, i, UNKNOWN); in getValues() 308 setLong(activeTime, i, entry.activeTime); in setValues() 373 addLong(activeTime, i, overlap); in recordData() [all …]
|
/frameworks/base/core/java/android/os/ |
D | CpuUsageInfo.java | 38 public CpuUsageInfo(long activeTime, long totalTime) { in CpuUsageInfo() argument 39 mActive = activeTime; in CpuUsageInfo()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 571 private static void assertValues(NetworkStatsHistory stats, int index, long activeTime, 574 assertEquals("unexpected activeTime", activeTime, entry.activeTime); 582 private static void assertFullValues(NetworkStatsHistory stats, long activeTime, long rxBytes, 584 assertValues(stats, Long.MIN_VALUE, Long.MAX_VALUE, activeTime, rxBytes, rxPackets, txBytes, 589 long activeTime, long rxBytes, long rxPackets, long txBytes, long txPackets, 592 assertEquals("unexpected activeTime", activeTime, entry.activeTime);
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RunningTasksTest.java | 73 int activeTime = 0; in testCollectTasksByLastActiveTime() local 76 ".Task" + i, i, activeTime++, null); in testCollectTasksByLastActiveTime()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 4524 float activeTime = ns2ms(stats.totalTime) / 1000.0f; in dumpBufferingStats() local 4531 sorted.insert({activeTime, {name, twoBufferRatio, in dumpBufferingStats() 4535 float activeTime = sortedPair.first; in dumpBufferingStats() local 4538 activeTime, std::get<1>(values), std::get<2>(values), std::get<3>(values)); in dumpBufferingStats()
|