HomeSort by relevance Sort by last modified time
    Searched refs:totalTime (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/java/com/android/internal/os/
KernelWakelockStats.java 29 Entry(int count, long totalTime, int version) {
31 mTotalTime = totalTime;
CameraPowerCalculator.java 40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
41 app.cameraTimeMs = totalTime;
42 app.cameraPowerMah = (totalTime * mCameraPowerOnAvg) / (1000*60*60);
FlashlightPowerCalculator.java 38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
39 app.flashlightTimeMs = totalTime;
40 app.flashlightPowerMah = (totalTime * mFlashlightPowerOnAvg) / (1000*60*60);
KernelWakelockReader.java 43 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 5: totalTime
55 |Process.PROC_OUT_LONG, // 6: totalTime
123 long totalTime;
162 totalTime = wlData[2] * 1000;
165 totalTime = (wlData[2] + 500) / 1000;
170 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime,
176 kwlStats.mTotalTime += totalTime;
179 kwlStats.mTotalTime = totalTime;
  /frameworks/native/libs/gui/include/gui/
OccupancyTracker.h 43 : totalTime(0),
50 : totalTime(_totalTime),
59 nsecs_t totalTime;
82 totalTime = 0;
87 nsecs_t totalTime;
  /frameworks/support/wear/src/android/support/wear/widget/
CircularProgressLayoutController.java 86 void startTimer(long totalTime, long updateInterval) {
89 mTimer = new CircularProgressTimer(totalTime, updateInterval);
117 CircularProgressTimer(long totalTime, long updateInterval) {
118 super(totalTime, updateInterval);
119 mTotalTime = totalTime;
  /frameworks/base/core/java/android/animation/
TimeAnimator.java 42 long totalTime = currentTime - mStartTime;
45 mListener.onTimeUpdate(this, totalTime, deltaTime);
83 * deltaTime will be zero. The same is true for totalTime, unless the animator was
93 * @param totalTime The total time elapsed since the animator started, in milliseconds.
96 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime);
  /frameworks/base/core/java/android/app/
WaitResult.java 35 public long totalTime;
51 dest.writeLong(totalTime);
72 totalTime = source.readLong();
81 pw.println(prefix + " totalTime=" + totalTime);
  /tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
AddCommandOp.java 32 AddCommandOp(long totalTime, String... commandArgs) {
33 mTotalTime = totalTime;
45 long totalTime = jsonData.getLong(TIME);
51 return new AddCommandOp(totalTime, commandArgs);
  /external/testng/src/main/java/org/testng/reporters/jq/
TimesPanel.java 104 private String prettyDuration(long totalTime) {
106 if (totalTime < 1000) {
107 result = totalTime + " ms";
108 } else if (totalTime < 1000 * 60) {
109 result = (totalTime / 1000) + " seconds";
110 } else if (totalTime < 1000 * 60 * 60) {
111 result = (totalTime / 1000 / 60) + " minutes";
113 result = (totalTime / 1000 / 60 / 60) + " hours";
  /frameworks/base/core/java/android/os/
CpuUsageInfo.java 38 public CpuUsageInfo(long activeTime, long totalTime) {
40 mTotal = totalTime;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
ControllerOverlay.java 54 void setTimes(int currentTime, int totalTime,
TrimControllerOverlay.java 84 public void setTimes(int currentTime, int totalTime, int trimStartTime, int trimEndTime) {
85 mTimeBar.setTime(currentTime, totalTime, trimStartTime, trimEndTime);
  /packages/inputmethods/LatinIME/native/jni/src/utils/
profiler.h 36 const float totalTime =
38 AKLOGI("Total time is %6.3f ms.", totalTime);
41 time.second / totalTime * 100.0f, time.second, mCounters[time.first]);
  /frameworks/native/libs/gui/
OccupancyTracker.cpp 30 status_t result = parcel->writeInt64(totalTime);
46 status_t result = parcel->readInt64(&totalTime);
70 mPendingSegment.totalTime += delta;
104 mPendingSegment.totalTime;
108 mSegmentHistory.push_front({mPendingSegment.totalTime,
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
LapsAdapter.java 91 final long totalTime;
99 totalTime = lap.getAccumulatedTime();
102 totalTime = getStopwatch().getTotalTime();
103 lapTime = DataModel.getDataModel().getCurrentLapTime(totalTime);
109 viewHolder.accumulatedTime.setText(formatAccumulatedTime(totalTime, true));
125 * @param totalTime time accumulated for the current lap and all prior laps
127 void updateCurrentLap(RecyclerView rv, long totalTime) {
136 final long lapTime = DataModel.getDataModel().getCurrentLapTime(totalTime);
140 holder.accumulatedTime.setText(formatAccumulatedTime(totalTime, false));
182 final long totalTime = stopwatch.getTotalTime()
    [all...]
  /cts/tests/openglperf2/src/android/opengl2/cts/reference/
GLReferenceBenchmark.java 52 double totalTime = 0;
74 totalTime = setUpTimes[0] + setUpTimes[1] + setUpTimes[2] + setUpTimes[3] +
76 report.setSummary("total_time_average", totalTime, ResultType.LOWER_BETTER,
  /frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
BlasBenchmark.java 93 float totalTime;
102 return r.totalTime / r.iterations * 1000.f;
118 r.totalTime += (t2 - t) / 1000.f;
120 } while (r.totalTime < minTime);
125 r.totalTime += (t2 - t) / 1000.f;
148 Log.v("rs", "Test: time=" + r.totalTime +"s, iterations=" + r.iterations +
149 ", avg=" + r.totalTime / r.iterations * 1000.f + " " + r.testInfo);
195 mTestResults[ct] = r.totalTime / r.iterations * 1000.f;
  /frameworks/native/opengl/tests/angeles/
app-linux.cpp 208 double totalTime = timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec;
228 totalTime = (timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec) - totalTime;
229 printf("totalTime=%f s, frameCount=%d, %.2f fps\n",
230 totalTime, frameCount, frameCount/totalTime);
  /external/skia/src/utils/
SkInterpolator.cpp 78 SkMSec totalTime = endTime - startTime;
80 endTime = SkScalarFloorToInt(fRepeat * totalTime);
83 offsetTime = fraction == 0 && fRepeat > 0 ? totalTime :
84 (SkMSec) SkScalarFloorToInt(fraction * totalTime);
88 offsetTime = offsetTime % (totalTime << mirror);
89 if (offsetTime > totalTime) { // can only be true if fMirror is true
90 offsetTime = (totalTime << 1) - offsetTime;
  /development/tools/axl/
chewperf.py 58 totalTime = tLast - t0
60 print "total time", totalTime, "bytes", bytes, "rate", bytes * 1000 / totalTime
  /packages/apps/DeskClock/src/com/android/deskclock/data/
StopwatchModel.java 143 final long totalTime = getStopwatch().getTotalTime();
147 StopwatchDAO.addLap(mPrefs, lapNumber, totalTime);
150 final long lapTime = totalTime - prevAccumulatedTime;
152 final Lap lap = new Lap(lapNumber, lapTime, totalTime);
  /packages/apps/Settings/src/com/android/settings/search/
SettingsSearchIndexablesProvider.java 119 final long totalTime = System.currentTimeMillis() - startTime;
120 Log.d(TAG, "No indexable, total time " + totalTime);
129 final long totalTime = System.currentTimeMillis() - startTime;
131 + totalTime);
  /test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
VtsMultiDeviceTestResultParserTest.java 70 long totalTime = getTotalTime(contents);
81 mockRunListener.testRunEnded(totalTime, Collections.<String, String>emptyMap());
97 long totalTime = getTotalTime(contents);
109 mockRunListener.testRunEnded(totalTime, Collections.<String, String>emptyMap());
125 long totalTime = getTotalTime(contents);
130 mockRunListener.testRunEnded(totalTime, Collections.<String, String>emptyMap());
  /frameworks/base/core/java/com/android/internal/app/procstats/
ProcessState.java 729 long totalTime = 0;
735 totalTime += getDuration(bucket, now);
739 mTmpTotalTime = totalTime;
740 return totalTime;
745 long now, long totalTime) {
755 procStates, now, totalTime, true);
757 new int[] { STATE_PERSISTENT }, now, totalTime, true);
759 new int[] {STATE_TOP}, now, totalTime, true);
761 new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, true);
763 new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, true)
    [all...]

Completed in 956 milliseconds

1 2 3 4 5 6