Commit graph

10013 commits

Author SHA1 Message Date
Wei Wang
aa8a547821 dumpstate: add interface into rc file
Bug: 7748994
Test: Build
Change-Id: I5e86b0e63928f42ea7b247bd0de0719daf80a10d
2018-04-05 13:35:38 -07:00
TreeHugger Robot
aa91a992eb Merge "Camera: use finer lock in external camera OutputThread" into pi-dev 2018-04-04 13:45:39 +00:00
TreeHugger Robot
10b7ccae68 Merge "Camera: Check external camera v4l2 buffer size" into pi-dev 2018-04-04 09:41:36 +00:00
TreeHugger Robot
eac7714719 Merge changes from topic "nfc1.1" into pi-dev
* changes:
  Changes in current.txt as per NFC 1.1 changes
  Add defaultSysCodePowerState in types.hal in NFC 1.1
2018-04-03 20:40:46 +00:00
TreeHugger Robot
c62e860726 Merge "Freeze current as compatibility_matrix.3.xml." into pi-dev 2018-04-03 19:53:13 +00:00
Steven Moreland
92ea6540a5 Freeze current as compatibility_matrix.3.xml.
This freezes the current compatibility_matrix for
Android P.

Fixes: 68112778
Test: m (assemble_vintf checks devices)

Change-Id: Ida30b7ba7f5df7c2755bd7c737190574b9195a92
2018-04-03 11:19:40 -07:00
TreeHugger Robot
1058b982e9 Merge "Update VHAL types.hal" into pi-dev 2018-04-03 17:52:05 +00:00
Emilian Peev
bc0e16519f Camera: Check external camera v4l2 buffer size
V4L2 buffer size should fall within a reasonable range
like (0. width*height*2]. Check and return appropriate
status in case the size is not within this range.

Bug: 72261912
Test: Camera CTS
Change-Id: I1945dc734afb552ecb8d4ef74c9198eca8ce00e7
2018-04-03 14:47:39 +01:00
Steve Paik
28b9f8be0b Update VHAL types.hal
Revised types.hal:
  - Add documentation to everything
  - Remove radio property
  - Update Power Manager properties
  - Cleanup formatting

Bug: 77301298
Test: It compiles
Change-Id: I05a1b3269092c05e7f56c57166d2aebe420d7f6a
2018-04-02 22:45:20 -07:00
Peiyong Lin
584ee3b94a Merge "[Graphics] Update CommandWriter APIs to common::V1_1::* enum." into pi-dev 2018-04-03 04:28:28 +00:00
Ruchi Kandoi
b0cd96080f Changes in current.txt as per NFC 1.1 changes
Test: compiles without errors
Bug: 77496460
Change-Id: Ic0d45b64ac6a06cfa1405842464e69ebdebfe1ca
2018-04-02 17:53:51 -07:00
Ruchi Kandoi
c200342182 Add defaultSysCodePowerState in types.hal in NFC 1.1
Test: Nfc Enable/Disable; test if config is read in logcat
Bug: 77496460
Change-Id: I13e21ba18c03c3c7b9eff3aa67e843e7f063b233
2018-04-02 17:52:50 -07:00
TreeHugger Robot
93a246c7e7 Merge changes Ibab77dce,I0829a91d into pi-dev
* changes:
  Add confirmationui to compatibility matrix.
  Add automotive.audiocontrol to compatibility matrix.
2018-04-02 23:43:43 +00:00
Peiyong Lin
a2acfa2219 [Graphics] Update CommandWriter APIs to common::V1_1::* enum.
Previously we introduced Dataspace V1.1 and PixelFormat V1.1, thus APIs
accepting Dataspace should also be updated to accept V1_1::Dataspace and
V1_1::PixelFormat.

BUG: 77156734
Test: adb shell /data/nativetest/VtsHalGraphicsComposerV2_2TargetTest/VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I00d00749f2895b727a18a28903256128a33e8b97
2018-04-02 15:56:45 -07:00
TreeHugger Robot
5a322f7e64 Merge "Update doc in Gnss Hal v1.1" into pi-dev 2018-04-02 22:50:28 +00:00
Chia-I Wu
aa6eca99e3 Merge "graphics: add RenderIntent and better HDR support" into pi-dev 2018-04-02 22:22:28 +00:00
Steven Moreland
61f1ddf635 Add confirmationui to compatibility matrix.
Bug: 68112778
Test: install compatibility matrix
Change-Id: Ibab77dce5848b0843c5c33048e7d027f0d3fe099
2018-04-02 15:02:26 -07:00
Steven Moreland
adbe943fd5 Add automotive.audiocontrol to compatibility matrix.
Bug: 68112778
Test: install compatibility matrix
Change-Id: I0829a91d2f715886dc226131d4ef50ad0dec8075
2018-04-02 15:01:13 -07:00
Yu-Han Yang
5d21ab2cc1 Update doc in Gnss Hal v1.1
Bug: 74949950
Fixes: 74949950
Test: N/A
Change-Id: I863445417d785c0b346ec96383adfd2366dbd71b
2018-04-02 14:28:33 -07:00
TreeHugger Robot
3cef9bf5b0 Merge "Camera: Validate physical camera related metadata field from legacy HAL" into pi-dev 2018-04-02 20:55:24 +00:00
Chia-I Wu
6c8257feca graphics: add RenderIntent and better HDR support
This adds

  ColorMode::BT2020
  ColorMode::BT2100_PQ
  ColorMode::BT2100_HLG
  Dataspace::BT2020_HLG
  Dataspace::BT2020_ITU_HLG
  RenderIntent::COLORIMETRIC
  RenderIntent::ENHANCE
  RenderIntent::TONE_MAP_COLORIMETRIC
  RenderIntent::TONE_MAP_ENHANCE

and fixes per-frame metadata to be per-layer.  It also clarifies how
the composer should treat certain dataspaces and makes the
corresponding composer changes.

Bug: 73824924
Bug: 32148660
Test: manual
Change-Id: I5d12f50190522103c2ac97ee8dc2d5f6a2dabffe
2018-04-02 13:04:33 -07:00
TreeHugger Robot
7b74f4eb48 Merge "keymaster: provide instance name to getService()" into pi-dev 2018-04-02 18:24:17 +00:00
Yifan Hong
e84319da9d Merge "matrix: add radio.config" into pi-dev 2018-04-02 18:21:01 +00:00
Tomasz Wasilczyk
bdf10416ee Merge "Clear out ambiguity in broadcastradio@2.0 comments." into pi-dev 2018-03-31 02:05:51 +00:00
nagendra modadugu
9c36c91945 keymaster: provide instance name to getService()
Bug: 38430282
Test: VtsHalKeymasterV3_0TargetTest pass with exception
  of (AesEcbWithUserId, RsaAttestation, EcAttestation)
  which are expected failures.

Change-Id: I48e7195f512190deb608f1a69783c92254eef1aa
2018-03-30 18:31:35 -07:00
TreeHugger Robot
c5724787c6 Merge "secure_element: VTS: Remove MANAGE_CHANNEL commands in transmit" into pi-dev 2018-03-31 01:31:31 +00:00
TreeHugger Robot
432a5c0570 Merge "Update RegState for new CellIdentity types" into pi-dev 2018-03-31 01:26:30 +00:00
TreeHugger Robot
5727901a3a Merge "SetMacAddress in Vendor HAL" into pi-dev 2018-03-30 23:51:42 +00:00
Ruchi Kandoi
bf10657783 secure_element: VTS: Remove MANAGE_CHANNEL commands in transmit
Use Dummy APDU and Android CTS AID for the test cases.

Test: Run VtsHalSecureElementV1_0TargetTest
Bug: 77296379
Merged-In: Id5397c9efb000a1737176ebacb6ded0837dc2d61
Change-Id: Id5397c9efb000a1737176ebacb6ded0837dc2d61
(cherry picked from commit c4352bdb21)
2018-03-30 23:45:09 +00:00
Tomasz Wasilczyk
674696f92a Clear out ambiguity in broadcastradio@2.0 comments.
Bug: 76798863
Test: it builds
Change-Id: Icd13a187d3a002e6d1d0af8d360de31a75949b69
2018-03-30 16:01:22 -07:00
TreeHugger Robot
a6c6f2ecfc Merge "Audio V4: Add metadata update to legacy API" into pi-dev 2018-03-30 22:54:36 +00:00
TreeHugger Robot
1398462d18 Merge "matrix: secure_element use regex eSE[1-9][0-9]*" into pi-dev 2018-03-30 20:57:29 +00:00
Ram Periathiruvadi
899d09c3ff Merge "Deprecate DRIVING_STATUS vehicle property." into pi-dev 2018-03-30 20:37:50 +00:00
TreeHugger Robot
e7fb362dc1 Merge "matrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1" into pi-dev 2018-03-30 20:09:56 +00:00
Yifan Hong
45ab966221 matrix: secure_element use regex eSE[1-9][0-9]*
Bug: 68112778
Bug: 73738616
Test: m framework_compatibility_matrix.xml

Change-Id: Ia9db2d3e55c0745f715de14be768ee73adaad988
2018-03-30 12:31:52 -07:00
Enrico Granata
e0bce7913b Merge "Teach VehiclePropertyStore to not propagate the status value when a set() operation comes from Android" into pi-dev 2018-03-30 18:07:22 +00:00
Yifan Hong
1f8a14fce5 Merge "matrix: add gnss 1.1" into pi-dev 2018-03-30 18:04:20 +00:00
Yifan Hong
a1f7f7171a matrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1
Framework only uses these instances. If a vendor extension
of the framework use more instances, they should be added
via DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE.

Bug: 68112778
Test: builds + treehugger (telephony test)
Change-Id: Ie08db3c61f940d78e33f46ecc36e931dc688a7aa
2018-03-30 10:51:20 -07:00
Yifan Hong
ae85d49b31 Merge "matrix: add nfc 1.1" into pi-dev 2018-03-30 17:34:42 +00:00
Yifan Hong
f56d92f582 Merge "matrix: add bluetooth.a2dp" into pi-dev 2018-03-30 17:27:48 +00:00
Yifan Hong
494dd188d6 Merge changes from topic "check_unused_hals" into pi-dev
* changes:
  matrix: ENFORCE_NO_UNUSED_HALS
  matrix: generalize case for LOCAL_WARN_REQUIRED_HALS
  matrix: IGNORE_TARGET_FCM_VERSION -> VINTF_*
  matrix: define LOCAL_MODULE for all modules.
2018-03-30 17:27:13 +00:00
Kevin Rocard
60c1ad7797 Audio V4: Add metadata update to legacy API
The metadata API was not present in the legacy HAL which lots of
developer still use.

Test: Check the method is correctly called on each track change
Bug: 38184704
Bug: 69623109
Change-Id: If56b4ee3739194e49808cf24d728c791b0588f9f
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-30 10:21:48 -07:00
TreeHugger Robot
ab5c4f072c Merge "Support query microphones information." into pi-dev 2018-03-30 16:59:41 +00:00
Brian Young
d83bad7d89 Merge "Add "Unlocked device required" key API" into pi-dev 2018-03-30 14:21:20 +00:00
Shuzhen Wang
448b7e398a Camera: Validate physical camera related metadata field from legacy HAL
Make sure that num_physcam_metadata, physcam_ids, and physcam_metadata
returned from process_capture_result is sane.

Test: LogicalCameraDeviceTest
Bug: 77218595
Change-Id: Ic4d9823569fb86b20ab2ab21edfc32a0e9f5c9c7
2018-03-29 23:34:51 -07:00
TreeHugger Robot
04db1bfe60 Merge "Extend VHAL test property to allow inject events" into pi-dev 2018-03-30 05:23:07 +00:00
Yuexi Ma
4ac131fe12 resolve merge conflicts of e41f291381 to oc-mr1-dev
am: 9e57dd7452

Change-Id: Ib8964f9d9eca9a90f6a203e580dd3f30be2d5b7d
2018-03-30 02:06:11 +00:00
Yifan Hong
860d745e0d matrix: add bluetooth.a2dp
Add bluetooth.a2dp to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml

Change-Id: I818a1d278eeae625f563ce74f056140407c50a64
2018-03-30 00:14:24 +00:00
Yifan Hong
fd7674f596 matrix: add gnss 1.1
Add gnss 1.1 to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml

Change-Id: I4a3676ab85db6c4bd632224298524dfa70f9ecf6
2018-03-30 00:10:06 +00:00
Yifan Hong
da9ee894a2 matrix: add nfc 1.1
Add nfc 1.1 to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml
Change-Id: I48ea252b5f6318f091ecf91dfaee8b71625eafe3
2018-03-30 00:09:19 +00:00