replicant-frameworks_native/services/surfaceflinger
Mathias Agopian 7b19051137 fix a crasher when running out of memory
MemoryHeapBase::getBase() returns MAP_FAILED in case or
OOM, not null which is what SF was checking against.

This addresses one of the issues of bug 7230543.

Bug: 7230543
Change-Id: I763a88f64a2f9ff75eb139cfbaf9a1a9746c5577
2012-09-25 15:30:38 -07:00
..
DisplayHardware add/remove displays properly on hotplug events 2012-09-21 18:26:16 -07:00
tests Banish DisplayID from the SurfaceFlinger API. 2012-08-27 14:40:17 -07:00
Android.mk GraphicBufferAlloc class was declared twice 2012-09-20 17:13:58 -07:00
Barrier.h
Client.cpp Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
Client.h Banish DisplayID from the SurfaceFlinger API. 2012-08-27 14:40:17 -07:00
clz.cpp
clz.h implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" 2011-07-19 15:24:46 -07:00
DdmConnection.cpp add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp handle EGL errors 2012-09-24 18:07:21 -07:00
DisplayDevice.h add/remove displays properly on hotplug events 2012-09-21 18:26:16 -07:00
EventThread.cpp Display events now always carry the display id they happened on 2012-09-21 14:20:35 -07:00
EventThread.h Display events now always carry the display id they happened on 2012-09-21 14:20:35 -07:00
GLExtensions.cpp
GLExtensions.h
Layer.cpp calculate wether we filter on a per-display basis 2012-09-20 17:13:58 -07:00
Layer.h add support hwc 1.1 2012-09-17 18:57:53 -07:00
LayerBase.cpp fix Layer croping in SurfaceFlinger 2012-09-24 22:15:47 -07:00
LayerBase.h calculate wether we filter on a per-display basis 2012-09-20 17:13:58 -07:00
LayerDim.cpp Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerDim.h Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerScreenshot.cpp Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
LayerScreenshot.h Eradicate DisplayID. 2012-08-27 17:43:43 -07:00
MessageQueue.cpp one more step towards multiple display support 2012-07-10 14:29:27 -07:00
MessageQueue.h one more step towards multiple display support 2012-07-10 14:29:27 -07:00
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp fix a crasher when running out of memory 2012-09-25 15:30:38 -07:00
SurfaceFlinger.h Show build config in dumpsys SurfaceFlinger 2012-09-25 11:31:46 -07:00
SurfaceTextureLayer.cpp update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
SurfaceTextureLayer.h update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
Transform.cpp Ensure that viewport and frame are initialized. 2012-09-09 00:07:17 -07:00
Transform.h SurfaceFlinger: SCALING_MODE_FREEZE cropping support 2012-05-09 12:53:13 -07:00