/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 | 1281 CaptureRequest request, long timestamp, long frameNumber); in onCaptureStarted() argument 1321 int sequenceId, long frameNumber); in onCaptureSequenceCompleted() argument 1338 CaptureRequest request, Surface target, long frameNumber); in onCaptureBufferLost() argument 1515 long frameNumber = requestInfo.getLastFrameNumber(); in RequestLastFrameNumbersHolder() local 1530 lastReprocessFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() 1533 lastZslStillFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() 1536 lastRegularFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() 1545 frameNumber--; in RequestLastFrameNumbersHolder() 1575 long frameNumber = lastFrameNumber; in RequestLastFrameNumbersHolder() local 1579 lastZslStillFrameNumber = frameNumber; in RequestLastFrameNumbersHolder() [all …]
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 111 StringAppendF(&outString, "-- Frame %" PRIu64 "\n", frameNumber); in dump() 162 explicit FrameNumberEqual(uint64_t frameNumber) : mFrameNumber(frameNumber) {} in FrameNumberEqual() 164 return frame.valid && mFrameNumber == frame.frameNumber; in operator ()() 178 FrameEvents* FrameEventHistory::getFrame(uint64_t frameNumber) { in getFrame() argument 180 mFrames.begin(), mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame() 184 FrameEvents* FrameEventHistory::getFrame(uint64_t frameNumber, size_t* iHint) { in getFrame() argument 188 hint, mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame() 191 mFrames.begin(), hint, FrameNumberEqual(frameNumber)); in getFrame() 210 return lhs.frameNumber < rhs.frameNumber; in FrameNumberLessThan() 255 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/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/native/libs/gui/include/gui/ |
D | FrameTimestamps.h | 78 uint64_t frameNumber{0}; 112 FrameEvents* getFrame(uint64_t frameNumber); 113 FrameEvents* getFrame(uint64_t frameNumber, size_t* iHint); 143 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire); 172 uint64_t frameNumber{0}; 216 void addLatch(uint64_t frameNumber, nsecs_t latchTime); 217 void addPreComposition(uint64_t frameNumber, nsecs_t refreshStartTime); 218 void addPostComposition(uint64_t frameNumber, 222 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/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
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()
|
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()
|
/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/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDevice.cpp | 517 [&status, &lastFrameNumber](Status s, auto frameNumber) { in stopRepeatingLocked() argument 519 lastFrameNumber = frameNumber; in stopRepeatingLocked() 570 auto remoteRet = mRemote->flush([&status, &lastFrameNumber](auto s, auto frameNumber) { in flushLocked() argument 572 lastFrameNumber = frameNumber; in flushLocked() 768 CameraDevice::FrameNumberTracker::updateTracker(int64_t frameNumber, bool isError) { in updateTracker() argument 769 ALOGV("updateTracker frame %" PRId64 " isError %d", frameNumber, isError); in updateTracker() 771 mFutureErrorSet.insert(frameNumber); in updateTracker() 772 } else if (frameNumber <= mCompletedFrameNumber) { in updateTracker() 774 frameNumber, mCompletedFrameNumber); in updateTracker() 777 if (frameNumber != mCompletedFrameNumber + 1) { in updateTracker() [all …]
|
/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()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraDevice.cpp | 753 CameraDevice::FrameNumberTracker::updateTracker(int64_t frameNumber, bool isError) { in updateTracker() argument 754 ALOGV("updateTracker frame %" PRId64 " isError %d", frameNumber, isError); in updateTracker() 756 mFutureErrorSet.insert(frameNumber); in updateTracker() 757 } else if (frameNumber <= mCompletedFrameNumber) { in updateTracker() 759 frameNumber, mCompletedFrameNumber); in updateTracker() 762 if (frameNumber != mCompletedFrameNumber + 1) { in updateTracker() 764 mCompletedFrameNumber + 1, frameNumber); in updateTracker() 767 mCompletedFrameNumber = frameNumber; in updateTracker() 797 int64_t frameNumber = resultExtras.frameNumber; in onCaptureErrorLocked() local 835 getId(), anw, frameNumber); in onCaptureErrorLocked() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.cpp | 1320 r.frame_number = result.frameNumber; in processOneCaptureResultLocked() 1327 __FUNCTION__, result.frameNumber); in processOneCaptureResultLocked() 1343 __FUNCTION__, result.frameNumber, in processOneCaptureResultLocked() 1364 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked() 1377 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked() 1388 res = mInterface->popInflightBuffer(result.frameNumber, bSrc.streamId, &buffer); in processOneCaptureResultLocked() 1393 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked() 1409 __FUNCTION__, result.frameNumber, i, bSrc.releaseFence->numFds); in processOneCaptureResultLocked() 1422 result.frameNumber, result.inputBuffer.streamId); in processOneCaptureResultLocked() 1427 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);
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 1017 private void applySurfaceTransforms(SurfaceControl surface, Rect position, long frameNumber) { in applySurfaceTransforms() argument 1018 if (frameNumber > 0) { in applySurfaceTransforms() 1022 frameNumber); in applySurfaceTransforms() 1035 private void setParentSpaceRectangle(Rect position, long frameNumber) { in setParentSpaceRectangle() argument 1038 applySurfaceTransforms(mSurfaceControl, position, frameNumber); in setParentSpaceRectangle() 1041 frameNumber); in setParentSpaceRectangle() 1052 public void positionChanged(long frameNumber, int left, int top, int right, int bottom) { 1077 System.identityHashCode(this), frameNumber, 1081 setParentSpaceRectangle(mRTLastReportedPosition, frameNumber); 1089 public void positionLost(long frameNumber) { [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()
|