Commit Graph

11690 Commits

Author SHA1 Message Date
Steven Moreland
a77467d71d Merge "IFoo: send struct with fmq." am: 7daf2659ea
am: e9773dc9f6

Change-Id: I14d1499b2d34515800b22712515d028340e649a9
2018-10-09 13:16:58 -07:00
Steven Moreland
e9773dc9f6 Merge "IFoo: send struct with fmq."
am: 7daf2659ea

Change-Id: I56b079caffb4b72afdb44f1fdfb98239eea22f5f
2018-10-09 13:06:56 -07:00
Steven Moreland
7daf2659ea Merge "IFoo: send struct with fmq." 2018-10-09 19:51:30 +00:00
Jack He
4dc8ab4011 Merge "VTS: Check return status of initialize and close" am: 5956e27299
am: 47e876a673

Change-Id: Ic45abea566ef09a1edfa10bf469ea73027185095
2018-10-09 06:37:51 -07:00
Jack He
47e876a673 Merge "VTS: Check return status of initialize and close"
am: 5956e27299

Change-Id: I4b496d9a896b1a55fa213d20c0bf01dd73863869
2018-10-09 06:33:46 -07:00
Treehugger Robot
5956e27299 Merge "VTS: Check return status of initialize and close" 2018-10-09 13:29:02 +00:00
Jack He
4b50fcda51 VTS: Check return status of initialize and close
Test: atest VtsHalBluetoothV1_0TargetTest
Change-Id: I579c4d5f4c6e24b358c67c3dc8a8a8ceb1f936e2
2018-10-08 17:06:06 -07:00
Steven Moreland
2b01956dac IFoo: send struct with fmq.
Bug: 117239572
Test: hidl_test
Change-Id: I968916a9d62e1c8f7a237bd24e6b4267dd013366
2018-10-08 20:11:34 +00:00
Steven Moreland
1b32490065 Merge "IFoo: remove pointer from u." am: 999693e4e8
am: 94955f45ca

Change-Id: I2c2b7d9ad777614ad216d4181332d53fa5027d90
2018-10-08 09:34:07 -07:00
Steven Moreland
94955f45ca Merge "IFoo: remove pointer from u."
am: 999693e4e8

Change-Id: I83c607457dbcf46833e2a2fdc50626e1da0a338a
2018-10-08 09:18:51 -07:00
Steven Moreland
999693e4e8 Merge "IFoo: remove pointer from u." 2018-10-08 15:54:11 +00:00
Hridya Valsaraju
656e05870c Merge "Add a command to get the minimum battery voltage required for flashing" am: b99e695e91
am: 429406fedd

Change-Id: Ifb84a3e5532a9344bb9504e3e6893051ebeaa8a0
2018-10-07 11:09:09 -07:00
Hridya Valsaraju
429406fedd Merge "Add a command to get the minimum battery voltage required for flashing"
am: b99e695e91

Change-Id: Ic6c443e27d84db54fea6e5cda2241c068ebf53cf
2018-10-07 11:05:05 -07:00
Treehugger Robot
b99e695e91 Merge "Add a command to get the minimum battery voltage required for flashing" 2018-10-07 17:53:45 +00:00
Jack Yu
27c2a64422 Added 1.3 DataProfileInfo am: e7de00c5f5
am: 026b7469d0

Change-Id: I141c4156d68a4b524020afd34a2af109e3f290b7
2018-10-06 14:08:29 -07:00
Jack Yu
026b7469d0 Added 1.3 DataProfileInfo
am: e7de00c5f5

Change-Id: Ic77bac6ae6fa599087006b1f6df02befed1f0af1
2018-10-06 14:01:28 -07:00
Hridya Valsaraju
4839e9f8d8 Add a command to get the minimum battery voltage required for flashing
Bug: 79480454
Test: fastboot getvar battery-soc-ok

Change-Id: I6141993972a3084fe3620d81f707999e1264b997
Merged-In: I6141993972a3084fe3620d81f707999e1264b997
(cherry picked from commit 83f5631deb)
2018-10-05 16:15:31 -07:00
Jack Yu
e7de00c5f5 Added 1.3 DataProfileInfo
1. Deprecated the fields 'mvnoType', 'mvnoMatchData', 'maxConnsTime',
   and 'maxConns'.
2. Added a new flag 'preferred' indicating if this data profile
   is preferred for default data connection setup.
3. Move modemCognative flag from setupDataCall and setInitialAttachApn
   into the struct DataProfileInfo and rename it to 'persistent'.
4. Removed isRoaming flag in setupDataCall, setInitialAttachApn, and
   setDataProfile.

Test: Telephony sanity tests
Bug: 73659459
Change-Id: Ia28715e85755b47a1ee870b5c90e5505a7fd8c4a
2018-10-05 14:49:08 -07:00
Steven Moreland
dad22198be IFoo: remove pointer from u.
pointer needs a fixup (to abort) since they can't be used in remote
transactions, so removing it from the union here.

Bug: 117322722
Test: hidl_test
Change-Id: Ie582f6b79a8176ca1585bf4b1f43ae9d5d97fa92
2018-10-05 11:16:20 -07:00
Kevin Rocard
1c95f2bfae Audio VTS: Do not constrain implementation frameCount am: 069bc45044 am: 5596e985d4
am: c2e7ace98d

Change-Id: I5813a327b8780bb5deb63c153b0159f56a57defe
2018-10-03 16:29:36 -07:00
Kevin Rocard
c2e7ace98d Audio VTS: Do not constrain implementation frameCount am: 069bc45044
am: 5596e985d4

Change-Id: Idf051c458d74057425ec3c13227fa31190535e18
2018-10-03 16:23:21 -07:00
Kevin Rocard
e029bd11f8 Audio VTS: Do not constrain implementation frameCount am: 069bc45044
am: b86e285537

Change-Id: Id3c6275cdb5c9de079c425d8f252a6f3e9ac7b99
2018-10-03 16:22:39 -07:00
Kevin Rocard
b86e285537 Audio VTS: Do not constrain implementation frameCount
am: 069bc45044

Change-Id: I53dceebb8c48c1f67b6fdc6fa135be8f5222f823
2018-10-03 16:15:35 -07:00
Kevin Rocard
5596e985d4 Audio VTS: Do not constrain implementation frameCount
am: 069bc45044

Change-Id: I3ec1df7f581e5b11e0d394139c1421109c16fc19
2018-10-03 16:15:32 -07:00
Hridya Valsaraju
db5c49f89c Merge "Reland "Set vendor: true for boot control HAL"" am: 9ba23d0c78
am: ca193eb98b

Change-Id: Iac4ef682572da17ce087631be21ee70d0b505b92
2018-10-03 15:19:29 -07:00
Hridya Valsaraju
ca193eb98b Merge "Reland "Set vendor: true for boot control HAL""
am: 9ba23d0c78

Change-Id: I4fa44112bf00e1ccb96e8fd7de606fb7ebbe2cd5
2018-10-03 15:06:52 -07:00
Treehugger Robot
9ba23d0c78 Merge "Reland "Set vendor: true for boot control HAL"" 2018-10-03 21:47:14 +00:00
Hridya Valsaraju
cac42c19eb Reland "Set vendor: true for boot control HAL"
This reverts commit f8169cc2bc.

Bug: 117072247
Change-Id: Ib80966e31ed92d316217844d0399e6f6ba5fdd2c
2018-10-03 17:51:58 +00:00
Shuo Qian
873df862c0 Merge "Emergency Function HAL (continued)" am: f461463b39
am: a22dacfc17

Change-Id: I92f027462f8dc954bfa350d06d99b2472d4ca8e5
2018-10-02 20:09:28 -07:00
Shuo Qian
a22dacfc17 Merge "Emergency Function HAL (continued)"
am: f461463b39

Change-Id: I6c0105193a38b477fdfa7e8b88343bd5b8bb2f14
2018-10-02 19:21:20 -07:00
Shuo Qian
f461463b39 Merge "Emergency Function HAL (continued)" 2018-10-03 01:36:17 +00:00
Yifan Hong
b553561fee Merge "health VTS: split Properties test" am: f8a8873ee6
am: 884b2e29f1

Change-Id: I2ce23cc2c4f84c7a7028d36fa12518e7c68d9617
2018-10-02 18:19:38 -07:00
Yifan Hong
e5eeb04e2c health: registerCallback() and getHealthInfo() does not notify all callbacks am: e9fc235eb4
am: 13acc0be4e

Change-Id: I321fc8bc280b3f0a324a0f239217147b7545f439
2018-10-02 18:16:11 -07:00
Yifan Hong
1c0e4c6fb2 health: use recursive_mutex. am: a46c0dae81
am: 876d782f9d

Change-Id: Ic0273532dad40db0fd423bc85ae2c6399c395345
2018-10-02 18:16:00 -07:00
Yifan Hong
884b2e29f1 Merge "health VTS: split Properties test"
am: f8a8873ee6

Change-Id: I4a951a54f052e8f1891e4aeb406307c59f25d3e3
2018-10-02 17:13:37 -07:00
Yifan Hong
13acc0be4e health: registerCallback() and getHealthInfo() does not notify all callbacks
am: e9fc235eb4

Change-Id: I839443bed06f0007b93d1032c61d28d3955d79a3
2018-10-02 17:11:22 -07:00
Yifan Hong
876d782f9d health: use recursive_mutex.
am: a46c0dae81

Change-Id: I132a9b08d9b3a1f6356436f6a73a90b7b59422c7
2018-10-02 17:11:14 -07:00
Yifan Hong
f8a8873ee6 Merge "health VTS: split Properties test" 2018-10-02 23:37:43 +00:00
Hridya Valsaraju
5d5a4741c4 Reland 'Set vendor: true for boot control HAL'
Test: make boot image and check if boot contol HAL implementation
is present in vendor and recovery.
Bug: 117072247

Change-Id: Id05563fc3b4bdf135bf7e1ae75d23f34a98845ab
2018-10-02 23:19:43 +00:00
Ng Zhi An
b88b408302 Skip hal v1 check after p on low ram devices am: a0eb7e415c am: 2f5884c94c
am: a297d0cb1f

Change-Id: I64bf0b315313ae8e60a0ee6ec8f917799b9d7ed8
2018-10-02 15:23:59 -07:00
Hridya Valsaraju
a8fe4144a4 Merge "Revert "Set vendor: true for boot control HAL"" am: 04ba91ef05
am: 1d08857133

Change-Id: I89682587dea0c709c2700a5f67ae196c4727c7d4
2018-10-02 15:22:46 -07:00
Kevin Rocard
069bc45044 Audio VTS: Do not constrain implementation frameCount
The test was assuming Stream::getFrameCount() would return the
AudioConfig::frameCount used to create the stream, similarly
to the sampleRate or the channelMask.

Nevertheless this is not the case as the AudioConfig::frameCount
field is not to used by Stream::openOutputStream (nor Input) as
the buffer size is chosen by the HAL, not the framework.

Thus the test can not assume the frameCount chosen by the HAL and
must not test for a particular value.

Test: atest VtsHalAudioV4_0TargetTest
Bug: 116169974
Change-Id: Ibbf0825f540957e01e7c512d851cb9628991f4c4
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-10-02 22:07:39 +00:00
Ng Zhi An
cab24d270d Skip hal v1 check after p on low ram devices am: a0eb7e415c
am: f8f519f412

Change-Id: I26555fe00a1b8adf51b42ab694238169cde49c4d
2018-10-02 14:59:58 -07:00
Yifan Hong
26c1200e54 health VTS: split Properties test
... into multiple test cases.
Test: run test

Change-Id: I2a03a7ab01d2918b746e06f55c2ee6d733ab4021
2018-10-02 14:54:28 -07:00
Ng Zhi An
a297d0cb1f Skip hal v1 check after p on low ram devices am: a0eb7e415c
am: 2f5884c94c

Change-Id: If61f7b6b9a06206882684b632d3fa4caa5c637b1
2018-10-02 14:38:29 -07:00
Hridya Valsaraju
1d08857133 Merge "Revert "Set vendor: true for boot control HAL""
am: 04ba91ef05

Change-Id: I147b41417fe0261dd58e764e1bc1f1bc4d3d4e5e
2018-10-02 14:38:02 -07:00
Yifan Hong
e9fc235eb4 health: registerCallback() and getHealthInfo() does not notify all callbacks
registerCallback() and getHealthInfo() unintentionally broadcast
health info to all callbacks, which has a performance impact.

* registerCallback() still invokes the new callback immediately
* getHealthInfo() does not call any callbacks at all.

Test: VTS test call getHealthInfo does not invoke update()
Bug: 117167903
Change-Id: Ida99fdd73831e747fbf2d65089c7c0e7661fe7c4
2018-10-02 14:30:03 -07:00
Yifan Hong
a46c0dae81 health: use recursive_mutex.
Need to use an reentrant lock.

Bug: 117167903
Test: vts
Change-Id: I25a366e06ed9d983823f7276668b7f45ddcf1c2b
2018-10-02 14:30:03 -07:00
Ng Zhi An
f8f519f412 Skip hal v1 check after p on low ram devices
am: a0eb7e415c

Change-Id: Ice8482bd701233d382f381f6204230caebc2cb44
2018-10-02 14:19:29 -07:00
Ng Zhi An
2f5884c94c Skip hal v1 check after p on low ram devices
am: a0eb7e415c

Change-Id: I7e60e9faf24be23bf08ef65c5f0c074d4e7da2a4
2018-10-02 14:02:09 -07:00