Commit Graph

140 Commits

Author SHA1 Message Date
Ruchi Kandoi
138bd6b438 Merge "Add support for NFC 1.1" into pi-dev 2018-04-04 19:38:24 +00:00
Ruchi Kandoi
847e28f86e Add support for NFC 1.1
Supresses the following denials:
denied  { add } for interface=vendor.nxp.nxpnfc::INxpNfc pid=5675 scontext=u:r:hal_nfc_default:s0
tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0

denied  { find } for interface=vendor.nxp.nxpese::INxpEse pid=5675 scontext=u:r:hal_nfc_default:s0
tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0

Test: Enable/Disable NFC, Tag reading
Bug: 75980364
Change-Id: I337810ff89d61f796cb213cd931a7b665870029e
2018-04-02 23:53:41 +00:00
Edwin Wong
e3894648fe Rename Widevine HIDL service to v1.1.
Widevine HIDL service added new v1.1 media APIs,
the service version is updated to 1.1.

Test: Netflix and Play Movies & TV (streaming and offline playback)

Test: GTS WidevineH264PlaybackTests test
  e.g. ANDROID_BUILD_TOP= ./android-gts/toolsefed run gts -m GtsMediaTestCases
  --test com.google.android.media.gts.WidevineH264PlaybackTests#testL1With480P30

bug: 69674645
Change-Id: I287d48bf7cef5b3bb30e21b3794cc7422701ca6c
2018-03-31 00:19:54 +00:00
Steven Moreland
0e8c276eb3 DRM: specify exact interfaces used.
Leaving 1.0 in the old format and 1.1 in the new format
since this is agaisnt FCM 2 which requires 1.0 (this makes
sure that OTAs work).

Bug: 73556059
Test: vts_treble_vintf_test (DRM served in 'HalsAreServed')
Test: ota 3/15/2018 build -> ToT + this
Change-Id: I82e6f9fe0b29b15c2e79e92eb9b2abdbab615a71
2018-03-26 16:01:29 -07:00
TreeHugger Robot
f4a1fb284e Merge "Revert "Remove drm@1.1::I*/default and widevine from the manifest."" into pi-dev 2018-03-26 20:00:15 +00:00
Steven Moreland
21dbcfd27d Revert "Remove drm@1.1::I*/default and widevine from the manifest."
This reverts commit d1fc766d4d.

1.1 clearkey was kept in the old format, but because this manifest is
target-level 2, it should have been 1.0 default to be kept in the old
format.

Bug: b/73556059
Reason for revert: b/76227590
Test: boot
Test: vts_treble_vintf_test
Test: update from PPR1.180315.002 -> (ToT + this) succeeds

Change-Id: I6a437bd77c66a4be679da9cb9b44c5a80cb7a9b4
2018-03-26 19:59:49 +00:00
Mehdi Alizadeh
cf65303db1 Removes wifi offload HAL service from Wahoo
Removes wifi offload HAL service from Wahoo devices by removing related
entries from wahoo/device.mk and wahoo/manifest.xml

Bug: 74549432
Test: Check logs and verify offload HAL service is not running
Change-Id: I45799d07e49c03bac73037867fd0b1db95da495a
2018-03-21 19:10:18 +00:00
Yifan Hong
d1fc766d4d Remove drm@1.1::I*/default and widevine from the manifest.
1.1 clearkey is kept using the old format so that OTA
still works (otherwise, the old libvintf on the device
won't be able to see that 1.1 clearkey is on the device,
and will fail OTA.)

Use the latest <fqname> syntax.

Test: build device
Test: lshal
Test: play Google Play videos
Test: vts_treble_vintf_test DRM passes
Bug: 73556059

Change-Id: I7ef58838dbff0e28e55de2a9e9404571d2006af6
2018-03-20 01:22:21 +00:00
Yifan Hong
e848273f3d wahoo: target FCM version = 2
because it serves radio.deprecated.
Fixes: 75321688
Test: vts_treble_vintf_test

Change-Id: I79b03129414140fdc773797adca57135a048397c
2018-03-16 16:43:31 -07:00
Yifan Hong
f276b19001 Remove audio V2 from manifest.
Test: build VINTF metadata
Test: change target-level to 2, build VINTF metadata
Test: vts_treble_vintf_test does not complain on
      audio V2.

Bug: 74341777
Change-Id: Id93c53914bbdaa02098e90912a38c3ba1c341a20
2018-03-16 14:02:44 -07:00
Michael Butler
fcdd5dd588 Match NN manifest version with current HVX version
Currently, HIDL manifests files only support a single version of a HIDL
interface. Even though the Neural Networks API has defined and
implemented a 1.1 HAL, the only real driver (HVX service driver) is
currently only 1.0.

This problem is similar to that in b/73556059. Soon, HIDL will be able
to support multiple interface versions in the device manifest. Until
then, or until the HVX service driver is upgraded to 1.1, the manifest
will be changed to 1.0.

Bug: 74443090
Test: mma
Change-Id: I46811231dff92e136dfccb88e85b8ce70b89ac1d
2018-03-12 14:07:37 -07:00
Yifan Hong
6a644c872b WORKAROUND: add audio 2.0 to manifest
... to fix the mixed build. Wahoo doesn't have audio 2.0
so this is expected to break VtsTrebleVintfTest, but this allows
the GSI + wahoo vendor image to build (because GSI falsely requires
audio 2.0 but wahoo only provides 4.0).

Test: checkvintf manifest.xml compatibility_matrix.legacy.xml
Bug: 74341777
Change-Id: I3403127ae13bb12d9266d9f467391a51b135e73d
2018-03-08 11:08:17 -08:00
Kevin Rocard
2697312928 Migrate pixel 2 to audio V4
Test: regression test on the board
Bug: 38184704
Change-Id: Ife559125850277865451f92ea862e7ec47fc9da7
Merged-In: Ife559125850277865451f92ea862e7ec47fc9da7
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-06 11:30:47 -08:00
Michael Butler
b5cdf6175a Mark NNAPI HAL as 1.1
Bug: 63911257
Test: mm
Test: cts binaries for sample drivers on walleye
Test: vts binaries for sample drivers on walleye
Change-Id: Ifc1f0381e5ac8d63152ad18635dafced10aadfe8
2018-02-28 16:44:30 -08:00
TreeHugger Robot
0536eaae4c Merge "Update IMS Radio version to 1.1." 2018-02-27 19:58:25 +00:00
Steven Moreland
43eb8a3a50 Update IMS Radio version to 1.1.
The version actually being served is 1.1

Bug: 73772212
Test: vts_treble_vintf_test --gtest_filter=VtsTrebleVintfTest.ServedHalsAreInManifest
    passes on walleye.

Change-Id: I84da55d2d1528afe4a8a3e9856b87c0ea15dd5f8
2018-02-22 15:46:08 -08:00
Michael Wright
3e8e659997 Upgrade vibrator to HAL 1.2
Bug: 64184692
Test: build, flash and play with device
Change-Id: I44d82371e6a6d7dc7e05e740aa5f2fdb5c3f8df6
2018-02-22 12:25:36 -08:00
Ajay Nambi
87b0264022 Move AtFwd hal from device to framework manifest.
AtFwd hal is implemented as an android service and
it stars from system partition, that is, it's not
a traditional vendor hal and hence it should be
declared in the framework manifest and not in the
device manifest.
This commit introduces new device specific framework
manifest (framework_manifest.xml) and moves AtFwd hal
from device to framework manifest.

Bug: 68662838
Test: vts_treble_vintf_test atcmdfwd service is served

Change-Id: I9df05206fbe067ddf19a96fc52aba6b2cc922172
(cherry picked from commit b2895ddbcf1cc0b8986b4a80a43a3f0b6eb9fd66)
2018-02-16 23:59:40 +00:00
TreeHugger Robot
ea75afb33e Merge "Add SELinux policy for clearkey HIDL service." 2018-02-02 21:50:30 +00:00
TreeHugger Robot
8269be549f Merge "Remove deprecated tags from wahoo manifest." 2018-02-02 01:15:33 +00:00
Edwin Wong
6c9b99e108 Add SELinux policy for clearkey HIDL service.
Convert clearkey plugin to HIDL to support drm HAL v1.1.
Add SELinux policy for android.hardware.drm@1.1-service.clearkey.

Test: CTS test
  ANDROID_BUILD_TOP= ./android-ccts-tradefed run cts-dev
    --module CtsMediaTestCases
    -t android.media.cts.ClearKeySystemTest#testClearKeyPlaybackCenc

bug: 69635855
Change-Id: I61e9c272c2a2788fd07d5c12921d28c785661b77
2018-02-01 20:43:04 +00:00
Badhri Jagan Sridharan
5e309b9248 Usb Gadget hal implementation for wahoo
(cherry-pick of commit: e9af4669659c306a9c9b1a1ae3a1313a7631357d)

Bug: 63669128
Test: Tested USB gadget configurations and verified
that they enumerated.
Change-Id: If0f98697488f6c7cfe335d4c292acebaaba6c20f
2018-01-26 22:23:05 +00:00
Steven Moreland
b0d2703467 Remove deprecated tags from wahoo manifest.
Bug: N/A
Test: N/A
Change-Id: If522fb1934de36d21921fe9492d1ffc72bc17145
2018-01-23 14:26:03 -08:00
Mikhail Naganov
76a9699fbc Switch to Soundtrigger 2.1 implementation
Bug: 68823037
Change-Id: If634345594ea6d574f49d58e29b48165c3b9458b
Test: "ok google" and music iq from locked screen
2018-01-19 09:38:45 -08:00
Roshan Pius
6bee4eb8b6 Merge changes from topic "hostapd_hidl"
* changes:
  wahoo(sepolicy): Redefine cnss_diag folder
  wahoo(manifest): Add hostapd HIDL interface
  hostapd: Remove treble violation exception
2018-01-18 00:49:19 +00:00
Michael Butler
3ece4d183a Enable hvx NN service for oc-mr1-nn-dev
Bug: 67478959
Test: mm, vts, cts
Change-Id: I0cc9dc1b9ba8773536952cd3a6252bc763e49baf
(cherry picked from commit 47f3f80d14b98f6597871be39ca7fa286baddcd6)
2018-01-16 12:11:24 -08:00
Roshan Pius
a743f91623 wahoo(manifest): Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: Ia7ef8bf3da8adc3491c4dac4096e4297cbd5bf5b
2018-01-09 12:09:30 -08:00
TreeHugger Robot
8c94d1d429 Merge "Revert "configstore: applied uprev of configstore"" 2018-01-05 06:02:45 +00:00
Shawn Willden
e6657935e8 Restore KM4 reference HAL.
This is temporary, until we get the hardware implementation from
Qualcomm.  When we do, this reference implementation will be replaced.
Until then, keystore will notice this implementation when starting up,
but favor the hardware keymaster 3.0 implementation.  Engineers who
wish to do testing and development with the KM4 reference HAL on wahoo
can simply remove the hardware 3.0 implementation from the device.mk
file.  Keystore will then find no HW implementation and will load the
SW implementation.

Test: Boot and run KM4 VTS tests.
Change-Id: I1b7183b221041b55792200a2aa3e0ed974da2e0b
2018-01-04 12:29:50 -07:00
Sundong Ahn
6752f8c544 Revert "configstore: applied uprev of configstore"
This reverts commit aee1b828f7.

Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in master will be down
revisioned to 1.0.

Bug: 71555815
Test: build & run
Change-Id: Ie441c505ccc17403e4e5450b3ac86a23f2272e8f
2018-01-04 15:43:33 +09:00
Janis Danisevskis
c426d90f15 Remove KM4 reference HAL.
On wahoo devices we see bootloops due to failure to get KM4 HAL service
from hwservicemanager despite being running and registered.
This patch removes the reference KM4 HAL for now.

Test: N/A
Change-Id: I06cc6ce46d1fd754eefaff287e5e3cd8720507e3
2018-01-03 17:54:44 -08:00
Yifan Hong
2c18c1f721 Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 2, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2017-12-13 11:08:00 -08:00
Wei Wang
70e630035c Merge "Power: Implement PowerHal 1.2" 2017-12-06 00:13:17 +00:00
Wei Wang
8ce5e19a67 Power: Implement PowerHal 1.2
Convert all perfd hints into PowerHAL hints

Test: do camera/audio powerhint
Bug: 62041945
Change-Id: I82c8ca99b76d70d716eabedb617a126446646b7d
2017-12-04 11:56:39 -08:00
Shawn Willden
02ae863437 Add support for SW-only KM4 HAL
Test: VtsHalKeymasterV4_0TargtTest
Bug: 63931634
Change-Id: I0a5a553ff76c39903442e64d28b38e315b27e852
2017-11-14 08:09:06 -07:00
Yifan Hong
77f70d9fcb wahoo: add health@2.0 hal.
Test: adb logcat -e health
Test: lshal --debug

Change-Id: I3b14f087d95578d034898600592cb6fb357a9958
2017-10-31 11:23:44 -07:00
Michael Butler
4d294cdae4 Merge "Disable NN API HVX service for OC-MR1 release" into oc-mr1-dev am: 013bc26d6e
am: 493a67bf7e

Change-Id: I49473ba3ac667bce8877ad5cf6a4903635eda23f
2017-10-17 04:03:16 +00:00
Michael Butler
876493dfe6 Disable NN API HVX service for OC-MR1 release
Bug: 67478959
Test: mma
Test: hvx service is no longer started
Test: hvx service is no longer uploaded to device
Test: frameworks/ml/nn's NeuralNetworksTest
Change-Id: I9b3571d246b1e48815bfce8a791cfcd2bc609778
2017-10-16 23:25:27 +00:00
Roshan Pius
7ac3822af8 Merge "wahoo(manifest): Uprev to supplicant 1.1" 2017-10-11 01:50:30 +00:00
Roshan Pius
7f89808da7 wahoo(manifest): Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2017-09-27 14:02:57 -07:00
Garik Badalyan
f5564a01f6 Remove slot2 instance QcRilAudio HAL
The device doesn't support MSIM and
hence the second instance of the QcRilAudio
HAL won't be available.

cherry picked from e7427bc226af55b44d5e7a440446cd7a111c6e32

BUG=65255945
Test: lshal doesn't show slot2 on wahoo
Change-Id: I22baba6ce215422a729914820f32303ed2de0c85
2017-09-27 15:58:54 +00:00
Todd Poynor
76283f2754 thermal: update to Thermal HAL v1.1 am: de912858f8
am: 5f104443e5

Change-Id: I8cf84439642837ae09952e796acb8062d91f2f8e
2017-09-20 18:42:04 +00:00
Todd Poynor
de912858f8 thermal: update to Thermal HAL v1.1
Updates for IThermal V1.1, add IThermalCallback registration method.

Bug: 30982366
Test: VtsHalThermalV1_1Target on walleye
Change-Id: I71d2a14c669c66bf69608735c68350141bf647e9
2017-09-20 18:04:32 +00:00
Etan Cohen
c732976da8 [WIFI][TREBLE] Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2017-09-14 08:42:12 -07:00
Sundong Ahn
abcd27e3e8 Revert "configstore: applied uprev of configstore"
This reverts commit aee1b828f7.

Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in mr1 will be down
revisioned to 1.0.

Bug: 64999074
Test: build & run
Change-Id: I5713c6f38a18b2669eb9514f7f7c84359e736e52
2017-08-25 16:59:52 +00:00
Michael Butler
6812ee4cd1 Walleye configuration for the initial Android Neural Networks upload.
Uploads the HIDL hvx service and sepolicy.

Bug: 63905942
Test: mma -j40
Change-Id: Ie5508c6ade5a16897b7b786a71bf1825423f4deb
(cherry picked from commit 49e5e88a7dc584afd02d74fb97053043516f489c)
2017-07-25 06:22:03 +00:00
Thierry Strudel
5693bda225 Merge "add atfwd service and related policy." into oc-dr1-dev am: ac31ae9116
am: 8e0c005989

Change-Id: Ifb836c554e63201a0590e966e19e1d53c4312f2a
2017-07-18 15:02:17 +00:00
Thierry Strudel
8e0c005989 Merge "add atfwd service and related policy." into oc-dr1-dev
am: ac31ae9116

Change-Id: I74ef7d5e15563322fcd049c01417a708a7b58335
2017-07-18 14:58:48 +00:00
TreeHugger Robot
ac31ae9116 Merge "add atfwd service and related policy." into oc-dr1-dev 2017-07-18 14:54:03 +00:00
Roshan Pius
e83f6522f3 Merge "manifest.xml(wahoo): Add wifi 1.1 package" into oc-dr1-dev am: cd3b139506
am: dca7815894

Change-Id: Ice91440c9508d18a7b66bd5d025245d6afe975b0
2017-07-17 20:16:45 +00:00