Home
last modified time | relevance | path

Searched refs:STATUS_NO_MEMORY (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/binder/ndk/
Dparcel.cpp77 if (static_cast<size_t>(*length) > parcel->get()->dataAvail()) return STATUS_NO_MEMORY; in ReadAndValidateArraySize()
89 if (__builtin_smul_overflow(sizeof(T), length, &size)) return STATUS_NO_MEMORY; in WriteArray()
92 if (data == nullptr) return STATUS_NO_MEMORY; in WriteArray()
107 if (__builtin_smul_overflow(sizeof(char16_t), length, &size)) return STATUS_NO_MEMORY; in WriteArray()
135 return STATUS_NO_MEMORY; in ReadArray()
140 if (array == nullptr) return STATUS_NO_MEMORY; in ReadArray()
143 if (__builtin_smul_overflow(sizeof(T), length, &size)) return STATUS_NO_MEMORY; in ReadArray()
146 if (data == nullptr) return STATUS_NO_MEMORY; in ReadArray()
169 return STATUS_NO_MEMORY; in ReadArray()
174 if (array == nullptr) return STATUS_NO_MEMORY; in ReadArray()
[all …]
Dstatus.cpp91 return STATUS_NO_MEMORY; in PruneStatusT()
Dpersistable_bundle.cpp64 if (newPBundle == nullptr) return STATUS_NO_MEMORY; in APersistableBundle_readFromParcel()
/frameworks/native/libs/binder/rust/sys/
DBinderBindings.hpp35 NO_MEMORY = STATUS_NO_MEMORY,
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_status.h70 STATUS_NO_MEMORY = -ENOMEM, enumerator
/frameworks/base/libs/hwui/jni/
DBitmap.cpp670 return STATUS_NO_MEMORY; in writeBlob()
676 return STATUS_NO_MEMORY; in writeBlob()
782 return STATUS_NO_MEMORY; in Bitmap_createFromParcel()
798 return STATUS_NO_MEMORY; in Bitmap_createFromParcel()
805 if (error != STATUS_OK && error != STATUS_NO_MEMORY) { in Bitmap_createFromParcel()
811 if (error == STATUS_NO_MEMORY || !nativeBitmap) { in Bitmap_createFromParcel()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp120 case STATUS_NO_MEMORY: in filterStatus()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_parcel_utils.h1422 if (size > 1000000) return STATUS_NO_MEMORY;
1446 if (size > 1000000) return STATUS_NO_MEMORY;