Home
last modified time | relevance | path

Searched refs:mTotalTime (Results 1 – 15 of 15) 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/base/core/java/com/android/internal/os/
DKernelWakelockStats.java26 public long mTotalTime; field in KernelWakelockStats.Entry
31 mTotalTime = totalTime; in Entry()
DKernelWakelockReader.java169 kwlStats.mTotalTime += totalTime; in parseProcWakelocks()
172 kwlStats.mTotalTime = totalTime; in parseProcWakelocks()
DBatteryStatsImpl.java1238 protected long mTotalTime; field in BatteryStatsImpl.Timer
1280 mTotalTime = in.readLong(); in Timer()
1286 if (DEBUG) Log.i(TAG, "**** READ TIMER #" + mType + ": mTotalTime=" + mTotalTime); in Timer()
1305 mTotalTime = mLoadedTime = mLastTime = mTimeBeforeMark = 0; in reset()
1349 + " old mTotalTime=" + mTotalTime); in onTimeStopped()
1351 mTotalTime = computeRunTimeLocked(baseRealtime); in onTimeStopped()
1355 + ": new mTotalTime=" + mTotalTime); in onTimeStopped()
1410 pw.println(prefix + "mTotalTime=" + mTotalTime in logState()
1425 mTotalTime = mLoadedTime = in.readLong(); in readSummaryFromParcelLocked()
1427 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.h715 nsecs_t mTotalTime; variable
DSurfaceFlinger_hwc1.cpp151 mTotalTime(0), in SurfaceFlinger()
1343 mTotalTime += elapsedTime; in postComposition()
3104 static_cast<float>(mFrameBuckets[b]) / mTotalTime; in dumpStaticScreenStats()
3110 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime; in dumpStaticScreenStats()
DSurfaceFlinger.cpp158 mTotalTime(0), in SurfaceFlinger()
1624 mTotalTime += elapsedTime; in postComposition()
3449 static_cast<float>(mFrameBuckets[b]) / mTotalTime; in dumpStaticScreenStats()
3455 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime; in dumpStaticScreenStats()