Commit Graph

7686 Commits

Author SHA1 Message Date
Cassie Han
d37fb504b2 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." am: ab6101db50
am: 04369bf047

Change-Id: I53a62cf2196dafc7952db534cca5a92f706c0d9c
2018-01-11 17:56:45 +00:00
Cassie Han
04369bf047 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal."
am: ab6101db50

Change-Id: Ifc20455436195dd86b2a9a55f846350419e8ed35
2018-01-11 17:53:59 +00:00
Cassie Han
ab6101db50 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." 2018-01-11 17:47:42 +00:00
Steven Moreland
ec7b339b6c Merge "Add interface specification for lights hal." am: 6f8633d819
am: 0e56d80d7f

Change-Id: I70bc7647f00a72d924968e42baeedee839b1fb74
2018-01-10 21:22:21 +00:00
Steven Moreland
0e56d80d7f Merge "Add interface specification for lights hal."
am: 6f8633d819

Change-Id: Iec46837e60e423cc0c6a3c269137161ec47e042b
2018-01-10 21:04:20 +00:00
Treehugger Robot
6f8633d819 Merge "Add interface specification for lights hal." 2018-01-10 18:27:52 +00:00
Cassie
3fb7617b69 Add cellInfoList_1_2 in 1.2/IRadioIndication.hal.
As part of the new NetworkScan API project, we need to add V1_2
cellInfoList in RadioIndication to support the V1_2 CellInfo as well.

Bug: 63984327, 69058403
Test: Basic telephony sanity
Change-Id: I53deb0d3b6ba58a86a8f734618841ff91d6dc6fa
2018-01-10 09:46:20 -08:00
Yifan Hong
b1e6f45427 Rename 26.xml=>1.xml, 27.xml=>2.xml am: 2e25e4fe6f
am: 49c5b150cf

Change-Id: I5dbba9263a3126a8e851dba55c3924d0e00e3ee1
2018-01-10 03:35:02 +00:00
Yifan Hong
49c5b150cf Rename 26.xml=>1.xml, 27.xml=>2.xml
am: 2e25e4fe6f

Change-Id: I89ba38c9e55d3066d788f67b582b2c2be28c40dc
2018-01-10 03:30:55 +00:00
Yifan Hong
2e25e4fe6f Rename 26.xml=>1.xml, 27.xml=>2.xml
FCM Version uses a different set of numbers than the SDK level.
This is to decouple the connection between them; it is not required
to have one FCM Version per SDK level.

Test: build test
Test: boots

Bug: 69636193
Change-Id: I62a29b702271d8a7ca8ae80e545a6d2e3b46fdcf
Merged-In: I62a29b702271d8a7ca8ae80e545a6d2e3b46fdcf
2018-01-09 17:48:44 -08:00
Myles Watson
7365ea5b9d Bluetooth: Sleep instead of dying on EOF am: 0d63f8af7c
am: e63d6a08ce

Change-Id: Icc2eefaf4b29360c8a8889e5d64b3bedb31bb181
2018-01-10 01:42:18 +00:00
Myles Watson
e63d6a08ce Bluetooth: Sleep instead of dying on EOF
am: 0d63f8af7c

Change-Id: I8f86685ba2000817dcfbdf566449826b121936dd
2018-01-10 01:38:39 +00:00
Myles Watson
0d63f8af7c Bluetooth: Sleep instead of dying on EOF
When a device is restarted, the UART may go away before the
packetizer.  Print an error and sleep in case it isn't really
a restart.

Bug: 70855323
Test: Repeated restarts, check for Bluetooth tombstones
Change-Id: I2b4e677451e826d40dcc9d063d80dc0e17fc9aca
2018-01-09 23:54:05 +00:00
Lianchao Song
6991b9f428 BT Interface: fix hci cmd timeout am: 424ffd0da5
am: fc0e8c6f48

Change-Id: I920f9b56e0dc9e8b91cc12914cc64f20b10dd666
2018-01-09 23:18:22 +00:00
Lianchao Song
fc0e8c6f48 BT Interface: fix hci cmd timeout
am: 424ffd0da5

Change-Id: Ifad82d29cbc269323a776c4a0f5f70bf0bfab2d4
2018-01-09 23:13:20 +00:00
Lianchao Song
424ffd0da5 BT Interface: fix hci cmd timeout
Add mutex in function Send() and OnTimeout() to do mutual
exclusive access on lpm_wake_deasserted.

If lpm_wake_deasserted is out of sync with the actual
wake state, then platforms which use the lpm hint
will break.

Bug: 64299848
Test: run affected platform for a long period of time
and find that hci commands do not time out
Change-Id: I9f630d6f40f84b9c047c6488632cd44d6602bb14
2018-01-09 21:14:47 +00:00
Zhuoyao Zhang
40ffc6130a Disable seccomp policy for configstore hal on coverage builds. am: 207e97c735
am: 23b5ae4553

Change-Id: Id042a38e3e25fde309f5cf5922f7f1c24923ed9a
2018-01-09 19:59:15 +00:00
Zhuoyao Zhang
23b5ae4553 Disable seccomp policy for configstore hal on coverage builds.
am: 207e97c735

Change-Id: I6ee7181d12e08cbc5ec2fecaf7f34808f387be17
2018-01-08 22:53:27 +00:00
Zhuoyao Zhang
207e97c735 Disable seccomp policy for configstore hal on coverage builds.
Test: lunch walleye_coverage-userdebug && make
      verify configstore@1.0.policy is not generated.

Change-Id: Iad1f55fe10c2c77a3ca56418ec315e10ab71753f
2018-01-08 12:06:22 -08:00
Steven Moreland
98ca764006 Add interface specification for lights hal.
So that init knows how to start it and to provide
an example of how to specify interfaces since there
are no lazy starting services on Pixel yet.

In order to make lights a lazy service, it would also
have to be marked as 'oneshot'.

Test: manually using Light as a lazy service
Bug: 64678982
Merged-In: I846a7e2d9545b42af9b985adb74883bda1b8c355
Change-Id: I846a7e2d9545b42af9b985adb74883bda1b8c355
2018-01-05 18:15:25 +00:00
Howard Chen
3495400a59 Merge "Add a test method to test interface in struct" am: c0204ee13d
am: 932c93f52e

Change-Id: I241e34de84b0d44c652fd60fc7341a788e169e24
2018-01-05 04:06:31 +00:00
Howard Chen
932c93f52e Merge "Add a test method to test interface in struct"
am: c0204ee13d

Change-Id: I0340f31c48036cc1baf0fdbecaa96877af739063
2018-01-05 04:01:54 +00:00
Howard Chen
c0204ee13d Merge "Add a test method to test interface in struct" 2018-01-05 03:55:14 +00:00
sqian
a598754bf7 Remove unused functions am: 910a238c21
am: 6d06a6f7a9

Change-Id: Id4a9cb4e5b01c0529abd63ce768070be1e7037d9
2018-01-04 21:40:35 +00:00
sqian
6d06a6f7a9 Remove unused functions
am: 910a238c21

Change-Id: Iac93896b81a6fc76f7db4868076e86d651b7f818
2018-01-04 21:36:34 +00:00
sqian
910a238c21 Remove unused functions
Test: Compile
Bug: 63760809
Change-Id: I582c259ca0787a701d434eea9592c9e8d7351f08
Merged-In: I582c259ca0787a701d434eea9592c9e8d7351f08
(cherry picked from commit 3ba20e6b6b)
2018-01-04 12:13:33 -08:00
Steven Moreland
bd45927b84 Merge "Remove empty generates clause." am: 12517de51d
am: 4160ed79a0

Change-Id: If4e18de85815193dc6de6b2184b6ffddee68505c
2018-01-04 09:10:58 +00:00
Steven Moreland
4160ed79a0 Merge "Remove empty generates clause."
am: 12517de51d

Change-Id: I2f61aa7a5fc6771c5650a04971e65b8fe57161c3
2018-01-04 09:07:30 +00:00
Treehugger Robot
12517de51d Merge "Remove empty generates clause." 2018-01-04 09:03:28 +00:00
Steven Moreland
8147d62e33 Remove empty generates clause.
Doesn't do anything, not part of the language.

Bug: 71545356
Test: none
Change-Id: I5fce87a9cf01ff546f2b7b177b60454b8bfbf106
2018-01-03 14:14:24 -08:00
Yi Kong
31e0ddbc1c Use correct format specifier for uint32_t am: 004dd379df
am: f157a9c8c7

Change-Id: I09f1b729f872ebd58e7c43214b83a3832a142efd
2018-01-03 18:06:43 +00:00
Yi Kong
f157a9c8c7 Use correct format specifier for uint32_t
am: 004dd379df

Change-Id: I81fa857a5381835011220d4e5e673b7239a71042
2018-01-03 18:02:40 +00:00
Howard Chen
0cd07d214b Add a test method to test interface in struct
Add a test method to IBaz to test struct with a composed interface

Test: hidl_test_java/ internal master
Bug: 70529597
Change-Id: I73eaaf3dda6a24b88207729f31c75454c005c8cf
2018-01-03 17:16:58 +08:00
Yi Kong
004dd379df Use correct format specifier for uint32_t
Discovered by the upcoming compiler update.

Test: m checkbuild
Change-Id: I03ed479a6a5c42d8dcc192e85d5268d1cd65cab8
2018-01-02 22:57:46 -08:00
Sandeep Gutta
14d0000c78 Merge "SIM slot related interface changes" am: 384fa7b6dc
am: 8a52ba05e2

Change-Id: I11e2bdfbf5e58f8095db017ffde9a643a5a8adaf
2018-01-02 22:36:04 +00:00
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
e611e86fec Modify VTS error check so that the error code can be displayed am: 7fe9365e6f
am: e93516c086

Change-Id: I7079a49624a6aed546c01fa3affd15f25b14769d
2018-01-02 19:35:59 +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
711ea3501a Merge "Add debug output for lights." am: 25ccf20c8c
am: ba7d14198b

Change-Id: Iedc1c90b92301477dc1d69d869061b405446e1dc
2017-12-22 21:57:05 +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
9a58cc7b4c audio: Fix StreamOut ownership in default wrapper am: 718b510080
am: 890deeed1e

Change-Id: I8a45ce49f6f0695a2be2f74e4a103efd6ce3483a
2017-12-22 00:03:36 +00: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
a72e80eafa Merge "graphics: improve PRESENT_OR_VALIDATE_DISPLAY support" am: f43ab227a5
am: 8e1ec23a5d

Change-Id: I856a4bfc708f34a331f83e1466e689a2fa5427b7
2017-12-21 07:30:24 +00: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