Searched refs:HandleSignals (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | Core.java | 23 public static class HandleSignals extends Flags<HandleSignals> { class 29 private HandleSignals(int signals) { in HandleSignals() method in Core.HandleSignals 40 public static final HandleSignals NONE = HandleSignals.none().immutable(); 41 public static final HandleSignals READABLE = 42 HandleSignals.none().setReadable(true).immutable(); 43 public static final HandleSignals WRITABLE = 44 HandleSignals.none().setWritable(true).immutable(); 52 public HandleSignals setReadable(boolean readable) { in setReadable() 62 public HandleSignals setWritable(boolean writable) { in setWritable() 69 public static HandleSignals none() { in none() [all …]
|
D | AsyncWaiter.java | 7 import org.chromium.mojo.system.Core.HandleSignals; 51 Cancellable asyncWait(Handle handle, HandleSignals signals, long deadline, Callback callback); in asyncWait()
|
D | InvalidHandle.java | 7 import org.chromium.mojo.system.Core.HandleSignals; 43 public int wait(HandleSignals signals, long deadline) { in wait()
|
D | Handle.java | 28 public int wait(Core.HandleSignals signals, long deadline); in wait()
|
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 180 List<Pair<Handle, Core.HandleSignals>> handlesToWaitOn = new ArrayList< in testWaitMany() 181 Pair<Handle, Core.HandleSignals>>(); in testWaitMany() 183 new Pair<Handle, Core.HandleSignals>(handles.second, Core.HandleSignals.READABLE)); in testWaitMany() 185 new Pair<Handle, Core.HandleSignals>(handles.first, Core.HandleSignals.WRITABLE)); in testWaitMany() 192 new Pair<Handle, Core.HandleSignals>(handles.first, Core.HandleSignals.WRITABLE)); in testWaitMany() 194 new Pair<Handle, Core.HandleSignals>(handles.second, Core.HandleSignals.READABLE)); in testWaitMany() 253 handles.first.wait(Core.HandleSignals.none().setReadable(true).setWritable(true), in testMessagePipeEmpty() 255 assertEquals(MojoResult.OK, handles.first.wait(Core.HandleSignals.WRITABLE, 0)); in testMessagePipeEmpty() 257 handles.first.wait(Core.HandleSignals.READABLE, 0)); in testMessagePipeEmpty() 267 handles.first.wait(Core.HandleSignals.READABLE, 1000000L)); in testMessagePipeEmpty() [all …]
|
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/ |
D | HandleBase.java | 10 import org.chromium.mojo.system.Core.HandleSignals; 68 public int wait(HandleSignals signals, long deadline) { in wait()
|
D | CoreImpl.java | 81 public WaitManyResult waitMany(List<Pair<Handle, HandleSignals>> handles, long deadline) { in waitMany() 86 for (Pair<Handle, HandleSignals> handle : handles) { in waitMany() 105 public int wait(Handle handle, HandleSignals signals, long deadline) { in wait() 193 public Cancellable asyncWait(Handle handle, HandleSignals signals, long deadline, in asyncWait()
|
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/ |
D | HandleMock.java | 39 public int wait(Core.HandleSignals signals, long deadline) { in wait()
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | ExecutorFactory.java | 84 mWaiter.asyncWait(mReadHandle, Core.HandleSignals.READABLE, Core.DEADLINE_INFINITE, in asyncWait()
|
D | Connector.java | 186 mCancellable = mAsyncWaiter.asyncWait(mMessagePipeHandle, Core.HandleSignals.READABLE, in registerAsyncWaiterForRead()
|