Commit graph

57 commits

Author SHA1 Message Date
Tomasz Wasilczyk
2a4c584f74 Merge "Implement out-of-band metadata images." 2017-07-19 23:20:26 +00:00
Tomasz Wasilczyk
ba3e254483 Implement out-of-band metadata images.
This saves a lot of HIDL bandwidth, by not including raw image data in
metadata vector.

Bug: b/63702941
Test: VTS
Change-Id: I73d5218095e4af34c58da8dcfc520abd4cb46c26
2017-07-19 13:38:26 -07:00
Shuo Qian
0fb4201377 Merge changes from topic 'b/62584347' into oc-dr1-dev am: 696cb63064
am: 42e8b6e078

Change-Id: I8a060ba938a1b32b7e3da88e775a6b0ec1cfd67a
2017-07-19 19:03:04 +00:00
Shuo Qian
696cb63064 Merge changes from topic 'b/62584347' into oc-dr1-dev
* changes:
  Modified error code for OPERATION_NOT_ALLOWED
  Change mapping of QMI error
2017-07-19 18:48:54 +00:00
Roshan Pius
974d1d3a4a Merge "wifi: Add the missing RTT capabilities" into oc-dr1-dev am: b3ea84438b
am: d640e70bb5

Change-Id: I092a22ac149299509ae064b18e4afdd2346417be
2017-07-18 23:36:28 +00:00
Naina Nalluri
236e8e4b78 Change mapping of QMI error
Change mapping of QMI_ERR_OP_NETWORK_UNSUPPORTED
from MODE_NOT_SUPPORTED to OPERATION_NOT_ALLOWED.

Test: run vts
Bug: 62584347

Change-Id: I16a17579581f891701750b4be52cc2ef57594d0c
2017-07-17 15:56:56 -07:00
Roshan Pius
08df76ec0d wifi: Add the missing RTT capabilities
These feature flags are defined in the legacy HAL, but were not exposed in the HIDL
interface.

Updated the hash in current.txt using 'hidl-gen -L hash -r
android.hardware.wifi@1.1:hardware/interfaces -r
android.hardware:hardware/interfaces -r
android.hidl:system/libhidl/transport
android.hardware.wifi@1.1::IWifiChip'

Bug: 63545934
Test: Manual testing
Change-Id: Ia196e0fc1c5e305210ec95eb8a54b1a1204ebf20
2017-07-17 13:21:23 -07:00
Philip Cuadra
1abeacdd18 Merge "Add powerHintAsync functionality" into oc-dr1-dev am: 35197b7ab2
am: 6ccb71c977

Change-Id: Ia54ff20b182331aa6deea98b45e2f16a9e431c9e
2017-07-14 17:10:08 +00:00
Philip Cuadra
48750dc0f3 Add powerHintAsync functionality
Add an async version of powerHint called powerHintAsync.

Bug: 62377008
Test: Take systrace, confirm powerHint is now an async HIDL transaction

Change-Id: I7c4d850ef17c909977675771d6c2b8a3fa1609d2
2017-07-13 15:01:31 -07:00
Amit Mahajan
f6df1b24e8 Merge "Add an empty 1.1 ISap interface." into oc-dr1-dev am: 48d56695ce
am: 79a995784d

Change-Id: Ifb840fd38617df376f52e3d4a1d6ebf3151293a1
2017-07-13 18:12:36 +00:00
Amit Mahajan
48d56695ce Merge "Add an empty 1.1 ISap interface." into oc-dr1-dev 2017-07-13 17:47:48 +00:00
Steven Moreland
a704a9b895 Remove configstore from the list of O-MR1 HALs. am: dc6e5d1b6a
am: 64056535e4

Change-Id: I5735fbb99b049cfbde884a9aef63350f4712f3e3
2017-07-12 22:20:40 +00:00
Amit Mahajan
3b24b6eb2f Add an empty 1.1 ISap interface.
This is needed since manifest doesn't support different versions
for different interfaces in a package. Since there's a 1.1 for
IRadio, there needs to be a 1.1 for ISap as well.

Test: build
Bug: 63598469
Change-Id: I9a0bd898e5d236f05d6574b3e3093521d0f57d52
2017-07-12 10:26:51 -07:00
Steven Moreland
dc6e5d1b6a Remove configstore from the list of O-MR1 HALs.
This interface was removed.

Test: none
Bug: 63440035
Change-Id: I984b4553f5e31d9b3926f4b3d2abc891909fcb51
2017-07-11 19:26:06 -07:00
Steven Moreland
3588248248 Merge "Freeze wifi 1.1 interface." into oc-dr1-dev am: 34c42877fb
am: cbd241a949

Change-Id: Ic98ba55d9e005ba8b1af268dedce336fecde91ab
2017-07-07 03:43:04 +00:00
Steven Moreland
84bc8e95e2 Freeze wifi 1.1 interface.
Test: pass
Bug: 62437848
Bug: 62421345
Change-Id: Ib3bd3bbc28e6f0d34716781d4247ac0411128933
2017-07-06 15:04:05 -07:00
Tomasz Wasilczyk
7f7c8c9bc7 RDS PI is a number, not a string.
Makes an ABI-stable change to a hal definition file.

Bug: b/63147256
Test: manual, VTS, instumentalization
Change-Id: I7f1d88dea77fcfd7c203427c094553a6ae89d43b
2017-06-29 18:55:54 -07:00
Tomasz Wasilczyk
0202b3e7b3 Make tuned field description more precise and fix VTS tests to obey it.
Also makes an ABI-stable change to a hal definition file.

Bug: b/36864490
Test: VTS
Change-Id: Ibf3513722144a559c31d0f61eb84bc718cd9dbdc
2017-06-29 16:21:54 +00:00
TreeHugger Robot
cb4ac8559d Merge "Freeze first batch of HALs for O-MR1" into oc-dr1-dev 2017-06-29 03:46:35 +00:00
sqian
017f15c2b0 Update .hal file for radio 1.0 hal
Test: compile, treehugger
Bug: 62584347
Change-Id: Ic595d9934d3d4e059cfa40c5f6da3f4cc97b3352
2017-06-28 14:44:41 -07:00
Steven Moreland
0c0138fead Freeze first batch of HALs for O-MR1
These HALs are being used, so they are frozen
in MR1.

Test: none
Bug: 62421345
Change-Id: I9e739be751efdc6fc263325346d0c81dd113e630
2017-06-28 10:55:09 -07:00
Fabien Sanglard
47bd6b4a71 Skip Validate
am: 11ec393689

Change-Id: I47c68719ce214ee40ed0e58ec1a0ddc9c14a2b2a
2017-06-22 05:58:08 +00:00
Fabien Sanglard
11ec393689 Skip Validate
b/37474580
b/62806392

Test: marlin, ryu

Change-Id: I9d4ece40a8a093d768bcb4edd332cf0188735e66
2017-06-22 04:48:33 +00:00
sqian
6381ac46aa Update IRadioResponse.hal documentation
Update the error codes

A copy of https://partner-android-review.googlesource.com/#/c/836552/
+ some missed updated error codes
+ request_not_supported

Test: Manual
Bug: 35671595
Change-Id: I2880b442b5fd56149abc83949c12e2eba5ee67df
2017-06-21 10:26:47 -07:00
Jie Song
cc4ddffeec Update hash and VTS for the 2nd FD of dumpstate
Bug: 33820081
Test: Run VTS
Change-Id: I139dfed6edb20fada2676684ab7013daefa69bc8
2017-06-20 09:58:13 -07:00
Shuo Qian
c1feed1128 Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: I48640bc1b6225e39309f2832613986fce4a43754
2017-06-09 02:13:08 +00:00
sqian
08e90550f1 Fix vts tests:
Fixed with QC updated documentation:
- setGsmBroadcastConfig
- getGsmBroadcastConfig
- setGsmBroadcastActivation
- getImsRegistrationState
- pullLceData
- deleteSmsOnSim
- deleteSmsOnRuim
- sendDtmf
- startDtmf
- stopDtmf
- sendBurstDtmf

Try to increase timeout to 75 to fix (suggest by QC in b/35671595 #62):
- dial

Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 35671595, 35800570
Change-Id: Idd50bf71ae4c4490722d88d7cba0485b9d49073b
2017-06-08 11:30:13 -07:00
Etan Cohen
a7a059ebbf [AWARE] Fix validity check on PMK + export PASSPHRASE lengths
Bug: 62376042
Test: unit tests + integrated (sl4a) tests
Change-Id: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb
2017-06-07 20:54:31 +00:00
TreeHugger Robot
fd8da20eca Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev 2017-05-26 00:14:47 +00:00
Scott Randolph
3209fb3738 Fix typos in IEvsEnumerator descriptive comment
IEvsEnumerator::openCamera had a typo and the incorrect name of a related
interface in one of the descriptive comments.  This fixes those issues
and updates the checksum for the interface.

Bug: 38508696
Test: build evs_app and evs default driver.
Change-Id: I24f3ca2bc3652711a4ee2ea9a37428d4bdafc509
2017-05-22 16:58:15 -07:00
sqian
284c53c028 update .hal file to fix vts test
Test: Manual
Bug: 35671595
Change-Id: Ic97cc8e9a713bfa22f9986c18ddb5af624142b17
2017-05-18 14:06:44 -07:00
Sanket Padawe
41ea816c9d Merge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev 2017-05-10 02:27:04 +00:00
Naina Nalluri
9cc29c8f57 Update IRadioResponse.hal documentation to fix failing VTS
update IRadioResponse.hal documentation with
nas/data error codes

Bug: 35671595
Test: Only doc update.
Change-Id: I5a106e05b487f7deecb208af6465e5ea5238b26e
2017-05-09 15:23:48 -07:00
Eino-Ville Talvala
71619beef7 Camera: Remove TODOs in interfaces
These are tracked elsewhere and won't be addresed for the initial
interface versions.

Update current.txt hashes; comment-only update

Test: Compiles
Bug: 34108979
Bug: 33269977
Bug: 33262893
Change-Id: I0c0521cf69649d871f64a67773ce822db2487044
2017-05-09 11:32:27 -07:00
Yu Liu
216b87090d Renamed enums in IGnssNavigationMessageCallback.hal from GNSS prefix to
GPS prefix; also made some comment fixes in IGnssMeasurementCallback.hal

BUG: 37946308
Test: Existing tests still pass.

Change-Id: Ia29c3f3943f0373e18634ddeede2ff5eb8998050
2017-05-05 20:08:47 +00:00
Chia-I Wu
4376069e9d graphics: polish Transform docs and indent ColorMode
Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: I95381d1a3a456aeadbc472e2dbbffde19cb43e6c
2017-04-28 13:04:08 -07:00
Chia-I Wu
8de7a17b82 graphics: remove non-HAL pixel formats
HALs are not expected to see YCBCR_422_888, YCBCR_444_888,
FLEX_RGB_888, and FLEX_RGBA_8888.  JPEG is purely wrong.

Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: I432e6cb75cfc347a41e8e1632ae1898eed3350c8
2017-04-27 16:55:47 +00:00
Chia-I Wu
00d459d039 graphics: clean up PixelFormat docs
Make the docs more self-contained, not referring to stuff not
defined by the HIDL interfaces.

Mark JPEG, YCBCR_422_888, YCBCR_444_888, FLEX_RGB_888,
FLEX_RGBA_8888 as "MUST NOT USE".  These format are never supposed
to be seen by gralloc and do not belong to the HIDL interfaces.

Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: Ia7607cc73dd2f58dfa27e71b0004b21c7ca6904d
2017-04-27 16:54:32 +00:00
Chia-I Wu
0875af5cbe Merge "graphics: reorder PixelFormat" into oc-dev 2017-04-27 16:54:04 +00:00
Chia-I Wu
841468ad6a graphics: reorder PixelFormat
Sort the enum values in their numerical order. There is no other
change.

Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: I47914a7971f922f5602f982b41dd7602842e853b
2017-04-27 16:41:08 +00:00
TreeHugger Robot
5eca115b68 Merge changes from topic 'fix_configure_chip' into oc-dev
* changes:
  Fix configureChip() VTS test
  Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
2017-04-27 00:56:34 +00:00
Shuo Qian
05935a7e06 Merge "Update .hal file for fixing vts tests" into oc-dev 2017-04-26 23:21:23 +00:00
sqian
159ec7fbf5 Update .hal file for fixing vts tests
- update 'voice' and 'sms' based on QC pdf file
- remove GENERIC_FAILURE still there
- fix duplicate error code

Note, current.txt updated only because this interface
has not been released as of the time of this CL.

Test: Manual
Bug: 35671595
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
2017-04-26 18:45:38 +00:00
Ningyuan Wang
b1ad3a7bf1 Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
Bug: 36562856
Bug: 37446050
Test: compile, VTS test fail as expected
Change-Id: I895dd0d6e96b0d0a2b429c3a68be1f7c7e32a7e3
2017-04-26 10:44:58 -07:00
Mikhail Naganov
3242e248c4 Merge "audiohal: Fix typos in comments, add missing comments" into oc-dev 2017-04-25 22:19:43 +00:00
Chia-I Wu
0a0e31c42d Merge changes from topic 'hals-should-use-mapper' into oc-dev
* changes:
  graphics: use mapper from the composer
  graphics: clarify importBuffer and passthrough HALs
2017-04-25 22:12:57 +00:00
Chia-I Wu
ec74596af8 graphics: clarify importBuffer and passthrough HALs
A buffer handle recieved from a HAL is by definition raw and needs
to be imported.  But because of passthrough HALs, such a raw handle
may have been imported already.  Explicitly specify that an
implementation must accept such a raw handle.

Bug: 37540361
Test: boots on angler, ryu and marlin
Change-Id: I5ecf526e59b27cc4a8f7f5d5ec27477da0946ece
2017-04-25 12:52:50 -07:00
Mikhail Naganov
3a2470f82d audiohal: Fix typos in comments, add missing comments
These changes are in comments only, no ABI breaking changes.

Bug: 32238101
Test: make
Change-Id: Iead4ba01dae1a1c05d8fbed7f194182128e9e6ad
2017-04-25 10:59:53 -07:00
Wyatt Riley
0442918818 Adding missing NI_TYPE for emergency SUPL
Bug: 37409476
Test: Builds, and on Pixel, basic GPS & XTRA tests pass.
Partners & Pixel team running the SUPL emergency tests.

Change-Id: I6b23608e82dc1682d61a516ab5045d3b78b53cae
2017-04-21 12:52:46 -07:00
TreeHugger Robot
f6470873f4 Merge "Clarifying comments and todos, update current.txt." into oc-dev 2017-04-21 15:39:26 +00:00