HomeSort by relevance Sort by last modified time
    Searched refs:AsynchronousCloseMonitor (Results 1 - 11 of 11) sorted by null

  /libnativehelper/include/nativehelper/
AsynchronousCloseMonitor.h 24 * AsynchronousCloseMonitor helps implement Java's asynchronous close semantics.
26 * AsynchronousCloseMonitor::init must be called before anything else.
28 * Every blocking I/O operation must be surrounded by an AsynchronousCloseMonitor
32 * AsynchronousCloseMonitor monitor(fd);
38 * AsynchronousCloseMonitor::signalBlockedThreads(fd);
44 class AsynchronousCloseMonitor {
46 AsynchronousCloseMonitor(int fd);
47 ~AsynchronousCloseMonitor();
55 AsynchronousCloseMonitor* mPrev;
56 AsynchronousCloseMonitor* mNext
    [all...]
  /libcore/luni/src/main/java/libcore/io/
AsynchronousCloseMonitor.java 21 public final class AsynchronousCloseMonitor {
22 private AsynchronousCloseMonitor() {
IoBridge.java 192 * the AsynchronousCloseMonitor before they entered the blocking operation.
204 AsynchronousCloseMonitor.signalBlockedThreads(oldFd);
  /libcore/luni/src/main/native/
libcore_io_AsynchronousCloseMonitor.cpp 17 #define LOG_TAG "AsynchronousCloseMonitor"
19 #include "AsynchronousCloseMonitor.h"
26 AsynchronousCloseMonitor::signalBlockedThreads(fd);
30 NATIVE_METHOD(AsynchronousCloseMonitor, signalBlockedThreads, "(Ljava/io/FileDescriptor;)V"),
33 AsynchronousCloseMonitor::init();
34 jniRegisterNativeMethods(env, "libcore/io/AsynchronousCloseMonitor", gMethods, NELEM(gMethods));
libcore_io_Posix.cpp 19 #include "AsynchronousCloseMonitor.h"
134 * AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal a close() or
139 * -1: a SocketException if signaled via AsynchronousCloseMonitor, or ErrnoException for other
149 AsynchronousCloseMonitor _monitor(_fd); \
173 * also handles the case where AsynchronousCloseMonitor::signalBlockedThreads(fd) is used to signal
179 * via AsynchronousCloseMonitor, or ErrnoException for other failures.
188 AsynchronousCloseMonitor _monitor(_fd); \
    [all...]
  /libnativehelper/
AsynchronousCloseMonitor.cpp 17 #define LOG_TAG "AsynchronousCloseMonitor"
19 #include "AsynchronousCloseMonitor.h"
35 static AsynchronousCloseMonitor* blockedThreadList = NULL;
47 void AsynchronousCloseMonitor::init() {
61 void AsynchronousCloseMonitor::signalBlockedThreads(int fd) {
63 for (AsynchronousCloseMonitor* it = blockedThreadList; it != NULL; it = it->mNext) {
72 bool AsynchronousCloseMonitor::wasSignaled() const {
76 AsynchronousCloseMonitor::AsynchronousCloseMonitor(int fd) {
91 AsynchronousCloseMonitor::~AsynchronousCloseMonitor()
    [all...]
Android.mk 31 AsynchronousCloseMonitor.cpp
79 LOCAL_SRC_FILES += AsynchronousCloseMonitor.cpp
102 LOCAL_SRC_FILES += AsynchronousCloseMonitor.cpp
  /libcore/ojluni/src/main/native/
linux_close.cpp 41 #include "AsynchronousCloseMonitor.h"
62 AsynchronousCloseMonitor::signalBlockedThreads(fd2);
113 AsynchronousCloseMonitor _monitor(FD); \
220 AsynchronousCloseMonitor monitor(s);
  /libcore/
non_openjdk_java_files.mk 368 luni/src/main/java/libcore/io/AsynchronousCloseMonitor.java \
  /external/conscrypt/src/main/native/
org_conscrypt_NativeCrypto.cpp 71 #include "AsynchronousCloseMonitor.h"
    [all...]
  /frameworks/base/
compiled-classes-phone     [all...]

Completed in 769 milliseconds