/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 50 virtual void setPostTime(int32_t layerID, uint64_t frameNumber, const std::string& layerName, 52 virtual void setLatchTime(int32_t layerID, uint64_t frameNumber, nsecs_t latchTime) = 0; 53 virtual void setDesiredTime(int32_t layerID, uint64_t frameNumber, nsecs_t desiredTime) = 0; 54 virtual void setAcquireTime(int32_t layerID, uint64_t frameNumber, nsecs_t acquireTime) = 0; 55 virtual void setAcquireFence(int32_t layerID, uint64_t frameNumber, 57 virtual void setPresentTime(int32_t layerID, uint64_t frameNumber, nsecs_t presentTime) = 0; 58 virtual void setPresentFence(int32_t layerID, uint64_t frameNumber, 63 virtual void removeTimeRecord(int32_t layerID, uint64_t frameNumber) = 0; 75 uint64_t frameNumber = 0; member 122 void setPostTime(int32_t layerID, uint64_t frameNumber, const std::string& layerName, [all …]
|
D | TimeStats.cpp | 110 timeRecord->frameTime.frameNumber); in recordReadyLocked() 123 timeRecord->frameTime.frameNumber); in recordReadyLocked() 136 timeRecord->frameTime.frameNumber); in recordReadyLocked() 174 timeRecords[0].frameTime.frameNumber, timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked() 190 timeRecords[0].frameTime.frameNumber, postToAcquireMs); in flushAvailableRecordsToStatsLocked() 196 timeRecords[0].frameTime.frameNumber, postToPresentMs); in flushAvailableRecordsToStatsLocked() 202 timeRecords[0].frameTime.frameNumber, acquireToPresentMs); in flushAvailableRecordsToStatsLocked() 208 timeRecords[0].frameTime.frameNumber, latchToPresentMs); in flushAvailableRecordsToStatsLocked() 214 timeRecords[0].frameTime.frameNumber, desiredToPresentMs); in flushAvailableRecordsToStatsLocked() 220 timeRecords[0].frameTime.frameNumber, presentToPresentMs); in flushAvailableRecordsToStatsLocked() [all …]
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CompositeStream.cpp | 85 void CompositeStream::onBufferRequestForFrameNumber(uint64_t frameNumber, int streamId, in onBufferRequestForFrameNumber() argument 89 mPendingCaptureResults.emplace(frameNumber, CameraMetadata()); in onBufferRequestForFrameNumber() 101 void CompositeStream::eraseResult(int64_t frameNumber) { in eraseResult() argument 104 auto it = mPendingCaptureResults.find(frameNumber); in eraseResult() 117 uint64_t frameNumber = result.mResultExtras.frameNumber; in onResultAvailable() local 119 auto it = mPendingCaptureResults.find(frameNumber); in onResultAvailable() 126 mCaptureResults.emplace(ts, std::make_tuple(frameNumber, it->second)); in onResultAvailable() 130 __FUNCTION__, frameNumber); in onResultAvailable() 147 void CompositeStream::flagAnErrorFrameNumber(int64_t frameNumber) { in flagAnErrorFrameNumber() argument 149 mErrorFrameNumbers.emplace(frameNumber); in flagAnErrorFrameNumber() [all …]
|
D | CompositeStream.h | 79 void onBufferRequestForFrameNumber(uint64_t frameNumber, int streamId, 89 void eraseResult(int64_t frameNumber); 90 void flagAnErrorFrameNumber(int64_t frameNumber); 91 void notifyError(int64_t frameNumber);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | FrameProcessor.cpp | 245 int32_t frameNumber = entry.data.i32[0]; in process3aState() local 248 if (frameNumber <= mLast3AFrameNumber) { in process3aState() 250 __FUNCTION__, frameNumber); in process3aState() 253 mPending3AStates.removeItem(frameNumber); in process3aState() 259 ssize_t index = mPending3AStates.indexOfKey(frameNumber); in process3aState() 269 &pendingState.afMode, frameNumber, cameraId); in process3aState() 272 &pendingState.awbMode, frameNumber, cameraId); in process3aState() 275 &pendingState.aeState, frameNumber, cameraId); in process3aState() 278 &pendingState.afState, frameNumber, cameraId); in process3aState() 281 &pendingState.awbState, frameNumber, cameraId); in process3aState() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CaptureResultExtras.java | 29 private long frameNumber; field in CaptureResultExtras 52 int precaptureTriggerId, long frameNumber, in CaptureResultExtras() argument 59 this.frameNumber = frameNumber; in CaptureResultExtras() 76 dest.writeLong(frameNumber); in writeToParcel() 92 frameNumber = in.readLong(); in readFromParcel() 122 return frameNumber; in getFrameNumber()
|
D | CameraDeviceImpl.java | 1280 CaptureRequest request, long timestamp, long frameNumber); in onCaptureStarted() argument 1320 int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument 1337 CaptureRequest request, Surface target, long frameNumber); in onCaptureBufferLost() argument 1514 long frameNumber = requestInfo.getLastFrameNumber(); in RequestLastFrameNumbersHolder() local 1529 lastReprocessFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() 1532 lastZslStillFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() 1535 lastRegularFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() 1544 frameNumber--; in RequestLastFrameNumbersHolder() 1574 long frameNumber = lastFrameNumber; in RequestLastFrameNumbersHolder() local 1578 lastZslStillFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() [all …]
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 110 StringAppendF(&outString, "-- Frame %" PRIu64 "\n", frameNumber); in dump() 161 explicit FrameNumberEqual(uint64_t frameNumber) : mFrameNumber(frameNumber) {} in FrameNumberEqual() 163 return frame.valid && mFrameNumber == frame.frameNumber; in operator ()() 172 FrameEvents* FrameEventHistory::getFrame(uint64_t frameNumber) { in getFrame() argument 174 mFrames.begin(), mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame() 178 FrameEvents* FrameEventHistory::getFrame(uint64_t frameNumber, size_t* iHint) { in getFrame() argument 182 hint, mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame() 185 mFrames.begin(), hint, FrameNumberEqual(frameNumber)); in getFrame() 204 return lhs.frameNumber < rhs.frameNumber; in FrameNumberLessThan() 249 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire) { in updateAcquireFence() argument [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | TagMonitor.cpp | 107 void TagMonitor::monitorMetadata(eventSource source, int64_t frameNumber, nsecs_t timestamp, in monitorMetadata() argument 120 monitorSingleMetadata(source, frameNumber, timestamp, emptyId, tag, metadata); in monitorMetadata() 123 monitorSingleMetadata(source, frameNumber, timestamp, m.first, tag, m.second); in monitorMetadata() 128 void TagMonitor::monitorSingleMetadata(eventSource source, int64_t frameNumber, nsecs_t timestamp, in monitorSingleMetadata() argument 176 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry, cameraId); in monitorSingleMetadata() 188 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry, cameraId); in monitorSingleMetadata() 212 event.frameNumber, event.timestamp, in dumpMonitoredMetadata() 317 TagMonitor::MonitorEvent::MonitorEvent(eventSource src, uint32_t frameNumber, nsecs_t timestamp, in MonitorEvent() argument 320 frameNumber(frameNumber), in MonitorEvent()
|
D | TagMonitor.h | 65 void monitorMetadata(eventSource source, int64_t frameNumber, 77 void monitorSingleMetadata(TagMonitor::eventSource source, int64_t frameNumber, 101 MonitorEvent(eventSource src, uint32_t frameNumber, nsecs_t timestamp, 106 uint32_t frameNumber; member
|
/frameworks/native/libs/gui/include/gui/ |
D | FrameTimestamps.h | 78 uint64_t frameNumber{0}; 111 FrameEvents* getFrame(uint64_t frameNumber); 112 FrameEvents* getFrame(uint64_t frameNumber, size_t* iHint); 142 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire); 171 uint64_t frameNumber{0}; 214 void addLatch(uint64_t frameNumber, nsecs_t latchTime); 215 void addPreComposition(uint64_t frameNumber, nsecs_t refreshStartTime); 216 void addPostComposition(uint64_t frameNumber, 220 void addRelease(uint64_t frameNumber, nsecs_t dequeueReadyTime,
|
D | BufferQueueConsumer.h | 71 virtual status_t releaseBuffer(int slot, uint64_t frameNumber, 159 virtual status_t releaseBuffer(int buf, uint64_t frameNumber, in releaseBuffer() argument 162 return releaseBuffer(buf, frameNumber, releaseFence, display, fence); in releaseBuffer()
|
D | IGraphicBufferConsumer.h | 133 virtual status_t releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display, 136 status_t releaseHelper(int buf, uint64_t frameNumber, const sp<Fence>& releaseFence) { in releaseHelper() argument 137 return releaseBuffer(buf, frameNumber, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, releaseFence); in releaseHelper()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 123 void setTimeStamp(TimeStamp type, int32_t id, uint64_t frameNumber, nsecs_t ts); 128 void insertTimeRecord(const TimeStamp (&sequence)[N], int32_t id, uint64_t frameNumber, in insertTimeRecord() argument 131 setTimeStamp(sequence[i], id, frameNumber, ts); in insertTimeRecord() 178 void TimeStatsTest::setTimeStamp(TimeStamp type, int32_t id, uint64_t frameNumber, nsecs_t ts) { in setTimeStamp() argument 181 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPostTime(id, frameNumber, genLayerName(id), ts)); in setTimeStamp() 184 ASSERT_NO_FATAL_FAILURE(mTimeStats->setAcquireTime(id, frameNumber, ts)); in setTimeStamp() 188 mTimeStats->setAcquireFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp() 191 ASSERT_NO_FATAL_FAILURE(mTimeStats->setLatchTime(id, frameNumber, ts)); in setTimeStamp() 194 ASSERT_NO_FATAL_FAILURE(mTimeStats->setDesiredTime(id, frameNumber, ts)); in setTimeStamp() 197 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPresentTime(id, frameNumber, ts)); in setTimeStamp() [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2CaptureCallbackForwarder.java | 82 final long frameNumber) { in onCaptureSequenceCompleted() argument 86 mListener.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted() 92 final long timestamp, final long frameNumber) { in onCaptureStarted() argument 96 mListener.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted()
|
D | Camera2CaptureCallbackSplitter.java | 82 long frameNumber) { in onCaptureSequenceCompleted() argument 84 target.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted() 90 long timestamp, long frameNumber) { in onCaptureStarted() argument 92 target.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TransactionCompat.java | 91 IBinder handle, long frameNumber) { in deferTransactionUntil() argument 92 mTransaction.deferTransactionUntil(surfaceControl.mSurfaceControl, handle, frameNumber); in deferTransactionUntil() 97 Surface barrier, long frameNumber) { in deferTransactionUntil() argument 99 frameNumber); in deferTransactionUntil()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCaptureCallback.java | 126 long timestamp, long frameNumber) { in onCaptureStarted() argument 127 if (mProxy != null) mProxy.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted() 154 long frameNumber) { in onCaptureSequenceCompleted() argument 155 if (mProxy != null) mProxy.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestHolder.java | 154 public RequestHolder build(long frameNumber) { in build() argument 155 return new RequestHolder(mRequestId, mSubsequenceId, mRequest, mRepeating, frameNumber, in build() 161 boolean repeating, long frameNumber, int numJpegTargets, in RequestHolder() argument 167 mFrameNumber = frameNumber; in RequestHolder()
|
D | BurstHolder.java | 81 public List<RequestHolder> produceRequestHolders(long frameNumber) { in produceRequestHolders() argument 85 holders.add(b.build(frameNumber + i)); in produceRequestHolders()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDevice.cpp | 529 [&status, &lastFrameNumber](Status s, auto frameNumber) { in stopRepeatingLocked() argument 531 lastFrameNumber = frameNumber; in stopRepeatingLocked() 582 auto remoteRet = mRemote->flush([&status, &lastFrameNumber](auto s, auto frameNumber) { in flushLocked() argument 584 lastFrameNumber = frameNumber; in flushLocked() 780 CameraDevice::FrameNumberTracker::updateTracker(int64_t frameNumber, bool isError) { in updateTracker() argument 781 ALOGV("updateTracker frame %" PRId64 " isError %d", frameNumber, isError); in updateTracker() 783 mFutureErrorSet.insert(frameNumber); in updateTracker() 784 } else if (frameNumber <= mCompletedFrameNumber) { in updateTracker() 786 frameNumber, mCompletedFrameNumber); in updateTracker() 789 if (frameNumber != mCompletedFrameNumber + 1) { in updateTracker() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraDevice.cpp | 765 CameraDevice::FrameNumberTracker::updateTracker(int64_t frameNumber, bool isError) { in updateTracker() argument 766 ALOGV("updateTracker frame %" PRId64 " isError %d", frameNumber, isError); in updateTracker() 768 mFutureErrorSet.insert(frameNumber); in updateTracker() 769 } else if (frameNumber <= mCompletedFrameNumber) { in updateTracker() 771 frameNumber, mCompletedFrameNumber); in updateTracker() 774 if (frameNumber != mCompletedFrameNumber + 1) { in updateTracker() 776 mCompletedFrameNumber + 1, frameNumber); in updateTracker() 779 mCompletedFrameNumber = frameNumber; in updateTracker() 809 int64_t frameNumber = resultExtras.frameNumber; in onCaptureErrorLocked() local 847 getId(), anw, frameNumber); in onCaptureErrorLocked() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureFailure.java | 71 boolean dropped, int sequenceId, long frameNumber, String errorPhysicalCameraId) { in CaptureFailure() argument 76 mFrameNumber = frameNumber; in CaptureFailure()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.cpp | 1314 r.frame_number = result.frameNumber; in processOneCaptureResultLocked() 1321 __FUNCTION__, result.frameNumber); in processOneCaptureResultLocked() 1337 __FUNCTION__, result.frameNumber, in processOneCaptureResultLocked() 1358 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked() 1371 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked() 1382 res = mInterface->popInflightBuffer(result.frameNumber, bSrc.streamId, &buffer); in processOneCaptureResultLocked() 1387 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked() 1403 __FUNCTION__, result.frameNumber, i, bSrc.releaseFence->numFds); in processOneCaptureResultLocked() 1416 result.frameNumber, result.inputBuffer.streamId); in processOneCaptureResultLocked() 1421 res = mInterface->popInflightBuffer(result.frameNumber, result.inputBuffer.streamId, in processOneCaptureResultLocked() [all …]
|
/frameworks/av/camera/ndk/include/camera/ |
D | NdkCameraCaptureSession.h | 126 int64_t frameNumber; member 220 int sequenceId, int64_t frameNumber); 249 ACaptureRequest* request, ACameraWindowType* window, int64_t frameNumber);
|