/frameworks/base/core/tests/utiltests/jni/ |
H A D | android_util_MemoryIntArrayTest.cpp | 19 #include <cutils/ashmem.h> 20 #include <linux/ashmem.h>
|
/frameworks/av/services/oboeservice/ |
H A D | SharedMemoryProxy.h | 21 #include <cutils/ashmem.h>
|
H A D | SharedRingBuffer.h | 22 #include <cutils/ashmem.h>
|
/frameworks/av/media/libaudiohal/ |
H A D | 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);
|
/frameworks/base/core/jni/ |
H A D | android_os_MemoryFile.cpp | 20 #include <cutils/ashmem.h> 42 // Use ASHMEM_GET_SIZE to find out if the fd refers to an ashmem region. 43 // ASHMEM_GET_SIZE should succeed for all ashmem regions, and the kernel 49 // i.e., it is not an ashmem region.
|
H A D | 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"); 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. 106 jniThrowException(env, "java/io/IOException", "cannot set ashmem pro [all...] |
H A D | android_os_SharedMemory.cpp | 21 #include <cutils/ashmem.h>
|
H A D | android_database_SQLiteConnection.cpp | 27 #include <cutils/ashmem.h>
|
/frameworks/base/libs/hwui/ |
H A D | ProfileDataContainer.cpp | 20 #include <cutils/ashmem.h> 38 // If we are mapped we want to stop using the ashmem backend and switch to malloc 40 // If we aren't sitting on top of ashmem then just do a reset() as it's functionally 53 ALOGW("Failed to get ashmem region size from fd %d, err %d %s", ashmemfd, err, strerror(err)); 66 ALOGW("Failed to move profile data to ashmem fd %d, error = %d",
|
H A D | JankTracker.cpp | 28 #include <cutils/ashmem.h>
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorDirectChannel.java | 46 * Shared memory type ashmem, wrapped in MemoryFile object. 202 static long[] encodeData(MemoryFile ashmem) { argument 205 fd = ashmem.getFileDescriptor().getInt$();
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Bitmap.cpp | 27 #include <cutils/ashmem.h> 106 // Create new ashmem region with read/write priv 197 mPixelStorage.ashmem.address = address; 198 mPixelStorage.ashmem.fd = fd; 199 mPixelStorage.ashmem.size = mappedSize; 226 munmap(mPixelStorage.ashmem.address, mPixelStorage.ashmem.size); 227 close(mPixelStorage.ashmem.fd); 256 return mPixelStorage.ashmem.address; 267 return mPixelStorage.ashmem [all...] |
H A D | Bitmap.h | 122 } ashmem; member in union:android::Bitmap::__anon1194
|
/frameworks/base/native/android/ |
H A D | sharedmem.cpp | 21 #include <cutils/ashmem.h>
|
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 29 #include <cutils/ashmem.h> 50 ALOGE_IF(fd<0, "error creating ashmem region: %s", strerror(errno));
|
H A D | Parcel.cpp | 42 #include <cutils/ashmem.h> 133 // If we own an ashmem fd, keep track of how much memory it refers to. 1215 ALOGV("writeBlob: write to ashmem"); 2194 ALOGV("readBlob: read from ashmem"); 2742 // This used to return the size of all blobs that were written to ashmem, now we're returning 2743 // the ashmem currently referenced by this Parcel, which should be equivalent.
|
/frameworks/av/media/libaaudio/tests/ |
H A D | test_marshalling.cpp | 25 #include <cutils/ashmem.h>
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 24 #include <cutils/ashmem.h> 101 // the size of the ashmem descriptor can be modified between ashmem_get_size_region
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 23 #include <cutils/ashmem.h>
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Graphics.cpp | 15 #include <cutils/ashmem.h> 444 // Map existing ashmem region if not already mapped.
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 20 #include <cutils/ashmem.h> 996 case SENSOR_DIRECT_MEM_TYPE_ASHMEM: { // channel backed by ashmem
|