OSDN Git Service

android-x86/frameworks-av.git
5 years agoAdd minimum size check for ImageGrid atom
Chong Zhang [Thu, 19 Apr 2018 17:59:17 +0000 (10:59 -0700)]
Add minimum size check for ImageGrid atom

bug: 73927042
Change-Id: I25dc3aeabe95bd907a418b12b2d06f3691cb1b42
(cherry picked from commit ef75163eb891b5259c0f5c2fc20fca2a5a47b7b7)

5 years agoSanitize effect descriptors for AudioPolicyService binder calls.
Andy Hung [Thu, 12 Apr 2018 18:06:56 +0000 (11:06 -0700)]
Sanitize effect descriptors for AudioPolicyService binder calls.

Zero initialize structs before parcel read, if status is not checked.
Sanitize parcel read audio_port_config.

Test: Audio CTS, See bug for POC
Bug: 73126106
Merged-in: Iece43eb463385927e6babcf93654eea8aaebc29c
Change-Id: Iece43eb463385927e6babcf93654eea8aaebc29c
(cherry picked from commit 498bdcc90bc470a79bf8943cbac64502f7c1c091)

5 years agoAdd check preventing div0 issue
Ryszard Grzesica [Tue, 29 Dec 2015 05:28:44 +0000 (06:28 +0100)]
Add check preventing div0 issue

There might be a scenario while period is zero or after including
precision would be zero, prevent from division in that case and
return false (to use previously used period).

Bug: 73898703
bug: 74067957
Test: run playback as stability test

Change-Id: I3fad1060b095b7b5ea4c1f9cb3f9d42a4c503560
(cherry picked from commit 27e47ce3c3bbc0b4dc629163de7ebbba7e80b149)

5 years agoInit gain config to prevent uninit leak.
jiabin [Fri, 6 Apr 2018 00:16:20 +0000 (17:16 -0700)]
Init gain config to prevent uninit leak.

In AudioPortConfig, we only initialize index for audio_gain_config, but
not other fields. That may cause uninit leak at listAudioPorts and
listAudioPatches.

Bug: 77238250
Bug: 77238762
Test: try repo steps at the bug description.
Change-Id: I57e3bd0598f9aa698a6fa3d3c0218b046de34e2f
(cherry picked from commit ebe0777edcf3b9c6bde9771d65399e2363dc6e40)

6 years agoMerge cherrypicks of [3898937, 3898958, 3899077, 3897885, 3898496, 3898245, 3898959...
android-build-team Robot [Fri, 13 Apr 2018 22:47:27 +0000 (22:47 +0000)]
Merge cherrypicks of [3898937389895838990773897885389849638982453898959389896038977903898312389831338983143899155389915638991573898289389829038990613898291389829238969513899158389896138989383898246] into sparse-4657601-L30800000163316240

Change-Id: I7fb38efbc6add86c8877cb20e040e7adf87dacf6

6 years agofix crash due to no output format available -- DO NOT MERGE
Chong Zhang [Tue, 20 Mar 2018 20:37:22 +0000 (13:37 -0700)]
fix crash due to no output format available -- DO NOT MERGE

Output format should arrive before we get first frame, but if
it doesn't, better fail it than crash.

bug: 69924594
bug: 75978033
Change-Id: I057ba49c8f83b9a301d409510717039ad894c391
(cherry picked from commit 6cb243cd2bb4d2fb41d12394fe5731ba098fc2ef)

6 years agoHandle overflow in android::HeifDataSource::readAt
Sungtak Lee [Mon, 5 Mar 2018 23:21:33 +0000 (15:21 -0800)]
Handle overflow in android::HeifDataSource::readAt

Bug: 73782357
Change-Id: I03a5b4c5ddaf2664f342973da7f1a79f29cd7be5
(cherry picked from commit 237f9034c6cbe5cbafb0cd4c862d9dddfbdf7389)

6 years agobetter mpeg2 TS elementary stream Access Unit parsing
Ray Essick [Tue, 6 Mar 2018 23:55:29 +0000 (15:55 -0800)]
better mpeg2 TS elementary stream Access Unit parsing

mpeg2 es stream access units have a 3 byte prefix and a 1 byte start
code. Searching for the next access unit started after the prefix
instead of after the start byte.

Bug: 74114680
Test: ran POC before/after
(cherry picked from commit 371066d073c5db289b0f38b9d2bfd3e326c78c66)

Change-Id: I813d2ecd3bc972fb92809f1068f596970591cf3c

6 years agoHandle bad bitrate index in mp3dec.
Dongwon Kang [Fri, 23 Feb 2018 16:59:27 +0000 (08:59 -0800)]
Handle bad bitrate index in mp3dec.

Reference:
  https://www.mp3-tech.org/programmer/frame_header.html

Test: run poc with and without this patch.
Bug: 71868329
Change-Id: Ibf6196eba0b99459e84989ac8c13db57c816c572
(cherry picked from commit 8b638123760bd93958f6cc2f5c7c4f5dbd0a754a)

6 years agoheif: use width and height for decoder -- DO NOT MERGE
Chong Zhang [Tue, 27 Feb 2018 20:43:06 +0000 (12:43 -0800)]
heif: use width and height for decoder -- DO NOT MERGE

The display dimensions from MPEG4Extractor is applied on top
of width and height for scaling, it's not for cropping. For
bitmap uses we have to use width and height, the frame from
media server is not scaled.

This required porting over some fixes from master to fix the
display size vs. image size reporting, otherwise images with
grids may show a black border at the bottom or right.

bug: 73172046
Test: test app in bug; open folders with heif files in Photos
and Downloads; CTS MediaMetadataRetrieverTest.
Change-Id: I3d7f1492d08d48876836ccc05b6eb4de0d0c0f9a
(cherry picked from commit 49d4aa0a7407ea6632c4a3441c7a4d922d003ea5)

6 years agoSnap for 4603989 from 87d12ea5e997a12c9edd5139082aec0feacacb27 to oc-m2-release
android-build-team Robot [Thu, 15 Mar 2018 16:59:37 +0000 (16:59 +0000)]
Snap for 4603989 from 87d12ea5e997a12c9edd5139082aec0feacacb27 to oc-m2-release

Change-Id: I3b178a779a03034cb0b2863d64134524bfc2b412

6 years agoMerge cherrypicks of [3614756, 3614757, 3614861, 3614758, 3614759, 3615200, 3615201...
android-build-team Robot [Wed, 14 Feb 2018 17:18:19 +0000 (17:18 +0000)]
Merge cherrypicks of [36147563614757361486136147583614759361520036152013615202361520336152043614670361467136151083615109] into oc-mr1-release

Change-Id: I6a648f5e33bb4046978e2724cbc2da045247774f

6 years agoM3UParser: detect variant streams without EXT-X-STREAM-INF
Robert Shih [Fri, 9 Feb 2018 20:19:35 +0000 (12:19 -0800)]
M3UParser: detect variant streams without EXT-X-STREAM-INF

Bug: 68399439
Change-Id: I95207b40f23a5f927da7154f9a952046118b5cad
(cherry picked from commit f3e0afb82f104d6e9986779ba2cf548c6aab1092)

6 years agoPrevent MediaPlayerService::Client's use-after-free
Pawin Vongmasa [Tue, 12 Dec 2017 09:56:40 +0000 (01:56 -0800)]
Prevent MediaPlayerService::Client's use-after-free

Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 70546581
Merged-In: Ia142a7735c6685eb67b2c00917c0ed5ea7e0da9e
Change-Id: Ia142a7735c6685eb67b2c00917c0ed5ea7e0da9e
(cherry picked from commit d27ad6bae3215db0ed174f5f036339c9515fbba7)
(cherry picked from commit 028cf0973f928503e89124c3f6493a5226826ed9)

6 years agoMerge cherrypicks of [3581037, 3581038, 3580473, 3580624, 3580656, 3580657, 3580658...
android-build-team Robot [Thu, 8 Feb 2018 04:16:49 +0000 (04:16 +0000)]
Merge cherrypicks of [358103735810383580473358062435806563580657358065835803823580474358047535810393581040358047635802063581527358095535809563580957358095835809593580960358096135809623580963358096435809653580966358156735815683581569358157035815713580625358062635815873581513358151435815153580477358158835806593580660358038335803843580478358071935804793580480358138535815283581041358104235810433581044358104535810463581607358038535804813580482358048335806613580662358066335806643580665358048435804853581608358160935816103581611358161235815893581613358048635815193581627358162835815293581530358153135816293581630] into oc-mr1-release

Change-Id: I04f3b4a89e01913b77321b06b7605be6eb35532b

6 years agoCheck NAL size before looking inside
Ray Essick [Tue, 6 Feb 2018 19:25:31 +0000 (11:25 -0800)]
Check NAL size before looking inside

Add a check to ensure we have a non-zero size for a NAL while
parsing before we crack said NAL open to see what type it is.

Bug: 72117051
Test: compilation
Change-Id: Iaa3ebb2daae5d9225060a11e9adbb6757a168656
Merged-In: I607c67a320b33b991476db30d78223cf4386c0e8
(cherry picked from commit e0c020969d88891b0b71bb938778e9ca762e8035)

6 years agolibmedia: Fix null pointer crash in secure buffer allocation.
Santhosh Behara [Mon, 16 Oct 2017 11:53:54 +0000 (17:23 +0530)]
libmedia: Fix null pointer crash in secure buffer allocation.

Add null pointer check for native_handle as it is null if
secure memory allocation fails.

Author: Vasantha Balla<vballa@codeaurora.org>

Test: fix the bug
Bug: 71053053
Merged-In: I204ca69b9808448788c83a1ae5a642618eca8973
Change-Id: I204ca69b9808448788c83a1ae5a642618eca8973
(cherry picked from commit fad26c14c7e68c3fe40bda8fd5692b8dbfac1000)
(cherry picked from commit ddd508e96da76a3e2de3d8dfef16e4d0d07fbf9b)

6 years agoMerge cherrypicks of [3478238, 3478653, 3478239, 3478580, 3478612, 3478240, 3478654...
android-build-team Robot [Thu, 18 Jan 2018 22:44:57 +0000 (22:44 +0000)]
Merge cherrypicks of [347823834786533478239347858034786123478240347865434786553478656347949434794953478933347893434794963479497347949834781603478161347816234788763478877347887834782413478163347816434781653478166347816734781683478169347999034799913479992348001034800113480012] into oc-m2-release

Change-Id: I227f784a6fe35ba1a507ef003a13560a5cf13700

6 years agoFix use of uninitialized value in libmediadrm
Jeff Tinker [Fri, 12 Jan 2018 01:46:16 +0000 (17:46 -0800)]
Fix use of uninitialized value in libmediadrm

bug:70526702
test:gts media tests

Change-Id: I29a67dad01ca8c8f649ba12cf08cc86b7eb56523
(cherry picked from commit 2442047f5c6d368f69fa81917f5aabc9b3c342a0)

6 years agoAACExtractor: check bounds during seek
Robert Shih [Thu, 11 Jan 2018 22:38:23 +0000 (14:38 -0800)]
AACExtractor: check bounds during seek

Bug: 70239507
Test: stagefright -a poc.aac
Change-Id: I61225a04c76fe8855bd2591fb14b734099fa3be6
(cherry picked from commit 0790581021d89ae1d7242e5eb1197bfd12725c85)

6 years agoFix potential buffer overflow in mediadrmserver
Jeff Tinker [Thu, 11 Jan 2018 08:14:53 +0000 (00:14 -0800)]
Fix potential buffer overflow in mediadrmserver

bug:71389378
test: gts media tests

Change-Id: Ic7d4b456bc874b92fbe202e3dafb7ceac747ebc7
(cherry picked from commit 5231cc164fe040a3ab5fcb28baae4e0a4f9fdf4c)

6 years agoMerge cherrypicks of [3478311, 3478390, 3478133, 3478175, 3478391, 3478392, 3478393...
android-build-team Robot [Thu, 18 Jan 2018 19:09:13 +0000 (19:09 +0000)]
Merge cherrypicks of [3478311347839034781333478175347839134783923478393347813434781353478213347821434782153478233347823434782353478251347825234782533478254347839434783953478396347839734783983478399347840034784013478402347840334782923478293347831234781363477911] into oc-mr1-release

Change-Id: Id70027005744d19b11e7dfe10b6c92b92368e450

6 years agoFix use of uninitialized value in libmediadrm
Jeff Tinker [Fri, 12 Jan 2018 01:46:16 +0000 (17:46 -0800)]
Fix use of uninitialized value in libmediadrm

bug:70526702
test:gts media tests

Change-Id: I29a67dad01ca8c8f649ba12cf08cc86b7eb56523
(cherry picked from commit 2442047f5c6d368f69fa81917f5aabc9b3c342a0)

6 years agoAACExtractor: check bounds during seek
Robert Shih [Thu, 11 Jan 2018 22:38:23 +0000 (14:38 -0800)]
AACExtractor: check bounds during seek

Bug: 70239507
Test: stagefright -a poc.aac
Change-Id: I61225a04c76fe8855bd2591fb14b734099fa3be6
(cherry picked from commit 0790581021d89ae1d7242e5eb1197bfd12725c85)

6 years agoFix potential buffer overflow in mediadrmserver
Jeff Tinker [Thu, 11 Jan 2018 08:14:53 +0000 (00:14 -0800)]
Fix potential buffer overflow in mediadrmserver

bug:71389378
test: gts media tests

Change-Id: Ic7d4b456bc874b92fbe202e3dafb7ceac747ebc7
(cherry picked from commit 5231cc164fe040a3ab5fcb28baae4e0a4f9fdf4c)

6 years agoSnap for 4527419 from 41c800b90de31114108a985e5d11ba94a45fcd78 to oc-m2-release
android-build-team Robot [Fri, 5 Jan 2018 18:59:19 +0000 (18:59 +0000)]
Snap for 4527419 from 41c800b90de31114108a985e5d11ba94a45fcd78 to oc-m2-release

Change-Id: Id75f7f95aa8dcd8870d3a4923ebae4bff874822d

6 years agoSnap for 4485699 from 7bb7dfb72a0011f63063879df90ef67dece5c0c9 to oc-m2-release
android-build-team Robot [Wed, 3 Jan 2018 22:35:46 +0000 (22:35 +0000)]
Snap for 4485699 from 7bb7dfb72a0011f63063879df90ef67dece5c0c9 to oc-m2-release

Change-Id: I27928751484e794b4584ab4ad87068646923ad87

6 years agoMerge cherrypicks of [3365569, 3365570, 3366860, 3366878, 3365571, 3365572, 3366918...
android-build-team Robot [Thu, 14 Dec 2017 21:23:21 +0000 (21:23 +0000)]
Merge cherrypicks of [336556933655703366860336687833655713365572336691833655733365589336559033669383366902336557433655753365576336557733669583365824336559133669593366960336696133669623366963336696433669653366919336696633669673366968336696933669703367018336701933655923365593336698533658253366988336698933669903366991336699233669933366994336700433670053367006336700733670083367009336701033670113367012336701333670143367015336701633670173367038336703933670403367041336704233670443367045336704633670493367050336705233670533367054336705533670563366920336692133669223367079] into oc-mr1-release

Change-Id: I7466a52ccba8f87d545545ac8ede0214ae05f50e

6 years agoDO NOT MERGE : Always set sys.usb.ffs.mtp.ready during configure
Jerry Zhang [Mon, 23 Oct 2017 19:03:40 +0000 (12:03 -0700)]
DO NOT MERGE : Always set sys.usb.ffs.mtp.ready during configure

Sometimes, due to a race, the configure
will fail even though descriptors are actually
written because MtpServer did not die properly.
MtpServer lifetime is fixed properly in master
with multiplexed io, but to work around the
issue here, we set the property at all times.

Also reduce the timeout to leave room for
UsbDeviceManager.

Bug: 67844294
Test: Plug/replug device on sled with usb debugging off x50
Test: Verify that the race is hit, but projection still starts
Test: Verify that all other usb configurations still work
Change-Id: I39dd4d3db95e087f065d58ba80ca980559920c99
(cherry picked from commit 9dc10038b05cc59457ba0a10d90a3b3faddd34c3)

6 years agoApply input buffer validation also to AVC and MPEG4 encoders
Dongwon Kang [Tue, 21 Nov 2017 01:55:24 +0000 (17:55 -0800)]
Apply input buffer validation also to AVC and MPEG4 encoders

Input buffer validation is existing only on VPX encoders. This patch
applies the checking also to the other sw video encoders.

Bug: 69065651 Bug: 27569635
Test: run poc with and without the patch.
Test: pass post submit media CTS tests after disabling hw encoders.

Merged-In: I1358df64352577fd6d41cd4bfec18be37c98fe6f
Change-Id: I1358df64352577fd6d41cd4bfec18be37c98fe6f
(cherry picked from commit fed57366c58aa69ad8f1df5191d6bf48e58d86a8)

6 years agohttplive: check for malformed EXT-X-STREAM-INF
Robert Shih [Sat, 2 Dec 2017 00:12:08 +0000 (16:12 -0800)]
httplive: check for malformed EXT-X-STREAM-INF

Bug: 68342866
Test: adb shell am start -a android.intent.action.VIEW -d http://localhost:1137/index.html
Change-Id: I479f9e0b7ca828d048ef88b23b4948e3c1472b3c
(cherry picked from commit e3bd8dd81e51b4d02484e7eec0d725ba9c254c68)

6 years agocamera: Drop pending preview for enableZsl shots
Chien-Yu Chen [Mon, 23 Oct 2017 22:59:49 +0000 (15:59 -0700)]
camera: Drop pending preview for enableZsl shots

If the device support ZSL, drop pending preview buffers to reduce
the chance the rendering preview frames newer than the still frame
during takePicture().

Test: CTS
Bug: 67497723
Change-Id: I5f253a402a6302d31777ad4ca2878ef0d0d1ae44
Merged-In: I5f253a402a6302d31777ad4ca2878ef0d0d1ae44
(cherry picked from commit 63068520622543b57c8607612a4f44fbbef6a021)

6 years agoIAudioPolicyService: Add attribute tags sanitization
Kevin Rocard [Mon, 13 Nov 2017 19:15:27 +0000 (11:15 -0800)]
IAudioPolicyService: Add attribute tags sanitization

When audio_attributes_t was read from the binder parcel,
the string tags field was copied without checking that
it contained a '\0'.

This could lead to read past the end when tags were used.

This patch always adds a '\0' at the end of the buffer when
deserializing.

Bug: 68953950
Test: manual playback/record
Test: send binder payload without \0 in tags attribute, check that only
      AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1 char are printed.
Change-Id: I285258cbf7cfaf26b191d1f31b3b1e2d724c4934
Merged-In: I285258cbf7cfaf26b191d1f31b3b1e2d724c4934
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 39fdbd097a147b5c719dac9ad2759e6c44eb3a4e)

6 years agoMerge cherrypicks of [3276508, 3277765, 3277766, 3277904, 3276473, 3278009, 3278010...
android-build-team Robot [Tue, 28 Nov 2017 03:34:29 +0000 (03:34 +0000)]
Merge cherrypicks of [327650832777653277766327790432764733278009327801032777673277768327776932777703276509327651032780113278012327801332780143278099327810032781013278102327810332781043278105327810632778003276474327801532780163278017327811832781193278120327812132781223277946327790532779473277906327775132781233277752327811032777713277907327809532779083278111327777232764753276476] into oc-mr1-release

Change-Id: I086dbaeb2bd57353678a0c5ccde32cf0881051b3

6 years agoavoid 32-bit integer overflow
Ray Essick [Thu, 12 Oct 2017 17:15:31 +0000 (10:15 -0700)]
avoid 32-bit integer overflow

change calculation to scale encoder delay and padding when sample rate
changes to use 64-bit math and avoid possible 32-bit overflow.

Bug: 67737022
Test: re-ran affected use case
Change-Id: I6e37341256f3f0e3274ffdd3bad284eaacac25ab
(cherry picked from commit 73e95a9bd43724058651cb11c58dbe3fae651d56)
(cherry picked from commit e0d1b3816e73629029f552da5df31ef31bde2c19)

6 years agoAccess AVCDEC context after create fail check
Naveen Kumar P [Wed, 4 Oct 2017 04:40:39 +0000 (10:10 +0530)]
Access AVCDEC context after create fail check

Bug: 66969281
Change-Id: I7c293417079da991cfad675a2d5563423d751610
(cherry picked from commit 8e6a6fe2e1542b3333ffecb7307a5de671c8a785)

6 years agoAccess HEVC context after create fail check
Naveen Kumar P [Wed, 4 Oct 2017 04:25:14 +0000 (09:55 +0530)]
Access HEVC context after create fail check

Bug: 66969193
Change-Id: Icd1c8d78986e3795ba7f1c1d50ebeb90d77f6178
(cherry picked from commit 2bee8317ecfa5dca3c43d99db40491c4e28f832d)

6 years agoSoftAVCDec: Handle zero length input without EOS
Harish Mahendrakar [Thu, 5 Oct 2017 08:48:26 +0000 (14:18 +0530)]
SoftAVCDec: Handle zero length input without EOS

When a zero length input buffer is sent to SoftAVC decoder
without EOS set in nFlags, SoftAVC decoder plugin was
entering an infinite loop. Fixed it by returning from
onQueueFilled for such cases.

Bug: 66969349
Test: Tested using poc associated with the bug
Change-Id: I79cebc8f5b40c51256aba83a08deb547b220c4d7
(cherry picked from commit 21943c05f0ee2350647a6fa5ee17aa3c68859383)

6 years agoAdd EFFECT_CMD_SET_PARAM parameter checking to Preset Reverb
Mikhail Naganov [Tue, 24 Oct 2017 21:44:43 +0000 (14:44 -0700)]
Add EFFECT_CMD_SET_PARAM parameter checking to Preset Reverb

Bug: 67647856
Test: Added CTS tests
Change-Id: I027ce8f7a1cdb8406ca423aaae7c45b6b76617f0
(cherry picked from commit ee804dfa15cc2d34e5d67a9b437cd023349d633b)

6 years agoFix edge case when applying id3 unsynchronization
Marco Nelissen [Mon, 9 Oct 2017 21:59:43 +0000 (14:59 -0700)]
Fix edge case when applying id3 unsynchronization

Bug: 63100526
Test: opened poc, other files
Change-Id: I0a51a2a11d0ea84ede0c075de650a7118f0e00c5
(cherry picked from commit 3e70296461c5f260988ab21854a6f43fdafea764)

6 years agoValidate decryption key length to decrypt function.
Edwin Wong [Sat, 7 Oct 2017 01:21:06 +0000 (18:21 -0700)]
Validate decryption key length to decrypt function.

Cherry picked from http://go/ag/3038278.

AesCtrDecryptor::decrypt() doesn't check whether the size of "key"
is equal to 16 bytes,  which may lead to an OOB read problem in the
context of mediadrmserver.

Add DecryptsWithEmptyKey and DecryptsWithKeyTooLong unit tests.

Test: ClearKeyDrmUnitTest
  adb shell LD_LIBRARY_PATH="/vendor/lib/mediadrm"
  /data/nativetest/ClearKeyDrmUnitTest/ClearKeyDrmUnitTest

bug: 63982768
Change-Id: I1f22c9df2b051972b2c532608b7f203e3ce77926
(cherry picked from commit 379b672b189aa72ce0103b485019022f3e292c36)

6 years agoProtect against possible race conditions
Pawin Vongmasa [Thu, 28 Sep 2017 12:31:11 +0000 (05:31 -0700)]
Protect against possible race conditions

Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Test: Run the poc in b/38234812

Bug: 38234812
Change-Id: I28322e5a812c02c8e449ab8773715f60b9f5d976
(cherry picked from commit f9c81464b9494082fa7cdff9f70c5402e8ac78c0)

6 years agoSnap for 4442250 from 1648c8d1519adeaccc5ee7d31eccc9fcfb9a07be to oc-m2-release
android-build-team Robot [Thu, 9 Nov 2017 21:39:42 +0000 (21:39 +0000)]
Snap for 4442250 from 1648c8d1519adeaccc5ee7d31eccc9fcfb9a07be to oc-m2-release

Change-Id: Iad6f44973fd55758650c54e92d11be9c8ec7c73c

6 years agoMerge cherrypicks of [3196053, 3195996, 3195997, 3195998, 3196073, 3196093, 3196113...
android-build-team Robot [Thu, 9 Nov 2017 05:44:32 +0000 (05:44 +0000)]
Merge cherrypicks of [319605331959963195997319599831960733196093319611331959343195999319607431961333196134319591431959153195916] into oc-mr1-release

Change-Id: I95acbaa82a1bc595d122bab54fb7a4e25e37d4ff

6 years agoCamera NDK: fix bug in lock order
Yin-Chia Yeh [Tue, 7 Nov 2017 01:16:22 +0000 (17:16 -0800)]
Camera NDK: fix bug in lock order

AImage::close() can be called by AImageReader while holding
AImageReader::mLock.
Also fix ACaptureFailure double free issue.

Test: AR test app + CTS stress
Bug: 68885255
Change-Id: I17037e3e30e0f53b35ca538a3f321693c539cbdc
Merged-In: I17037e3e30e0f53b35ca538a3f321693c539cbdc
(cherry picked from commit a10ab5bfd1ca27128fdbe43ce58a68e92b2896a1)

6 years agoSnap for 4431872 from 18d2294a4cd46cc285a95436c503b46184217451 to oc-m2-release
android-build-team Robot [Fri, 3 Nov 2017 22:43:26 +0000 (22:43 +0000)]
Snap for 4431872 from 18d2294a4cd46cc285a95436c503b46184217451 to oc-m2-release

Change-Id: I087b1ab329d21621c28397ab98bb5f8c8e30f4b1

6 years agoMerge cherrypicks of [3156476, 3155698, 3156194, 3156639, 3156018, 3156477, 3156098...
android-build-team Robot [Thu, 2 Nov 2017 04:50:45 +0000 (04:50 +0000)]
Merge cherrypicks of [3156476315569831561943156639315601831564773156098315609931561003156101315610231583933155699315570031561953156196315601931560203158394] into oc-mr1-release

Change-Id: I107302823b3d3d6a219bdf2caa8909e185ae227a

6 years agoaaudio: fix loss of sync with HW FIFO index
Phil Burk [Thu, 26 Oct 2017 19:11:47 +0000 (12:11 -0700)]
aaudio: fix loss of sync with HW FIFO index

This fixes a problem with intermittent severe distortion
and variable latency after restarting a stream.

Bug: 68003241
Test: write_sine_callback -pl -m2 -n2 -s5 -c2 -l100
Merged-In: Id7418adb86f2869ac74936cfbd365815a0a0e923
Change-Id: Id7418adb86f2869ac74936cfbd365815a0a0e923
(cherry picked from commit 999e110dac3783df71e5606be1d86f1b122145c0)

6 years agoSnap for 4417144 from 02151bca26d22b6e9d1f7f6acba6f05042758da2 to oc-m2-release
android-build-team Robot [Thu, 26 Oct 2017 20:09:28 +0000 (20:09 +0000)]
Snap for 4417144 from 02151bca26d22b6e9d1f7f6acba6f05042758da2 to oc-m2-release

Change-Id: I12c3384feae3ae3721a96bee30bf9377bcb9e8e4

6 years agoSnap for 4411005 from c347c2eaf87c640d664f623f90a3ec6383bfe4f7 to oc-mr1-release
android-build-team Robot [Mon, 23 Oct 2017 02:34:35 +0000 (02:34 +0000)]
Snap for 4411005 from c347c2eaf87c640d664f623f90a3ec6383bfe4f7 to oc-mr1-release

Change-Id: I8dc053f7aa057562253b2d0879c23afef32fec36

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Fri, 20 Oct 2017 17:44:43 +0000 (17:44 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680 am: 31b9dbb43b am: d799181f51 am: 7edb039dde am: 7cc9d6763e am: 5ff79c2a46 am: 6abd03fa5d am: 7947199a58
am: 490e643cc1

Change-Id: I7480b25c2dca3b4ea23d470927004a7735e99512

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Fri, 20 Oct 2017 17:43:06 +0000 (17:43 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e am: efd26f8a61 am: 2d073bdd1e am: f5eb536d90 am: 27bdac8e05 am: fab889e9e6 am: 44a79a8db8 am: bdbb380663
am: 102b970dfb

Change-Id: I39ac02c1bca2764988c92b13ec4f83cedd7b8fa7

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Fri, 20 Oct 2017 17:41:18 +0000 (17:41 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours am: 37e801176e  -s ours am: 63b868e27b  -s ours am: 68d7af9137  -s ours am: 4efb8774ab  -s ours am: 94a417ca10  -s ours am: 8fc33c4f75  -s ours am: ec248b8ddd  -s ours
am: 8334241619  -s ours

Change-Id: Ibbb5bbadc73c6977d3adc41ba009c597bb30bd48

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Fri, 20 Oct 2017 17:40:43 +0000 (17:40 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680 am: 31b9dbb43b am: d799181f51 am: 7edb039dde am: 7cc9d6763e am: 5ff79c2a46 am: 6abd03fa5d
am: 7947199a58

Change-Id: Ib6d53bed55ea0dfdea977451fdaaffc5230068fa

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Fri, 20 Oct 2017 17:39:00 +0000 (17:39 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26 am: 5de64b02a3  -s ours am: 2ed01f0006  -s ours am: 1ade78dc5d  -s ours am: c75c947a42  -s ours am: 849a10fce0  -s ours am: faee2cdf2d  -s ours am: 836b713352  -s ours
am: 24e679966e  -s ours

Change-Id: Icb2e6e40f83b2cb6b63f81c2ae43fe3d2fb58a36

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Fri, 20 Oct 2017 17:38:54 +0000 (17:38 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e am: efd26f8a61 am: 2d073bdd1e am: f5eb536d90 am: 27bdac8e05 am: fab889e9e6 am: 44a79a8db8
am: bdbb380663

Change-Id: Ic2b6af7ef99ef64ec5788e33da457ea06e26b1db

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am...
Lajos Molnar [Fri, 20 Oct 2017 17:36:48 +0000 (17:36 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am: cdf0a102d9 am: 57ac76182e am: 36950f753b am: a4cc48a3ae am: f3b4e5d222 am: 73a7e98790 am: 0b306b0517 am: bef1ae9f4d am: 6c930ece3c  -s ours am: 40f6d8a086
am: 29f32408c6

Change-Id: Ic3e2840753f5c07f951dd37ffe8c37cacd2b9851

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Fri, 20 Oct 2017 17:36:44 +0000 (17:36 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours am: 37e801176e  -s ours am: 63b868e27b  -s ours am: 68d7af9137  -s ours am: 4efb8774ab  -s ours am: 94a417ca10  -s ours am: 8fc33c4f75  -s ours
am: ec248b8ddd  -s ours

Change-Id: I254dc5daa9e38e99ce5ae687e2953a8db8f725cf

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Fri, 20 Oct 2017 17:33:31 +0000 (17:33 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680 am: 31b9dbb43b am: d799181f51 am: 7edb039dde am: 7cc9d6763e am: 5ff79c2a46
am: 6abd03fa5d

Change-Id: Iec6b0ffc5c6d47b85e3d5c0838ed67811696ad37

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Fri, 20 Oct 2017 17:33:17 +0000 (17:33 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26 am: 5de64b02a3  -s ours am: 2ed01f0006  -s ours am: 1ade78dc5d  -s ours am: c75c947a42  -s ours am: 849a10fce0  -s ours am: faee2cdf2d  -s ours
am: 836b713352  -s ours

Change-Id: Ib504331838fb576686547c925c9266c729e47022

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Fri, 20 Oct 2017 17:32:21 +0000 (17:32 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e am: efd26f8a61 am: 2d073bdd1e am: f5eb536d90 am: 27bdac8e05 am: fab889e9e6
am: 44a79a8db8

Change-Id: Ie99043ef52945872e51aecf603ee4a1e7100daed

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am...
Lajos Molnar [Fri, 20 Oct 2017 17:31:54 +0000 (17:31 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am: cdf0a102d9 am: 57ac76182e am: 36950f753b am: a4cc48a3ae am: f3b4e5d222 am: 73a7e98790 am: 0b306b0517 am: bef1ae9f4d am: 6c930ece3c  -s ours
am: 40f6d8a086

Change-Id: I95971b8e76a4b6941fcb892787c9990bcdb5256c

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Fri, 20 Oct 2017 17:30:49 +0000 (17:30 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours am: 37e801176e  -s ours am: 63b868e27b  -s ours am: 68d7af9137  -s ours am: 4efb8774ab  -s ours am: 94a417ca10  -s ours
am: 8fc33c4f75  -s ours

Change-Id: I8b37d6a44110f341cb2100764a6d36c3c1fdfa9d

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Fri, 20 Oct 2017 17:29:07 +0000 (17:29 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26 am: 5de64b02a3  -s ours am: 2ed01f0006  -s ours am: 1ade78dc5d  -s ours am: c75c947a42  -s ours am: 849a10fce0  -s ours
am: faee2cdf2d  -s ours

Change-Id: I44a1b689d2b395e477b5b9e145228e31ebf8b870

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am...
Lajos Molnar [Fri, 20 Oct 2017 17:27:38 +0000 (17:27 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am: cdf0a102d9 am: 57ac76182e am: 36950f753b am: a4cc48a3ae am: f3b4e5d222 am: 73a7e98790 am: 0b306b0517 am: bef1ae9f4d
am: 6c930ece3c  -s ours

Change-Id: I46be3e647e626302ed089aeb9867ef760bb40661

6 years agoSnap for 4407597 from a671979428d39d9ea780500aaf2142f0833c133f to oc-mr1-release
android-build-team Robot [Fri, 20 Oct 2017 07:12:05 +0000 (07:12 +0000)]
Snap for 4407597 from a671979428d39d9ea780500aaf2142f0833c133f to oc-mr1-release

Change-Id: I4a54eec6f1e55e21a04f1229104a819ab90c7604

6 years agoMerge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d ...
Wei Jia [Fri, 20 Oct 2017 01:02:45 +0000 (01:02 +0000)]
Merge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d  -s ours am: c4f7665a60 am: 34acd22bf1 am: 05832e9282 am: 10449d6e14 am: 36cd95e899 am: 0be98247a4 am: c2776e757a am: 0e3e26382e am: f70515771a am: e257e82907
am: 8e5265577c

Change-Id: I11699ecf93c643b5670649123edb00cba08c1044

6 years agoMerge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d ...
Wei Jia [Fri, 20 Oct 2017 00:41:16 +0000 (00:41 +0000)]
Merge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d  -s ours am: c4f7665a60 am: 34acd22bf1 am: 05832e9282 am: 10449d6e14 am: 36cd95e899 am: 0be98247a4 am: c2776e757a am: 0e3e26382e am: f70515771a
am: e257e82907

Change-Id: I9e7dd457c4a13e61c564e6432cdf8a41bc04d1a5

6 years agoMerge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d ...
Wei Jia [Fri, 20 Oct 2017 00:10:03 +0000 (00:10 +0000)]
Merge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d  -s ours am: c4f7665a60 am: 34acd22bf1 am: 05832e9282 am: 10449d6e14 am: 36cd95e899 am: 0be98247a4 am: c2776e757a am: 0e3e26382e
am: f70515771a

Change-Id: I2acf505ec1c207f6b596bf33aaf7cf509fd3504a

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Fri, 20 Oct 2017 00:04:39 +0000 (00:04 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680 am: 31b9dbb43b am: d799181f51 am: 7edb039dde am: 7cc9d6763e
am: 5ff79c2a46

Change-Id: If3196859118493351493ead6775fe2fdc890df32

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Fri, 20 Oct 2017 00:03:10 +0000 (00:03 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e am: efd26f8a61 am: 2d073bdd1e am: f5eb536d90 am: 27bdac8e05
am: fab889e9e6

Change-Id: Ic1759237ef98d43f8115afc36c46b94c953f8c7d

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Fri, 20 Oct 2017 00:01:09 +0000 (00:01 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours am: 37e801176e  -s ours am: 63b868e27b  -s ours am: 68d7af9137  -s ours am: 4efb8774ab  -s ours
am: 94a417ca10  -s ours

Change-Id: Ia6b21fbd6eee7ea29838dea3d5222b74c68b7521

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 23:59:56 +0000 (23:59 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26 am: 5de64b02a3  -s ours am: 2ed01f0006  -s ours am: 1ade78dc5d  -s ours am: c75c947a42  -s ours
am: 849a10fce0  -s ours

Change-Id: Ic1dc85dd5a6c2b6cd3cb53cacc6371d2f43a171f

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am...
Lajos Molnar [Thu, 19 Oct 2017 23:58:25 +0000 (23:58 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am: cdf0a102d9 am: 57ac76182e am: 36950f753b am: a4cc48a3ae am: f3b4e5d222 am: 73a7e98790 am: 0b306b0517
am: bef1ae9f4d

Change-Id: I03fc5c223063fe012aef36f50c98e7155291cb1c

6 years agoMerge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d ...
Wei Jia [Thu, 19 Oct 2017 23:56:53 +0000 (23:56 +0000)]
Merge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d  -s ours am: c4f7665a60 am: 34acd22bf1 am: 05832e9282 am: 10449d6e14 am: 36cd95e899 am: 0be98247a4 am: c2776e757a
am: 0e3e26382e

Change-Id: I492ba3ce792c8a5584e619bed01fc501a8cf2fc3

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Thu, 19 Oct 2017 23:38:48 +0000 (23:38 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680 am: 31b9dbb43b am: d799181f51 am: 7edb039dde
am: 7cc9d6763e

Change-Id: I873bf2fb8de3bca60f601ff936ac3ec98faad55e

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Thu, 19 Oct 2017 23:36:23 +0000 (23:36 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680 am: 31b9dbb43b am: d799181f51
am: 7edb039dde

Change-Id: I578cdc02c156b11c649a388606d8f37288d3aebc

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Thu, 19 Oct 2017 23:34:38 +0000 (23:34 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e am: efd26f8a61 am: 2d073bdd1e am: f5eb536d90
am: 27bdac8e05

Change-Id: I5bacdd7761682d68361193b997a7dc7846228008

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 23:33:21 +0000 (23:33 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours am: 37e801176e  -s ours am: 63b868e27b  -s ours am: 68d7af9137  -s ours
am: 4efb8774ab  -s ours

Change-Id: Ib1315607c45fe70f95eb54af666db6a6114c9e99

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 23:31:50 +0000 (23:31 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26 am: 5de64b02a3  -s ours am: 2ed01f0006  -s ours am: 1ade78dc5d  -s ours
am: c75c947a42  -s ours

Change-Id: Idb5cc2015cca47cad52cd93b472913d532bdf6ba

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am...
Lajos Molnar [Thu, 19 Oct 2017 23:30:48 +0000 (23:30 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am: cdf0a102d9 am: 57ac76182e am: 36950f753b am: a4cc48a3ae am: f3b4e5d222 am: 73a7e98790
am: 0b306b0517

Change-Id: I127201e0209dfa53bd78138fa84c5543f4677990

6 years agoMerge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d ...
Wei Jia [Thu, 19 Oct 2017 23:27:30 +0000 (23:27 +0000)]
Merge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d  -s ours am: c4f7665a60 am: 34acd22bf1 am: 05832e9282 am: 10449d6e14 am: 36cd95e899 am: 0be98247a4
am: c2776e757a

Change-Id: Ida5e52d730bccdd76be82d7c69392f5be865ce35

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Thu, 19 Oct 2017 23:23:14 +0000 (23:23 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680 am: 31b9dbb43b
am: d799181f51

Change-Id: I09d876848d3487f67719ef14e558773d335feb05

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Thu, 19 Oct 2017 23:18:49 +0000 (23:18 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e am: efd26f8a61 am: 2d073bdd1e
am: f5eb536d90

Change-Id: Ifea26b1a0a59362d01c0f60c01478cb5428b1ab5

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 23:17:30 +0000 (23:17 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours am: 37e801176e  -s ours am: 63b868e27b  -s ours
am: 68d7af9137  -s ours

Change-Id: I383dd11b76524bb9e1c3bde8d27429a0ddff5cce

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 23:16:33 +0000 (23:16 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26 am: 5de64b02a3  -s ours am: 2ed01f0006  -s ours
am: 1ade78dc5d  -s ours

Change-Id: Iaee2ff65a346cc0f8aafc5c7bd07e6467fb791ed

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am...
Lajos Molnar [Thu, 19 Oct 2017 23:15:15 +0000 (23:15 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am: cdf0a102d9 am: 57ac76182e am: 36950f753b am: a4cc48a3ae am: f3b4e5d222
am: 73a7e98790

Change-Id: Iae94781121218aaa0d22666bb88e367ad188344e

6 years agoMerge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d ...
Wei Jia [Thu, 19 Oct 2017 23:14:11 +0000 (23:14 +0000)]
Merge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d  -s ours am: c4f7665a60 am: 34acd22bf1 am: 05832e9282 am: 10449d6e14 am: 36cd95e899
am: 0be98247a4

Change-Id: I0d8747c1b2944f488a4a64d56a721004ab62e300

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d am...
Marco Nelissen [Thu, 19 Oct 2017 23:12:33 +0000 (23:12 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d am: f231e8b680
am: 31b9dbb43b

Change-Id: Iccbcf5b6c1227530b1198a33df4bf5080a6496e4

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Thu, 19 Oct 2017 23:04:38 +0000 (23:04 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e am: efd26f8a61
am: 2d073bdd1e

Change-Id: I6e1fc676ee614b13229f1846f601fe26eb69ff62

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 23:03:25 +0000 (23:03 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours am: 37e801176e  -s ours
am: 63b868e27b  -s ours

Change-Id: I796c545395083ee7a50b3bf2a61ca06b99cef996

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 23:02:27 +0000 (23:02 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26 am: 5de64b02a3  -s ours
am: 2ed01f0006  -s ours

Change-Id: I6bc9312bbe0257341931eedff3eb8480ef690854

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am...
Lajos Molnar [Thu, 19 Oct 2017 23:01:11 +0000 (23:01 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598d5 am: cdf0a102d9 am: 57ac76182e am: 36950f753b am: a4cc48a3ae
am: f3b4e5d222

Change-Id: I1b49e5ab4ed73322d7bd6c8d43df1d0d6f43c4fa

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e am: 04b334a98d
Marco Nelissen [Thu, 19 Oct 2017 23:00:31 +0000 (23:00 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e am: 04b334a98d
am: f231e8b680

Change-Id: Ibe86820231c7c86aec093282fb7944abaa03b32d

6 years agoMerge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d ...
Wei Jia [Thu, 19 Oct 2017 23:00:14 +0000 (23:00 +0000)]
Merge changes from topic "b23270724" into lmp-dev am: 5802bad0f4 am: 49acc79a1d  -s ours am: c4f7665a60 am: 34acd22bf1 am: 05832e9282 am: 10449d6e14
am: 36cd95e899

Change-Id: I56bd94f89743e0aee8089fdb19d999f0f94bb26b

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours am: ab486b087e
Marco Nelissen [Thu, 19 Oct 2017 22:50:51 +0000 (22:50 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours am: ab486b087e
am: 04b334a98d

Change-Id: I29a12e5b361dd4f145daf2eef98bc59adb0f91b9

6 years agoMerge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba -s ours...
Lajos Molnar [Thu, 19 Oct 2017 22:47:11 +0000 (22:47 +0000)]
Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev am: 288566faba  -s ours am: 2a5e425ab4 am: 96c2fafc29 am: b9da9fc1aa am: ee22f8a68e
am: efd26f8a61

Change-Id: Ib21d56a7d64fbce2c5d2d55378b1eb7e5cb6f4c9

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 22:46:18 +0000 (22:46 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-dev am: 1a721bb633  -s ours am: 5a1dae0cea  -s ours am: fa5253c8bc  -s ours am: 021923a373  -s ours am: c798254fba  -s ours
am: 37e801176e  -s ours

Change-Id: Iba51d0f957ad1277547089df074b148056d91970

6 years agoMerge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp...
Eric Laurent [Thu, 19 Oct 2017 22:44:58 +0000 (22:44 +0000)]
Merge "Soundtrigger service: fix cross deadlock with audio policy service" into lmp-mr1-dev am: b6b4443dbb am: 74684f638b am: af5ce97781 am: 7190597c26
am: 5de64b02a3  -s ours

Change-Id: Ic1e0b59044e2b56b051edf9987acb99357d4dab8

6 years agoFix build am: 48caffe6fe am: 1da4542abd -s ours
Marco Nelissen [Thu, 19 Oct 2017 22:42:53 +0000 (22:42 +0000)]
Fix build am: 48caffe6fe am: 1da4542abd  -s ours
am: ab486b087e

Change-Id: Ib644bc77055c492207ae0fb09c84122fea713719