Home
last modified time | relevance | path

Searched refs:mTotalTime (Results 1 – 19 of 19) 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/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 writeToProto()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPlaybackControlsPresenter.java58 final TextView mTotalTime; field in PlaybackControlsPresenter.ViewHolder
72 mTotalTime = (TextView) rootView.findViewById(R.id.total_time); in ViewHolder()
93 ((MarginLayoutParams) mTotalTime.getLayoutParams()).getMarginEnd(); in ViewHolder()
143 mTotalTime.setVisibility(View.GONE); in setTotalTime()
146 mTotalTime.setVisibility(View.VISIBLE); in setTotalTime()
150 mTotalTime.setText(mTotalTimeStringBuilder.toString()); in setTotalTime()
309 lp = (MarginLayoutParams) vh.mTotalTime.getLayoutParams(); in enableTimeMargins()
311 vh.mTotalTime.setLayoutParams(lp); in enableTimeMargins()
DPlaybackTransportRowPresenter.java63 final TextView mTotalTime; field in PlaybackTransportRowPresenter.ViewHolder
270 mTotalTime = (TextView) rootView.findViewById(R.id.total_time); in ViewHolder()
449 return mTotalTime; in getDurationView()
458 if (mTotalTime != null) { in onSetDurationLabel()
460 mTotalTime.setText(mTempBuilder.toString()); in onSetDurationLabel()
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DCircularProgressLayoutController.java116 private final long mTotalTime; field in CircularProgressLayoutController.CircularProgressTimer
120 mTotalTime = totalTime; in CircularProgressTimer()
126 .setStartEndTrim(0f, 1f - (float) millisUntilFinished / (float) mTotalTime); in onTick()
DCircularProgressLayout.java84 private long mTotalTime; field in CircularProgressLayout
257 mTotalTime = totalTime; in setTotalTime()
266 return mTotalTime; in getTotalTime()
277 mController.startTimer(mTotalTime, DEFAULT_UPDATE_INTERVAL); in startTimer()
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockStats.java26 public long mTotalTime; field in KernelWakelockStats.Entry
31 mTotalTime = totalTime; in Entry()
DKernelWakelockReader.java180 kwlStats.mTotalTime += totalTime; in parseProcWakelocks()
183 kwlStats.mTotalTime = totalTime; in parseProcWakelocks()
DBatteryStatsImpl.java1691 protected long mTotalTime; field in BatteryStatsImpl.Timer
1733 mTotalTime = in.readLong(); in Timer()
1739 if (DEBUG) Log.i(TAG, "**** READ TIMER #" + mType + ": mTotalTime=" + mTotalTime); in Timer()
1758 mTotalTime = mLoadedTime = mLastTime = mTimeBeforeMark = 0; in reset()
1802 + " old mTotalTime=" + mTotalTime); in onTimeStopped()
1804 mTotalTime = computeRunTimeLocked(baseRealtime); in onTimeStopped()
1808 + ": new mTotalTime=" + mTotalTime); in onTimeStopped()
1863 pw.println(prefix + "mTotalTime=" + mTotalTime in logState()
1878 mTotalTime = mLoadedTime = in.readLong(); in readSummaryFromParcelLocked()
1880 mUnpluggedTime = mTotalTime; in readSummaryFromParcelLocked()
[all …]
/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/core/tests/coretests/src/com/android/internal/os/
DKernelWakelockReaderTest.java95 assertEquals(123 * 1000, entry.mTotalTime); // Microseconds in testOneWakelock()
124 assertEquals(20 * 1000, entry.mTotalTime); // Microseconds in testDuplicateWakelocksAccumulate()
DBatteryStatsTimerTest.java93 return mTotalTime; in getTotalTime()
97 mTotalTime = val; in setTotalTime()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java115 private long mTotalTime; field in ComprehensiveCountryDetector
302 mTotalTime += mStopTime; in setCountryListener()
482 sb.append("totalTime=" + (mTotalTime + currentSessionLength) + ", "); in toString()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java77 ev.mTotalTime = duration; in addToEventStats()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h196 nsecs_t mTotalTime; variable
DSurfaceFlinger.cpp207 mTotalTime(0), in SurfaceFlingerBE()
1809 getBE().mTotalTime += elapsedTime; in postComposition()
4030 static_cast<float>(getBE().mFrameBuckets[b]) / getBE().mTotalTime; in dumpStaticScreenStats()
4036 … static_cast<float>(getBE().mFrameBuckets[SurfaceFlingerBE::NUM_BUCKETS - 1]) / getBE().mTotalTime; in dumpStaticScreenStats()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java617 e.writeLong(kws.mTotalTime); in pullKernelWakelock()