/external/libchrome/base/memory/ |
shared_memory_android.cc | 13 #include <cutils/ashmem.h> 15 #include "third_party/ashmem/ashmem.h" 20 // For Android, we use ashmem to implement SharedMemory. ashmem_create_region 31 // "name" is just a label in ashmem. It is visible in /proc/pid/maps. 43 DLOG(ERROR) << "Error " << err << " when setting protection of ashmem"; 47 // Android doesn't appear to have a way to drop write access on an ashmem 61 // Like on Windows, this is intentionally returning true as ashmem will 67 // ashmem doesn't support name mapping
|
/system/sepolicy/public/ |
hal_sensors.te | 7 # Allow sensor hals to access ashmem memory allocated by apps 10 # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
|
/system/core/libcutils/include/cutils/ |
ashmem.h | 1 /* cutils/ashmem.h 16 #include <linux/ashmem.h>
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
memory_dump_event_unittest.py | 91 (JAVA_SPACES, JAVA_CACHE, ASHMEM, NATIVE_1, NATIVE_2, STACK, FILES_APK, 95 '/dev/ashmem/dalvik-space-foo': {'pss': JAVA_SPACES}, 96 '/dev/ashmem/dalvik-jit-code-cache': {'pss': JAVA_CACHE}, 97 '/dev/ashmem/other-random-stuff': {'pss': ASHMEM}, 108 '/Android/Ashmem': ASHMEM, 109 '/Android': JAVA_SPACES + JAVA_CACHE + ASHMEM, 126 mmaps = {'/dev/ashmem/dalvik-space-foo': {'pss': java_spaces}} 149 mmaps={'/dev/ashmem/other-ashmem': {'pss': 5}} [all...] |
/frameworks/base/core/jni/ |
android_util_MemoryIntArray.cpp | 18 #include <cutils/ashmem.h> 19 #include <linux/ashmem.h> 43 jniThrowException(env, "java/io/IOException", "ashmem creation failed"); 49 jniThrowException(env, "java/io/IOException", "cannot set ashmem prot mode"); 71 jniThrowException(env, "java/io/IOException", "bad ashmem size"); 75 // IMPORTANT: Ashmem allows the caller to change its size until 80 // the underlying ashmem region has the same size as the one we 82 // ashmem size for boundary checks and memory unmapping. 86 jniThrowException(env, "java/io/IOException", "cannot mmap ashmem"); 90 // Check if the mapped size is the same as the ashmem region [all...] |
android_os_MemoryFile.cpp | 20 #include <cutils/ashmem.h> 80 jniThrowException(env, "java/io/IOException", "ashmem region was purged"); 99 jniThrowException(env, "java/io/IOException", "ashmem region was purged"); 123 // Use ASHMEM_GET_SIZE to find out if the fd refers to an ashmem region. 124 // ASHMEM_GET_SIZE should succeed for all ashmem regions, and the kernel 130 // i.e., it is not an ashmem region.
|
/external/libchrome/base/ |
DEPS | 3 "+third_party/ashmem",
|
/external/libmojo/mojo/edk/ |
DEPS | 9 "+third_party/ashmem",
|
/system/core/libcutils/ |
ashmem-host.c | 18 * Implementation of the user-space ashmem API for the simulator, which lacks 19 * an ashmem-enabled kernel. See ashmem-dev.c for the real ashmem-based version. 34 #include <cutils/ashmem.h> 44 snprintf(template, sizeof(template), "/tmp/android-ashmem-%d-XXXXXXXXX", getpid()); 82 * Check if this is an "ashmem" region.
|
ashmem-dev.c | 18 * Implementation of the user-space ashmem API for devices, which have our 19 * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version, 22 #define LOG_TAG "ashmem" 26 #include <linux/ashmem.h> 34 #include <cutils/ashmem.h> 37 #define ASHMEM_DEVICE "/dev/ashmem" 39 /* ashmem identity */ 43 * signal handler calls ashmem, we could get into a deadlock state. 47 /* logistics of getting file descriptor for ashmem */ [all...] |
/system/hwservicemanager/ |
Vintf.h | 11 // instanceName is "default", "ashmem", etc.
|
/frameworks/av/media/libaudiohal/ |
EffectBufferHalHidl.cpp | 69 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); local 70 if (ashmem == 0) { 71 ALOGE("Failed to retrieve ashmem allocator service"); 75 Return<void> result = ashmem->allocate( 91 ALOGE("Failed to map allocated ashmem"); 95 ALOGE("Failed to allocate %d bytes from ashmem", (int)mBufferSize);
|
/external/libbrillo/brillo/message_loops/ |
base_message_loop_unittest.cc | 17 "227 mcelog\n 58 sw_sync\n 59 ashmem\n 57 binder\n239 uhid\n"));
|
/device/google/marlin/ |
compatibility_matrix.xml | 23 <instance>ashmem</instance> 39 <instance>ashmem</instance>
|
/external/kernel-headers/original/uapi/linux/ |
ashmem.h | 2 * drivers/staging/android/uapi/ashmem.h 20 #define ASHMEM_NAME_DEF "dev/ashmem"
|
/frameworks/base/core/tests/utiltests/jni/ |
android_util_MemoryIntArrayTest.cpp | 19 #include <cutils/ashmem.h> 20 #include <linux/ashmem.h>
|
/system/libhidl/ |
manifest.xml | 17 <instance>ashmem</instance> 26 <instance>ashmem</instance>
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
gralloc_cb.h | 105 int fd; // ashmem fd (-1 of ashmem region did not allocated, i.e. no SW access needed) 117 int ashmemSize; // ashmem region size for the buffer (0 unless is HW_FB buffer or 120 intptr_t ashmemBase; // CPU address of the mapped ashmem region 124 int ashmemBasePid; // process id which mapped the ashmem region
|
/development/ndk/platforms/android-9/include/linux/ |
ashmem.h | 20 #define ASHMEM_NAME_DEF "dev/ashmem"
|
/frameworks/base/native/android/ |
sharedmem.cpp | 18 #include <cutils/ashmem.h>
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/ |
ashmem.h | 20 #define ASHMEM_NAME_DEF "dev/ashmem"
|
/prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/ |
ashmem.h | 20 #define ASHMEM_NAME_DEF "dev/ashmem"
|
/prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/ |
ashmem.h | 20 #define ASHMEM_NAME_DEF "dev/ashmem"
|
/prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/ |
ashmem.h | 20 #define ASHMEM_NAME_DEF "dev/ashmem"
|
/prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/ |
ashmem.h | 20 #define ASHMEM_NAME_DEF "dev/ashmem"
|