summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-21merge in lmp-release history after reset to ↵studio-master-dev_before_27917934studio-master-dev_before_26911779studio-3.2.1studio-3.1.2studio-3.0studio-2.3studio-2.0-rc1studio-2.0studio-1.5studio-1.4gradle_3.1.2gradle_3.0.0gradle_2.3.0gradle_2.0.0gradle_1.5.0gradle_1.3.1gradle_1.3.0-beta4gradle_1.3.0-beta3gradle_1.3.0-beta2gradle_1.3.0-beta1gradle_1.2.3gradle_1.2.2gradle_1.2.1gradle_1.2.0-rc1gradle_1.2.0-beta1gradle_1.2.0gradle_1.1.3gradle_1.1.2gradle_1.1.1gradle_1.1.0-rc3gradle_1.1.0-rc2gradle_1.1.0-rc1gradle_1.1.0android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1studio-master-devstudio-1.4-releasestudio-1.3-releasestudio-1.2-releasestudio-1.1-releasemirror-goog-studio-master-devlollipop-releaselollipop-cts-releaselinaro_android_5.0.0emu-master-qemu-releaseemu-35-1-releaseemu-34-releaseemu-34-3-releaseemu-34-2-releaseemu-34-2-devemu-33-releaseemu-33-devemu-32-releaseemu-32-devemu-31-stable-releaseemu-31-releaseemu-30-releaseemu-3.1-releaseemu-3.0-releaseemu-29.0-releaseemu-2.8-releaseemu-2.7-releaseemu-2.6-releaseemu-2.5-releaseemu-2.4-releaseemu-2.3-releaseemu-2.2-releaseemu-2.0-releaseemu-1.5-releaseemu-1.4-releaseaosp-emu-30-releaseThe Android Automerger
afe2b1fadd29149ceed639357e44e06e97c3a5ca
2014-10-21surfaceflinger: don't close fence fds after passing to queueBufferJesse Hall
ANativeWindow::queueBuffer takes ownership of the fence fd passed to it, and will close it before returning. SurfaceFlinger's screenshot code was also closing the syncFd it passed to queueBuffer. Most of the time this meant the second close() silently failed, but in a rare race condition the file descriptor could be reused between the two close()s. Bug: 17946343 Change-Id: Ib74fcb1dce52cc21328059c99b7c4c76f41aa3a5
2014-10-21merge in lmp-release history after reset to ↵The Android Automerger
649bafb7ba2c3204295bc3451ff7af7e28e714ed
2014-10-20Merge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT ↵lollipop-devJesse Hall
MERGE)" into lmp-dev
2014-10-19merge in lmp-release history after reset to ↵The Android Automerger
0b6acb2231baed861488f2d181621272d0658d25
2014-10-19Add version number to SensorService dump output.Aravind Akella
Change-Id: I64f9482ade523ec3fafe14bff14db7196e32413f
2014-10-19bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)Jesse Hall
On one device there is a bug, not yet root-caused, that causes fence fds to not make it across binder from producer to consumer in the IGraphicBufferProducer::queueBuffer call. Rather than returning an error, which the producer typically treats as a fatal error, this change allows the buffer to be queued with no fence. This avoids an application crash at the risk of (likely single-frame) visible corruption. Bug: 17946343 Change-Id: I9ca89f94098c455e1e90f5f58d5336c936b04a9c
2014-10-16merge in lmp-release history after reset to ↵The Android Automerger
60fd3feecab4336d964ca8e31c7c3220e1afb558
2014-10-15Migrate CA certificates to all usersRobin Lee
Copies the /data/misc/keychain/cacert-* directories to all users on the device, whereas previously they were simply copied to user 0. This is a shallow copy so anything that wasn't supposed to be there will disappear. Bug: 17811821 Change-Id: Iae5909ab8d5efdb83c9c8fdf0e10ab7060d022cc
2014-10-15merge in lmp-release history after reset to ↵The Android Automerger
3454f123d0a10bd0ce0760828996aa26c80a8fd4
2014-10-14merge in lmp-release history after reset to ↵The Android Automerger
3454f123d0a10bd0ce0760828996aa26c80a8fd4
2014-10-13media: add kMetadataBufferTypeGraphicBufferLajos Molnar
Bug: 17935149 Change-Id: I1c26d1e83d8fa0a9ccdb25f6f3b19a86b1dc6f37
2014-10-13merge in lmp-release history after reset to ↵The Android Automerger
ffb497743831ae4857b674629b58ea3c46d01431
2014-10-12Improve ANR diagnostics.Jeff Brown
Print more details about the exact reason that an ANR has occurred. Also start checking that the window actually has a registered input connection that is not in a broken state. These windows are supposed to be cleaned up by the window manager promptly as if the app had crashed but the pattern of ANRs we are observing suggests that broken windows might be sticking around longer than they should. Bug: 17721767 Change-Id: Ie2803a3fa9642381ecadc198fec15e1b70d93c20
2014-10-12merge in lmp-release history after reset to ↵The Android Automerger
9ea09757fa63ad2a9bea9c846b51c1210d69c79f
2014-10-10Improve ANR diagnostics.Jeff Brown
Print more details about the exact reason that an ANR has occurred. Also start checking that the window actually has a registered input connection that is not in a broken state. These windows are supposed to be cleaned up by the window manager promptly as if the app had crashed but the pattern of ANRs we are observing suggests that broken windows might be sticking around longer than they should. Bug: 17721767 Change-Id: Ie2803a3fa9642381ecadc198fec15e1b70d93c20
2014-10-09merge in lmp-release history after reset to ↵The Android Automerger
9ea09757fa63ad2a9bea9c846b51c1210d69c79f
2014-10-08Fix broken error check in Parcel::readBlobNarayan Kamath
mmap returns MAP_FAILED (which is -1) and not NULL on failure. Diagnosed by cferris. bug: 17909809 Change-Id: I609788ebf94742ef88af002d2d3f3bc9b9e520ac
2014-10-08merge in lmp-release history after reset to ↵The Android Automerger
7830ef3dd0ff3749d974c2dd85a8fa59dc47aeca
2014-10-07Change ordering of memory allocation and calling Thread::run().Aravind Akella
In some cases this is causing a crash as device.poll is called with NULL. Bug: 17896339 Change-Id: Id431599f2c661338c355c7081b6602f8449a9198
2014-10-07merge in lmp-release history after reset to ↵The Android Automerger
78639c22acfa5e56d87fd6fe8340d083536b29fc
2014-10-06Parcel: extra validation/debug code for writeDupFileDescriptorJesse Hall
Temporary extra debug validation for b/17477219: a Parcel recipient is getting a positive but invalid fd unexpectedly. Trying to track down where it's coming from. Debug code for bug: 17477219 Change-Id: Idb1e71621025a3928c7adc88fd44790e1abd2a01
2014-10-06Merge "Parcel: extra validation/debug code for writeDupFileDescriptor" into ↵Jesse Hall
lmp-dev
2014-10-06Parcel: extra validation/debug code for writeDupFileDescriptorJesse Hall
Temporary extra debug validation for b/17477219: a Parcel recipient is getting a positive but invalid fd unexpectedly. Trying to track down where it's coming from. Debug code for bug: 17477219 Change-Id: Idb1e71621025a3928c7adc88fd44790e1abd2a01
2014-10-06merge in lmp-release history after reset to ↵The Android Automerger
a7eb4b74f74423dafd88adf94a7984ae927c3a23
2014-10-05merge in lmp-release history after reset to ↵The Android Automerger
a7eb4b74f74423dafd88adf94a7984ae927c3a23
2014-10-03Merge "Fix sockfd leakage in SensorService." into lmp-devAravind Akella
2014-10-03Generate the SurfaceFlinger shader cache on initializationRiley Andrews
Blobcache is not yet enabled for surfaceflinger (as it should be). As a temporary workaround, generate all needed shaders during surfaceflinger initialization instead of doing the compilation on-demand during ui transitions. Change-Id: I14455b20a3f85f177d85c9c8b76d8ccc35379b39
2014-10-02Fix sockfd leakage in SensorService.Aravind Akella
i) Call removeFd() only if the fd in the BitTube has been previously added to the Looper. Use a flag to determine whether the fd has been previously added or not. ii) Increment mPendingFlushEventsToSend after holding a connectionLock. iii) Store the number of acks that are pending in SensorEventQueue and send them all at once. Bug: 17472228 Change-Id: I1ec834fea1112a9cfbd9cddd2198438793698502
2014-10-02Surface: cancel the dequeued buffer when requestBuffer failsJesse Hall
Partial fix for bug: 17477219 Change-Id: Ibf5a9e26e02c4be8854925a77a70f5c9c7dcf6f2
2014-10-02add OMX_VIDEO_AVCLevel52 constantLajos Molnar
Bug: 17676461 Change-Id: I120041e9b2ffe2a232a2419bcb5fe88cb49961cb
2014-10-02Merge "Surface: cancel the dequeued buffer when requestBuffer fails" into ↵Jesse Hall
lmp-dev
2014-10-02Merge "add OMX_VIDEO_AVCLevel52 constant" into lmp-devLajos Molnar
2014-10-02Add more logging for dup(fd) failureMichael Lentine
Bug: 17477219 Change-Id: Ide0ae16d777c9af783023c705c18a93c00999147
2014-10-02Merge "Add more logging for dup(fd) failure" into lmp-devMichael Lentine
2014-10-02Surface: cancel the dequeued buffer when requestBuffer failsJesse Hall
Partial fix for bug: 17477219 Change-Id: Ibf5a9e26e02c4be8854925a77a70f5c9c7dcf6f2
2014-10-02Add more logging for dup(fd) failureMichael Lentine
Bug: 17477219 Change-Id: Ide0ae16d777c9af783023c705c18a93c00999147
2014-10-02merge in lmp-release history after reset to lmp-devThe Android Automerger
2014-10-01add OMX_VIDEO_AVCLevel52 constantLajos Molnar
Bug: 17676461 Change-Id: I120041e9b2ffe2a232a2419bcb5fe88cb49961cb
2014-10-02Merge "Accept socket connection before tracing." into lmp-devChristopher Ferris
2014-10-01Accept socket connection before tracing.Christopher Ferris
Sometimes dumping threads takes a long time and bugreport times out. This change will cause us to accept the bugreport socket connection before dumping threads and should avoid the failed to connect to dumpstate service problems we've seen. Bug: 17758374 Change-Id: I80afa0353cf1c340873f481a8d1d7faffff54120
2014-10-01Merge "When eglMakeCurrent fails we need to fix the egl state." into lmp-devMichael Lentine
2014-10-01When eglMakeCurrent fails we need to fix the egl state.Michael Lentine
Bug: 16676660 Change-Id: Ie7bee9c78378b9e9206060444319e6ee35e1ab74
2014-10-01Merge "add a parameter for PCM limiter enable" into lmp-devChong Zhang
2014-10-01add a parameter for PCM limiter enableChong Zhang
Bug: 17470065 Change-Id: I327115fc16e7afe2bf5870e123d63f9887161206
2014-10-01surfaceflinger: recompute visibility after sideband stream changeJesse Hall
We normally recompute layer visibility when a layer gets its first buffer; before then it's treated as invisible. Sideband layers never get a buffer (as far as SurfaceFlinger knows), so never became visible. Now we also recompute visibility when a layer gets a new sideband stream. Bug: 17752511 Change-Id: I84e150f196eb2eb7bcd2616248e5e3fa73624809
2014-10-01merge in lmp-release history after reset to ↵The Android Automerger
5ee2c9d20c0fbecf6b4a482eb8d8bfdf85d0d424
2014-09-30Work on issue #17656716: Unhandled exception in Window ManagerDianne Hackborn
Try to clean up the code paths coming in and out of binder IPCs to plug any places where we could disrupt the gather flag of a thread, causing it to keep gathering stack crawls (which is the thing that is causing our strict mode data to become so large). We now take care of saving and restoring this state in the core IPC code path, not at the Java layer. Change-Id: I73d564778da127bdce00f304225930e7f2318293
2014-09-30merge in lmp-release history after reset to ↵The Android Automerger
deb71b2812702318900c36b7bcfa9759525ea7cc
2014-09-29merge in lmp-release history after reset to ↵The Android Automerger
deb71b2812702318900c36b7bcfa9759525ea7cc