Commit graph

17576 commits

Author SHA1 Message Date
Sarah Chin
4743af25e5 Merge changes from topics "ngran", "update_ngran" am: ca0e5aa890
am: 16be1378f6

Change-Id: Ifcfc1d0d0875b6b918bbb38c5077678584ef194c
2019-12-05 13:55:55 -08:00
Sarah Chin
9cf9e4193f Add HAL for 5G bands am: b7709bba42
am: 5f2f5fa8f3

Change-Id: Ic36040a3c8abc3c2902ae80fc367093a9afce4b5
2019-12-05 13:55:48 -08:00
Sarah Chin
16be1378f6 Merge changes from topics "ngran", "update_ngran"
am: ca0e5aa890

Change-Id: I44974f5e2ff63fe7bd4a0a417ce92bbd287b103c
2019-12-05 13:49:04 -08:00
Sarah Chin
5f2f5fa8f3 Add HAL for 5G bands
am: b7709bba42

Change-Id: I2a8a429c94ff3d27d8cdb2f3a1eced7867d0dcda
2019-12-05 13:48:55 -08:00
Sarah Chin
ca0e5aa890 Merge changes from topics "ngran", "update_ngran"
* changes:
  Update NGRAN bands
  Add HAL for 5G bands
2019-12-05 21:37:37 +00:00
jiabin
594181e51c Merge "Refactor for audio device type in conversion." am: d3a2bdfc63
am: f754eda039

Change-Id: I4b2a66693f8f926b07a85431c20e01e9ace90165
2019-12-05 12:32:29 -08:00
jiabin
f754eda039 Merge "Refactor for audio device type in conversion."
am: d3a2bdfc63

Change-Id: I448a0b8fda4b215d17c4908dfc4fce959328fd38
2019-12-05 12:26:15 -08:00
Yifan Hong
7a41239183 Merge changes from topic "no_hal_static_libs" am: b161c42905
am: c112f30c9b

Change-Id: I149cd9d4c3b9c4b71d0c1b4eafc54d7356d90211
2019-12-05 12:24:24 -08:00
Yifan Hong
727d0104e3 health 1.0 default -> Soong am: 891220af48
am: 4e9f062ebb

Change-Id: I304b3a73063ea84dbe6d1bb56e16fead9d72d884
2019-12-05 12:24:20 -08:00
Yifan Hong
ac7f9f6516 health 1.0 does not use HAL_STATIC_LIBS am: 16273aea66
am: 1a0685170f

Change-Id: I73f424e75ce3474b7166970d0921b7937bd99ed0
2019-12-05 12:24:17 -08:00
Yifan Hong
c112f30c9b Merge changes from topic "no_hal_static_libs"
am: b161c42905

Change-Id: I63c5289f464e0a598112c7f41e223bf3780840e3
2019-12-05 12:20:36 -08:00
Yifan Hong
4e9f062ebb health 1.0 default -> Soong
am: 891220af48

Change-Id: I1b18816d093ae0478367afcc6e2b7d2f175e0aff
2019-12-05 12:20:30 -08:00
Yifan Hong
1a0685170f health 1.0 does not use HAL_STATIC_LIBS
am: 16273aea66

Change-Id: Ic83fd3dd2f9927224b26eb35455cf0486e64bcee
2019-12-05 12:20:23 -08:00
Treehugger Robot
d3a2bdfc63 Merge "Refactor for audio device type in conversion." 2019-12-05 20:17:59 +00:00
Yifan Hong
b161c42905 Merge changes from topic "no_hal_static_libs"
* changes:
  health 1.0: add helper library for -impl
  health 1.0 default -> Soong
  health 1.0 does not use HAL_STATIC_LIBS
2019-12-05 20:11:32 +00:00
jiabin
f17047d892 Refactor for audio device type in conversion.
As audio device type can not be used as bit mask any more, refactoring
audio device type usages in conversion from/to HAL. Use a set of audio
device types instead of bit mask.

Bug: 135621476
Test: atest VtsHalAudioV5_0TargetTest
Change-Id: I1a0f574744f855bb1684cd28613571399781abbc
Merged-In: I1a0f574744f855bb1684cd28613571399781abbc
2019-12-04 17:51:05 -08:00
Mikhail Naganov
21dfccb823 Audio HAL: Fix UAF if the effect is removed after close am: 532240f4eb
am: 78836599d2

Change-Id: Iadf728845159acc27d7085ed0018eccfc7f3eac7
2019-12-04 17:38:16 -08:00
Mikhail Naganov
78836599d2 Audio HAL: Fix UAF if the effect is removed after close
am: 532240f4eb

Change-Id: I3a6ce3da68a1be76858f936d437860503b93c03b
2019-12-04 17:34:44 -08:00
Mikhail Naganov
532240f4eb Audio HAL: Fix UAF if the effect is removed after close
Effect::close in V6 releases the underlying HAL effect.
It was not removing the effect entry from the effects
map, thus a call to Stream::removeEffect was retrieving
a stale handle.

Bug: 145656878
Test: start and stop recording for VOICE_COMMUNICATION
Change-Id: I47f486d3b6b4b0dc29acd1e3a2093e421b28d90b
2019-12-04 16:21:28 -08:00
Henry Fang
a9dbfec768 Merge "Add TEMI filter, releasing AV handle and CI-CAM" am: e7044daa5b
am: 7216c1bb33

Change-Id: I416ebd571abe54fe39eca1aade4f7da3af89ff4c
2019-12-04 16:01:58 -08:00
Henry Fang
7216c1bb33 Merge "Add TEMI filter, releasing AV handle and CI-CAM"
am: e7044daa5b

Change-Id: I8f4a420e67d6ccefaa890abc2fc869f5f7212475
2019-12-04 15:52:47 -08:00
Henry Fang
e7044daa5b Merge "Add TEMI filter, releasing AV handle and CI-CAM" 2019-12-04 23:42:27 +00:00
Joshua Duong
9aabfecab2 Fix stack-pointer constructed sp<>. am: e951f2a640
am: 2a2a43cb11

Change-Id: I9c89462a37ebd4cf7befbf4729905963e286f3b0
2019-12-04 14:07:01 -08:00
Joshua Duong
2a2a43cb11 Fix stack-pointer constructed sp<>.
am: e951f2a640

Change-Id: Ic04ef9397d58e230432d130eb08c1696eca605b0
2019-12-04 14:04:31 -08:00
Sarah Chin
afa47584bf Update NGRAN bands
Test: build
Bug: 143683654
Change-Id: I7b59cd52dffdccc30b536a0bef9cab5ad977d371
Merged-In: I7b59cd52dffdccc30b536a0bef9cab5ad977d371
2019-12-04 13:16:21 -08:00
Joshua Duong
e951f2a640 Fix stack-pointer constructed sp<>.
Seems like the hidl derived objects must be heap allocated.

Bug: 145662746

Test: Does not boot loop.
Change-Id: I55ff94c12d4eb5fcfd680370736db979ddd0b67c
2019-12-04 10:39:14 -08:00
Mikhail Naganov
630fc31844 Merge "audio VTS: Fix parametrization for compressed formats" am: bff764d944
am: a80bc46bae

Change-Id: Ibe505530d2072163f6a38d3847e8823ad9dfe1d1
2019-12-04 09:04:24 -08:00
Xin Li
4e59b0be1a Merge "Merge Android10 QPR1 into AOSP master" am: 249b9509db
am: 61f69e105f

Change-Id: Iedde40140a57b98ec9462ca9d72dae8ed3360956
2019-12-04 08:10:18 -08:00
Mikhail Naganov
a80bc46bae Merge "audio VTS: Fix parametrization for compressed formats"
am: bff764d944

Change-Id: I6c7d2dd527497f979aaad15d3bf4d5411c1bbf80
2019-12-03 16:55:57 -08:00
Xin Li
61f69e105f Merge "Merge Android10 QPR1 into AOSP master"
am: 249b9509db

Change-Id: Ifbf967153e4d4e9e1601cea8f506ace5aa96e4f5
2019-12-03 16:10:18 -08:00
Treehugger Robot
bff764d944 Merge "audio VTS: Fix parametrization for compressed formats" 2019-12-03 23:59:15 +00:00
Treehugger Robot
249b9509db Merge "Merge Android10 QPR1 into AOSP master" 2019-12-03 23:14:56 +00:00
Henry Fang
6eb4487082 Add TEMI filter, releasing AV handle and CI-CAM
Test: Manual
bug: 135708935
Change-Id: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
Merged-In: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
2019-12-03 22:48:16 +00:00
Yifan Hong
891220af48 health 1.0 default -> Soong
Now that HAL_STATIC_LIBS are removed, convert to Soong.
Also, avoid using global includes and use libbase_headers instead.

Test: builds
Change-Id: I50ef691e049ed0943de6f384ce7ddba96c0345a5
2019-12-03 12:51:45 -08:00
Yifan Hong
16273aea66 health 1.0 does not use HAL_STATIC_LIBS
BOARD_HAL_STATIC_LIBRARIES is deprecated / obsolete. No devices
in our internal tree uses it. Devices that uses it should build
their own HALs and link to the correct libhealthd.(board) in
that vendor-specific module.

Test: pass
Bug: 127677771

Change-Id: I289d020960331e2dc2225ccbd378a73ccc51a056
2019-12-03 12:51:45 -08:00
Yifan Hong
b808bd7d46 health 1.0: add helper library for -impl
Now that libhealthd is no longer recognized as a HAL_STATIC_LIBRARY,
vendors must define their own android.hardware.health@1.0-impl module.
Add a helper and README.md for them to explain this transition.

Test: builds
Bug: 127677771
Change-Id: I65c162e7b5caed93c39a4a1cb6a2893fbb25724b
2019-12-03 12:51:45 -08:00
Max Bires
97a8659242 Merge "Fixing RSA tests not using the correct exponent" am: ba111275cb
am: a895ba8ff4

Change-Id: Ic0ad74ce178b395c22291c3fcf3f54e0f09d4a8a
2019-12-03 11:53:27 -08:00
Max Bires
a895ba8ff4 Merge "Fixing RSA tests not using the correct exponent"
am: ba111275cb

Change-Id: I7e337b4e5450c57843b64be45e276b090ac4456e
2019-12-03 11:51:10 -08:00
Treehugger Robot
ba111275cb Merge "Fixing RSA tests not using the correct exponent" 2019-12-03 19:38:24 +00:00
Xiangyu/Malcolm Chen
2bee79b3e4 Merge "Adding HAL API for disabling subscription" am: f597a4ae0e
am: 9db4404484

Change-Id: I796d5572d27ff60f170d0ff4aa0c9198636ea0b5
2019-12-03 11:21:17 -08:00
Xiangyu/Malcolm Chen
9db4404484 Merge "Adding HAL API for disabling subscription"
am: f597a4ae0e

Change-Id: I577e1967e167dfba0f4a5824a6cafbc7836eeca3
2019-12-03 11:19:24 -08:00
Sarah Chin
b7709bba42 Add HAL for 5G bands
Added NgranBands and RadioAccessNetwork NGRAN
Updated RadioAccessSpecifier and NetworkScanRequest
Updated IRadio and IRadioResponse to use updated structs/enums

Bug: 143683654
Test: build
Change-Id: I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6
Merged-In: I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6
2019-12-03 11:08:30 -08:00
Xiangyu/Malcolm Chen
f597a4ae0e Merge "Adding HAL API for disabling subscription" 2019-12-03 19:04:59 +00:00
Mikhail Naganov
26d535b58e audio VTS: Fix parametrization for compressed formats
Compressed formats should not be opened with DIRECT flag
only, as this will result in playing out compressed data.

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I873f9a25d5109fb9f5d56f5f748d1348dc12d416
2019-12-03 10:45:23 -08:00
Max Bires
ee1ccd88ba Fixing RSA tests not using the correct exponent
The Keymaster 4.0 HAL specifies that the public exponent for RSA is F4
(2^16+1). There were a few tests still using 3 as the exponent. This
patch updates those incorrect exponents accordingly.

Bug: 143404829
Test: atest VtsHalKeymasterV4_0TargetTest
Change-Id: Ibc82a8a912bc5926bcdd544e0370e4185a888c0d
2019-12-03 09:45:39 -08:00
Xin Li
e980764558 Merge Android10 QPR1 into AOSP master
Bug: 145570283
Change-Id: I29f216a7bf6c85ff67e21f2052e2069990f74c22
2019-12-02 21:25:12 -08:00
Dan Shi
550374c938 Merge "Convert VtsHalBluetoothAudioV2_0TargetTest to be parameterized test" am: 87f93e36fd
am: 416282208e

Change-Id: Ib0f9a634a181afa8407f5dd8b83935c7f7919073
2019-12-02 16:03:30 -08:00
Dan Shi
416282208e Merge "Convert VtsHalBluetoothAudioV2_0TargetTest to be parameterized test"
am: 87f93e36fd

Change-Id: I3f65ed862b7d264a870d9ac84113b7217418cc3e
2019-12-02 16:02:01 -08:00
Treehugger Robot
87f93e36fd Merge "Convert VtsHalBluetoothAudioV2_0TargetTest to be parameterized test" 2019-12-02 23:50:54 +00:00
Peiyong Lin
7fcc448a64 Merge "Fix bad command length calculation" am: b44c4d4cd3
am: 97a0f117e1

Change-Id: I3cb2500f792c76004351b99a94cae3aa0051cb4e
2019-12-02 14:46:19 -08:00