<feed xmlns='http://www.w3.org/2005/Atom'>
<title>frameworks_av/services, branch lineage-17.1</title>
<subtitle>Fork of frameworks/av
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/'/>
<entry>
<title>Camera: Make originalDataSpace be const upon stream creation</title>
<updated>2020-06-06T16:17:47+00:00</updated>
<author>
<name>Shuzhen Wang</name>
<email>shuzhenwang@google.com</email>
</author>
<published>2019-08-22T19:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=50f84dda7fdfc36032e66cb51d27afc5e5823d6c'/>
<id>50f84dda7fdfc36032e66cb51d27afc5e5823d6c</id>
<content type='text'>
The previous logic was wrong(!) where DATASPACE_UNKNOWN shouldn't be
used as an initializtion condition.

Test: CTS and vendor testing
Bug: 139820060
Bug: 151405656
Change-Id: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
Merged-In: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
(cherry picked from 2f5010dfa412c4998ab4047bfd3e20b595def61b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous logic was wrong(!) where DATASPACE_UNKNOWN shouldn't be
used as an initializtion condition.

Test: CTS and vendor testing
Bug: 139820060
Bug: 151405656
Change-Id: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
Merged-In: I6b59d40ff796d48fe1804b45c189004f1ecc8c18
(cherry picked from 2f5010dfa412c4998ab4047bfd3e20b595def61b)
</pre>
</div>
</content>
</entry>
<entry>
<title>mediaswcodec: Set "default" as preferred service</title>
<updated>2020-06-06T16:17:47+00:00</updated>
<author>
<name>Pawin Vongmasa</name>
<email>pawin@google.com</email>
</author>
<published>2019-12-16T12:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=90b9b46cb1ae87b101420efbbaff14d338cb241e'/>
<id>90b9b46cb1ae87b101420efbbaff14d338cb241e</id>
<content type='text'>
Usage mapper will be retrieved from the preferred service if system
properties for mediaswcodec's ION usage are not set.

Test: Define system property "ro.com.android.media.swcodec.ion.heapmask"
and check the log during the startup of mediaswcodec.

Test: Manually log the mapper activity; test if gets invoked from
mediaswcodec and CCodec.

Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 144995284
Change-Id: Iebcd89bfa38de3c10b79f878462ba2af347ad332
Merged-In: Iebcd89bfa38de3c10b79f878462ba2af347ad332
(cherry picked from commit 235d6c703672db8923c707eab718233c7d79f4ed)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Usage mapper will be retrieved from the preferred service if system
properties for mediaswcodec's ION usage are not set.

Test: Define system property "ro.com.android.media.swcodec.ion.heapmask"
and check the log during the startup of mediaswcodec.

Test: Manually log the mapper activity; test if gets invoked from
mediaswcodec and CCodec.

Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 144995284
Change-Id: Iebcd89bfa38de3c10b79f878462ba2af347ad332
Merged-In: Iebcd89bfa38de3c10b79f878462ba2af347ad332
(cherry picked from commit 235d6c703672db8923c707eab718233c7d79f4ed)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-10.0.0_r37' into staging/lineage-17.1_merge-android-10.0.0_r37</title>
<updated>2020-06-02T02:40:36+00:00</updated>
<author>
<name>Kevin F. Haggerty</name>
<email>haggertk@lineageos.org</email>
</author>
<published>2020-06-02T02:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=472ff18aac21b921e25756ed917ffb70ead1dc0d'/>
<id>472ff18aac21b921e25756ed917ffb70ead1dc0d</id>
<content type='text'>
Android 10.0.0 Release 37 (QQ3A.200605.001)

* tag 'android-10.0.0_r37': (47 commits)
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  keep tx3g{Buffer,Size,Filled} in sync
  Fix race condition in AudioTrack::releaseBuffer()
  Fix race condition in AudioRecord::releaseBuffer()
  rtsp: fix integer overflow caused by malformed packets
  IDrm: fix uninitialized variable in GET_OFFLINE_LICENSE_STATE
  audio policy: fix disordered sequence while changing device
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Add onCameraOpened/onCameraClosed callbacks
  [DO NOT MERGE] Fix Heap use after free in clearkey getSecureStops
  Check if calling uid is system uid for setAllowedPolicyCapture.
  clearkey default: parsePssh securely
  RESTRICT AUTOMERGE CCodec: make config consistent before/after flush
  Reduce the latecy of encoding 1st frame
  [media][sfplugin] fix -Wdangling-gsl
  [DO NOT MERGE] Fix uninitialized data in IHDCP decrypt
  OpusHeader: Fix integer overflow in GetOpusHeaderBuffers
  MPEG4Extractor: check the default sample info before checking the validity of sample size.
  ...

Change-Id: Ibb33de8b4828ed99095af7d629ffc290c188e10d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 10.0.0 Release 37 (QQ3A.200605.001)

* tag 'android-10.0.0_r37': (47 commits)
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  keep tx3g{Buffer,Size,Filled} in sync
  Fix race condition in AudioTrack::releaseBuffer()
  Fix race condition in AudioRecord::releaseBuffer()
  rtsp: fix integer overflow caused by malformed packets
  IDrm: fix uninitialized variable in GET_OFFLINE_LICENSE_STATE
  audio policy: fix disordered sequence while changing device
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Add onCameraOpened/onCameraClosed callbacks
  [DO NOT MERGE] Fix Heap use after free in clearkey getSecureStops
  Check if calling uid is system uid for setAllowedPolicyCapture.
  clearkey default: parsePssh securely
  RESTRICT AUTOMERGE CCodec: make config consistent before/after flush
  Reduce the latecy of encoding 1st frame
  [media][sfplugin] fix -Wdangling-gsl
  [DO NOT MERGE] Fix uninitialized data in IHDCP decrypt
  OpusHeader: Fix integer overflow in GetOpusHeaderBuffers
  MPEG4Extractor: check the default sample info before checking the validity of sample size.
  ...

Change-Id: Ibb33de8b4828ed99095af7d629ffc290c188e10d
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-10.0.0_r35' into lineage-17.1-android-10.0.0_r35</title>
<updated>2020-05-05T07:41:07+00:00</updated>
<author>
<name>Luca Stefani</name>
<email>luca.stefani.ge1@gmail.com</email>
</author>
<published>2020-05-05T07:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=27237460f5410f69a6d41984ac16d0f03f1e8dde'/>
<id>27237460f5410f69a6d41984ac16d0f03f1e8dde</id>
<content type='text'>
Android 10.0.0 release 35

* tag 'android-10.0.0_r35':
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Fix possible ExifUtils heap corruption

Change-Id: I755c73f855236289f323dd66b005c36babeb15d0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 10.0.0 release 35

* tag 'android-10.0.0_r35':
  BnCrypto: fix use-before-init in CREATE_PLUGIN
  Camera: Fix possible ExifUtils heap corruption

Change-Id: I755c73f855236289f323dd66b005c36babeb15d0
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-10.0.0_r33' into lineage-17.1-android-10.0.0_r33</title>
<updated>2020-04-09T19:54:42+00:00</updated>
<author>
<name>Luca Stefani</name>
<email>luca.stefani.ge1@gmail.com</email>
</author>
<published>2020-04-09T19:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=3b04f2bcc867ef7f621e76f056e76acf0273271b'/>
<id>3b04f2bcc867ef7f621e76f056e76acf0273271b</id>
<content type='text'>
Android 10.0.0 Release 33 (QQ2A.200405.005)

* tag 'android-10.0.0_r33':
  Revert "audiopolicy: align input and output devices for engine"
  [DO NOT MERGE] Fix heap buffer overflow in clearkey CryptoPlugin::decrypt
  [DO NOT MERGE] Fix heap buffer overflow for releaseSecureStops.

Change-Id: I6d5446fed03dc4c8a109acb40805e796ba3da00e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 10.0.0 Release 33 (QQ2A.200405.005)

* tag 'android-10.0.0_r33':
  Revert "audiopolicy: align input and output devices for engine"
  [DO NOT MERGE] Fix heap buffer overflow in clearkey CryptoPlugin::decrypt
  [DO NOT MERGE] Fix heap buffer overflow for releaseSecureStops.

Change-Id: I6d5446fed03dc4c8a109acb40805e796ba3da00e
</pre>
</div>
</content>
</entry>
<entry>
<title>RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp</title>
<updated>2020-04-06T17:10:31+00:00</updated>
<author>
<name>Yin-Chia Yeh</name>
<email>yinchiayeh@google.com</email>
</author>
<published>2020-03-16T18:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=cbbd7e06ac322f5f5e373be23379d06c10082864'/>
<id>cbbd7e06ac322f5f5e373be23379d06c10082864</id>
<content type='text'>
The metadata object might be overriden later and has it memory
re-allocated; hence snaping the sensor timestamp value before
we call into any method that might change the metadata.

Test: build
Bug: 150944913
Merged-In: I0f944fc9133d3ab279859f20236d956d7ca338f8
Change-Id: I5b10b680e0cce96ca49e1772770adb4835545472
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The metadata object might be overriden later and has it memory
re-allocated; hence snaping the sensor timestamp value before
we call into any method that might change the metadata.

Test: build
Bug: 150944913
Merged-In: I0f944fc9133d3ab279859f20236d956d7ca338f8
Change-Id: I5b10b680e0cce96ca49e1772770adb4835545472
</pre>
</div>
</content>
</entry>
<entry>
<title>Adapt session API for newly added AudioPolicyService code</title>
<updated>2020-04-02T17:13:39+00:00</updated>
<author>
<name>Luca Stefani</name>
<email>luca.stefani.ge1@gmail.com</email>
</author>
<published>2020-04-02T16:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=95e7e86b94f67ad26a1592e78eb7a17e742a396b'/>
<id>95e7e86b94f67ad26a1592e78eb7a17e742a396b</id>
<content type='text'>
Co-authored-by: Demon000 &lt;demonsingur@gmail.com&gt;
Change-Id: Ie74a5cd0ecc7b097fe94b29ef6cc3a89d189aad5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Demon000 &lt;demonsingur@gmail.com&gt;
Change-Id: Ie74a5cd0ecc7b097fe94b29ef6cc3a89d189aad5
</pre>
</div>
</content>
</entry>
<entry>
<title>media utils: dump audio HAL service before restarting audioserver</title>
<updated>2020-04-02T15:56:57+00:00</updated>
<author>
<name>Eric Laurent</name>
<email>elaurent@google.com</email>
</author>
<published>2019-09-27T22:40:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=d0ae380c91900c2eb9d3ddf45bbdddb7a22a6127'/>
<id>d0ae380c91900c2eb9d3ddf45bbdddb7a22a6127</id>
<content type='text'>
Add request to create tombstones of audio HAL servers before restarting
audioserver process when the watchdog triggers.

Add audio device factory HAL interface API to retrieve HAL process pids when
possible (on debug builds).

Add AudioFlinger service API to set audio HAL process pids from
JAVA AudioService.

Bug: 141528385
Test: Force watchdog and verify tombstone creation
Change-Id: I68c1e8fb4db23e5952ad0c93d7d0b9d121b8ec18
Merged-In: I68c1e8fb4db23e5952ad0c93d7d0b9d121b8ec18
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add request to create tombstones of audio HAL servers before restarting
audioserver process when the watchdog triggers.

Add audio device factory HAL interface API to retrieve HAL process pids when
possible (on debug builds).

Add AudioFlinger service API to set audio HAL process pids from
JAVA AudioService.

Bug: 141528385
Test: Force watchdog and verify tombstone creation
Change-Id: I68c1e8fb4db23e5952ad0c93d7d0b9d121b8ec18
Merged-In: I68c1e8fb4db23e5952ad0c93d7d0b9d121b8ec18
</pre>
</div>
</content>
</entry>
<entry>
<title>audiopolicy: Fixup 7f84dfd and re-sync with CAF</title>
<updated>2020-04-01T23:49:22+00:00</updated>
<author>
<name>Bruno Martins</name>
<email>bgcngm@gmail.com</email>
</author>
<published>2020-04-01T23:32:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=bf3ff39e628d1535ca79fbd95b0cc1fefbb78e61'/>
<id>bf3ff39e628d1535ca79fbd95b0cc1fefbb78e61</id>
<content type='text'>
The real deal is https://source.codeaurora.org/quic/la/platform/frameworks/av/commit/?h=LA.UM.8.3.r1-07600-sdm845.0&amp;id=9655bcbaa7d1de4b665829f8aea4d4bd5df0d92d
which was then somehow fixed/updated in a later AOSP merge.

Change-Id: Iaea2fbd44d6edd4970bdba05e10f26689cf378b7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The real deal is https://source.codeaurora.org/quic/la/platform/frameworks/av/commit/?h=LA.UM.8.3.r1-07600-sdm845.0&amp;id=9655bcbaa7d1de4b665829f8aea4d4bd5df0d92d
which was then somehow fixed/updated in a later AOSP merge.

Change-Id: Iaea2fbd44d6edd4970bdba05e10f26689cf378b7
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "[DO NOT MERGE] Crash the process when midi extraction times out" into qt-qpr1-dev</title>
<updated>2020-03-20T05:54:08+00:00</updated>
<author>
<name>Ytai Ben-tsvi</name>
<email>ytai@google.com</email>
</author>
<published>2020-03-20T05:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_av/commit/?id=6c6ea89e914bb60023638cd12fd111b18df9c930'/>
<id>6c6ea89e914bb60023638cd12fd111b18df9c930</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
