Home
last modified time | relevance | path

Searched refs:syncFd (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/driver/
DrsdGL.cpp403 int syncFd = -1; in rsdGLInit() local
410 syncFd = eglDupNativeFenceFDANDROID(dc->gl.egl.display, sync); in rsdGLInit()
411 if (syncFd == EGL_NO_NATIVE_FENCE_FD_ANDROID) { in rsdGLInit()
413 syncFd = -1; in rsdGLInit()
421 return syncFd; in rsdGLInit()
/frameworks/ml/nn/runtime/
DExecutionBuilder.cpp674 auto [stepN, syncFd, callback] = in startComputeFenced()
678 syncFence = syncFd; in startComputeFenced()
681 if (syncFd > 0) { in startComputeFenced()
682 waitForFds = {syncFd}; in startComputeFenced()
710 for (int syncFd : waitFor) { in startComputeFenced() local
711 if (syncFd > 0) { in startComputeFenced()
712 auto r = syncWait(syncFd, -1); in startComputeFenced()
714 VLOG(EXECUTION) << "syncWait failed, fd: " << syncFd; in startComputeFenced()
DManager.cpp721 for (int syncFd : waitFor) { in executeFenced() local
722 if (syncFd > 0) { in executeFenced()
723 auto r = syncWait(syncFd, -1); in executeFenced()
725 LOG(ERROR) << "sync wait failed, fd: " << syncFd; in executeFenced()
DVersionedInterfaces.cpp460 int syncFd = fenceHandle.getNativeHandle()->data[0]; in executeFenced() local
461 if (syncFd <= 0) { in executeFenced()
465 auto r = syncWait(syncFd, -1); in executeFenced()
467 LOG(ERROR) << "syncWait failed, fd: " << syncFd; in executeFenced()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp5954 int syncFd = -1; in captureScreenCommon() local
5984 syncFd = fd; in captureScreenCommon()
6005 sync_wait(syncFd, -1); in captureScreenCommon()
6006 close(syncFd); in captureScreenCommon()