OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sharedMemory
(Results
1 - 5
of
5
) sorted by null
/cts/tests/tests/os/src/android/os/cts/
SharedMemoryTest.java
36
import android.os.
SharedMemory
;
113
try (
SharedMemory
sharedMemory
=
SharedMemory
.create(null, 1)) {
114
ByteBuffer buffer =
sharedMemory
.mapReadWrite();
115
mRemote.setup(
sharedMemory
, PROT_READ | PROT_WRITE);
121
synchronized (
sharedMemory
) {}
126
synchronized (
sharedMemory
) {}
128
SharedMemory
.unmap(buffer);
134
try (
SharedMemory
sharedMemory = SharedMemory.create(null, 1))
[
all
...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowSharedMemoryTest.java
8
import android.os.
SharedMemory
;
22
try (
SharedMemory
sharedMemory
=
SharedMemory
.create("foo", 4)) {
23
assertThat(
sharedMemory
.getSize()).isEqualTo(4);
30
try (
SharedMemory
sharedMemory
=
SharedMemory
.create("foo", 4)) {
31
ByteBuffer fooBuf =
sharedMemory
.mapReadWrite();
41
try (
SharedMemory
sharedMemory = SharedMemory.create("foo", 4))
[
all
...]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
Conversion.h
412
t->
sharedMemory
= hidl_memory();
444
t->
sharedMemory
= hidl_memory();
459
t->
sharedMemory
= l.mHidlMemory;
500
*l = OMXBuffer(t.
sharedMemory
);
/frameworks/av/media/libmedia/include/media/omx/1.0/
Conversion.h
687
t->
sharedMemory
= hidl_memory();
702
t->
sharedMemory
= l.mHidlMemory;
760
*l = OMXBuffer(t.
sharedMemory
);
/frameworks/av/media/libaudiohal/impl/
StreamHalHidl.cpp
177
const native_handle *handle = hidlInfo.
sharedMemory
.handle();
[
all
...]
Completed in 73 milliseconds