Home
last modified time | relevance | path

Searched refs:SharedBufferHandle (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
DSharedBufferHandleImpl.java7 import org.chromium.mojo.system.SharedBufferHandle;
14 class SharedBufferHandleImpl extends HandleBase implements SharedBufferHandle {
34 public SharedBufferHandle duplicate(DuplicateOptions options) { in duplicate()
DUntypedHandleImpl.java10 import org.chromium.mojo.system.SharedBufferHandle;
60 public SharedBufferHandle toSharedBufferHandle() { in toSharedBufferHandle()
DCoreImpl.java19 import org.chromium.mojo.system.SharedBufferHandle;
20 import org.chromium.mojo.system.SharedBufferHandle.DuplicateOptions;
21 import org.chromium.mojo.system.SharedBufferHandle.MapFlags;
151 public SharedBufferHandle createSharedBuffer( in createSharedBuffer()
152 SharedBufferHandle.CreateOptions options, long numBytes) { in createSharedBuffer()
354 SharedBufferHandle duplicate(SharedBufferHandleImpl handle, in duplicate()
/external/chromium_org/mojo/public/java/src/org/chromium/mojo/system/
DInvalidHandle.java18 ProducerHandle, SharedBufferHandle {
88 public SharedBufferHandle toSharedBufferHandle() { in toSharedBufferHandle()
96 public SharedBufferHandle duplicate(DuplicateOptions options) { in duplicate()
DSharedBufferHandle.java12 public interface SharedBufferHandle extends Handle { interface
137 public SharedBufferHandle duplicate(DuplicateOptions options); in duplicate()
DCore.java184 public SharedBufferHandle createSharedBuffer(SharedBufferHandle.CreateOptions options, in createSharedBuffer()
DUntypedHandle.java37 public SharedBufferHandle toSharedBufferHandle(); in toSharedBufferHandle()
/external/chromium_org/mojo/public/cpp/system/
Dcore.h460 class SharedBufferHandle : public Handle {
462 SharedBufferHandle() {} in SharedBufferHandle() function
463 explicit SharedBufferHandle(MojoHandle value) : Handle(value) {} in SharedBufferHandle() function
468 MOJO_COMPILE_ASSERT(sizeof(SharedBufferHandle) == sizeof(Handle),
471 typedef ScopedHandleBase<SharedBufferHandle> ScopedSharedBufferHandle;
473 sizeof(SharedBufferHandle),
481 SharedBufferHandle handle; in CreateSharedBuffer()
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/
DCoreImplTest.java22 import org.chromium.mojo.system.SharedBufferHandle;
151 SharedBufferHandle handle = core.createSharedBuffer(null, 100); in testGetCore()
152 SharedBufferHandle handle2 = handle.duplicate(null); in testGetCore()
437 core.createSharedBuffer(new SharedBufferHandle.CreateOptions(), 8); in testSharedBufferCreation()
446 SharedBufferHandle handle = core.createSharedBuffer(null, 8); in testSharedBufferDuplication()
451 handle.duplicate(new SharedBufferHandle.DuplicateOptions()).close(); in testSharedBufferDuplication()
464 SharedBufferHandle handle = core.createSharedBuffer(null, 8); in testSharedBufferSending()
465 SharedBufferHandle newHandle = handle.duplicate(null); in testSharedBufferSending()
468 ByteBuffer buffer1 = handle.map(0, 8, SharedBufferHandle.MapFlags.NONE); in testSharedBufferSending()
470 ByteBuffer buffer2 = newHandle.map(0, 8, SharedBufferHandle.MapFlags.NONE); in testSharedBufferSending()
/external/chromium_org/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc298 EXPECT_TRUE(internal::IsHandle<SharedBufferHandle>::value); in TEST_F()
/external/chromium_org/mojo/public/cpp/system/tests/
Dcore_unittest.cc118 EXPECT_FALSE(MakeScopedHandle(SharedBufferHandle()).is_valid()); in TEST()