Home
last modified time | relevance | path

Searched refs:totalTime (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/native/libs/gui/include/gui/
DOccupancyTracker.h43 : totalTime(0), in Segment()
50 : totalTime(_totalTime), in Segment()
59 nsecs_t totalTime; member
82 totalTime = 0; in clear()
87 nsecs_t totalTime; member
/frameworks/support/wear/src/android/support/wear/widget/
DCircularProgressLayoutController.java86 void startTimer(long totalTime, long updateInterval) { in startTimer() argument
89 mTimer = new CircularProgressTimer(totalTime, updateInterval); in startTimer()
117 CircularProgressTimer(long totalTime, long updateInterval) { in CircularProgressTimer() argument
118 super(totalTime, updateInterval); in CircularProgressTimer()
119 mTotalTime = totalTime; in CircularProgressTimer()
DCircularProgressLayout.java252 public void setTotalTime(long totalTime) { in setTotalTime() argument
253 if (totalTime <= 0) { in setTotalTime()
256 mTotalTime = totalTime; in setTotalTime()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java93 float totalTime; field in BlasBenchmark.Processor.Result
102 return r.totalTime / r.iterations * 1000.f; in getInstrumentationResult()
118 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop()
120 } while (r.totalTime < minTime); in runBenchmarkLoop()
125 r.totalTime += (t2 - t) / 1000.f; in runBenchmarkLoop()
148 Log.v("rs", "Test: time=" + r.totalTime +"s, iterations=" + r.iterations + in getBenchmark()
149 ", avg=" + r.totalTime / r.iterations * 1000.f + " " + r.testInfo); in getBenchmark()
195 mTestResults[ct] = r.totalTime / r.iterations * 1000.f; in run()
/frameworks/native/libs/gui/
DOccupancyTracker.cpp30 status_t result = parcel->writeInt64(totalTime); in writeToParcel()
46 status_t result = parcel->readInt64(&totalTime); in readFromParcel()
70 mPendingSegment.totalTime += delta; in registerOccupancyChange()
104 mPendingSegment.totalTime; in recordPendingSegment()
108 mSegmentHistory.push_front({mPendingSegment.totalTime, in recordPendingSegment()
/frameworks/base/core/java/android/app/
DWaitResult.java35 public long totalTime; field in WaitResult
51 dest.writeLong(totalTime); in writeToParcel()
72 totalTime = source.readLong(); in WaitResult()
81 pw.println(prefix + " totalTime=" + totalTime); in dump()
/frameworks/base/core/java/com/android/internal/os/
DCameraPowerCalculator.java40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; in calculateApp() local
41 app.cameraTimeMs = totalTime; in calculateApp()
42 app.cameraPowerMah = (totalTime * mCameraPowerOnAvg) / (1000*60*60); in calculateApp()
DFlashlightPowerCalculator.java38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000; in calculateApp() local
39 app.flashlightTimeMs = totalTime; in calculateApp()
40 app.flashlightPowerMah = (totalTime * mFlashlightPowerOnAvg) / (1000*60*60); in calculateApp()
DKernelWakelockReader.java123 long totalTime; in parseProcWakelocks() local
162 totalTime = wlData[2] * 1000; in parseProcWakelocks()
165 totalTime = (wlData[2] + 500) / 1000; in parseProcWakelocks()
170 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime, in parseProcWakelocks()
176 kwlStats.mTotalTime += totalTime; in parseProcWakelocks()
179 kwlStats.mTotalTime = totalTime; in parseProcWakelocks()
DKernelWakelockStats.java29 Entry(int count, long totalTime, int version) { in Entry() argument
31 mTotalTime = totalTime; in Entry()
DProcessCpuTracker.java774 final int totalTime = mRelUserTime + mRelSystemTime + mRelIoWaitTime
777 if (DEBUG) Slog.i(TAG, "totalTime " + totalTime + " over sample time "
798 printProcessCPU(pw, "", -1, "TOTAL", totalTime, mRelUserTime, mRelSystemTime,
819 int totalTime, int user, int system, int iowait, int irq, int softIrq,
822 if (totalTime == 0) totalTime = 1;
823 printRatio(pw, user+system+iowait+irq+softIrq, totalTime);
831 printRatio(pw, user, totalTime);
833 printRatio(pw, system, totalTime);
837 printRatio(pw, iowait, totalTime);
842 printRatio(pw, irq, totalTime);
[all …]
/frameworks/native/opengl/tests/angeles/
Dapp-linux.cpp208 double totalTime = timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec; in main() local
228 totalTime = (timeTemp.tv_usec/1000000.0 + timeTemp.tv_sec) - totalTime; in main()
230 totalTime, frameCount, frameCount/totalTime); in main()
/frameworks/base/core/java/android/animation/
DTimeAnimator.java42 long totalTime = currentTime - mStartTime; in animateBasedOnTime() local
45 mListener.onTimeUpdate(this, totalTime, deltaTime); in animateBasedOnTime()
96 void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime); in onTimeUpdate() argument
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java729 long totalTime = 0; in computeProcessTimeLocked() local
735 totalTime += getDuration(bucket, now); in computeProcessTimeLocked()
739 mTmpTotalTime = totalTime; in computeProcessTimeLocked()
740 return totalTime; in computeProcessTimeLocked()
745 long now, long totalTime) { in dumpSummary() argument
755 procStates, now, totalTime, true); in dumpSummary()
757 new int[] { STATE_PERSISTENT }, now, totalTime, true); in dumpSummary()
759 new int[] {STATE_TOP}, now, totalTime, true); in dumpSummary()
761 new int[] { STATE_IMPORTANT_FOREGROUND }, now, totalTime, true); in dumpSummary()
763 new int[] {STATE_IMPORTANT_BACKGROUND}, now, totalTime, true); in dumpSummary()
[all …]
DServiceState.java362 long now, long totalTime, boolean dumpSummary, boolean dumpAll) { in dumpStats() argument
365 mRunStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats()
368 mStartedStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats()
371 mBoundStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats()
374 mExecStartTime, now, totalTime, !dumpSummary || dumpAll); in dumpStats()
388 int count, int serviceType, int state, long startTime, long now, long totalTime, in dumpStats() argument
400 DumpUtils.printPercent(pw, (double)myTime/(double)totalTime); in dumpStats()
408 long totalTime = 0; in dumpTime() local
431 totalTime += time; in dumpTime()
435 if (totalTime != 0 && pw != null) { in dumpTime()
[all …]
DDumpUtils.java201 long totalTime = 0; in dumpSingleTime() local
226 totalTime += time; in dumpSingleTime()
230 if (totalTime != 0 && pw != null) { in dumpSingleTime()
233 TimeUtils.formatDuration(totalTime, pw); in dumpSingleTime()
236 return totalTime; in dumpSingleTime()
313 long now, long totalTime) { in dumpProcessSummaryLocked() argument
316 proc.dumpSummary(pw, prefix, screenStates, memStates, procStates, now, totalTime); in dumpProcessSummaryLocked()
DProcessStats.java333 data.totalTime = 0; in computeTotalMemoryUse()
358 data.totalTime += memTime; in computeTotalMemoryUse()
1221 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor, in dumpLocked() local
1308 now, totalTime); in dumpLocked()
1329 now, totalTime, dumpSummary, dumpAll); in dumpLocked()
1408 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor, in dumpSummaryLocked() local
1411 ALL_PROC_STATES, NON_CACHED_PROC_STATES, now, totalTime, reqPackage, activeOnly); in dumpSummaryLocked()
1432 long totalTime, long curTotalMem, int samples) { in printMemoryCategory() argument
1434 long mem = (long)(memWeight * 1024 / totalTime); in printMemoryCategory()
1458 totalMem.totalTime, totalPss, totalMem.sysMemSamples); in dumpTotalsLocked()
[all …]
/frameworks/base/core/java/android/os/
DCpuUsageInfo.java38 public CpuUsageInfo(long activeTime, long totalTime) { in CpuUsageInfo() argument
40 mTotal = totalTime; in CpuUsageInfo()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java278 float totalTime; field in ImageProcessingActivity2.Processor.Result
306 mTest.animateBars(r.totalTime); in runBenchmarkLoop()
338 r.totalTime = (t2 - t) / 1000.f; in runBenchmarkLoop()
339 } while (r.totalTime < minTime); in runBenchmarkLoop()
343 r.totalTime = (t2 - t) / 1000.f; in runBenchmarkLoop()
372 Log.v("rs", "Test: time=" + r.totalTime +"s, frames=" + r.iterations + in getBenchmark()
373 ", avg=" + r.totalTime / r.iterations * 1000.f); in getBenchmark()
376 return r.totalTime / r.iterations * 1000.f; in getBenchmark()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackSupportFragment.java81 long totalTime = getControlsRow().getDuration(); in createComponents()
82 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) { in createComponents()
DPlaybackFragment.java78 long totalTime = getControlsRow().getDuration(); in createComponents()
79 if (getView() == null || getView().getWidth() == 0 || totalTime <= 0) { in createComponents()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFocusHighlightHelper.java130 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument
132 if (totalTime >= mDuration) { in onTimeUpdate()
136 fraction = (float) (totalTime / (double) mDuration); in onTimeUpdate()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DRowsFragment.java100 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument
102 updateSelect(totalTime, deltaTime); in onTimeUpdate()
106 void updateSelect(long totalTime, long deltaTime) { in updateSelect() argument
108 if (totalTime >= mSelectAnimatorDurationInUse) { in updateSelect()
112 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse); in updateSelect()
DRowsSupportFragment.java97 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument
99 updateSelect(totalTime, deltaTime); in onTimeUpdate()
103 void updateSelect(long totalTime, long deltaTime) { in updateSelect() argument
105 if (totalTime >= mSelectAnimatorDurationInUse) { in updateSelect()
109 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse); in updateSelect()
/frameworks/base/telephony/java/android/telephony/
DTelephonyHistogram.java218 long totalTime = ((long)mAverageTimeMs) * mSampleCount + time; in addTimeTaken() local
219 mAverageTimeMs = (int)(totalTime/++mSampleCount); in addTimeTaken()

12