Commit graph

491 commits

Author SHA1 Message Date
Inseob Kim
abfcf913f3 Remove vndk enabled: true am: b3e1c0361a am: 57b59b8ffc am: f664231af3
am: 6242959733

Change-Id: I40603bbde65a63b820e690cb43e06a6267fa5850
2019-07-27 21:40:36 -07:00
Inseob Kim
6242959733 Remove vndk enabled: true am: b3e1c0361a am: 57b59b8ffc
am: f664231af3

Change-Id: I78fdc23199ca844b0254b5ba88b4cc4840c5f2a5
2019-07-27 21:30:34 -07:00
Inseob Kim
f664231af3 Remove vndk enabled: true am: b3e1c0361a
am: 57b59b8ffc

Change-Id: I3aba60de91cfb1507c5ca7d374122e75192d831d
2019-07-27 21:20:33 -07:00
Inseob Kim
57b59b8ffc Remove vndk enabled: true
am: b3e1c0361a

Change-Id: I8e44bd2dfcd9f21f6d6a5bf88bbb3849acd11f0e
2019-07-27 21:11:32 -07:00
Inseob Kim
b3e1c0361a Remove vndk enabled: true
vndk: {enabled: true} has no effect for static libraries.

Bug: 137178339
Test: m
Change-Id: Ia160eeb29c75a006eb8270c234b0517ce98c50f8
2019-07-11 13:05:47 +09:00
Xin Li
2a38b3435c DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
am: 98ce858504

Change-Id: I20e781dae6ad426992396d071d3934a611d44489
2019-07-02 13:06:35 -07:00
Xin Li
98ce858504 DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
Bug: 134405016
Change-Id: Ib37067cc8b717de189a2cde73b6de3815fb74097
2019-07-01 20:59:32 +00:00
Ray Essick
426086c829 Update the experimental notice so not android p specific am: 09cc4fab70
am: 259414005b

Change-Id: Ife76fb730aad4afbc216efca275b0ec7a8b00fd0
2019-05-17 17:15:06 -07:00
Ray Essick
0f4e36a205 Update the experimental notice so not android p specific am: 09cc4fab70
am: 58e84e0aff

Change-Id: Idc12da129b85b17a8fea48ca6dd90deb56275d69
2019-05-17 17:10:29 -07:00
Ray Essick
259414005b Update the experimental notice so not android p specific
am: 09cc4fab70

Change-Id: I9cc567f6629df05df2c0b09c693a0f3b4ebb8147
2019-05-17 16:45:57 -07:00
Ray Essick
58e84e0aff Update the experimental notice so not android p specific
am: 09cc4fab70

Change-Id: I40092730a48a55dd28840f4b55425d953738e275
2019-05-17 16:44:56 -07:00
Ray Essick
09cc4fab70 Update the experimental notice so not android p specific
This experimental notice had been Android-P specific; change the wording
to apply to more versions of Android as it is still experimental.

Bug: 131342273
Test: reading
Change-Id: I3533dc8e0281b335e80a507ef334f1cad4566a39
2019-05-17 09:27:34 -07:00
Xin Li
94104d2775 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190505.001) into master. am: eade97648d -s ours am: 3cb7d1c4dd -s ours
am: 0df9dbe3e3

Change-Id: I2b8cebaddd95c30bce40793966a2a7569d105d6c
2019-05-16 22:41:38 -07:00
Xin Li
0df9dbe3e3 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190505.001) into master. am: eade97648d -s ours
am: 3cb7d1c4dd -s ours
am skip reason: subject contains skip directive

Change-Id: I3722454055c1e36175a065f7f6390f844c13a5ff
2019-05-16 21:19:35 -07:00
Xin Li
3cb7d1c4dd [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190505.001) into master.
am: eade97648d -s ours
am skip reason: subject contains skip directive

Change-Id: I8836b4b2c8173a64a9a99877f1f48d1b95ee50ef
2019-05-16 19:14:13 -07:00
Xin Li
43d2a9bb57 [automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master am: ac521068cc -s ours
am: 90a3caa258

Change-Id: I81754951845c5f653ca828c6505d9fca16cd9abd
2019-05-16 02:30:43 -07:00
Xin Li
90a3caa258 [automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master
am: ac521068cc -s ours
am skip reason: subject contains skip directive

Change-Id: I2c71d14be06f62b91fb38e8b2c94281547f95ef7
2019-05-15 17:28:19 -07:00
Xin Li
eade97648d DO NOT MERGE - Merge pie-platform-release (PPRL.190505.001) into master.
Bug: 132622481
Change-Id: I1c7eddee82c6753f702c230196f2c69a250524fd
2019-05-15 16:55:32 -07:00
Xin Li
ac521068cc DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master
Bug: 132622481
Change-Id: I7e33a0556f41c65e605e955dafa520c352bb6163
2019-05-13 15:39:08 -07:00
Xin Li
7274fe3aaa [automerger skipped] DO NOT MERGE - Merge Pie Bonito/Sargo into master. am: 7078c166aa -s ours
am: d16e23918e -s ours
am skip reason: subject contains skip directive

Change-Id: I59fe05feb1aa9ead84c52d9085437ca441005750
2019-05-09 17:13:53 -07:00
Xin Li
d16e23918e [automerger skipped] DO NOT MERGE - Merge Pie Bonito/Sargo into master.
am: 7078c166aa -s ours
am skip reason: subject contains skip directive

Change-Id: I949813339532f6e67ffa25b830c2021354ff18bc
2019-05-09 15:53:41 -07:00
Xin Li
7078c166aa DO NOT MERGE - Merge Pie Bonito/Sargo into master.
Bug: 131756210
Change-Id: I38173fd16ddca89b35cb0d46d4b090505d137528
2019-05-09 09:27:03 -07:00
android-build-team Robot
12f70dc2d6 Snap for 5450365 from 38ab286ce6 to pi-platform-release
Change-Id: I2f67a8e66810ebab4827192cc2455b4ae28ef5eb
2019-05-07 21:52:42 +00:00
Sushanth Patil
3459bcb7b8 Fix for Segmentation fault in ixheaacd_reset_acelp_data_fix func.
am: 9c27c43dd7

Change-Id: I5e043e0ba54daaf0adea9320bf9d818ff34ed291
2019-04-10 22:38:52 -07:00
Sushanth Patil
9c27c43dd7 Fix for Segmentation fault in ixheaacd_reset_acelp_data_fix func.
In ixheaacd_dec_main(),ixheaacd_config() returned from ixheaacd_read_bit_buf()
due to setjmp/longjmp changes which resulted in ixheeacd_decode_create() not
being called which is needed to initialize many pointers which in turn resulted in
Segementation fault.

As a fix, added a flag decode_create_done which will tell the status of
ixheeacd_decode_create() func and ixheaacd_usac_process will be called
based on this flag.

Bug: 123908264
Bug: 123908335
Bug: 123975056
Test: poc
Change-Id: I929f70650ddc963c11e5d674b12abc0100e1b076
2019-04-10 12:56:52 -07:00
Rajat Kumar
a599e74417 Merge "Fix for integer overflows in tns filter related functions" into qt-dev
am: 522ad1b4c4

Change-Id: Ia62b83d668b56afa06a9b46c8009cfcd7bbc0f4c
2019-04-04 19:02:32 -07:00
Rajat Kumar
7b74456813 Merge "Fix for integer overflow in ixheaacd_fft_15_ld dec function" into qt-dev
am: 89a5398907

Change-Id: I6cd19c517d256700c94fd1cacb6643405284f66b
2019-04-04 18:55:26 -07:00
Rajat Kumar
7d2d1b1800 Merge "Fix for array out of bound access in aac decoding" into qt-dev
am: e1aee2fa4a

Change-Id: I1d1cc6cab57c38e22226efaed423ee287bac862c
2019-04-04 18:38:08 -07:00
Rajat Kumar
8d49de552e Merge "Fixes for integer overflows in ixheaacd_qmf_dec_generic.c file" into qt-dev
am: 4647ea4f06

Change-Id: I574d327ae8ac50eb44b15b9e12eec3b0e35c1a2c
2019-04-04 18:21:05 -07:00
Rajat Kumar
60635771bb Fix for out of bound access in lpd decode function
am: d1dc25ad95

Change-Id: Ie90011807d7794f72b65a7ade47df0c4d589ea8a
2019-04-04 17:54:38 -07:00
TreeHugger Robot
522ad1b4c4 Merge "Fix for integer overflows in tns filter related functions" into qt-dev 2019-04-05 00:25:46 +00:00
TreeHugger Robot
89a5398907 Merge "Fix for integer overflow in ixheaacd_fft_15_ld dec function" into qt-dev 2019-04-05 00:23:34 +00:00
TreeHugger Robot
e1aee2fa4a Merge "Fix for array out of bound access in aac decoding" into qt-dev 2019-04-05 00:19:56 +00:00
TreeHugger Robot
4647ea4f06 Merge "Fixes for integer overflows in ixheaacd_qmf_dec_generic.c file" into qt-dev 2019-04-05 00:09:26 +00:00
Rajat Kumar
616a220485 Fix for integer overflows in tns filter related functions
Added saturation checks, wherever overflow can occur
throughout ixheaacd_aac_tns.c file.

Bug:126975097
Bug:126983239
Test: poc
Change-Id: Ic60116510c1a2d327adb34c4b627e01044a3385e
2019-04-04 21:17:02 +00:00
Rajat Kumar
39f1b58f2b Fix for integer overflow in ixheaacd_fft_15_ld dec function
Added saturation checks throughout the function.

Bug:126984878
Test: poc
Change-Id: I687cb0f523867b5c6a013b6720a441e33be8b5b2
2019-04-04 21:16:45 +00:00
Rajat Kumar
416ea171ed Fix for array out of bound access in aac decoding
pstr_drc_dec->is_longblock once initialized was never used,
so this section of code is redundant. Hence removed.

Bug:124022176
Test: vendor+poc
Change-Id: I30f785764a7031b546f01803720dbfccba75d023
2019-04-04 21:16:35 +00:00
Rajat Kumar
5d005e30a2 Fixes for integer overflows in ixheaacd_qmf_dec_generic.c file
Added addition and subtraction saturation checks.

Bug:124023982
Test: poc
Change-Id: I7b21c806c8978242bf74c2a65d3cd1fe9acb1d6a
2019-04-04 21:16:17 +00:00
Rajat Kumar
d1dc25ad95 Fix for out of bound access in lpd decode function
Code written under the condition
if (mod[0] == 0 && len_subfrm != LEN_FRAME) are redundant.
We were filling garbage at st->fd_synth[ORDER - len_subfrm + i]
and doing some calculations but never using it.

So removed the redundant part here.

Bug:122728400
Test: vendor + poc
Change-Id: If55eeec1e21b2874c1cfd8eee8c71dc7da962a72
2019-04-04 21:15:57 +00:00
Bill Rassieur
a20a059655 Merge master@5406228 into git_qt-dev-plus-aosp.
am: 7cfdb62fe6

Change-Id: I2e69047c9c78f22a6d9b3e3f24cad4015a99380f
2019-04-03 16:25:30 -07:00
Ray Essick
ff1452f96f Merge "Fix for out of bound write in xaacdec test bench" 2019-04-03 22:51:57 +00:00
TreeHugger Robot
c99fe20ffc Merge "Fix for testbench crash due to invalid file handle" 2019-04-03 00:36:27 +00:00
Ray Essick
360bd4fd75 Merge changes from topic "b124323156"
* changes:
  Initialize all allocated memory blocks to zero
  Update cfi blacklist to include few more assembly functions
  LDR changed to MOV instruction in armv8 and armv7 assemblies
2019-04-02 22:13:05 +00:00
Rajat Kumar
ce6d37faa2 Fix for testbench crash due to invalid file handle
Added checks to handle cases when input, output or
meta files are not passed in arguments of xaacdec.
Removed process command mode support and related
code from testbench.
Removed interface file read support and moved the
condition for drc to be on, if effect type or target
loudness is present in the command line arguments.

Bug:124627497
Test: poc
Change-Id: I97e216f5bc6ba6c52dcdc6438ee4152f0cb1682c
2019-03-30 17:08:55 -07:00
Bill Rassieur
7cfdb62fe6 Merge master@5406228 into git_qt-dev-plus-aosp.
Change-Id: If61b3c300c06b376410bc091576599f326b8b448
BUG: 129345239
2019-03-29 04:15:19 +00:00
TreeHugger Robot
0efd8c81e2 Merge "Fix for array out of bound in ixheaacd_dec_execute" 2019-03-29 00:30:32 +00:00
TreeHugger Robot
4289ecda25 Merge "Fix for array and integer overflow in drc related functions" 2019-03-29 00:22:50 +00:00
Rajat Kumar
7b43401d30 Initialize all allocated memory blocks to zero
Bug: 124323156
Test: poc
Change-Id: I69b035d1b6bab81244dde319d4fceb3f42837380
2019-03-27 15:49:39 -07:00
Harish Mahendrakar
7a36f59037 Update cfi blacklist to include few more assembly functions
CFI doesn't handle indirect calls to assembly functions.
Few functions that called assembly functions weren't in the blacklist
which caused CFI errors in few CTS tests

Bug: 124323156
Test: atest android.media.cts.DecoderTest#testDecodeHeAacM4a
Test: poc
Change-Id: Id48404cfcf21353405b3d7676cc98d0d99763903
2019-03-27 15:49:29 -07:00
Rajat Kumar
91227e2f61 LDR changed to MOV instruction in armv8 and armv7 assemblies
Removes memory accesses to constant values and replaces
them with mov instructions. This would allow this library
to be compatible with execute-only memory layouts.

Bug: 124323156
Test: poc
Change-Id: I801d4cfff953b9d13b80a97be04a3223117df29f
2019-03-27 15:49:19 -07:00