OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ashmemFd
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/libs/androidfw/
CursorWindow.cpp
33
CursorWindow::CursorWindow(const String8& name, int
ashmemFd
,
35
mName(name), mAshmemFd(
ashmemFd
), mData(data), mSize(size), mReadOnly(readOnly) {
49
int
ashmemFd
= ashmem_create_region(ashmemName.string(), size);
50
if (
ashmemFd
< 0) {
53
result = ashmem_set_prot_region(
ashmemFd
, PROT_READ | PROT_WRITE);
55
void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED,
ashmemFd
, 0);
59
result = ashmem_set_prot_region(
ashmemFd
, PROT_READ);
61
CursorWindow* window = new CursorWindow(name,
ashmemFd
,
79
::close(
ashmemFd
);
89
int
ashmemFd
= parcel->readFileDescriptor()
[
all
...]
/frameworks/base/include/androidfw/
CursorWindow.h
52
CursorWindow(const String8& name, int
ashmemFd
,
Completed in 139 milliseconds