Commit graph

85 commits

Author SHA1 Message Date
Pawin Vongmasa
7e3570f08e Merge "Fix typos in IOmxStore.hal" into oc-mr1-dev am: 941b614064
am: 87165bb092

Change-Id: I4724699054648351683d3b139f45dab7799a30aa
2017-09-19 01:30:07 +00:00
Pawin Vongmasa
ed95ab31e1 Fix typos in IOmxStore.hal
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 65719609
Bug: 65769027
Change-Id: I44d62cd5a8aa21d9fa816d5f0bf663e943a21bb5
2017-09-16 23:10:51 -07:00
Nathan Harold
de210afb90 Merge "Fix docstrings for RIL_CellIdentity" into oc-mr1-dev am: 2de5e5d01a
am: ee35809840

Change-Id: I3abc61991c047f7f9ee8dbeecb8d095b91ff5c53
2017-09-13 20:11:52 +00:00
Nathan Harold
8d2d747e9e Fix docstrings for RIL_CellIdentity
Update the documentation to match the current
CTS requirements for Cell Identity reporting
-For LTE, WCDMA, and GSM require that the channel
 number be reported.
-For LTE and WCDMA, require that the correct
 physical channel identifier be reported. Note that
 due to b/32774471 we still cannot require BSIC
 to be reported.

Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
2017-09-12 10:17:53 -07:00
Scott Randolph
552f24634c Merge "Additonal usage note updates for Audio properties" into oc-mr1-dev am: ecc01b9c36
am: 15373a9494

Change-Id: Ic4f08b3f88baaade77714d5d6b5bf008b08123ce
2017-09-06 23:26:05 +00:00
Scott Randolph
66339cfc3a Additonal usage note updates for Audio properties
Mostly comment updates for clarification.
Updates the names of a few constants (but not their value nor usage).

Test: build for Mojave
Change-Id: Ic9021f82fa4bd960189e005f074f2b407be13ae7
bug: 65384336
2017-09-05 16:49:00 -07:00
Scott Randolph
b02563e7fa Merge "Add RINGTONE to Vehicle HAL AUDIO_FOCUS" into oc-mr1-dev am: b58c3ccdde
am: 6839b6cdd3

Change-Id: Ifb2a50ca5398bb488bfd3a4257e8ce473996df81
2017-09-05 22:10:55 +00:00
Scott Randolph
065a085a3f Add RINGTONE to Vehicle HAL AUDIO_FOCUS
Test:  build on Mojave with associated CarService changes
Change-Id: I7fcf9b4bb1808971f4fc8265a7d581dce57be3d3
Bug: 64729839
2017-09-05 12:12:16 -07:00
Steven Moreland
0f6b22147e Merge "Fix HALs to not have transitive depends." into oc-mr1-dev am: cf0ee37180
am: 87b997de66

Change-Id: I44ac13171655c10f10a397b956df9b5c70321983
2017-08-30 16:28:17 +00:00
Steven Moreland
97993e842c Merge changes from topic "o-mr1-hal-freeze" into oc-mr1-dev am: ce8f5cec2d
am: 1c0e5e6b4c

Change-Id: Ia85f7b5d5ce9ebdd911e4f5515d4e515c62ef495
2017-08-29 00:06:50 +00:00
Steven Moreland
218c6d8b2f Fix HALs to not have transitive depends.
Bug in hidl-gen allowed this to work.

Test: -Lcheck
Bug: 65055216
Change-Id: Ia0cbaac4c8bfd93be169f4fab5c9ce016ee6c473
2017-08-28 11:13:19 -07:00
Steven Moreland
6f1de2968a O-MR1: HIDL freeze-commit
Freezing libraries which are being released in O-MR1.

Note the following remaining items:
- configstore@1.1 will be removed from O-MR1 (since it doesn't
  add anything)
- neuralnetworks@1.0 will be frozen later (as it has some
  remaining changes in progress)

Bug: 63603463
Test: -Lcheck
Change-Id: I888896a66e742613d0ce64c4ca6206972ac6aca8
2017-08-25 12:44:15 -07:00
Steven Moreland
5d5c2ec5fc Move auto hash to right location in current.txt.
This doesn't actually matter in practice, but this
will help keep the file sane and make sure the wrong
hashes aren't modified in the future.

Test: pass
Bug: 63603463
Change-Id: I89e320d36c41b08ebbcee320ac37565bb1aa708c
2017-08-25 10:45:10 -07:00
Pavel Maltsev
8d37cf60b2 resolve merge conflicts of 0d6eca0e to master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id762ceddec08446d76769ea5c7a2a791ed6fd1c8
2017-08-25 05:35:53 -07:00
Pavel Maltsev
250139c8b0 Merge Vehicle HAL 2.1 iface to 2.0
Vehicle HAL is property based and all properties are considered
optional. It is quite a bit of pain to create new versions of VHAL only
to extend properties.

Bug: 64303350

Test: build and flash, verefied system works stable.
Change-Id: I8adb858f53a5d9d31f7444bf97ae09baf2fffafa
2017-08-24 21:59:18 -07:00
Etan Cohen
5256cea578 resolve merge conflicts of 3718363c to master
Test: builds
Change-Id: I9e3bcca3e22c0787ca621b6229cbcfd750220698
2017-08-15 16:50:37 -07:00
Etan Cohen
36591cb5f5 [AWARE] Fix maxNdpSessions documentation
Clarify meaning of maxNdpSessions capability. Total, not per interface.

Bug: 64685830
Test: builds
Change-Id: I24fc0a97172a4ca161f432b6c5c1dc55a44dfb12
2017-08-14 14:12:11 -07:00
Sanket Padawe
b47b680d2a Merge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev am: ffd04a5daa
am: 5436fb248e

Change-Id: I503f14e64bc37f810054745b7da9f13c81b99fc2
2017-08-08 06:34:30 +00:00
TreeHugger Robot
ffd04a5daa Merge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev 2017-08-08 06:16:47 +00:00
Tomasz Wasilczyk
ccbf1a0bab Merge "Refine broadcastradio HAL comments." into oc-mr1-dev am: 084351dcb2
am: 4a2b89b272

Change-Id: I370d54227502428b05c84cda81b4978794ad489d
2017-07-31 17:19:16 +00:00
Tomasz Wasilczyk
614ffc163a Refine broadcastradio HAL comments.
Bug: b/64113304
Test: it builds
Change-Id: I42c1d32dbe436c97f0a05b4fdb88f60f11ceb0a1
2017-07-29 17:31:56 -07:00
Sanket Padawe
13735eae6d Update IRadioResponse.hal to add new error codes.
Bug: 62926561
Test: Only build test as its only doc update.
Change-Id: Ia94aa11a8a4bb8672811158c5daf80a1ae1470da
2017-07-28 14:49:25 -07:00
Roshan Pius
83fe3af72f Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev am: dda74bcf77 am: 80d7976194
am: e85d6ce693

Change-Id: Ic04d8553780a69a8bf09f879b06f7219272c4a4d
2017-07-28 03:08:30 +00:00
Roshan Pius
e85d6ce693 Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev am: dda74bcf77
am: 80d7976194

Change-Id: I2108c1e58bfd68245037c1b98d63077ab195e520
2017-07-28 02:59:20 +00:00
Roshan Pius
82396e9e1b Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev
am: dda74bcf77

Change-Id: I504fe9096b855c6270c50c1e46b4e5ee26b9ea67
2017-07-28 02:51:57 +00:00
Roshan Pius
735ff43197 wifi(hidl): Modify the SAR power levels interface
Modifying the interface used to lower the tx power level for meeting SAR
requirements based on recommendation from the nexus hardware team. The
previous interface passed in a single power value in dBm for meeting SAR
requirements. However, the SAR requirements are more complex than that.
Based on the connection mode (802.11 a,b,g,n,ac) and the number of
streams that are active (MIMO), the SAR power levels are very
different. Using the previous interface would mean that we will have to
use the lowest power level among all the connection modes to meet the SAR
requirements. This would however result in us lowering the power much
more than needed (~2 dBm) for many connection modes.
Instead, we're switching to a more generic interface where the framework
informs the wifi chip that we're entering a special tx power mode scenario
(today, there is only 1 for voice call). The chip can then lookup the
extensive table of power levels for different connection modes which are
pre-populated by the OEM's in the BDF file to set the power level (depending
on the scenario framework sends and the active connection mode).

Bug: 62437848
Test: Manual tests
Change-Id: I5ee3f0d2c130958dbeb352e3b5ad9407f432624f
2017-07-27 14:05:03 -07:00
Scott Randolph
82494aa6fb Merge "Update vehicle hal usage comments" 2017-07-20 23:28:49 +00:00
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
Scott Randolph
95b4f6ad10 Update vehicle hal usage comments
Fix typos and clarify a couple of sentences in the descriptive comments
associated with Vehicle HAL (especially with respect to AUDIO).

Test:  make -j40
Change-Id: If3bcb82a68d28c5560398174e5201227c15596d4
2017-07-13 19:29:30 -07: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