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
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