Home
last modified time | relevance | path

Searched refs:HandleSignals (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/
DCore.java21 public static class HandleSignals extends Flags<HandleSignals> { class
27 public HandleSignals(int signals) { in HandleSignals() method in Core.HandleSignals
39 public static final HandleSignals NONE = HandleSignals.none().immutable();
40 public static final HandleSignals READABLE =
41 HandleSignals.none().setReadable(true).immutable();
42 public static final HandleSignals WRITABLE =
43 HandleSignals.none().setWritable(true).immutable();
51 public HandleSignals setReadable(boolean readable) { in setReadable()
61 public HandleSignals setWritable(boolean writable) { in setWritable()
71 public HandleSignals setPeerClosed(boolean peerClosed) { in setPeerClosed()
[all …]
DWatcher.java7 import org.chromium.mojo.system.Core.HandleSignals;
26 int start(Handle handle, HandleSignals signals, Callback callback); in start()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
DWatcherImplTest.java125 mWatcher.start(handles.first, Core.HandleSignals.READABLE, watcherResult); in testCorrectResult()
147 mWatcher.start(handles.first, Core.HandleSignals.READABLE, watcherResult); in testClosingPeerHandle()
171 mWatcher.start(handles.first, Core.HandleSignals.READABLE, watcherResult); in testClosingWatchedHandle()
197 mWatcher.start(handles.first, Core.HandleSignals.READABLE, watcherResult)); in testInvalidHandle()
214 mWatcher.start(InvalidHandle.INSTANCE, Core.HandleSignals.READABLE, watcherResult)); in testDefaultInvalidHandle()
234 mWatcher.start(handles.first, Core.HandleSignals.READABLE, watcherResult); in testCancel()
264 mWatcher.start(handles.first, Core.HandleSignals.READABLE, watcherResult); in testImmediateCancelOnInvalidHandle()
DCoreImplTest.java18 import org.chromium.mojo.system.Core.HandleSignals;
51 private static final HandleSignals ALL_SIGNALS =
52 HandleSignals.none().setPeerClosed(true).setReadable(true).setWritable(true);
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DRouterTest.java20 import org.chromium.mojo.system.Core.HandleSignals;
238 HandleSignals closedFlag = HandleSignals.none().setPeerClosed(true); in testDroppingReceiverWithoutUsingIt()
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/impl/
DWatcherImpl.java20 public int start(Handle handle, Core.HandleSignals signals, Callback callback) { in start()
DCoreImpl.java215 new HandleSignals(buffer.getInt(0)), new HandleSignals(buffer.getInt(4))); in queryHandleSignalsState()
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DExecutorFactory.java77 mWatcher.start(mReadHandle, Core.HandleSignals.READABLE, this); in PipedExecutor()
DConnector.java88 mWatcher.start(mMessagePipeHandle, Core.HandleSignals.READABLE, mWatcherCallback); in start()