Home
last modified time | relevance | path

Searched refs:SyncFence (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/hardware/
DSyncFence.java66 public final class SyncFence implements AutoCloseable, Parcelable { class
82 NativeAllocationRegistry.createNonmalloced(SyncFence.class.getClassLoader(),
93 private SyncFence(int fileDescriptor) { in SyncFence() method in SyncFence
98 private SyncFence(@NonNull Parcel parcel) { in SyncFence() method in SyncFence
118 public SyncFence(long nativeFencePtr) { in SyncFence() method in SyncFence
132 public SyncFence(@NonNull SyncFence other) { in SyncFence() method in SyncFence
140 private SyncFence() { in SyncFence() method in SyncFence
150 public static @NonNull SyncFence createEmpty() { in createEmpty()
151 return new SyncFence(); in createEmpty()
162 public static @NonNull SyncFence create(@NonNull ParcelFileDescriptor wrapped) { in create()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGLExtHeader.java-if22 import android.hardware.SyncFence;
50 * Retrieves the SyncFence for an EGLSync created with EGL_SYNC_NATIVE_FENCE_ANDROID
55 * @param sync The EGLSync to fetch the SyncFence from
56 * @return A SyncFence representing the native fence.
58 * an {@link SyncFence#isValid() invalid} SyncFence is returned and an EGL_BAD_PARAMETER
61 * EGL_NO_NATIVE_FENCE_FD_ANDROID, an {@link SyncFence#isValid() invalid} SyncFence is
66 public static @NonNull SyncFence eglDupNativeFenceFDANDROID(@NonNull EGLDisplay display,
71 return SyncFence.create(ParcelFileDescriptor.adoptFd(fd));
73 return SyncFence.createEmpty();
/frameworks/base/opengl/java/android/opengl/
DEGLExt.java22 import android.hardware.SyncFence;
66 public static @NonNull SyncFence eglDupNativeFenceFDANDROID(@NonNull EGLDisplay display, in eglDupNativeFenceFDANDROID()
71 return SyncFence.create(ParcelFileDescriptor.adoptFd(fd)); in eglDupNativeFenceFDANDROID()
73 return SyncFence.createEmpty(); in eglDupNativeFenceFDANDROID()
/frameworks/base/media/java/android/media/
DImage.java28 import android.hardware.SyncFence;
243 public @NonNull SyncFence getFence() throws IOException { in getFence()
244 return SyncFence.createEmpty(); in getFence()
305 public void setFence(@NonNull SyncFence fence) throws IOException { in setFence()
DImageWriter.java31 import android.hardware.SyncFence;
1147 public SyncFence getFence() throws IOException { in getFence()
1151 return SyncFence.create(ParcelFileDescriptor.fromFd(mNativeFenceFd)); in getFence()
1153 return SyncFence.createEmpty(); in getFence()
1158 public void setFence(@NonNull SyncFence fence) throws IOException { in setFence()
DImageReader.java34 import android.hardware.SyncFence;
1258 public SyncFence getFence() throws IOException { in getFence()
1263 return SyncFence.create(ParcelFileDescriptor.fromFd(nativeGetFenceFd())); in getFence()
1265 return SyncFence.createEmpty(); in getFence()
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
DBufferFlinger.java28 import android.hardware.SyncFence;
76 (SyncFence fence) -> releaseCallback(fence, buffer)); in addBuffer()
81 public void releaseCallback(SyncFence fence, GraphicBuffer buffer) { in releaseCallback()
/frameworks/base/graphics/java/android/graphics/
DHardwareBufferRenderer.java25 import android.hardware.SyncFence;
225 private final SyncFence mFence;
228 private RenderResult(@NonNull SyncFence fence, @RenderResultStatus int resultStatus) { in RenderResult()
234 public SyncFence getFence() { in getFence()
379 callback.accept(new RenderResult(SyncFence.adopt(fd), status)); in invokeRenderCallback()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DImageWrapper.java28 import android.hardware.SyncFence;
70 SyncFence fd = image.getFence(); in ImageWrapper()
/frameworks/base/core/java/android/view/
DSurfaceControl.java54 import android.hardware.SyncFence;
220 HardwareBuffer buffer, long fencePtr, Consumer<SyncFence> releaseCallback); in nativeSetBuffer()
2684 private SyncFence mSyncFence;
2689 mSyncFence = new SyncFence(presentFencePtr); in TransactionStats()
2716 public @NonNull SyncFence getPresentFence() { in getPresentFence()
2717 return new SyncFence(mSyncFence); in getPresentFence()
4043 @Nullable HardwareBuffer buffer, @Nullable SyncFence fence) { in setBuffer()
4085 @Nullable HardwareBuffer buffer, @Nullable SyncFence fence, in setBuffer()
4086 @Nullable Consumer<SyncFence> releaseCallback) { in setBuffer()
4782 private static void invokeReleaseCallback(Consumer<SyncFence> callback, long nativeFencePtr) { in invokeReleaseCallback()
[all …]
DViewRootImpl.java182 import android.hardware.SyncFence;
4412 SyncFence presentFence = transactionStats.getPresentFence(); in createSyncIfNeeded()
/frameworks/native/opengl/tools/glgen/
Dgen44 …; } public static SyncFence createEmpty() { return null; } }" > out/android/hardware/SyncFence.java
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraAdvancedExtensionSessionImpl.java26 import android.hardware.SyncFence;
1121 SyncFence fd = img.getFence(); in onImageAvailable()
DCameraExtensionSessionImpl.java26 import android.hardware.SyncFence;
2139 SyncFence fd = img.getFence(); in initializeParcelImage()
/frameworks/base/boot/
Dpreloaded-classes2583 android.hardware.SyncFence$1
2584 android.hardware.SyncFence
Dboot-image-profile.txt24970 Landroid/hardware/SyncFence$1;
24971 Landroid/hardware/SyncFence;
/frameworks/base/core/api/
Dcurrent.txt16102 method @NonNull public android.hardware.SyncFence getFence();
18851 public final class SyncFence implements java.lang.AutoCloseable android.os.Parcelable {
18852 …ndroid.window.flags.sdk_desired_present_time") public SyncFence(@NonNull android.hardware.SyncFenc…
18860 …field @NonNull public static final android.os.Parcelable.Creator<android.hardware.SyncFence> CREAT…
22341 method @NonNull public android.hardware.SyncFence getFence() throws java.io.IOException;
22350 method public void setFence(@NonNull android.hardware.SyncFence) throws java.io.IOException;
29739 …method @NonNull public static android.hardware.SyncFence eglDupNativeFenceFDANDROID(@NonNull andro…
52281 …w.SurfaceControl, @Nullable android.hardware.HardwareBuffer, @Nullable android.hardware.SyncFence);
52282 …wareBuffer, @Nullable android.hardware.SyncFence, @Nullable java.util.function.Consumer<android.ha…
52311 …indow.flags.sdk_desired_present_time") @NonNull public android.hardware.SyncFence getPresentFence(…
/frameworks/base/config/
Dpreloaded-classes2587 android.hardware.SyncFence$1
2588 android.hardware.SyncFence
Dboot-image-profile.txt35104 Landroid/hardware/SyncFence$1;
35105 Landroid/hardware/SyncFence;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...