OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AsynchronousCloseMonitor
(Results
1 - 16
of
16
) sorted by null
/libnativehelper/include/nativehelper/
AsynchronousCloseMonitor.h
23
*
AsynchronousCloseMonitor
helps implement Java's asynchronous close semantics.
25
*
AsynchronousCloseMonitor
::init must be called before anything else.
27
* Every blocking I/O operation must be surrounded by an
AsynchronousCloseMonitor
31
*
AsynchronousCloseMonitor
monitor(fd);
37
*
AsynchronousCloseMonitor
::signalBlockedThreads(fd);
43
class
AsynchronousCloseMonitor
{
45
explicit
AsynchronousCloseMonitor
(int fd);
46
~
AsynchronousCloseMonitor
();
54
AsynchronousCloseMonitor
* mPrev;
55
AsynchronousCloseMonitor
* mNext
[
all
...]
/libcore/luni/src/main/java/libcore/io/
AsynchronousCloseMonitor.java
21
public final class
AsynchronousCloseMonitor
{
22
private
AsynchronousCloseMonitor
() {
IoBridge.java
232
* the
AsynchronousCloseMonitor
before they entered the blocking operation.
244
AsynchronousCloseMonitor
.signalBlockedThreads(oldFd);
/libcore/luni/src/main/native/
libcore_io_AsynchronousCloseMonitor.cpp
17
#define LOG_TAG "
AsynchronousCloseMonitor
"
19
#include <nativehelper/
AsynchronousCloseMonitor
.h>
27
AsynchronousCloseMonitor
::signalBlockedThreads(fd);
31
NATIVE_METHOD(
AsynchronousCloseMonitor
, signalBlockedThreads, "(Ljava/io/FileDescriptor;)V"),
34
AsynchronousCloseMonitor
::init();
35
jniRegisterNativeMethods(env, "libcore/io/
AsynchronousCloseMonitor
", gMethods, NELEM(gMethods));
libcore_io_Linux.cpp
56
#include <nativehelper/
AsynchronousCloseMonitor
.h>
148
*
AsynchronousCloseMonitor
::signalBlockedThreads(fd) is used to signal a close() or
153
* -1: a SocketException if signaled via
AsynchronousCloseMonitor
, or ErrnoException for other
163
AsynchronousCloseMonitor
_monitor(_fd); \
187
* also handles the case where
AsynchronousCloseMonitor
::signalBlockedThreads(fd) is used to signal
193
* via
AsynchronousCloseMonitor
, or ErrnoException for other failures.
202
AsynchronousCloseMonitor
_monitor(_fd); \
[
all
...]
/libnativehelper/
AsynchronousCloseMonitor.cpp
17
#define LOG_TAG "
AsynchronousCloseMonitor
"
19
#include <nativehelper/
AsynchronousCloseMonitor
.h>
37
static
AsynchronousCloseMonitor
* blockedThreadList = NULL;
49
void
AsynchronousCloseMonitor
::init() {
63
void
AsynchronousCloseMonitor
::signalBlockedThreads(int fd) {
65
for (
AsynchronousCloseMonitor
* it = blockedThreadList; it != NULL; it = it->mNext) {
74
bool
AsynchronousCloseMonitor
::wasSignaled() const {
78
AsynchronousCloseMonitor
::
AsynchronousCloseMonitor
(int fd) {
93
AsynchronousCloseMonitor
::~AsynchronousCloseMonitor()
[
all
...]
/external/conscrypt/common/src/jni/main/include/conscrypt/
compatibility_close_monitor.h
27
#include <nativehelper/
AsynchronousCloseMonitor
.h>
32
* When bundled with Android, this just wraps around
AsynchronousCloseMonitor
.
36
AsynchronousCloseMonitor
monitor;
54
* not have an API way to insert ourselves into the
AsynchronousCloseMonitor
83
static_assert(sizeof(objBuffer) > 2*sizeof(
AsynchronousCloseMonitor
),
/libcore/ojluni/src/main/native/
linux_close.cpp
41
#include <nativehelper/
AsynchronousCloseMonitor
.h>
48
// Android-changed: Bionic (and
AsynchronousCloseMonitor
) expects libcore to use
64
AsynchronousCloseMonitor
::signalBlockedThreads(fd2);
115
AsynchronousCloseMonitor
_monitor(FD); \
222
AsynchronousCloseMonitor
monitor(s);
/libcore/ojluni/src/main/java/java/net/
PlainSocketImpl.java
35
import libcore.io.
AsynchronousCloseMonitor
;
234
AsynchronousCloseMonitor
.signalBlockedThreads(fd);
/frameworks/base/config/
preloaded-classes
[
all
...]
/prebuilts/misc/common/robolectric/android-all/
android-all-6.0.1_r3-robolectric-0.jar
android-all-7.1.0_r7-robolectric-0.jar
android-all-8.0.0_r4-robolectric-0.jar
android-all-8.0.0_r4-robolectric-r1.jar
android-all-8.1.0-robolectric-r4458339.jar
android-all-o-preview-4-robolectric-0.jar
Completed in 347 milliseconds