Home
last modified time | relevance | path

Searched refs:mTotalTime (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/app/usage/
DEventStats.java51 public long mTotalTime; field in EventStats
69 mTotalTime = stats.mTotalTime; in EventStats()
121 return mTotalTime; in getTotalTime()
144 mTotalTime += right.mTotalTime; in add()
159 dest.writeLong(mTotalTime); in writeToParcel()
171 stats.mTotalTime = in.readLong();
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelWakelockReaderTest.java133 assertEquals(123 * 1000, entry.mTotalTime); // Microseconds in testOneWakelock()
167 assertEquals(20 * 1000, entry.mTotalTime); // Microseconds in testDuplicateWakelocksAccumulate()
217 assertEquals(1000 * 1000, entry.mTotalTime); // Microseconds in testOneWakeLockInfo()
236 assertEquals(1000 * 1000, entry1.mTotalTime); // Microseconds in testTwoWakeLockInfos()
240 assertEquals(2000 * 1000, entry2.mTotalTime); // Microseconds in testTwoWakeLockInfos()
257 assertEquals(1000 * 1000, entry.mTotalTime); // Microseconds in testWakeLockInfosBecomeStale()
269 assertEquals(2000 * 1000, entry.mTotalTime); // Micro seconds in testWakeLockInfosBecomeStale()
302 assertEquals(1000 * 123, entry.mTotalTime); // Microseconds in testAggregateStatsNoNativeWakelocks()
321 assertEquals(1000 * 1000, entry.mTotalTime); // Microseconds in testAggregateStatsNoKernelWakelocks()
341 assertEquals(123 * 1000, entry1.mTotalTime); // Microseconds in testAggregateStatsBothKernelAndNativeWakelocks()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DStopWatchMap.java33 private long mTotalTime; field in StopWatch
39 mTotalTime = 0; in StopWatch()
57 mTotalTime += stopTime - mStartTime; in stop()
62 String.format("%.1f", mTotalTime * 1.0f / mNumCalls)); in stop()
63 mTotalTime = 0; in stop()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java30 private View mTotalTime; field in BaselineButtonsTest
46 mTotalTime = activity.findViewById(R.id.totaltime); in setUp()
56 assertNotNull(mTotalTime); in testPreconditions()
82 assertEquals("TotalTime wrong bottom", pauseHeight, mTotalTime.getBottom()); in testLayout()
84 assertTrue("TotalTime too tall", mTotalTime.getTop() > 0); in testLayout()
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java39 private long mTotalTime; field in AppTimeTracker
59 mTotalTime += elapsedTime; in start()
73 mTotalTime += elapsedTime; in stop()
85 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime); in deliverResult()
109 TimeUtils.formatDuration(mTotalTime, pw); in dump()
128 proto.write(AppTimeTrackerProto.TOTAL_DURATION_MS, mTotalTime); in dumpDebug()
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockStats.java26 public long mTotalTime; field in KernelWakelockStats.Entry
31 mTotalTime = totalTime; in Entry()
DKernelWakelockReader.java218 kwlStats.mTotalTime = info.totalTime * 1000; in updateWakelockStats()
286 kwlStats.mTotalTime += totalTime; in parseProcWakelocks()
289 kwlStats.mTotalTime = totalTime; in parseProcWakelocks()
DBatteryStatsImpl.java12778 kwlt.update(kws.mTotalTime, kws.mCount, elapsedRealtimeUs); in updateKernelWakelocksLocked()
/frameworks/base/tests/AmSlam/src/test/amslam/
DMainActivity.java54 private long mTotalTime; field in MainActivity
92 mTotalTime = mTotalPingTime = mTotalPongTime = 0; in startBatch()
127 mTotalTime += (recv - send); in onPingPongResponse()
137 mTotalTime / mTotalReceived, mTotalPingTime / mTotalReceived, in onPingPongResponse()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java115 private long mTotalTime; field in ComprehensiveCountryDetector
302 mTotalTime += mStopTime; in setCountryListener()
489 sb.append("totalTime=" + (mTotalTime + currentSessionLength) + ", "); in toString()
/frameworks/base/core/java/com/android/internal/app/procstats/
DAssociationState.java479 public long mTotalTime; field in AssociationState.SourceDumpContainer
802 if (o1.second.mTotalTime != o2.second.mTotalTime) {
803 return o1.second.mTotalTime > o2.second.mTotalTime ? -1 : 1;
828 cont.mTotalTime = duration; in createSortedAssociations()
969 TimeUtils.formatDuration(cont.mTotalTime, pw); in dumpSources()
974 DumpUtils.printPercent(pw, (double) cont.mTotalTime / (double) totalTime); in dumpSources()
DProcessStats.java1489 long mTotalTime; field in ProcessStats.AssociationDumpContainer
1505 if (o1.mTotalTime != o2.mTotalTime) {
1506 return o1.mTotalTime > o2.mTotalTime ? -1 : 1;
1703 cont.mTotalTime = asc.getTotalDuration(now); in dumpLocked()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java115 ev.mTotalTime = duration; in addToEventStats()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h155 nsecs_t mTotalTime = 0; member
DSurfaceFlinger.cpp2413 getBE().mTotalTime += elapsedTime; in postComposition()
4805 static_cast<float>(getBE().mFrameBuckets[b]) / getBE().mTotalTime; in dumpStaticScreenStats()
4810 … static_cast<float>(getBE().mFrameBuckets[SurfaceFlingerBE::NUM_BUCKETS - 1]) / getBE().mTotalTime; in dumpStaticScreenStats()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java1631 atomTag, name, kws.mCount, kws.mVersion, kws.mTotalTime));
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9208 Landroid/app/usage/EventStats;->mTotalTime:J
18670 Landroid/filterfw/core/StopWatch;->mTotalTime:J
77022 Lcom/android/internal/os/BatteryStatsImpl$Timer;->mTotalTime:J
78305 Lcom/android/internal/os/KernelWakelockStats$Entry;->mTotalTime:J