Searched refs:ashmem (Results 1 - 11 of 11) sorted by relevance
/frameworks/base/core/jni/ |
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"); 66 jniThrowException(env, "java/io/IOException", "bad ashmem size"); 73 jniThrowException(env, "java/io/IOException", "cannot mmap ashmem"); 85 jniThrowException(env, "java/io/IOException", "cannot set ashmem prot mode"); 103 jniThrowException(env, "java/io/IOException", "bad ashmem size"); 113 // We don't deallocate the atomic ints we created with placement new in the ashmem 114 // region as the kernel we reclaim all pages when the ashmem regio [all...] |
H A D | 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.
|
H A D | android_database_SQLiteConnection.cpp | 27 #include <cutils/ashmem.h>
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.h | 115 } ashmem; member in union:android::Bitmap::__anon841
|
H A D | Bitmap.cpp | 28 #include <cutils/ashmem.h> 156 mPixelStorage.ashmem.address = address; 157 mPixelStorage.ashmem.fd = fd; 158 mPixelStorage.ashmem.size = ashmem_get_size_region(fd); 186 munmap(mPixelStorage.ashmem.address, mPixelStorage.ashmem.size); 187 close(mPixelStorage.ashmem.fd); 215 return mPixelStorage.ashmem.fd; 1006 // Map the bitmap in place from the ashmem region if possible otherwise copy. 1027 // Map the pixels in place and take ownership of the ashmem regio [all...] |
H A D | Graphics.cpp | 15 #include <cutils/ashmem.h> 598 // Create new ashmem region with read/write priv 634 // Map existing ashmem region if not already mapped.
|
/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 29 #include <cutils/ashmem.h> 51 ALOGE_IF(fd<0, "error creating ashmem region: %s", strerror(errno));
|
H A D | Parcel.cpp | 41 #include <cutils/ashmem.h> 112 int fd = TEMP_FAILURE_RETRY(open("/dev/ashmem", O_RDONLY)); 161 // If we own an ashmem fd, keep track of how much memory it refers to. 1223 ALOGV("writeBlob: write to ashmem"); 2037 ALOGV("readBlob: read from ashmem"); 2581 // This used to return the size of all blobs that were written to ashmem, now we're returning 2582 // the ashmem currently referenced by this Parcel, which should be equivalent.
|
/frameworks/base/libs/hwui/ |
H A D | JankTracker.cpp | 21 #include <cutils/ashmem.h> 123 // By default this will use malloc memory. It may be moved later to ashmem 156 ALOGW("Failed to move profile data to ashmem fd %d, error = %d",
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 24 #include <cutils/ashmem.h>
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 23 #include <cutils/ashmem.h>
|
Completed in 1227 milliseconds