aospでLollipop MR1のソースが公開されました(4)


続きです。
/external/はちょっと後回しで/framework/優先で。まずはavから。

## project frameworks/av/
e2c8023 Revert "DO NOT MERGE: stagefright: add support for Intel's YUV420SP format in SoftwareRenderer"
35d5af1 nuplayer: acquire wakelock during offload pause timeout
17e95f4 stagefright: add media_codecs_google_video_le.xml
41d3f57 Fix GSM WAV playback
78e52bf stagefright: change licensing headers on h264dec omxdl sources
35395ea DO NOT MERGE: stagefright: add support for Intel's YUV420SP format in SoftwareRenderer
99cef1e allow HLS streams with CLOSED-CAPTIONS tag to play
90005aa stagefright: add software renderer support to OMX_COLOR_YUV420SemiPlanar
43beaf3 stagefright: set consumer usage flags and desribe YV12 HAL format
9578a90 stagefright: add software renderer support to OMX_COLOR_YUV420SemiPlanar
5a52a06 stagefright: set consumer usage flags and desribe YV12 HAL format
341ab6e reuse CCDecoder on video discontinuity
3a01a71 stagefright: add fallback for native flex-YUV support
afcc4fc httplive: Set start time and segment start time in conjunction.
3ae5f31 audiopolicy: send device connect notification to HALs
0d09182 stagefright: add support for native flex-YUV formats
efbb619 NuPlayer: pause playback when buffering is low
3fb3917 Acodec: reset sideband handle for all non tunneled mode video playback
678bcdc httplive: Defer switch down if a switch is in progress
dae1e73 PlaylistFetcher: clear packet sources when adjusting starting sequence number
7abbd4c Wrong format used in seamless check
a82797f audio policy: add fallback for output selection
78b0163 Acodec: Send framerate information to OMX decoder if available
a1d525f audio policy: match attached device to declared devices
79ad438 Fix FLAG_BEACON regression
a93fd2b stagefright: httplive: Decouple block size from bandwidth estimate
9aff25f stagefright: httplive: Reduce memcpy calls for chunked content
79971c7 httplive: Dont resume if we have almost fetched till stop time
9dee2e5 stagefright: httplive: Propagate target duration to LiveSession
2a66207 httplive: Create a copy of last enqueued metadata
1746097 stagefright: httplive: Fix deadlock for low duration clips
5cf91c5 libstagefright: httplive: Add NULL check for empty playlist
f0d6899 Revert "HLS: QCom enhancements"
8d10f8e stagefright: do not reject SPL5 files outright in SoftMpeg4 decoder
1338e17 stagefright: do not reject SPL5 files outright in SoftMpeg4 decoder
1db89b9 Audio policy: fix device gain initialization
231406d NuPlayerRenderer: return current real time as render time for video frame when paused.
ea9f215 Fix MTP delete
d801050 libstagefright: Use aligned width and height.
841d22b libstagefright: Use aligned width and height.
463c54e stagefright: do not reject SPL4 files outright in SoftMpeg4 decoder
202fbed MPEG4Extractor: more NULL derefernce fixes in parseChunk
0c4e56d Camera: make sure jpeg buffer size isn't too small
c295389 do not use paused postition if it's not available
aa79bef fix audio patch leak.
182c2f5 fix leak in audio policy effect config parser
cec7feb do not use paused postition if it's not available
5f3194c MidiFile: report correct state during transient period when start() is called first time.
e6b8b27     [FM]There is no sound output from BT earphone while BT earphone is connected
38a97bd stagefright: keep alignment restrictions for SoftVideoDecoder
40166aa Use aligned width and height to compute size.
1713460 mark any copyrighted content as protected to disable capture
5db7897 make libserviceutility a shared lib
55dfeeb Use aligned width and height to compute size.
8140a2b stagefright: report crop rectangle as codec resolution if exists
c447ded fix record from default input source
e443ffa DO NOT MERGE - fix memory leak in PatchPanel
3190e67 close remote submix's output when device is not available.
8a47289 ACodec: Added support for E-AC3 decoders
f580806 HLS: QCom enhancements
f0e8364 NuPlayer: Do not recreate AudioTrack if not needed
0f7b5f2 audioflinger: pause HW A/V sync output when AudioTrack underruns
a34c9ce audio policy: fix isSourceActive() for hotword
2cbe89a audio policy: improve accessibility routing
d4cdba1 NuPlayer: reports paused position in paused state.
3491232 NuPlayer: Fix failure to stop audio playback
9fc1bf1 OggExtractor: ignore timestamp calculation for configuration packets
1391f93 MPEG4Extractor: null check in MPEG4Source::parseChunk
e48cf5b Fix bounds checking for GetPartialObject command
045e710 [FM] Fix notification routing when FM enable
f247eef ESQueue: change warning message of one buffer containing multiple ADTS frames into verbose.
fe472e2 Fix routing not happening after change in output device list
dc136ff audiopolicy : Fix for incorrect input device selection
cd71a69 audio: Force audio to Speaker if requested during VOIP call
97bb33f Fix permission check for audio recording
d1f69b0 audioflinger: implement pause/resume for direct outputs
2cec0df Camera2Client: flush requests in stopPreviewL
661a527 Fix for apps that forget to use widevine:// urls
fa73649 audio policy: fix remote mic capture
9210450 audio policy: suppport for dynamic source
eee82e4 MediaCodecList: handle binder death
d0b9a2b Tunneled video Playback/Max resolution: Call mOmx->prepareForAdaptivePlayback() to provide max resolution information to tunneled OMX component.
30b865a stagefright: advertise 8kHz AAC decoder support
c73ca6e audio policy: fix remote mic capture
895651b NuPlayer: send NOT_SEEKABLE media info to client when the source is not seekable.
c722f30 audio policy: suppport for dynamic source
a0940a5 stagefright: misc fixes to software video encoders (and decoders)
99adee3 [audio][audioflinger] Consume all frames when a DirectThread is done.
f484952 mediaplayer: allow setVideoSurface before setDataSource
2e48001 Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions
7e45789 Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions
1767df7 AudioPolicyManager: distinguish between mirroring and rerouting
baac183 audio policy: binder calls for dynamic audio policy mixes
275e8e9 audio policy: add support for custom mixes
02521e3 Fix for Bundled Effects level compensation
43e69a6 Camera3Device: support shutter after result
9fa3db9 Fix AAC recording issue
82a69ea Prevent ANR when AudioTrack is paused or re-routed
ca7b4bc mediaplayerservice: add support for legacy DRM
474d7c7 NuPlayerRenderer: Update mAnchorMaxMediaUs when anchor time is changed to fix pause-seek-getCurrentPosition.
0add0fd audio policy: fix inifinite loop in clearAudioPatches()
4e865a3 stagefright: preserve output format flags on format change
bba7557 Camera2: Round unsupported surface sizes in configure.
42e8153 fixes for non-secure widevine playback
af2645a Camera: Add support for SCENE_MODE_HDR for newer HALs
be837c3 Track volume should be maintained even if track is restored
9257000 camera: fix logging in ZslProcessor to avoid spam
0daea39 audio policy: fix AudioPort parameter checks
47d4c9a Fix for AOSP force virtualization mode
15ebd70 avc_util: try to find the first start code prefix 0x000001 even though there is non-zero byte at the beginning of the buffer.
8790740 media_codecs.xml: extend vorbis sample rate to 8-96kHz
36d1577 audio policy: validate stream type received from binder calls.
180d1b9 fix threading in RTSPSource and StreamingSource
4d23645 ESQueue: add frame length checking in validation of ADTS header.
18f2f90 [FM] Fix Buganizer ID: 18456930  - FM radio audio got routed to loudspeaker unexpectedly
202bce1 Fix NuPlayer assertion on failure to create AudioTrack
9a1c889 Fix getTimestamp if offload thread is not initialized.
ab05b4c StreamingSource: check mTSParser before dereferencing it.
f182891 nuplayer: clear pending audio access unit on flush.
f8d7177 notify seek complete upon first video output frame
caf7f48 AudioRecord: use audio attributes instead of audio source.
d9e0603 MediaCodec: resume codec if state is FLUSHED in async mode
066ceec audio policy: do not route accessibility prompts to compressed output
e83b55d audio policy: new getOutputForAttr() prototype.
0f78eab fix the build.
643319f stagefright: add graceful handling when setting port definition
31867b3 camera: fix frame deletion logic in mInFlightMap
680b795 Fix AudioTrack loop mode to play audio from buffer start
223fd5c audio: new routing strategies and stream types
7137ec7 tunnel NuPlayer source and decoder input
02eb47c SoundTrigger: allow sound model reloading
5fc9d90 Camera2: Fix CameraParameters parse segfault.
ec0eeaf Fix format conversion in DuplicatingThread
7bc4fc8 camera2: fix an error reading a NULL string
0ebd5f9 AudioSystem: fix cross deadlock
a6bf21f close fd if data source is reset without prepare
6597c00 stagefright: add (temporary) support for automatic video frc
d9fd631 mediaplayer: request auto-frc for high quality avsync
6c41e62 When aggregating buffers, make sure we don't lose data
f83408b NuPlayer: invalid anchor time when render is flushed.
f6778fd AudioSystem: Add mutex for output cache
cb2129b Fix missing loop count for static tracks.
95697ae HLS: fix live lock after missing the boat during configuration change
6ffb1fd NuPlayer: pass media time to selectTrack for responsiveness
a10fd23 NuPlayer: open audio sink in offload mode when resuming from timeout teardown.
092d49c Camera2Client: remove recording stream if necessary
707eade Don't autoloop notifications
29e6cec audio policy: do not prevent routing to A2DP when suspended.
27876c0 Prevent stopped audio tracks from mixing data
fd85870 Fix race condition in signaling completion for decode.
b51457f Fix race condition in signaling completion for decode.
ddbc665 audiopolicy: Update input device check in checkInputsForDevice
4dbc8cc Fix missing mutex lock in Drm::binderDied
c6cfd70 NuPlayer: tunnel decoder with renderer for data buffer passing.
d753510 AnotherPacketSource: need reset some members before returning from queueDiscontinuity().
daad5b2 PlaylistFetcher: handle sporadic fetch erros
5e15b80 CameraService: normalize face rectangles properly
87e8123 AnotherPacketSource: need reset some members before returning from queueDiscontinuity().
0d6db58 remove AudioSystem::getOutputSamplingRateForAttr()
bf20727 PlaylistFetcher: check ts program streams before disabling a/v
1099188 Stagefright: use MediaCodec in async mode for recording
ab06384 MTP: add strict bounds checking for all incoming packets
f296e2b stagefright: add runtime debug support
ba37077 Fix looping sound playback
368e337 Fix looping sound playback
7a493d8 Fix Ogg Vorbis packet timestamps
5c67ddc GenericSource: add mVideoLastDequeueTimeUs/mAudioLastDequeueTimeUs
80de5dc Camera2Device: fix camera metadata leaks
e360f0f IAudioPolicyService: bound array size in queryDefaultPreProcessing
995599c audioflinger: fix duplicating thread output buffers clear
1098d87 HTTPLiveSource: NULL check in getFormat
02b5708 audioflinger: fix duplicating thread output buffers clear
f5b7c3b PlaylistFetcher: clear mStartup for .aac playlists after seek
e17afa8 Revert "mediaplayer: make frame-accurate avsync configurable"
0644f95 MatroskaExtractor: use GetTrackByNumber instead of GetTrackByIndex
a360608 AudioSystem: remove obsolete method.
f2f072e AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
d556fad Fix build, update mock drm plugin
89bf252 NuPlayer HTTPLiveSource: impl getSelectedTrack
fef808d AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
85f480e Fix memory leak
d2d089f Improve AudioTrack recovery from mediaserver death
15ce5f3 Fix short sound playback
74adca9 IAudioPolicyService: bound array size in queryDefaultPreProcessing
04f101c Add a BufferItem parameter to onFrameAvailable
33223c4 MediaCodec: Prevent stop() in the UNINITIALIZED state
2514d08 Pass resolution to Crypto plugin on format change
b10352f remove some restrictions on effect output channels
03fcdcd audio: fix talkback why alarm is playing
0c629a3 camera: fix vendortags section malloc failure
d9cfeb4 Support speaker routing for FLAG_BEACON
3c1285e Add missing secure stop methods
20f51b1 AudioTrack::flush() will no longer flush later data
6d80b68 audio policy: validate stream type received from binder calls.
b1322c7 audio policy: fix commit dea1541f
a5d316f NuPlayer: reduce offload pause teardown timeout.
9421174 NuPlayer: merge start() and resume().
dea1541 audio policy: validate stream type received from binder calls.
63f6ffb libmedia: ensure mCaptureThread exit within Visualizer destructor
1bbc1c9 CameraService: API1: fix picture FOV
d88c3ca fix deep buffer logic in NuPlayer.
b80a2a8 audio policy: fix output device command after clearing audio patch
fd4c148 Always use an address for remote submix
df2592b do not hold mNotifyLock when calling MediaPlayer::notify
31551f8 audio policy: fix multiple device volume
a32d543 libstagefright: set actual stride info for SW encoder input port
0f8f4e6     [FM] Fix  FM App record fail Buganizer ID: 17975676
58344bc 64 bit fixes for NdkMediaExtractor
661c21d CameraService: Disconnect: Release mutex while waiting for joins.
fa90e84 audioflinger: new HW A/V sync ID allocation flow
6456ae7 stagefright: return failure on malformed TS streams
121969b release camera without holding CameraSource mutex
30358fa stagefright: try to free codec instance if MediaCodec.release hangs
f592671 mediaplayer: don't report position past last queued position
52dfbee Stagefright: MediaCodec: shutdown allocated codec on error
b1f5ab4 Don't signal an error at the end of a short file
f53eaf4     fix FM no sound issue
fba182c audio policy: move intializations to onFirstRef()
dba83c1 libstagefright: compile errors
23fe3c0     [AU] Import gain setting into ports
327cb70 [AU] Update volume setting and Audio Device API 3.0