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
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
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
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
614ffc163a
Refine broadcastradio HAL comments.
...
Bug: b/64113304
Test: it builds
Change-Id: I42c1d32dbe436c97f0a05b4fdb88f60f11ceb0a1
2017-07-29 17:31: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
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
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
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
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
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
3b36a83a2e
Update makefiles (2/2).
...
Test: pass
Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
2017-04-11 09:58:03 -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
Steven Moreland
561b602a99
Update makefiles for hwtypes.h
...
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
2017-03-28 15:18:20 +00:00
Tomasz Wasilczyk
7410c72d30
Merge "Verify all radio classes, instead of FM only."
2017-03-23 23:15:03 +00: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
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
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
0d6118f767
Merge "Test ITuner::setConfiguration against bad input."
2017-03-08 20:00:25 +00: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
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