Commit Graph

12525 Commits

Author SHA1 Message Date
Sungtak Lee
1ae877d04a Add message id to interface
In order to synchronize message id when a new connection is made,
message Id is added as a return value. Also the last posted message Id
is given as paramter, when observer is notfied of new messages.

Bug: 112203066
Change-Id: Ic3921fd176aec1abc7de3ea88c730ad46182d28f
2018-10-18 13:34:14 -07:00
TreeHugger Robot
d126a2fb42 Merge "Move GrallocWrapper to common directory" 2018-10-08 17:27:35 +00:00
Steven Moreland
ad491aa9bd Merge "IFoo: remove pointer from u." am: 999693e4e8 am: 94955f45ca
am: 1b32490065

Change-Id: I0762bbb513233bb8ffa87d11219b38be1a9437be
2018-10-08 09:46:53 -07: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
7f56c99104 [automerger skipped] Merge "Add a command to get the minimum battery voltage required for flashing" am: b99e695e91 am: 429406fedd
am: 656e05870c  -s ours

Change-Id: Ie4dbd0fc2dc333ebe7db5fc4b594500b7d137cde
2018-10-07 11:14:07 -07: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
59918db583 Added 1.3 DataProfileInfo am: e7de00c5f5 am: 026b7469d0
am: 27c2a64422

Change-Id: I6ba2e9fd8e53c3253762b8401ff163d92950a860
2018-10-06 14:12:32 -07: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
TreeHugger Robot
bdba1773fc Merge "Add observer to bufferpool clients" 2018-10-06 03:18:24 +00: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
Sungtak Lee
38235ee931 Add observer to bufferpool clients
Bufferpool clients are notified bufferpool events via FMQ messages.
Usually the messages are processed by pipeline via piggybacking. To
ensure process FMQ messages even if the process is in idle state,
Observer hidl interface is added. Buffer invalidation caused by
pipleline completion uses Observer interface in order to invalidate
buffers after all normal operations are finished.

Bug: 112203066
Change-Id: I2a4a172d78c6bcedcc809c559321929ebc91c30d
2018-10-05 15:04:38 -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
Mikhail Naganov
13ea39aead Merge changes from topic "move-surround-configuration-to-xml"
* changes:
  audio: Add configuration for surround sound
  audio: Copy audio_policy_configuration.xsd for HAL V4.1
2018-10-05 21:11:06 +00:00
Xusong Wang
cf4db1e2d6 Merge "Divide BBOX_TRANSFORM into 2 ops." 2018-10-05 19:47:16 +00:00
Valerie Hau
722aaa2700 Merge "Fixing Readback Test failures related to auto-succeed" 2018-10-05 19:35:12 +00:00
Valerie Hau
babe4eb0de Fixing Readback Test failures related to auto-succeed
Prior implementation failed to clear command reader, causing test to
fail in TearDown.  Transform Readback Tests failed to return if readback
was not supported, moved GTEST_SUCCEED into test body from SetUp

Bug: 111563608
Test: ./VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I4647f94efa216b219d0ef345df1ec3aa81dab4c0
2018-10-05 11:29:06 -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
Brian Stack
eb755f55bb Move GrallocWrapper to common directory
Moves GrallocWrapper to a common directory so that it is able to be
used by different versions of Sensors HAL VTS testing.

Bug: 111070257
Test: Builds
Change-Id: I3b110a8b45a870d762c9ed09063115afa31e6ce3
2018-10-05 10:03:32 -07:00
TreeHugger Robot
42b500c419 Merge "VTS: Add test for device version 3.5" 2018-10-05 00:58:42 +00:00
Miao Wang
2b8508ee09 Merge "Update OWNERS" 2018-10-05 00:18:14 +00:00
Miao Wang
6653e69dc6 Update OWNERS
Test: none
Change-Id: I96db4de3f34837c9f3174fd01e7d06d3355617f3
2018-10-04 17:16:43 -07:00
Xusong Wang
d2bae1c268 Divide BBOX_TRANSFORM into 2 ops.
Divide BBOX_TRANSFORM op into 2 ops
- AXIS_ALIGNED_BBOX_TRANSFORM
- ROTATED_BBOX_TRANSFORM

Rotated bounding boxes use different tensor format than axis-aligned
bounding boxes, and it would be less confusing if they were represented
by a separate operator code.

Bug: 113562630

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_xTargetTest with sample driver
Change-Id: Ie08f2e0d0da77f6750766a394969653478d054d5
2018-10-04 17:15:10 -07:00
Mikhail Naganov
cc3677997c audio: Add configuration for surround sound
Bug: 116356348
Test: xmllint --noout --xinclude --schema \
  hardware/interfaces/audio/4.1/config/audio_policy_configuration.xsd \
  frameworks/av/services/audiopolicy/config/audio_policy_configuration.xml

Change-Id: Ib8d84b950f439c2ebed181385b41a83556976e60
2018-10-04 15:59:37 -07:00
Mikhail Naganov
16e37eb7ca audio: Copy audio_policy_configuration.xsd for HAL V4.1
This only copies the file to simplify reviewing additons

Bug: 116356348
Test: N/A
Change-Id: Idbc1489163f0ea8938ff5c32499d22ddbf8fc12d
2018-10-04 15:56:22 -07:00
TreeHugger Robot
a26ad342b4 Merge "Add IBiometricsFace#userActivity" 2018-10-04 20:35:32 +00:00
TreeHugger Robot
073cdd0fb1 Merge "Add a command to get the minimum battery voltage required for flashing" 2018-10-04 20:19:32 +00:00
Shuzhen Wang
6bdeaf55bf VTS: Add test for device version 3.5
Also includes:
- Add test for getPhysicalCameraCharacteristics.
- Doc update for the new HIDL API.
- Tighten boundary check for camera ID in CameraModule.

Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO

Bug: 79523700
Bug: 115969176
Bug: 116512585
Change-Id: I051d1b0c91834781a1f8d893ed5ebfa579b03774
2018-10-04 11:56:20 -07:00
Kevin Chyn
ba9ec8795a Add IBiometricsFace#userActivity
Fixes: 116821097

Test: builds
Change-Id: I88363e186a41ce65665122606b357c7d31d8c18d
2018-10-03 18:16:30 -07:00
Kevin Rocard
eeda71a771 Audio VTS: Do not constrain implementation frameCount am: 069bc45044 am: 5596e985d4 am: c2e7ace98d
am: 1c95f2bfae

Change-Id: I407b81c639c96bd0cc9d6c1bba84923939cf9e54
2018-10-03 16:37:45 -07:00
Valerie Hau
55b73312d7 Merge "Adding more Readback tests and refactoring" 2018-10-03 23:37:07 +00: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
4f62e23dd5 Audio VTS: Do not constrain implementation frameCount am: 069bc45044 am: b86e285537
am: e029bd11f8

Change-Id: Ia2c98e461ee7a39ef56e0f1b6e2dd85c446b6216
2018-10-03 16:28:44 -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
Hridya Valsaraju
83f5631deb Add a command to get the minimum battery voltage required for flashing
Bug: 79480454
Test: fastboot getvar battery-soc-ok

Change-Id: I6141993972a3084fe3620d81f707999e1264b997
2018-10-03 16:19:30 -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
4985fa47bc Merge "Reland "Set vendor: true for boot control HAL"" am: 9ba23d0c78 am: ca193eb98b
am: db5c49f89c

Change-Id: Ic449186b2286d7c7fef91ebd4bf8f3c39a39dd6e
2018-10-03 15:37:07 -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
c9816c691f Merge "Emergency Function HAL (continued)" am: f461463b39 am: a22dacfc17
am: 873df862c0

Change-Id: Id441e551314a5b14a7cdfaa3570cddc8d6bb94ef
2018-10-02 20:44:45 -07:00
Yifan Hong
7ab74caba7 Merge "health VTS: split Properties test" am: f8a8873ee6 am: 884b2e29f1
am: b553561fee

Change-Id: I90475715a6a6d06823580a3e55379ba04b83dd3d
2018-10-02 20:22:51 -07:00
Yifan Hong
d66688ce72 health: registerCallback() and getHealthInfo() does not notify all callbacks am: e9fc235eb4 am: 13acc0be4e
am: e5eeb04e2c

Change-Id: I0c80ca9dbc62213302187fd121dc42e46ffd4b70
2018-10-02 20:14:03 -07:00