Searched refs:HandleSignals (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | Core.java | 21 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 …]
|
D | Watcher.java | 7 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/ |
D | WatcherImplTest.java | 125 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()
|
D | CoreImplTest.java | 18 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/ |
D | RouterTest.java | 20 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/ |
D | WatcherImpl.java | 20 public int start(Handle handle, Core.HandleSignals signals, Callback callback) { in start()
|
D | CoreImpl.java | 215 new HandleSignals(buffer.getInt(0)), new HandleSignals(buffer.getInt(4))); in queryHandleSignalsState()
|
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | ExecutorFactory.java | 77 mWatcher.start(mReadHandle, Core.HandleSignals.READABLE, this); in PipedExecutor()
|
D | Connector.java | 88 mWatcher.start(mMessagePipeHandle, Core.HandleSignals.READABLE, mWatcherCallback); in start()
|