Commit Graph

7486 Commits

Author SHA1 Message Date
Sandeep Gutta
8a52ba05e2 Merge "SIM slot related interface changes"
am: 384fa7b6dc

Change-Id: Idd5b77ef5f8b36eac6d2b79a9d16b4ffbd548684
2018-01-02 22:26:47 +00:00
Treehugger Robot
384fa7b6dc Merge "SIM slot related interface changes" 2018-01-02 22:17:21 +00:00
sqian
e93516c086 Modify VTS error check so that the error code can be displayed
am: 7fe9365e6f

Change-Id: Iaa9b4552babd4e24857c32685bd840bc7198cada
2018-01-02 19:32:27 +00:00
sqian
7fe9365e6f Modify VTS error check so that the error code can be displayed
- Add AssertionResult in gtest to display logs
- Refactor all the error checks

- Replace INTERNAL_ERR with INVALID_ARGUMENT for
requestIsimAuthentication

- Add missing SIM_ABSENT from ag/2582439/

- Fix incorrect indentation

Bug: 63760809
Bug: 65150146
Test: run vts
Change-Id: Id3d876ea515f47998e3e45be11db5edf306ffc24
Merged-In: Id3d876ea515f47998e3e45be11db5edf306ffc24
(cherry picked from commit e986b85fdd)
2017-12-28 20:20:24 +00:00
Steven Moreland
ba7d14198b Merge "Add debug output for lights."
am: 25ccf20c8c

Change-Id: I1b251c7053975cdeef43cb2cf4786860bbb1192d
2017-12-22 21:52:01 +00:00
Treehugger Robot
25ccf20c8c Merge "Add debug output for lights." 2017-12-22 21:47:01 +00:00
Sandeep Gutta
4a4d8cc197 SIM slot related interface changes
Add below new interfaces, corresponding response interface and structures.
- getSimSlotsStatus()
- setSimSlotsMapping()
- simSlotsStatusChanged()

Bug: 68998818
Test: compliation

Change-Id: Ia532c502782ef4d08d27f18ee0321a3ceaa94dcf
2017-12-22 11:29:06 -08:00
Mikhail Naganov
890deeed1e audio: Fix StreamOut ownership in default wrapper
am: 718b510080

Change-Id: I957fb0c9c2ef12ad81d80cda4cf0d2f2489505b7
2017-12-21 23:57:08 +00:00
Mikhail Naganov
718b510080 audio: Fix StreamOut ownership in default wrapper
StreamOut::asyncCallback could became an owner of StreamOut
causing the destructor to be called on the offload callback
thread, while the legacy HAL is holding a mutex, which resulted
in a deadlock.

Removed erroneous usage of sp<StreamOut> in asyncCallback.
The legacy HAL joins the offload callback thread when closing
output stream, thus StreamOut destructor is guaranteed to finish
only after the offload callback thread has exited, and using
a raw pointer to StreamOut inside asyncCallback is correct.

Bug: 70863217
Change-Id: I0d77018cf3df5ad07251732733288d425dd836eb
Test: manual
2017-12-21 13:21:58 -08:00
Chia-I Wu
8e1ec23a5d Merge "graphics: improve PRESENT_OR_VALIDATE_DISPLAY support"
am: f43ab227a5

Change-Id: Ief20e5b035a25b77fe714b0ace4d3d4fa543380d
2017-12-21 07:28:39 +00:00
Chia-I Wu
f43ab227a5 Merge "graphics: improve PRESENT_OR_VALIDATE_DISPLAY support" 2017-12-21 06:54:22 +00:00
Steven Moreland
b0c20e99a1 Add debug output for lights.
As an example and also to expose which lights are
registered easily. Note, this is all the information
that we can print given the libhardware lights interface.

Bug: 70846424
Test: lshal debug
Change-Id: I5f55e3e64149fc63a45ab9dab94d5fea27bb61da
2017-12-20 14:51:47 -08:00
guoyin.chen
3794336021 Merge "openmax header files have been relocated"
am: 8e0f8836d9

Change-Id: I582c2e72d7dc125b80215df0d00b4570b046a083
2017-12-20 00:29:32 +00:00
Treehugger Robot
8e0f8836d9 Merge "openmax header files have been relocated" 2017-12-20 00:22:54 +00:00
Steven Moreland
1617ee8132 Cleanup Lights Android.bp
am: fabe9e4bef

Change-Id: I227aff15cf8d46f7d52154c0ee69babb01965ffc
2017-12-19 18:54:29 +00:00
Steven Moreland
c25e76d8ab Merge "Light mk -> bp."
am: aaa995113e

Change-Id: Ida7a2f60db6de8e55ba420b43b2bb5dceb5a9cd7
2017-12-19 02:02:44 +00:00
Steven Moreland
fabe9e4bef Cleanup Lights Android.bp
Test: none
Change-Id: I3c5156a75a044c67f41878e880dece730ed7158f
2017-12-19 01:57:03 +00:00
Treehugger Robot
aaa995113e Merge "Light mk -> bp." 2017-12-19 01:56:14 +00:00
Steven Moreland
4025af9e81 Light mk -> bp.
Test: boots
Merged-In: I15c4779a7c9eea39fb20746f69800dcf20670275
Change-Id: I963b957491575edbf68727ad4c97b733dceb0149
2017-12-19 01:56:10 +00:00
guoyin.chen
1b1f65808a openmax header files have been relocated
openmax header files relocated at headers/media_plugin/media/openmax
Build error as below:
source path frameworks/native/include/media/openmax does not exist

Change-Id: Ifb43a8b47c9ecd7adc4ef715948c52015603ba40
Signed-off-by: guoyin.chen <guoyin.chen@nxp.com>
2017-12-19 01:57:58 +08:00
Scott Randolph
8b3da6948e Merge "Unfreeze automotive HALs"
am: 738c58dd50

Change-Id: I074dbe957e5f5a8d335710c684a88093a2e15a03
2017-12-16 03:34:25 +00:00
Treehugger Robot
738c58dd50 Merge "Unfreeze automotive HALs" 2017-12-16 03:27:46 +00:00
Steven Moreland
897864234e Merge "Remove conditional vndbinder usage in CAS."
am: 231626d43d

Change-Id: I29e46acf004c0314eb071c2bad23689d3105bf19
2017-12-15 20:14:59 +00:00
Treehugger Robot
231626d43d Merge "Remove conditional vndbinder usage in CAS." 2017-12-15 20:07:21 +00:00
Yifan Hong
cdc4df4386 Merge changes from topic "fcm_version"
am: 18e599af8e

Change-Id: I54fc554641f19f2513511f24c590fe9506397c76
2017-12-15 19:06:09 +00:00
Yifan Hong
102759dba1 Revert old matrices back to DR / MR1.
am: 48952110c7

Change-Id: I40912b7de36384913cecd84630fff7696a431a50
2017-12-15 19:05:42 +00:00
Yifan Hong
18e599af8e Merge changes from topic "fcm_version"
* changes:
  Specify FCM Version in compatibility matrices.
  Revert old matrices back to DR / MR1.
2017-12-15 18:58:34 +00:00
Steven Moreland
bc3f5661c8 Merge "Test for vec<union> vec<struct w/ union>."
am: cd619af7bc

Change-Id: I870a5a3421199e4bbdec8ec66cd9ed4e01e3c349
2017-12-15 03:02:22 +00:00
Treehugger Robot
cd619af7bc Merge "Test for vec<union> vec<struct w/ union>." 2017-12-15 02:51:37 +00:00
Nathan Harold
ba596a7181 Fix a typo in Enhanced Network Scan Request
am: 9acbfc2e6b

Change-Id: I088778cc917c8a53cf75b7a16449016d73e900c6
2017-12-15 01:50:41 +00:00
Scott Randolph
e3fb7e7acb Unfreeze automotive HALs
Test:  Build development platform
Change-Id: I7b5708163680526cb227cbf19b0b4a37b96736ba
2017-12-14 16:05:53 -08:00
Steven Moreland
3bcfa475e2 Test for vec<union> vec<struct w/ union>.
Bug: 31973802
Test: hidl_test
Change-Id: I4367f1f525caa8d1edb95b7bfdac78f21b234576
2017-12-14 16:02:46 -08:00
Yifan Hong
48952110c7 Revert old matrices back to DR / MR1.
legacy/26/27.xml ("old matrices") should not be changed once
published.

The requirements / HAL usage information are now encompassed in
multiple matrices (instead of a single compatibility_matrix.V.xml).
For example, the usage of HALs on Shipping FCM Version 26 is:
* Required HALs in 26.xml
* Using all required + optional HALs in 26.xml/27.xml/...

In particular,

* Starting at 26.xml (diff legacy 26), gatekeeper is required.
* Starting at 27.xml (diff 26 27),
   - broadcastradio@1.0 => 1.0-1
   - introduce cas@1.0
   - introduce oemlock@1.0
   - power@1.0 => 1.0-1
   - radio@1.0 => 1.0-1
   - introduce tetheroffload.config@1.0
   - introduce tetheroffload.control@1.0
   - thermal@1.0 => 1.0-1
   - usb@1.0 => 1.0-1
   - vibrator@1.0 => 1.0-1
   - wifi@1.0 => 1.0-1
   - introduce weaver@1.0
   - introduce wifi.offload@1.0

health@2.0 and configstore@1.1 is not specified
in legacy/26/27.xml, but framework can still use them, since they
are introduced in current.xml.

Test: boot test

Bug: 69861676
Change-Id: I897df6952245a8ce33e1c63264c3970b0483c2f7
Merged-In: I897df6952245a8ce33e1c63264c3970b0483c2f7
2017-12-14 15:34:37 -08:00
Yifan Hong
e6ce990acb Specify FCM Version in compatibility matrices.
FCM Version should not be tied to the name of the file.

Test: boots
Bug: 69636193
Change-Id: Ic199f3f479dfdc3a2309a28dc546d4a79fba2d52
Merged-In: Ic199f3f479dfdc3a2309a28dc546d4a79fba2d52
2017-12-14 15:34:37 -08:00
Nathan Harold
9acbfc2e6b Fix a typo in Enhanced Network Scan Request
Change RADIO_ACCESS_SPEFICIER_MAX_SIZE to
RADIO_ACCESS_SPECIFIER_MAX_SIZE

Bug: 63865942
Test: compliation
Change-Id: Idabac6ab42c90353a83d32483be46c77a85b7f1d
2017-12-14 13:13:22 -08:00
Jiyong Park
8c20d2002a android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
am: e514a4b8a8  -s ours

Change-Id: I80e1d11e964e14b95f48d8e7f389139253ae2d02
2017-12-14 03:06:54 +00:00
Jiyong Park
e514a4b8a8 android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
The interface lib has been in VNDK-SP because
android.hardware.graphics.mapper@1.0 was using it. However, since the
dependency has gone [1], there is no need keep it in VNDK-SP. The
VNDK-SP set should be kept as small as possible because libs in VNDK-SP
are subject to double-loading.

Unmark the 'support_system_process' property to exclude the lib from
VNDK-SP.

This commit re-lands I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd because
it was reverted during O-MR1 push to AOSP-master.

Bug: 69480083
Test: walleye boots to the UI
Change-Id: I0af8115dceb9711c6c451ffaeedda6c823ec2905
Merged-In: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
(cherry picked from commit ec44d18dbe)
2017-12-13 11:58:24 +08:00
Chia-I Wu
cdc287ba06 graphics: improve PRESENT_OR_VALIDATE_DISPLAY support
There is no cap defined for PRESENT_OR_VALIDATE_DISPLAY in HIDL so
it must always work.  Make sure it does not call HWC2 presentDisplay
when the underlying HWC2 does not support
HWC2_CAPABILITY_SKIP_VALIDATE.

Bug: 70407085
Test: boots
Change-Id: I54a4400e09e669c5064f05739f595ed978dcc713
2017-12-12 09:37:19 -08:00
Xin Li
63c9be2736 DO NOT MERGE: Merge Oreo MR1 into master
am: 7c9d4b1384  -s ours

Change-Id: Ib2d9175c76ba02d8f0699cbcf58a927ce6837825
2017-12-07 04:17:54 +00:00
Steven Moreland
75673fc6ac Remove conditional vndbinder usage in CAS.
Platform consistency, removing overload of meaning
behind PRODUCT_FULL_TREBLE/treble variable.

Bug: 67975337
Test: boot
Change-Id: I09df37fc0306f80879424334029ab9668cee9d4f
Merged-In: I09df37fc0306f80879424334029ab9668cee9d4f
2017-12-06 16:12:41 -08:00
Xin Li
7c9d4b1384 DO NOT MERGE: Merge Oreo MR1 into master
Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: I8318c8bcc6ce5e750326b3315710c96a37838f22
2017-12-06 14:24:51 -08:00
Zhuoyao Zhang
a713584847 Merge "Convert boot, memtrack and power hal to use service name aware testing."
am: b9515d9d3f

Change-Id: Ie93e66d9b829ac420ba22cf0391b48c156755c77
2017-12-05 00:11:18 +00:00
Zhuoyao Zhang
b9515d9d3f Merge "Convert boot, memtrack and power hal to use service name aware testing." 2017-12-04 23:12:04 +00:00
Zhuoyao Zhang
2aba02af56 Convert boot, memtrack and power hal to use service name aware testing.
Motivation:
1) Support running the test against each hal service instance for the 
   registered hal.
2) Support testability checker to determine whether we should run the 
   test on the taget device.
3) Help to determine the process we want to profile for coverage data
   if running on coverage build. 
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalBootV1_0Target
      vts-tradefed run vts -m VtsHalMemtrackV1_0Target
      vts-tradefed run vts -m VtsHalPowerV1_0Target
      vts-tradefed run vts -m VtsHalPowerV1_1Target
Change-Id: Ie0bbd9ef9d9fbe11de5aee70fad9028fa0ae897c
2017-12-04 21:34:25 +00:00
Michael Schwartz
7d6bf0f5ef Merge "Remove IOemHook from matrix in P"
am: f8c89c44e5

Change-Id: I2649c4ad197aecf74a595a16ed2433edba3b9a8b
2017-12-04 18:44:59 +00:00
Michael Schwartz
f8c89c44e5 Merge "Remove IOemHook from matrix in P" 2017-12-04 18:34:51 +00:00
Steven Moreland
4e1e4081e4 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
(cherry-picked from commit c2f829a1d2)
2017-12-03 10:31:49 -08:00
Howard Chen
b4c725535e Merge "Add more test methods to IMemoryTest"
am: 4cd07b6e21

Change-Id: Ibcfa27b9510774a9bac39c40443e6f5a35e13709
2017-12-02 15:26:24 +00:00
Howard Chen
4cd07b6e21 Merge "Add more test methods to IMemoryTest" 2017-12-02 15:21:19 +00:00
Dan Willemsen
6737d81d15 Fix problem found with host bionic fortify checks
am: dc1921810e

Change-Id: Id82671e9f0b4debc28b516a0b3f10104fc54e198
2017-12-01 04:29:29 +00:00