Home
last modified time | relevance | path

Searched refs:nanoTime (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java63 startnow = System.nanoTime(); in extractResultImage()
65 endnow = System.nanoTime(); in extractResultImage()
68 startnow = System.nanoTime(); in extractResultImage()
70 endnow = System.nanoTime(); in extractResultImage()
135 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
137 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
140 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
142 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
158 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
161 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
[all …]
DImageBuffersForRenderScriptF32.java74 startnow = System.nanoTime(); in initializeRenderScript()
77 endnow = System.nanoTime(); in initializeRenderScript()
83 startnow = System.nanoTime(); in initializeRenderScript()
85 endnow = System.nanoTime(); in initializeRenderScript()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java65 startnow = System.nanoTime(); in extractResultImage()
67 endnow = System.nanoTime(); in extractResultImage()
70 startnow = System.nanoTime(); in extractResultImage()
72 endnow = System.nanoTime(); in extractResultImage()
137 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
141 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
144 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
148 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
165 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
168 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
[all …]
DImageBuffersForRenderScriptd1new.java96 startnow = System.nanoTime(); in initializeRenderScript()
99 endnow = System.nanoTime(); in initializeRenderScript()
105 startnow = System.nanoTime(); in initializeRenderScript()
107 endnow = System.nanoTime(); in initializeRenderScript()
/frameworks/av/media/libaaudio/src/client/
DIsochronousClockModel.cpp61 void IsochronousClockModel::setPositionAndTime(int64_t framePosition, int64_t nanoTime) { in setPositionAndTime() argument
62 ALOGV("setPositionAndTime, %lld, %lld", (long long) framePosition, (long long) nanoTime); in setPositionAndTime()
64 mMarkerNanoTime = nanoTime; in setPositionAndTime()
67 void IsochronousClockModel::start(int64_t nanoTime) { in start() argument
68 ALOGV("start(nanos = %lld)\n", (long long) nanoTime); in start()
69 mMarkerNanoTime = nanoTime; in start()
76 void IsochronousClockModel::stop(int64_t nanoTime) { in stop() argument
78 (long long) nanoTime, in stop()
80 setPositionAndTime(convertTimeToPosition(nanoTime), nanoTime); in stop()
96 void IsochronousClockModel::processTimestamp(int64_t framePosition, int64_t nanoTime) { in processTimestamp() argument
[all …]
DIsochronousClockModel.h40 void start(int64_t nanoTime);
41 void stop(int64_t nanoTime);
53 void processTimestamp(int64_t framePosition, int64_t nanoTime);
60 void setPositionAndTime(int64_t framePosition, int64_t nanoTime);
100 int64_t convertTimeToPosition(int64_t nanoTime) const;
112 int64_t convertLatestTimeToPosition(int64_t nanoTime) const;
/frameworks/base/media/java/android/media/
DMediaTimestamp.java68 return nanoTime; in getAnchorSystemNanoTime()
86 public final long nanoTime; field in MediaTimestamp
101 this.nanoTime = nanoTimeNs; in MediaTimestamp()
108 nanoTime = 0; in MediaTimestamp()
119 && (this.nanoTime == that.nanoTime) in equals()
127 + " AnchorSystemNanoTime=" + nanoTime in toString()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java79 final long start = System.nanoTime(); in onCreateViewHolder()
85 final long start = System.nanoTime(); in onCreateViewHolder()
87 while (System.nanoTime() - start < INNER_ITEM_ATTACH_NS); in onCreateViewHolder()
103 while (System.nanoTime() - start < INNER_ITEM_CREATE_NS); in onCreateViewHolder()
109 final long start = System.nanoTime(); in onBindViewHolder()
110 while (System.nanoTime() - start < INNER_ITEM_BIND_NS); in onBindViewHolder()
138 final long start = System.nanoTime(); in onCreateViewHolder()
143 final long start = System.nanoTime(); in onCreateViewHolder()
145 while (System.nanoTime() - start < OUTER_ITEM_ATTACH_NS); in onCreateViewHolder()
157 while (System.nanoTime() - start < OUTER_ITEM_CREATE_NS); in onCreateViewHolder()
[all …]
DSlowBindRecyclerViewActivity.java33 long start = System.nanoTime(); in spinWaitMs()
34 while (System.nanoTime() - start < TimeUnit.MILLISECONDS.toNanos(ms)); in spinWaitMs()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DContentProviderPerfTest.java41 long startTimeNs = System.nanoTime(); in contentProviderRunning()
45 final long endTimeNs = System.nanoTime(); in contentProviderRunning()
60 final long startTimeNs = System.nanoTime(); in contentProviderNotRunning()
64 final long endTimeNs = System.nanoTime(); in contentProviderNotRunning()
DServiceStartPerfTest.java55 final long startTimeNs = System.nanoTime(); in startServiceNotRunning()
75 final long startTimeNs = System.nanoTime(); in startServiceProcessRunning()
96 final long startTimeNs = System.nanoTime(); in startServiceAlreadyBound()
121 final long startTimeNs = System.nanoTime(); in startServiceProcessRunningReadUriPermission()
DBroadcastPerfTest.java40 final long startTime = System.nanoTime(); in manifestBroadcastRunning()
56 final long startTime = System.nanoTime(); in manifestBroadcastNotRunning()
74 final long startTime = System.nanoTime(); in registeredBroadcast()
DServiceBindPerfTest.java74 final long startTimeNs = System.nanoTime();
96 final long startTimeNs = System.nanoTime();
123 final long startTimeNs = System.nanoTime();
153 final long startTimeNs = System.nanoTime();
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java97 mPausedTimeNs = System.nanoTime(); in pauseTiming()
108 mPausedDurationNs += System.nanoTime() - mPausedTimeNs; in resumeTiming()
114 mStartTimeNs = System.nanoTime(); in beginWarmup()
132 mStartTimeNs = System.nanoTime(); in beginBenchmark()
136 final long currentTime = System.nanoTime(); in startNextTestRun()
149 mStartTimeNs = System.nanoTime(); in startNextTestRun()
167 final long duration = System.nanoTime() - mStartTimeNs; in keepRunning()
/frameworks/base/graphics/java/android/graphics/
DFrameInfo.java105 frameInfo[HANDLE_INPUT_START] = System.nanoTime(); in markInputHandlingStart()
110 frameInfo[ANIMATION_START] = System.nanoTime(); in markAnimationsStart()
115 frameInfo[PERFORM_TRAVERSALS_START] = System.nanoTime(); in markPerformTraversalsStart()
120 frameInfo[DRAW_START] = System.nanoTime(); in markDrawStart()
/frameworks/av/media/libaaudio/src/utility/
DAudioClock.h52 static int sleepUntilNanoTime(int64_t nanoTime,
54 if (nanoTime > 0) {
56 time.tv_sec = nanoTime / AAUDIO_NANOS_PER_SECOND;
58 time.tv_nsec = nanoTime - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkRunner.java63 mResults.addDuration(System.nanoTime() - mStartTimeNs - mPausedDurationNs); in startNextTestRun()
76 mStartTimeNs = System.nanoTime(); in prepareForNextRun()
84 mPausedTimeNs = System.nanoTime(); in pauseTiming()
92 mPausedDurationNs += System.nanoTime() - mPausedTimeNs; in resumeTiming()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/
DSystem_Delegate.java33 private static AtomicLong mNanosTime = new AtomicLong(System.nanoTime());
35 private static AtomicLong mBootNanosTime = new AtomicLong(System.nanoTime());
53 public static long nanoTime() { in nanoTime() method in System_Delegate
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DStats.java47 public long getCurTime() { return System.nanoTime(); } in getCurTime()
53 public void setStartTime() { mStartTimeNs = System.nanoTime(); } in setStartTime()
57 public void addInputTime() { mInputTimer.add(System.nanoTime()); } in addInputTime()
59 public void addOutputTime() { mOutputTimer.add(System.nanoTime()); } in addOutputTime()
155 rowData += System.nanoTime() + ", "; in dumpStatistics()
/frameworks/base/apct-tests/perftests/core/src/android/perftests/
DSystemPerfTest.java48 System.nanoTime(); in testNanoTimePerf()
59 long start = System.nanoTime(); in spinBlock()
60 while (System.nanoTime() - start < durationNs) {} in spinBlock()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java154 long time = System.nanoTime();
187 Log.v(TAG, " gl " + count / ((System.nanoTime() - time) * 1E-9) + " fps"); in draw()
189 time = System.nanoTime(); in draw()
296 long time = System.nanoTime();
346 long time = System.nanoTime(); in doInBackground()
385 Log.v(TAG, " " + count / ((System.nanoTime() - time) * 1E-9) + " fps"); in onProgressUpdate()
387 time = System.nanoTime(); in onProgressUpdate()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java213 long startTime = System.nanoTime(); in runBenchmarkInBackground()
218 long elapsed = -System.nanoTime(); in runBenchmarkInBackground()
220 elapsed += System.nanoTime(); in runBenchmarkInBackground()
227 if (System.nanoTime() - startTime > TIME_LIMIT * 1e9) { in runBenchmarkInBackground()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java68 long startTimeNano = System.nanoTime(); in getBlockStatus()
79 int durationMillis = (int) ((System.nanoTime() - startTimeNano) / 1000000); in getBlockStatus()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DBasicPipeline.java57 long start = System.nanoTime(); in rasterizeTriangles()
62 Log.v(LOGTAG,"render triangles "+((System.nanoTime()-start)/1E6f)+" ms"); in rasterizeTriangles()
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothPacketDecoder.java63 mTimeTracker = new MidiBtleTimeTracker(System.nanoTime()); in decodePacket()
111 long now = System.nanoTime(); in decodePacket()

1234