Home
last modified time | relevance | path

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

/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.java37 private long mTotalTime; field in AppTimeTracker
57 mTotalTime += elapsedTime; in start()
71 mTotalTime += elapsedTime; in stop()
83 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime); in deliverResult()
107 TimeUtils.formatDuration(mTotalTime, pw); in dump()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsPresenter.java57 final TextView mTotalTime; field in PlaybackControlsPresenter.ViewHolder
71 mTotalTime = (TextView) rootView.findViewById(R.id.total_time); in ViewHolder()
92 ((MarginLayoutParams) mTotalTime.getLayoutParams()).getMarginEnd(); in ViewHolder()
142 mTotalTime.setVisibility(View.GONE); in setTotalTime()
145 mTotalTime.setVisibility(View.VISIBLE); in setTotalTime()
149 mTotalTime.setText(mTotalTimeStringBuilder.toString()); in setTotalTime()
308 lp = (MarginLayoutParams) vh.mTotalTime.getLayoutParams(); in enableTimeMargins()
310 vh.mTotalTime.setLayoutParams(lp); in enableTimeMargins()
DPlaybackTransportRowPresenter.java62 final TextView mTotalTime; field in PlaybackTransportRowPresenter.ViewHolder
269 mTotalTime = (TextView) rootView.findViewById(R.id.total_time); in ViewHolder()
448 return mTotalTime; in getDurationView()
457 if (mTotalTime != null) { in onSetDurationLabel()
459 mTotalTime.setText(mTempBuilder.toString()); in onSetDurationLabel()
/frameworks/support/wear/src/android/support/wear/widget/
DCircularProgressLayoutController.java115 private final long mTotalTime; field in CircularProgressLayoutController.CircularProgressTimer
119 mTotalTime = totalTime; in CircularProgressTimer()
125 .setStartEndTrim(0f, 1f - (float) millisUntilFinished / (float) mTotalTime); in onTick()
DCircularProgressLayout.java83 private long mTotalTime; field in CircularProgressLayout
256 mTotalTime = totalTime; in setTotalTime()
265 return mTotalTime; in getTotalTime()
276 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.java176 kwlStats.mTotalTime += totalTime; in parseProcWakelocks()
179 kwlStats.mTotalTime = totalTime; in parseProcWakelocks()
DBatteryStatsImpl.java1314 protected long mTotalTime; field in BatteryStatsImpl.Timer
1356 mTotalTime = in.readLong(); in Timer()
1362 if (DEBUG) Log.i(TAG, "**** READ TIMER #" + mType + ": mTotalTime=" + mTotalTime); in Timer()
1381 mTotalTime = mLoadedTime = mLastTime = mTimeBeforeMark = 0; in reset()
1425 + " old mTotalTime=" + mTotalTime); in onTimeStopped()
1427 mTotalTime = computeRunTimeLocked(baseRealtime); in onTimeStopped()
1431 + ": new mTotalTime=" + mTotalTime); in onTimeStopped()
1486 pw.println(prefix + "mTotalTime=" + mTotalTime in logState()
1501 mTotalTime = mLoadedTime = in.readLong(); in readSummaryFromParcelLocked()
1503 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/native/services/surfaceflinger/
DSurfaceFlinger.h776 nsecs_t mTotalTime; variable
DSurfaceFlinger_hwc1.cpp151 mTotalTime(0), in SurfaceFlinger()
1344 mTotalTime += elapsedTime; in postComposition()
3124 static_cast<float>(mFrameBuckets[b]) / mTotalTime; in dumpStaticScreenStats()
3130 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime; in dumpStaticScreenStats()
DSurfaceFlinger.cpp172 mTotalTime(0), in SurfaceFlinger()
1712 mTotalTime += elapsedTime; in postComposition()
3594 static_cast<float>(mFrameBuckets[b]) / mTotalTime; in dumpStaticScreenStats()
3600 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime; in dumpStaticScreenStats()