Searched refs:fence (Results 1 - 25 of 47) sorted by path

12

/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp457 sp<Fence> fence = new Fence(streamBuffers[bufferIdx].acquire_fence); local
458 fence->waitForever("Camera3Stream::registerBuffers");
H A DStatusTracker.cpp123 // - If invalid fence or error, returns -1
167 // First pass for changed components or fence completions
183 mIdleFence, newState.fence);
H A DStatusTracker.h63 // accept a fence to wait on to complete idle. The fence is merged with any
93 sp<Fence> fence; member in struct:android::camera3::StatusTracker::StateChange
108 // Merged fence for all processed state changes
118 // - The merged fence for all component updates has signalled
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java486 abstract void fence(); method in class:HardwareRenderer
H A DThreadedRenderer.java390 void fence() { method in class:ThreadedRenderer
H A DViewRootImpl.java2371 mAttachInfo.mHardwareRenderer.fence();
/frameworks/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp380 proxy->fence();
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp562 AutoFence fence; local
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.cpp88 // This is also a fence as we need to be certain that there are no
216 // destroyCanvasAndSurface() needs a fence as when it returns the
342 CREATE_BRIDGE0(fence) {
347 void RenderProxy::fence() { function in class:android::uirenderer::renderthread::RenderProxy
348 SETUP_TASK(fence);
H A DRenderProxy.h94 ANDROID_API void fence();
/frameworks/base/location/java/android/location/
H A DILocationManager.aidl47 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName);
H A DLocationManager.java970 Geofence fence = Geofence.createCircle(latitude, longitude, radius);
973 mService.requestGeofence(request, fence, intent, mContext.getPackageName());
996 * a geo-fence without notification, but the system will do its best
1005 * @param fence a geographical description of the geofence area
1008 * @throws IllegalArgumentException if fence is null
1015 public void addGeofence(LocationRequest request, Geofence fence, PendingIntent intent) { argument
1017 checkGeofence(fence);
1020 mService.requestGeofence(request, fence, intent, mContext.getPackageName());
1059 * @param fence a geofence previously passed to {@link #addGeofence}
1062 * @throws IllegalArgumentException if fence i
1069 removeGeofence(Geofence fence, PendingIntent intent) argument
1716 checkGeofence(Geofence fence) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGeofenceManager.java143 public void removeFence(Geofence fence, PendingIntent intent) { argument
145 Slog.d(TAG, "removeFence: fence=" + fence + ", intent=" + intent);
154 if (fence == null) {
159 if (fence.equals(state.mFence)) {
255 // Keep track of the distance to the nearest fence.
301 // Compute a location update interval based on the distance to the nearest fence.
H A DGeofenceState.java44 double mDistanceToCenter; // current distance to center of fence
46 public GeofenceState(Geofence fence, long expireAt, argument
51 mFence = fence;
59 mLocation.setLatitude(fence.getLatitude());
60 mLocation.setLongitude(fence.getLongitude());
65 * @return FLAG_ENTER or FLAG_EXIT if the fence was crossed, 0 otherwise
88 * Gets the distance from the current location to the fence's boundary.
/frameworks/base/services/core/jni/
H A Dcom_android_server_AssetAtlasService.cpp81 if (fence != EGL_NO_SYNC_KHR) eglDestroySyncKHR(display, fence); \
143 EGLSyncKHR fence = EGL_NO_SYNC_KHR; local
193 // The fence is used to wait for the texture upload to finish
196 fence = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, NULL);
197 if (fence == EGL_NO_SYNC_KHR) {
198 ALOGW("Could not create sync fence %#x", eglGetError());
204 EGLint waitStatus = eglClientWaitSyncKHR(display, fence,
207 ALOGW("Failed to wait for the fence %#x", eglGetError());
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h60 // being accessed. The fence will signal when the buffer is no longer
72 EGLSyncKHR fence);
153 EGLDisplay display, EGLSyncKHR fence,
155 return releaseBuffer(buf, frameNumber, releaseFence, display, fence);
152 releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display, EGLSyncKHR fence, const sp<Fence>& releaseFence) argument
H A DBufferQueueProducer.h65 // The outFence parameter will be updated to hold the fence associated with
67 // fence signals. If the fence is Fence::NO_FENCE, the buffer may be
117 // The caller may provide a fence that signals when all rendering
130 // The buffer will not be overwritten until the fence signals. The fence
132 virtual void cancelBuffer(int slot, const sp<Fence>& fence);
200 // This saves the fence from the last queueBuffer, such that the
202 // queueBuffer's fence is not nessessarily available elsewhere,
H A DConsumerBase.h173 // addReleaseFence* adds the sync points associated with a fence to the set
179 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
181 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
190 // mFence is a fence which will signal when the buffer associated with
192 // overwritten. The buffer can be dequeued before the fence signals;
H A DGLConsumer.h108 // setReleaseFence stores a fence that will signal when the current buffer
109 // is no longer being read. This fence will be returned to the producer
112 // union fence.
113 void setReleaseFence(const sp<Fence>& fence);
185 // getCurrentFence returns the fence indicating when the current buffer is
350 // current slot's fence to guard against a producer accessing the buffer
380 // mCurrentFence is the fence received from BufferQueue in updateTexImage.
H A DIGraphicBufferConsumer.h64 // mFence is a fence that will signal when the buffer is idle.
178 // being accessed. The fence will signal when the buffer is no longer
198 // * the fence was NULL
201 EGLDisplay display, EGLSyncKHR fence,
H A DIGraphicBufferProducer.h123 // The fence parameter will be updated to hold the fence associated with
125 // fence signals. If the fence is Fence::NO_FENCE, the buffer may be written
169 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
199 // equivalent to fence from the dequeueBuffer call.
256 // * fence was NULL
274 // fence - a fence that the consumer must wait on before reading the buffer,
280 const sp<Fence>& fence, uint32_
278 QueueBufferInput(int64_t timestamp, bool isAutoTimestamp, const Rect& crop, int scalingMode, uint32_t transform, bool async, const sp<Fence>& fence, uint32_t sticky = 0) argument
314 sp<Fence> fence; member in struct:android::IGraphicBufferProducer::QueueBufferInput
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp328 BQ_LOGE("dequeueBuffer: about to return a NULL fence - "
374 BQ_LOGE("dequeueBuffer: error %#x waiting for fence",
377 BQ_LOGE("dequeueBuffer: timeout waiting for fence");
524 sp<Fence> fence; local
526 &async, &fence, &stickyTransform);
528 if (fence == NULL) {
529 BQ_LOGE("queueBuffer: fence is NULL");
598 mSlots[slot].mFence = fence;
614 item.mFence = fence;
664 mLastQueueBufferFence = fence;
693 cancelBuffer(int slot, const sp<Fence>& fence) argument
[all...]
H A DConsumerBase.cpp203 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
205 return addReleaseFenceLocked(slot, graphicBuffer, fence);
209 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
213 // drop this fence, as it will never be received by the producer.
219 mSlots[slot].mFence = fence;
223 mSlots[slot].mFence, fence);
227 // signal in order so the new fence will act like a union
228 mSlots[slot].mFence = fence;
202 addReleaseFence(int slot, const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) argument
208 addReleaseFenceLocked(int slot, const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) argument
H A DCpuConsumer.cpp244 sp<Fence> fence(new Fence(fd));
248 fence);
H A DGLConsumer.cpp271 // if we're detached, we just use the fence that was created in detachFromContext()
528 void GLConsumer::setReleaseFence(const sp<Fence>& fence) { argument
529 if (fence->isValid() &&
532 mCurrentTextureImage->graphicBuffer(), fence);
534 ST_LOGE("setReleaseFence: failed to add the fence: %s (%d)",
646 ST_LOGE("syncForReleaseLocked: error creating EGL fence: %#x",
654 ST_LOGE("syncForReleaseLocked: error dup'ing native fence "
658 sp<Fence> fence(new Fence(fenceFd));
660 mCurrentTextureImage->graphicBuffer(), fence);
662 ST_LOGE("syncForReleaseLocked: error adding release fence
667 EGLSyncKHR fence = mEglSlots[mCurrentTexture].mEglFence; local
[all...]

Completed in 408 milliseconds

12