/frameworks/av/media/libaaudio/src/client/ |
D | IsochronousClockModel.cpp | 43 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("IsochronousClockModel::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("IsochronousClockModel::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 …]
|
D | IsochronousClockModel.h | 36 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/d1new/ |
D | RefocusFilterd1new.java | 65 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 …]
|
D | ImageBuffersForRenderScriptd1new.java | 96 startnow = System.nanoTime(); in initializeRenderScript() 99 endnow = System.nanoTime(); in initializeRenderScript() 105 startnow = System.nanoTime(); in initializeRenderScript() 107 endnow = System.nanoTime(); in initializeRenderScript()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/ |
D | RefocusFilterF32.java | 63 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 …]
|
D | ImageBuffersForRenderScriptF32.java | 74 startnow = System.nanoTime(); in initializeRenderScript() 77 endnow = System.nanoTime(); in initializeRenderScript() 83 startnow = System.nanoTime(); in initializeRenderScript() 85 endnow = System.nanoTime(); in initializeRenderScript()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SlowNestedRecyclerViewActivity.java | 79 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 …]
|
D | SlowBindRecyclerViewActivity.java | 33 long start = System.nanoTime(); in spinWaitMs() 34 while (System.nanoTime() - start < TimeUnit.MILLISECONDS.toNanos(ms)); in spinWaitMs()
|
/frameworks/base/media/java/android/media/ |
D | MediaTimestamp.java | 51 return nanoTime; in getAnchorSytemNanoTime() 68 public final long nanoTime; field in MediaTimestamp 75 nanoTime = systemNs; in MediaTimestamp() 82 nanoTime = 0; in MediaTimestamp()
|
/frameworks/base/core/java/android/view/ |
D | FrameInfo.java | 99 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()
|
D | Choreographer.java | 553 return USE_FRAME_TIME ? mLastFrameTimeNanos : System.nanoTime(); in getFrameTimeNanos() 565 return USE_FRAME_TIME ? mLastFrameTimeNanos : System.nanoTime(); in getLastFrameTimeNanos() 614 startNanos = System.nanoTime(); in doFrame() 667 final long endNanos = System.nanoTime(); in doFrame() 680 final long now = System.nanoTime(); in doCallbacks() 826 doFrame(System.nanoTime(), 0); in handleMessage() 872 long now = System.nanoTime(); in onVsync()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkRunner.java | 62 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/av/media/libaaudio/src/utility/ |
D | AudioClock.h | 51 static int sleepUntilNanoTime(int64_t nanoTime, 53 if (nanoTime > 0) { 55 time.tv_sec = nanoTime / AAUDIO_NANOS_PER_SECOND; 57 time.tv_nsec = nanoTime - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | BenchmarkState.java | 130 mPausedTimeNs = System.nanoTime(); in pauseTiming() 141 mPausedDurationNs += System.nanoTime() - mPausedTimeNs; in resumeTiming() 147 mStartTimeNs = System.nanoTime(); in beginWarmup() 165 mStartTimeNs = System.nanoTime(); in beginBenchmark() 169 final long currentTime = System.nanoTime(); in startNextTestRun() 182 mStartTimeNs = System.nanoTime(); in startNextTestRun() 200 final long duration = System.nanoTime() - mStartTimeNs; in keepRunning()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | System_Delegate.java | 33 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/ |
D | AppFusePerfTest.java | 58 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/ |
D | SystemPerfTest.java | 47 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/ |
D | BlockChecker.java | 22 long startTimeNano = System.nanoTime(); in isBlocked() 34 int durationMillis = (int) ((System.nanoTime() - startTimeNano) / 1000000); in isBlocked()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | Swarm.java | 154 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/ |
D | BasicPipeline.java | 57 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/ |
D | BluetoothPacketDecoder.java | 46 mTimeTracker = new MidiBtleTimeTracker(System.nanoTime()); in decodePacket() 99 long now = System.nanoTime(); in decodePacket()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | LinearLayoutManagerJankActivity.java | 41 long start = System.nanoTime(); in spinWaitMs() 42 while (System.nanoTime() - start < ms * 1000L * 1000L); in spinWaitMs()
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
D | SelfDestructiveThreadTest.java | 55 System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs); in waitUntilDestruction() 66 } while (System.nanoTime() < deadlineNanoTime); in waitUntilDestruction() 71 final long deadlineNanoTime = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(ms); in waitMillis() 73 final long now = System.nanoTime(); in waitMillis()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | Mandelbulb.java | 73 long time = System.nanoTime(); in buildRSVolume() 82 Log.v(LOGTAG, "compute Mandelbulb in" + ((System.nanoTime() - time) / 1E9f) + "seconds"); in buildRSVolume()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | Healing.java | 77 long time = System.nanoTime(); in heal() 109 Log.v(TAG, " time ss to smart paste = " + (System.nanoTime() - time) / 1E6f + "ms"); in heal() 123 long time = System.nanoTime(); in heal_orig() 186 Log.v(TAG, " time to smart paste = " + (System.nanoTime() - time) / 1E6f + "ms"); in heal_orig()
|