Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libaaudio/src/client/
DIsochronousClockModel.cpp43 void IsochronousClockModel::setPositionAndTime(int64_t framePosition, int64_t nanoTime) { in setPositionAndTime() argument
45 (long long) framePosition, (long long) nanoTime); in setPositionAndTime()
47 mMarkerNanoTime = nanoTime; in setPositionAndTime()
50 void IsochronousClockModel::start(int64_t nanoTime) { in start() argument
51 ALOGV("start(nanos = %lld)\n", (long long) nanoTime); in start()
52 mMarkerNanoTime = nanoTime; in start()
56 void IsochronousClockModel::stop(int64_t nanoTime) { in stop() argument
57 ALOGV("stop(nanos = %lld)\n", (long long) nanoTime); in stop()
58 setPositionAndTime(convertTimeToPosition(nanoTime), nanoTime); in stop()
67 void IsochronousClockModel::processTimestamp(int64_t framePosition, int64_t nanoTime) { in processTimestamp() argument
[all …]
DIsochronousClockModel.h36 void start(int64_t nanoTime);
37 void stop(int64_t nanoTime);
41 void processTimestamp(int64_t framePosition, int64_t nanoTime);
48 void setPositionAndTime(int64_t framePosition, int64_t nanoTime);
79 int64_t convertTimeToPosition(int64_t nanoTime) const;
/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/base/media/java/android/media/
DMediaTimestamp.java56 return nanoTime; in getAnchorSytemNanoTime()
73 public final long nanoTime; field in MediaTimestamp
80 nanoTime = systemNs; in MediaTimestamp()
87 nanoTime = 0; in MediaTimestamp()
98 && (this.nanoTime == that.nanoTime) in equals()
106 + " 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.java40 long startTimeNs = System.nanoTime(); in contentProviderRunning()
44 final long endTimeNs = System.nanoTime(); in contentProviderRunning()
59 final long startTimeNs = System.nanoTime(); in contentProviderNotRunning()
63 final long endTimeNs = System.nanoTime(); in contentProviderNotRunning()
DServiceStartPerfTest.java54 final long startTimeNs = System.nanoTime(); in startServiceNotRunning()
74 final long startTimeNs = System.nanoTime(); in startServiceProcessRunning()
95 final long startTimeNs = System.nanoTime(); in startServiceAlreadyBound()
120 final long startTimeNs = System.nanoTime(); in startServiceProcessRunningReadUriPermission()
DBroadcastPerfTest.java39 final long startTime = System.nanoTime(); in manifestBroadcastRunning()
55 final long startTime = System.nanoTime(); in manifestBroadcastNotRunning()
73 final long startTime = System.nanoTime(); in registeredBroadcast()
DServiceBindPerfTest.java73 final long startTimeNs = System.nanoTime();
95 final long startTimeNs = System.nanoTime();
122 final long startTimeNs = System.nanoTime();
152 final long startTimeNs = System.nanoTime();
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java96 mPausedTimeNs = System.nanoTime(); in pauseTiming()
107 mPausedDurationNs += System.nanoTime() - mPausedTimeNs; in resumeTiming()
113 mStartTimeNs = System.nanoTime(); in beginWarmup()
131 mStartTimeNs = System.nanoTime(); in beginBenchmark()
135 final long currentTime = System.nanoTime(); in startNextTestRun()
148 mStartTimeNs = System.nanoTime(); in startNextTestRun()
166 final long duration = System.nanoTime() - mStartTimeNs; in keepRunning()
/frameworks/base/core/java/android/view/
DFrameInfo.java99 mFrameInfo[HANDLE_INPUT_START] = System.nanoTime(); in markInputHandlingStart()
103 mFrameInfo[ANIMATION_START] = System.nanoTime(); in markAnimationsStart()
107 mFrameInfo[PERFORM_TRAVERSALS_START] = System.nanoTime(); in markPerformTraversalsStart()
111 mFrameInfo[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.java65 mResults.addDuration(System.nanoTime() - mStartTimeNs - mPausedDurationNs); in startNextTestRun()
83 mStartTimeNs = System.nanoTime(); in prepareForNextRun()
91 mPausedTimeNs = System.nanoTime(); in pauseTiming()
99 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/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/
DAppFusePerfTest.java58 final long startTime = System.nanoTime(); in testReadWriteFile()
60 readTime[i] = (System.nanoTime() - startTime) / 1000.0 / 1000.0; in testReadWriteFile()
70 final long startTime = System.nanoTime(); in testReadWriteFile()
72 writeTime[i] = (System.nanoTime() - startTime) / 1000.0 / 1000.0; in testReadWriteFile()
/frameworks/base/apct-tests/perftests/core/src/android/perftests/
DSystemPerfTest.java47 System.nanoTime(); in testNanoTimePerf()
58 long start = System.nanoTime(); in spinBlock()
59 while (System.nanoTime() - start < durationNs) {} in spinBlock()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java45 long startTimeNano = System.nanoTime(); in isBlocked()
57 int durationMillis = (int) ((System.nanoTime() - startTimeNano) / 1000000); in isBlocked()
/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/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.java46 mTimeTracker = new MidiBtleTimeTracker(System.nanoTime()); in decodePacket()
99 long now = System.nanoTime(); in decodePacket()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DLinearLayoutManagerJankActivity.java42 long start = System.nanoTime(); in spinWaitMs()
43 while (System.nanoTime() - start < ms * 1000L * 1000L); in spinWaitMs()

1234