Searched refs:mTotalTime (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockStats.java26 public long mTotalTime; field in class:KernelWakelockStats.Entry
31 mTotalTime = totalTime;
H A DKernelWakelockReader.java169 kwlStats.mTotalTime += totalTime;
172 kwlStats.mTotalTime = totalTime;
H A DBatteryStatsImpl.java1238 protected long mTotalTime; field in class:BatteryStatsImpl.Timer
1242 * mTotalTime to find the time for the current run of the system.
1253 * The value of mTotalTime when unplug() was last called. Subtract
1254 * this from mTotalTime to find the time since the last unplug from
1261 * Subtract this from mTotalTime to get the time spent running since the mark was set.
1280 mTotalTime = in.readLong();
1286 if (DEBUG) Log.i(TAG, "**** READ TIMER #" + mType + ": mTotalTime=" + mTotalTime);
1305 mTotalTime = mLoadedTime = mLastTime = mTimeBeforeMark = 0;
1318 if (DEBUG) Log.i(TAG, "**** WRITING TIMER #" + mType + ": mTotalTime
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DStopWatchMap.java33 private long mTotalTime; field in class:StopWatch
39 mTotalTime = 0;
57 mTotalTime += stopTime - mStartTime;
62 String.format("%.1f", mTotalTime * 1.0f / mNumCalls));
63 mTotalTime = 0;
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineButtonsTest.java30 private View mTotalTime; field in class:BaselineButtonsTest
46 mTotalTime = activity.findViewById(R.id.totaltime);
56 assertNotNull(mTotalTime);
82 assertEquals("TotalTime wrong bottom", pauseHeight, mTotalTime.getBottom());
84 assertTrue("TotalTime too tall", mTotalTime.getTop() > 0);
/frameworks/base/services/core/java/com/android/server/am/
H A DAppTimeTracker.java37 private long mTotalTime; field in class:AppTimeTracker
57 mTotalTime += elapsedTime;
71 mTotalTime += elapsedTime;
83 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime);
106 pw.print(prefix); pw.print("mTotalTime=");
107 TimeUtils.formatDuration(mTotalTime, pw);
/frameworks/base/tests/AmSlam/src/test/amslam/
H A DMainActivity.java54 private long mTotalTime; field in class:MainActivity
92 mTotalTime = mTotalPingTime = mTotalPongTime = 0;
127 mTotalTime += (recv - send);
137 mTotalTime / mTotalReceived, mTotalPingTime / mTotalReceived,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsPresenter.java57 final TextView mTotalTime; field in class:PlaybackControlsPresenter.ViewHolder
71 mTotalTime = (TextView) rootView.findViewById(R.id.total_time);
92 ((MarginLayoutParams) mTotalTime.getLayoutParams()).getMarginEnd();
142 mTotalTime.setVisibility(View.GONE);
145 mTotalTime.setVisibility(View.VISIBLE);
149 mTotalTime.setText(mTotalTimeStringBuilder.toString());
308 lp = (MarginLayoutParams) vh.mTotalTime.getLayoutParams();
310 vh.mTotalTime.setLayoutParams(lp);
H A DPlaybackTransportRowPresenter.java62 final TextView mTotalTime; field in class:PlaybackTransportRowPresenter.ViewHolder
269 mTotalTime = (TextView) rootView.findViewById(R.id.total_time);
448 return mTotalTime;
457 if (mTotalTime != null) {
459 mTotalTime.setText(mTempBuilder.toString());
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelWakelockReaderTest.java95 assertEquals(123 * 1000, entry.mTotalTime); // Microseconds
124 assertEquals(20 * 1000, entry.mTotalTime); // Microseconds
H A DBatteryStatsTimerTest.java93 return mTotalTime;
97 mTotalTime = val;
152 // Test that stopping the timer updates mTotalTime and mCount
483 + " mTotalTime=9223372036854775807 mLoadedTime=9223372036854775806\n"
/frameworks/base/services/core/java/com/android/server/location/
H A DComprehensiveCountryDetector.java115 private long mTotalTime; field in class:ComprehensiveCountryDetector
302 mTotalTime += mStopTime;
482 sb.append("totalTime=" + (mTotalTime + currentSessionLength) + ", ");
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h715 nsecs_t mTotalTime; member in class:android::SurfaceFlinger
H A DSurfaceFlinger.cpp158 mTotalTime(0),
1624 mTotalTime += elapsedTime;
3449 static_cast<float>(mFrameBuckets[b]) / mTotalTime;
3455 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime;
H A DSurfaceFlinger_hwc1.cpp151 mTotalTime(0),
1343 mTotalTime += elapsedTime;
3104 static_cast<float>(mFrameBuckets[b]) / mTotalTime;
3110 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime;

Completed in 349 milliseconds