Steven Moreland
73949c1d7e
Update makefiles for hidl adapter.
...
am: 26a0bb2762
Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +00:00
Steven Moreland
26a0bb2762
Update makefiles for hidl adapter.
...
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Tomasz Wasilczyk
f679e8b6ec
Branch out Broadcast Radio 1.2 HAL.
...
Bug: 62945293
Change-Id: Ic84f9fe6c17040053257085801208ed527fd07ab
Fixes: 64115813
Test: instrumentation, VTS
2017-09-21 13:25:17 -07:00
Tomasz Wasilczyk
7c353e9dd8
Merge "Adjust AM/FM region ranges." into oc-mr1-dev
2017-09-13 15:36:09 +00:00
Tomasz Wasilczyk
ab70ddf2eb
Adjust AM/FM region ranges.
...
Bug: 64541927
Test: instrumentation
Change-Id: I34ea5b0b426f0c0c73d1cbc2d64cb67e2d4b7bd6
2017-09-12 11:57:09 -07:00
Tri Vo
ba6d6e5767
VTS tests now static link to HAL def libs.
...
am: b65c5ceff2
Change-Id: I393284c12ca5cb79926c4891ffcfd332408a5b9f
2017-08-28 19:23:36 +00:00
Tomasz Wasilczyk
f4bae95eab
Move Broadcast Radio HAL to a separate binary.
...
Bug: 63600413
Test: VTS, instrumentation
Change-Id: I34a779a6608f52bcadaca1dc159bcee02186b49f
2017-08-28 09:45:40 -07:00
Tri Vo
b65c5ceff2
VTS tests now static link to HAL def libs.
...
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.
Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
2017-08-25 11:48:10 -07:00
Steven Moreland
dfd8287506
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
2017-08-14 20:25:09 +00:00
Steven Moreland
f901ba801f
Merge "Updating all makefiles." into oc-dr1-dev-plus-aosp
2017-08-14 19:19:33 +00:00
Tomasz Wasilczyk
848f29c2d1
Merge "Widen dummy band range to cover all regions." into oc-mr1-dev
2017-08-12 00:15:55 +00:00
Steven Moreland
ff308ea6ba
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
2017-08-11 22:58:47 +00:00
Tomasz Wasilczyk
fc73b0fcbd
Merge "Update broadcastradio HAL 1.0 VTS tests." into oc-dev
...
am: 52af675d14
Change-Id: Ic5080cb6b22cd3984d0eb39d87cabf7c8a30178d
2017-08-11 22:16:16 +00:00
Tomasz Wasilczyk
9e7774c3b9
Update broadcastradio HAL 1.0 VTS tests.
...
This is a cherry-pick of the following VTS changes from O MR1 to O:
- ag/2462390: Fix Broadcast radio 1.0 VTS to not fail on
other radio types than AM/FM.
- ag/2477726: Make tuned field description more precise and
fix VTS tests to obey it.
- ag/2549733: Implement out-of-band metadata images (a test for in-band).
Additionally, it fixes config callback handling in OpenTunerTwice test.
Bug: b/64324703
Test: VTS
Change-Id: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
Merged-In: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
2017-08-11 11:58:09 -07:00
TreeHugger Robot
b0e7821fcb
Merge "Update broadcastradio HAL 1.0 VTS tests." into oc-mr1-dev
2017-08-11 18:56:16 +00:00
Tomasz Wasilczyk
394b343ae5
Update broadcastradio HAL 1.0 VTS tests.
...
This is a cherry-pick of the following VTS changes from O MR1 to O:
- ag/2462390: Fix Broadcast radio 1.0 VTS to not fail on
other radio types than AM/FM.
- ag/2477726: Make tuned field description more precise and
fix VTS tests to obey it.
- ag/2549733: Implement out-of-band metadata images (a test for in-band).
Additionally, it fixes config callback handling in OpenTunerTwice test.
Bug: b/64324703
Test: VTS
Change-Id: I590b9b4d927fb0cd41f92e919343b5b94ad0e246
2017-08-10 20:28:18 -07:00
Tomasz Wasilczyk
701a5bdda5
Widen dummy band range to cover all regions.
...
Bug: b/64115131
Test: VTS, instrumentation
Change-Id: I34e9aac440a003226200243c835e6116ba7eae90
2017-08-10 16:07:20 -07:00
Tri Vo
2883486706
Merge "VTS tests now static link to HAL def libs. #2 " into oc-mr1-dev
2017-08-10 17:45:07 +00:00
Tri Vo
0c2ce357b1
VTS tests now static link to HAL def libs. #2
...
And use VtsHalTargetTestDefaults.
Bug: 64040096
Test: crop out all non-affected tests from vts-hal-hidl.xml and run
vts-tradefed run commandAndExit vts-hal-hidl --skip-all-system-status-check
--skip-preconditions
2 failures, same as without this change:
GatekeeperHidlTest.DeleteAllUsersTest
GatekeeperHidlTest.DeleteUserTest
Change-Id: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
2017-08-10 17:44:57 +00:00
TreeHugger Robot
2187f58fad
Merge "Add OWNERS for broadcast radio HAL 1.1." into oc-mr1-dev
2017-08-08 19:26:42 +00:00
Tomasz Wasilczyk
75c2bd8d1c
Add OWNERS for broadcast radio HAL 1.1.
...
Test: not necessary
Change-Id: I73881db46382276f56963c9d3a40cb0bdc1a2070
2017-08-07 17:46:31 -07:00
Tomasz Wasilczyk
da97a6dd42
Change VENDOR program types to range.
...
Bug: b/64331420
Test: VTS, instrumentation
Change-Id: If91d8e6835ed3acaf429bb05b96f3d3a7985d19b
2017-08-07 10:27:28 -07:00
Tomasz Wasilczyk
eabdc13839
Merge "Pass ProgramInfo over currentProgramInfoChanged and drop afSwitch_1_1." into oc-mr1-dev
2017-08-05 20:47:14 +00:00
TreeHugger Robot
0a21415efa
Merge changes from topic 'hidl-vndk-enabled-oc-mr1' into oc-mr1-dev
...
* changes:
Mark hidl utils as vndk
Manually update makefile for vndk-sp hidl libs.
Update make file for vndk enabled.
2017-08-05 02:01:37 +00:00
Tomasz Wasilczyk
dd130660d3
Pass ProgramInfo over currentProgramInfoChanged and drop afSwitch_1_1.
...
Bug: b/64229617
Test: VTS, instrumentation
Change-Id: Id2d209a31d801f85e197312673eb6b7ee63ada46
2017-08-04 12:14:53 -07:00
Justin Yun
608d773ef8
Update make file for vndk enabled.
...
Update the Android.bp generated with hidl-gen.
Test: build with and without BOARD_VNDK_VERSION=current
Bug: 63866913
Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7
2017-08-04 14:12:23 +09:00
Tomasz Wasilczyk
fa3a559d86
Pass vendor-specific info as map.
...
This solves a problem of identifying, if a given application is talking
to a hardware that can handle format of these strings.
Bug: b/64229617
Test: VTS, instrumentation
Change-Id: If1a5f9900800b8537ef158beefcbaf3c1008c3da
2017-08-03 18:21:47 -07:00
Tomasz Wasilczyk
dd58770c39
Implement missing broadcastradio 1.1 VTS tests.
...
Bug: b/36864490
Test: VTS
Change-Id: Iff25fdd65624db09e6667d32108e479d5eee6964
2017-08-03 12:59:12 -07:00
Tomasz Wasilczyk
e16fb74b05
Merge "Linguistic fixes for broadcastradio 1.1 HAL." into oc-mr1-dev
2017-08-03 16:54:54 +00:00
Tomasz Wasilczyk
b75bb41575
Merge "Address Broadcast Radio HAL review notes." into oc-mr1-dev
2017-08-03 16:52:31 +00:00
Tri Vo
f5d136c231
Update Android.bp HIDL makefiles
...
Allow HAL definition libs to be static.
Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104
2017-08-03 00:30:01 +00:00
Tomasz Wasilczyk
9214894ebc
Linguistic fixes for broadcastradio 1.1 HAL.
...
Bug: b/64113304
Test: it builds
Change-Id: I5d5d090a44146e327d7b0f69cc2ba97060f3b515
2017-08-02 13:35:09 -07:00
Tomasz Wasilczyk
b8a2afe446
Address Broadcast Radio HAL review notes.
...
Bug: b/64229617
Test: instrumentation, VTS
Change-Id: I4009b33eaea6df585f514711f22dfb7fec5ad379
2017-08-01 14:53:43 -07: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
Tomasz Wasilczyk
efadc19b6b
Make virtual radio space generic, not only FM-exclusive.
...
Bug: b/36864090
Test: VTS, instrumentalization
Change-Id: I2764d09f56a397a1b80914a2634d6bad4b3bd3d2
2017-07-29 11:29:46 -07:00
Tomasz Wasilczyk
5be4c2b6e3
Remove a hack for 1.0/1.1 bitmap compatibility.
...
Instead, implement it correctly.
This hack was a quick jury-rigging before O MR1 FC.
Bug: b/36864090
Test: VTS
Change-Id: Ia9caff9228518ec573a85437e9070db777057359
2017-07-29 11:29:46 -07:00
Tomasz Wasilczyk
753c1d1ef2
Implement closing default radio implementation by invalidating all future calls.
...
Also, use the new hidl_vec range constructor.
Bug: b/36864090
Test: VTS
Change-Id: I92a22ab7f263edd39e42abb65bc25b3d3dc33a1e
2017-07-29 11:29:46 -07:00
Tomasz Wasilczyk
6e93c9c8ba
Broadcast Radio default implementation: analog forced switch.
...
Bug: b/36864090
Test: VTS
Change-Id: I2b7bcf2bb3ad7075f39280ab72b32bff5bf166a3
2017-07-28 08:58:08 -07:00
Tomasz Wasilczyk
c1763a6796
Fix remaining broadcastradio 1.1 VTS TODOs.
...
This includes:
- cover all AM/FM bands, not just first one
- fix flakiness on late callback dereference
- fix 1.0 tuneComplete check
- move utils includes into separate subdirectories
Bug: b/36864490
Test: VTS
Change-Id: I6e2427ac29abd6278c9783cf83b4df05195ac7ea
2017-07-26 14:41:35 -07:00
Tomasz Wasilczyk
5ca56431d4
Rename vendorExtension fields to vendorInfo.
...
Bug: b/63634552
Test: instrumentation
Change-Id: Ifeb41ace8d4f4df093c925883c07ea86f0d9b5d7
2017-07-19 16:26:56 -07: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
Tomasz Wasilczyk
9400122ce8
Merge "Add DRMO_MODULATION program identifier type."
2017-07-19 13:55:56 +00:00
Tomasz Wasilczyk
5a76ec53c2
Add DRMO_MODULATION program identifier type.
...
Bug: b/63702941
Test: it builds
Change-Id: I3353b232c2e24f7e3c816d4089b2cbf40c4b79ae
2017-07-19 06:53:39 -07:00
Yifan Hong
c67f7b09fd
Mark a.h.broadcastradio@1.1-utils-lib as vendor_available
...
It is used by libandroid_servers, a platform module.
Test: BOARD_VNDK_VERSION=current m libandroid_servers -j
Bug: 33241851
Change-Id: Iac260092d488133033b9a5f0238f7993ab5ef7f0
2017-07-18 15:37:28 -07:00
Tomasz Wasilczyk
85a60baea1
Merge "Make it possible to check if a given program/identifier type is supported."
2017-07-18 17:00:55 +00:00
Tomasz Wasilczyk
bb47714f8d
Merge "Fill announcement-related gaps in Broadcast Radio APIs."
2017-07-18 16:49:17 +00:00
Tomasz Wasilczyk
8ca043b286
Merge "Added programInfoChanged callback."
2017-07-18 16:15:17 +00:00
Tomasz Wasilczyk
dc5291d63c
Merge changes from topic 'radio-sprint-selector'
...
* changes:
Split VENDOR program type to four distinct types.
Move utils lib out from implementation namespace.
2017-07-18 15:36:23 +00:00
Tomasz Wasilczyk
e192c39c51
Make it possible to check if a given program/identifier type is supported.
...
Test: VTS
Bug: b/63702941
Change-Id: I8bf162646971188d3bed006c66eb25f1f5dc8df9
2017-07-17 16:56:02 -07:00
Tomasz Wasilczyk
24180098d7
Fill announcement-related gaps in Broadcast Radio APIs.
...
- adds TA and TP flags to ProgramInfo struct
- adds a callback to cancel announcement
Bug: b/63702941
Test: Instrumentalization, VTS
Change-Id: I03a0781d37429d4a84aab2dce3e5bb7794a20c57
2017-07-17 16:56:02 -07:00
Tomasz Wasilczyk
f8866e79d7
Added programInfoChanged callback.
...
Also, updated tuneComplete_1_1 and afSwitch_1_1 to match the new behavior
(not passing the whole ProgramInfo struct).
Bug: b/32621193
Test: VTS (none added)
Change-Id: Ic8aee15b05cb982d97e550fc0806f34fbe112e22
2017-07-17 16:56:02 -07:00
Tomasz Wasilczyk
d167caff30
Split VENDOR program type to four distinct types.
...
Bug: b/32621193
Test: VTS, none added
Change-Id: Ia3b793faeed1129932cf312d231c7d661542fda9
2017-07-17 16:55:56 -07:00
Mikhail Naganov
afae464376
Add OWNERS for audio-related HAL default implementations
...
Test: not needed
Change-Id: Idefe7be10bde22866be82f87118b9b54e74c3f40
2017-07-14 17:14:53 +00:00
Tomasz Wasilczyk
2834b95b12
Move utils lib out from implementation namespace.
...
RadioService may benefit from it too.
Also, fix subchannel base, as I found a tiny comment about it in the 1.0 HAL.
Bug: b/32621193
Test: instrumentalization
Change-Id: I11939025b72bdeab4cc6393e25159f53164e22ed
2017-07-13 14:14:11 -07:00
Tomasz Wasilczyk
bb5f29c9fb
Use broadcastradio 1.1 default implementation by default.
...
Also, remove a warning for 1.1 interface, as the hidl freeze mechanism
is now in place.
Bug: b/34348946
Test: VTS, instrumentalization
Change-Id: I82025a7de8abd0758ba8b196bbbfc48b9322ac3b
2017-07-12 12:23:41 -07:00
Tomasz Wasilczyk
c9ba646a72
Refactor Broadcast Radio 1.1 VTS test.
...
Also apply some minor fixes and log tweaks to the default implementation.
Bug: b/36864490
Test: VTS
Change-Id: I16558d71c6cdee71854ecae9106b8a1c78032439
2017-07-10 15:32:29 -07:00
Tomasz Wasilczyk
a02b6ef23c
Implement ProgramSelector at HIDL layer.
...
No front-end implementation yet.
Bug: b/32621193
Test: VTS
Change-Id: I48f034e709254836cad35bbeb4285c3c42a9e1cd
2017-07-06 17:45:26 -07:00
Tomasz Wasilczyk
2af8c52a6a
Merge "Add RDS info to virtual stations, convert to ProgramInfo."
2017-07-05 21:22:46 +00:00
Tomasz Wasilczyk
100f2ed58a
Add RDS info to virtual stations, convert to ProgramInfo.
...
Bug: b/36864090
Test: manual, VTS (none added)
Change-Id: Iad54f5abee4c722030ae118cb3c4d8ad64225b34
2017-06-30 09:06:30 -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
TreeHugger Robot
ad48396212
Merge "Move broadcastradio test to vendor."
2017-06-29 20:00:34 +00:00
Steven Moreland
cfc836a326
Move broadcastradio test to vendor.
...
This is a vendor test and is causing builds with BOARD_VNDK_VERSION
to fail during soong processing.
Bug: 37342627
Test: BOARD_VNDK_VERSION=current builds fail later
Change-Id: Icc465b36ff0ecb0ac6c13ba99271eb9b86db6948
2017-06-29 11:09:33 -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
Tomasz Wasilczyk
4837755ce9
Initial Broadcast Radio HAL 1.1 default implementation.
...
The new implementation does not rely on legacy HAL, it implements
HAL 1.1 directly instead.
This is not a full implementation yet, but passes all existing tests.
Bug: b/36864090
Test: VTS, instrumentalization, Unit
Change-Id: Ic8eddd19d0bf6777b4086d099183d71e05d7da0e
2017-06-28 14:00:19 -07:00
Tomasz Wasilczyk
da72d37770
Fix Broadcast radio 1.0 VTS to not fail on other radio types than AM/FM.
...
Bug: b/36864090
Test: VTS
Change-Id: I402f2fb00a553af2118e8a7595f5b377befcaa01
2017-06-26 16:22:51 -07:00
Tomasz Wasilczyk
02b9cbaa85
Implement getProperties_1_1 for broadcast radio 1.1 default implementation.
...
Bug: b/36863239
Bug: b/38167547
Test: instrumentation
Change-Id: I129ff7c1a1e6a4711b6352dd6f22d16a324066f3
2017-06-13 10:21:24 -07:00
Steven Moreland
7708449766
Update makefiles. (2/2) am: 76cfb84140
...
am: f203167814
Change-Id: I1f13401266f3c2f78c627088b09c79cd7c8d0276
2017-05-22 17:29:04 +00:00
Steven Moreland
f203167814
Update makefiles. (2/2)
...
am: 76cfb84140
Change-Id: I24d21438a5b2f447d2160929c6ff6e17b2b66820
2017-05-22 17:15:20 +00:00
Steven Moreland
76cfb84140
Update makefiles. (2/2)
...
Adds default configuration for all hals.
Bug: 38415912
Test: pass
Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e
2017-05-19 15:54:03 -07:00
Tomasz Wasilczyk
6ca90ed3cf
Fix getProgramList comment about possible result.
...
Also change default implementation results for not implemented calls
to be less harsh.
Test: instrumentation
Bug: b/36863239
Change-Id: I7f9adea8aa5b84aec81be13f5614ba16c8b74b75
2017-05-15 15:39:00 -07:00
Steven Moreland
d09cf863da
Update makefiles for c++-sources and c++-headers. (2/2) am: bc71124120
...
am: a32ebce372
Change-Id: Ic1dd8f98e72656bc12a6e5224e541f75afb79daa
2017-05-11 01:38:14 +00:00
Steven Moreland
a32ebce372
Update makefiles for c++-sources and c++-headers. (2/2)
...
am: bc71124120
Change-Id: Icf36068a4d863a8520854c7a83e51f960c188e12
2017-05-11 00:48:55 +00:00
Steven Moreland
bc71124120
Update makefiles for c++-sources and c++-headers. (2/2)
...
Test: pass
Bug: 38174080
Change-Id: Icad451f9f9ad5f46412356a4171a8a1222f8e545
2017-05-09 19:58:43 -07:00
Tomasz Wasilczyk
20af5c5ed5
Merge "Convert android.hardware.broadcastradio@1.x-impl to soong."
2017-05-02 22:54:43 +00:00
Steven Moreland
5c63b11f76
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 15:29:30 -07:00
Tomasz Wasilczyk
cff13a5a60
Convert android.hardware.broadcastradio@1.x-impl to soong.
...
Bug: 37512442
Test: it builds
Change-Id: If5bd21af21324e323efe3bc2fd77fe0d23560ea5
2017-05-02 13:43:01 -07:00
Steven Moreland
2cd0d42d72
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 10:17:28 -07:00
Steven Moreland
d5bf55bd5a
Merge changes from topic 'hidl-vendor-available' into oc-dev am: 17f0c0dde7
...
am: fce6b7f0d9
Change-Id: Ic95bee140e0bbbf094e89dcc7d0d99c30966786c
2017-04-12 22:54:17 +00:00
Steven Moreland
3b36a83a2e
Update makefiles (2/2).
...
Test: pass
Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
2017-04-11 09:58:03 -07:00
Tomasz Wasilczyk
861fc27c48
Merge "Add opaque vendorExension fields to ProgramInfo and Properties structs."
2017-03-31 15:32:55 +00:00
Tomasz Wasilczyk
979120dfa9
Merge "Add analog force mode for analog/digital hybrid modes."
2017-03-30 16:08:29 +00:00
Tomasz Wasilczyk
c7002820c3
Add analog force mode for analog/digital hybrid modes.
...
Bug: b/32621193
Test: existing VTS pass, none added.
Change-Id: I240829d9aea553f450a0530aa1cfaa7a317134fd
2017-03-29 14:21:23 -07:00
Andreas Huber
d3b9971ad8
Merge "Convert all comments into "doxygen-ready" comments." into oc-dev am: 8074912d8c
...
am: dda8e88d3f
Change-Id: I292a512e234be1de0dafa100b13798de840e8c5e
2017-03-29 19:04:07 +00:00
Tomasz Wasilczyk
64ae1dd748
Add opaque vendorExension fields to ProgramInfo and Properties structs.
...
Bug: b/34348946
Test: existing VTS pass, none added.
Change-Id: I3e049356b4a6045e1d3a117df8c500513777e53f
2017-03-29 09:13:42 -07:00
Andreas Huber
40d3a9bd8c
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: mma
Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
2017-03-29 08:53:58 -07:00
Tomasz Wasilczyk
8414af1053
Merge "Add background scan capability callback broadcast radio HAL."
2017-03-28 19:55:10 +00:00
Tomasz Wasilczyk
22e5f17eec
Add background scan capability callback broadcast radio HAL.
...
Bug: b/34054813
Test: it builds.
Change-Id: Idf931f2f5fd280c0af6f0154170a79f7e57747ab
2017-03-28 11:27:09 -07:00
Steven Moreland
561b602a99
Update makefiles for hwtypes.h
...
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
2017-03-28 15:18:20 +00:00
Tomasz Wasilczyk
094c1d9de8
Merge "Add background scan routines and callbacks to broadcast radio HAL."
2017-03-24 16:14:21 +00:00
Tomasz Wasilczyk
7410c72d30
Merge "Verify all radio classes, instead of FM only."
2017-03-23 23:15:03 +00:00
Tomasz Wasilczyk
803301a2ed
Add background scan routines and callbacks to broadcast radio HAL.
...
Bug: b/34054813
Test: existing VTS pass, none added.
Change-Id: I2009e73a9e5edc4752366fd84f67b5a745856441
2017-03-23 14:59:41 -07:00
Tomasz Wasilczyk
2f46101660
Verify all radio classes, instead of FM only.
...
Also, a bit of code cleanup.
Bug: b/33382424, b/32022455
Test: VTS
Change-Id: Ib314027b256a6ca4bfa75e9de2ba70990a00b4da
2017-03-23 09:59:23 -07:00
Steven Moreland
54cc198022
update-makefiles for transisitive dependencies
...
Test: pass
Bug: 36162559
Change-Id: I4f5fddaef9811f0da1d69fa26a5d34830a1a9634
2017-03-20 07:13:46 -07:00
Tomasz Wasilczyk
a8542b28ef
Merge "Set skipSubChannel both to true and false when testing scan and step methods."
2017-03-17 21:53:10 +00:00
Steven Moreland
09287fdd13
Remove unused using statements.
...
Bug: 36099713
Test: pass
Change-Id: Ied915bec14dae3234d6b47ced28af95d7d1d178f
2017-03-16 22:48:59 -07:00
Tomasz Wasilczyk
a8dec0f907
Set skipSubChannel both to true and false when testing scan and step methods.
...
Bug: b/33382424, b/32022455
Test: VTS
Change-Id: If61fef78555c69a10e3b239ec8cc61bb199e399c
2017-03-14 10:20:53 -07:00
Yuexi Ma
ed2bb4e8f8
Change vts target base test class name
...
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
2017-03-10 21:14:48 +00:00
Tomasz Wasilczyk
b39197c5d1
Merge "Add generic flags to ProgramInfo struct."
2017-03-10 16:01:54 +00:00
Steven Moreland
48c52249e4
hidl_default to all targets.
...
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh
Test: pass
Bug: 35840847
Change-Id: If10c464d2f000b85c8d698fe11a4f3fc4cfad282
2017-03-08 19:31:53 -08:00
Tomasz Wasilczyk
c466b4997d
Add generic flags to ProgramInfo struct.
...
Start with two for HD Radio/DAB: live and muted. And a vendor range.
Test: it builds.
Bug: b/32621193
Change-Id: I3761bab2abb31a29f8bcbf53683774e465cdcf5a
2017-03-08 15:31:58 -08:00
Tomasz Wasilczyk
0d6118f767
Merge "Test ITuner::setConfiguration against bad input."
2017-03-08 20:00:25 +00:00
Tomasz Wasilczyk
0f06da1179
Merge "Add getProgramList call."
2017-03-08 15:51:30 +00:00
Tomasz Wasilczyk
2dd1d8dcfe
Add getProgramList call.
...
Test: existing VTS tests pass, but none added.
Bug: b/34054813
Change-Id: I33891256c0b7ba7edd8ca42074e65900169e2952
2017-03-07 17:40:31 -08:00
Tomasz Wasilczyk
10877cd2e8
Test ITuner::setConfiguration against bad input.
...
Bug: b/33382424
Test: VTS
Change-Id: I9c1f31e1a55e6b45e24daaec029c43c535a2e600
2017-03-07 17:04:26 -08:00
Tomasz Wasilczyk
f3c036d7d6
Extend configChange and tuneComplete callbacks with checking the carried value.
...
Bug: b/33382424
Test: VTS
Change-Id: I52f4b0641f01fcd120e43d235b7747b7c9ca739a
2017-03-07 08:19:56 -08:00
Tomasz Wasilczyk
59d985df88
Test ITuner::tune failing when channel out of the range is provided.
...
Test: VTS
Bug: b/32022455
Change-Id: I8eac71ef1ec8628cfaa9fcd0c668ce79e845b3d6
2017-03-03 13:02:15 -08:00
Tomasz Wasilczyk
be71e9c5ba
Extend broadcast radio VTS tests by tuner reopening scenario.
...
Bug: b/33779707, b/33382424
Test: VTS
Change-Id: Icd60ed9109a379d7c7ae385f479c08fd5011ed7f
2017-03-03 09:51:38 -08:00
Yuexi Ma
50d7e27b3c
change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)
...
Bug: 33385836
Test: mma
Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8
2017-02-28 22:27:28 +00:00
Tomasz Wasilczyk
213170b663
Create Broadcast radio HAL 1.1; implement DigitalStatus enum.
...
Test: VTS
Change-Id: I338c467c4e373cae547f331ba876afa040238376
2017-02-27 13:13:26 -08:00
Steven Moreland
7e73d5b908
Remove viral dependency on libhwbinder. (2/2)
...
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh
Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.
Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
2017-02-24 12:18:01 -08:00
Chris Phoenix
f609010707
BroadcastRadio HAL uses "default" service name
...
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: builds
Bug: 33844934
Change-Id: I49622132d25c15597f46c19330a9d0b8dbffa704
2017-02-22 18:31:55 -08:00
Zhuoyao Zhang
8422f6aa04
Update the test binary and source file name on master.
...
* To confirm with Vts naming convention.
Bug: 35273456
Test: mma
Change-Id: I845da64085253cd02480465479618308045a52ed
2017-02-21 20:47:18 -08:00
Tomasz Wasilczyk
830f21552b
Review radio metadata allocations/deallocations.
...
Bug: b/34054813
Test: VTS, manual
Change-Id: I5533c10c34634ef35eaa436653887fa2bc409006
2017-02-15 16:57:00 -08:00
Steven Moreland
a0da1a1c3d
Move hidl shims to the vendor partition. (2/2)
...
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.
Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
2017-02-13 15:03:41 -08:00
Tri Vo
85120c9490
Update makefiles to use filgroup syntax.
...
Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
2017-02-10 12:45:19 -08:00
Tri Vo
ce608bec74
Migrate driver/profiler to test/vts-testcase/hal.
...
Bug: 34893894
Test: mmma hardware/interfaces
Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
2017-02-07 19:13:28 -08:00
Keun Soo Yim
7b9b6ca18f
move VTS stub files and non-functional tests
...
Test: mma
Bug: 34976004
Change-Id: I20273bdc3a05e2986fcf921f65d2afd6d72781e4
2017-02-04 02:45:25 +00:00
Zhuoyao Zhang
e9b43bbe2d
Update Andriod.bp for hals.
...
* Add driver/profiler build rule for all hals.
Test: mma
Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
2017-02-03 10:03:01 -08:00
Steven Moreland
66816de87f
Remove useless Android.mk files.
...
Test: none
Change-Id: I99f4d3e5b943742009e366b13bee2c32e38a3fba
2017-01-18 11:49:08 -08:00
Mark Salyzyn
3ff5260601
liblog: use log/log.h when utilizing ALOG macros
...
Test: compile
Bug: 30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
2017-01-11 15:47:40 -08:00
Yifan Hong
a18049ad13
Bp/nFoo -> Bp/nHwFoo.
...
Test: mma
Bug: 33554989
Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
2017-01-11 13:14:59 -08:00
Tomasz Wasilczyk
5cc9d866d2
Make metadata field mandatory for program info struct.
...
Test: VTS, manual
Change-Id: I532dbb0f3d9cb5194265c67fd1328bce55e43b9d
2017-01-06 14:19:11 -08:00
Steven Moreland
b643842192
Return<*> getStatus().isOk() -> isOk()
...
Bug: 31348667
Test: compiles
Change-Id: If8d5a23f80dbc04127635b49f1ef77398fc9f8a1
2017-01-04 10:40:05 -08:00
Martijn Coenen
028223775b
Remove obsolete references to IPCThreadState/ProcessState.
...
Threadpool can now be configured/joined if needed with
configureRpcThreadpool() / joinRpcThreadpool().
Bug: 31226656
Test: mma
Change-Id: I0d7d9924cc8c8851cc2b61ebdae906204909890e
2016-12-30 14:00:31 +01:00
Yifan Hong
501839495f
Update makefiles for hidlizing IBase.
...
A new dependency android.hidl.base@1.0 is added for
all projects.
Test: mma
Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:01:14 -08:00
Yifan Hong
f9d303435d
Update to use the correct logging library.
...
Test: mma compiles
Change-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
2016-12-01 17:47:02 -08:00
Eric Laurent
566fcdabaa
Basic target VTS test for broadcast radio HAL
...
Test: build and run test
Bug: 32022455
Change-Id: Iad696acae8d76bc8c5cad05eee0c6635dc9a855a
2016-11-30 16:59:08 -08:00
TreeHugger Robot
32094ca29f
Merge changes I0b1a0979,I4aa89a39
...
* changes:
Added AOSP license headers.
Remove HIDL_GENERATED from things written by hand.
2016-11-30 18:15:48 +00:00
Steven Moreland
d6e4f03acf
Remove HIDL_GENERATED from things written by hand.
...
find . -name "*.h" -exec sed -i 's/HIDL_GENERATED_\(.*\)_H_/\U\1_H/g' {}
+
They now match what would be generated by -Lc++-impl. This prevents
confusion over whether or not the files are autogenerated.
Change-Id: I4aa89a39907024aa9525df71ff3715979f431357
Similar commit: https://android-review.googlesource.com/#/c/305996/
Test: pass
2016-11-29 15:05:31 -08:00
Steven Moreland
d26dc50abb
Always specify underlying enum type.
...
Bug: 33197891
Test: compiles
Change-Id: I3d4822ea9a665708302d3bd1460425fddf1dcda9
2016-11-29 14:22:10 -08:00
Steven Moreland
bbff14d4bb
Merge "Update makefiles for logging."
2016-11-22 17:25:36 +00:00
Steven Moreland
f8d68ec855
Update makefiles for logging.
...
Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
2016-11-21 16:28:54 -08:00
Eric Laurent
fda400b5be
fix build for broacast radio HAL implementation
...
Test: make full-eng
Change-Id: I5cfae94a5f4097290d57c7481312d48d417c31dd
2016-11-21 12:13:05 -08:00
Eric Laurent
a174588f8d
Revert "Revert "Initial implementation of broadcast radio HAL.""
...
This reverts commit 2c2df013b2
.
2016-11-21 10:41:22 -08:00
Eric Laurent
d82c3be1a5
Merge "Revert "Initial implementation of broadcast radio HAL.""
2016-11-19 04:27:42 +00:00
Eric Laurent
2c2df013b2
Revert "Initial implementation of broadcast radio HAL."
...
This reverts commit a33b3419a3
.
Change-Id: I8e1c0f3891f02febe148e837b48b80e645a24ce2
2016-11-19 04:11:15 +00:00
TreeHugger Robot
4433847341
Merge "Initial implementation of broadcast radio HAL."
2016-11-19 02:26:07 +00:00
Eric Laurent
a33b3419a3
Initial implementation of broadcast radio HAL.
...
Test: make
Test: manual test with RadioTest app.
Bug: 31973526
Change-Id: I66199b95999aa92718bb325f8a4ec84a38e2dd69
2016-11-18 16:26:01 -08:00
Yifan Hong
6b920e43d3
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
Colin Cross
b785f5b82e
Support genrules with multiple tools
...
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.
Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
2016-11-04 22:49:15 -07:00
Steven Moreland
fcd74ebcdc
Running update makefiles.
...
https://android-review.googlesource.com/#/c/298160/
Test: pass
Change-Id: I14fcde2d3aacc8f8cd9221f2d69e2feae9ae1226
2016-11-02 10:24:33 -07:00
Steven Moreland
69727778a7
Stop all these merge conflicts.
...
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:04:37 +02:00
Eric Laurent
402a829db2
initial HAL definition for bradcast radio (e.g FM radio)
...
Bug: 31973526
Change-Id: Ibdc3f2558104eb56bcb744c431d1213ce3459ed8
2016-10-21 16:58:08 -07:00