Commit Graph

340 Commits

Author SHA1 Message Date
Zhijun He
a7b1f6be9c add back nfc_notify for both walleye and taimen
Taimen also has the nfc issue.

Bug: 69482513
Change-Id: I1cff9b02df04c060c98a8baa6378c5bb6f95030b
2018-03-06 15:40:28 +00:00
Steven Moreland
aa948d8357 Only include bitness of hal impls that is used.
Bug: 73829928
Test: boot walleye, check directories, no errors during boot
Change-Id: Ia1272b2bcc5006fa75a50631861fbaccdeed7bee
2018-03-02 17:27:31 +00:00
Petri Gynther
16348760b3 Walleye/Taimen: add wcnss_filter to device.mk
Add wcnss_filter to Bluetooth HAL section of device.mk.

This is done for three reasons:
1. wcnss_filter is part of Bluetooth HAL.
2. Once wcnss_filter is added to device.mk, entire BT section in
   vendor/qcom/msm8998/proprietary/device-vendor.mk can be removed.
3. Switching to QCOM BT HAL becomes easier, just modify device.mk.

Bug: 73968979
Test: Manual build and test with BT A2DP headphones

Change-Id: Iecb725eb360bda624e98b21db154ebf3e9e17381
2018-02-28 14:01:58 -08:00
Edwin Wong
4a99eb5f08 Put move_widevine_data.sh in /system/bin. am: 807b727fd9 am: d013c99e73
am: 275d023584

Change-Id: Idd70629b53abfc8fd85dab260982881f458f3845
2018-02-28 00:27:23 +00:00
Edwin Wong
275d023584 Put move_widevine_data.sh in /system/bin. am: 807b727fd9
am: d013c99e73

Change-Id: I350c5ec8b1d3618120aa649e6a935f448ba53d42
2018-02-28 00:17:51 +00:00
Edwin Wong
807b727fd9 Put move_widevine_data.sh in /system/bin.
Add dependency to install move_widevine_data.sh to /system/bin.

The script is only needed for existing devices that
are running Widevine DRM and are upgrading to Pi or later
Android releases.

Test: Upgrade from O-MR1 to Pi, Netflix & Play Movies
  can play back offline content downloaded in O-MR1

Test: adb shell to verify script is in /system/bin

Test: adb shell to verify widevine data is moved to
  /data/vendor/mediadrm

Test: use audit2allow to verify no avc:denied for widevine drm service

bug: 73656300
Change-Id: Ie42a8229c4d20f71725ba7e8f5c2b267976ed294
2018-02-27 09:37:06 -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
Meng Wang
4015da3d40 Merge "Use device/sample/etc/apns-full-conf.xml" am: 8faa67325b am: 59a3893a00
am: 32c51f2ace

Change-Id: Iff386c76246c7be906a5a834902113d380216d78
2018-02-15 18:20:40 +00:00
Meng Wang
32c51f2ace Merge "Use device/sample/etc/apns-full-conf.xml" am: 8faa67325b
am: 59a3893a00

Change-Id: Idd5b064458cccd9461ca83b2178a385845cd5fb4
2018-02-15 18:13:18 +00:00
Meng Wang
b998c421dc Use device/sample/etc/apns-full-conf.xml
Bug: 73091197
Test: make - /system/etc/apns-conf.xml same as
      device/sample/etc/apns-full-conf.xml

Change-Id: I0bc3df770e3d16a5efdfdd32b6d74516e65aa1da
2018-02-15 05:57:01 +00:00
Adam Seaton
644101574e Increase SVN to 8 for April Security Update Bug: 73240847 am: cf979de246
am: d66f686aad

Change-Id: I133c7227155193508f59f3a89d97dbf1b4cc5226
2018-02-14 20:29:11 +00:00
Adam Seaton
d66f686aad Increase SVN to 8 for April Security Update Bug: 73240847
am: cf979de246

Change-Id: I6b6e9236dadbc3ff90db9761f0249d0b81bbb1a7
2018-02-14 20:22:38 +00:00
Philip Quinn
c113d6879c Enable support for assist gesture hardware on Wahoo.
Bug: 73176604
Test: make -j

Change-Id: I68945c641712545ab8ce89d5424e467933b61df7
2018-02-14 03:09:47 +00:00
Adam Seaton
cf979de246 Increase SVN to 8 for April Security Update
Bug: 73240847
2018-02-12 13:41:14 -08:00
Yang Ni
59a6138a2d Merge "Enable hvx NN service for oc-mr1-nn-dev" am: b25086312c
am: d6739c08de

Change-Id: I24aa722d5127b724e4989c10032cd82b090f2fda
2018-02-12 20:26:23 +00:00
Michael Butler
627510acb8 Enable hvx NN service for oc-mr1-nn-dev
Bug: 67478959
Test: mm, vts, cts
Change-Id: I0cc9dc1b9ba8773536952cd3a6252bc763e49baf
(cherry picked from commit 47f3f80d14b98f6597871be39ca7fa286baddcd6)
(cherry picked from commit 3ece4d183a)
2018-02-05 15:34:32 -08:00
Edwin Wong
2e9c3537f2 Merge "Add SELinux policy for clearkey HIDL service." am: d08d2a34e1
am: ed1410eea2

Change-Id: Ie5872623bf49fbc1624d3b6b059e1468f37866cf
2018-02-02 22:22:19 +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
Edwin Wong
07d21f461b 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

Merged-In: I61e9c272c2a2788fd07d5c12921d28c785661b77

bug: 69635855
Change-Id: I2b6dad3cbefa210400c0169b497ed58d355b85ab
2018-01-31 12:33:20 -08:00
Eino-Ville Talvala
a1c63b3579 Add "android.hardware.camera.ar" feature to Pixel 2
Test: New SystemFeatureTest passes
Bug: 63629224
Bug: 70565622
Change-Id: Id9466248ed9ccd6ad1d6df1092f37f0fdd040ae8
2018-01-24 17:58:16 -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
TreeHugger Robot
b34e449043 Merge "Use PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE instead of PRODUCT_COMPATIBLE_PROPERTY" 2018-01-18 12:09:18 +00:00
Yang Ni
029935d336 Merge "Enable hvx NN service for oc-mr1-nn-dev" 2018-01-17 20:55:42 +00:00
TreeHugger Robot
09e946a9eb Merge "Remove tango_permissions.xml and libtango jar file" 2018-01-17 18:26:49 +00:00
Ranjith Kagathi Ananda
9c42cd1630 Remove tango_permissions.xml and libtango jar file
TangoCore apk is not used anymore and hence these files are removed

Test: Tested on taimen
Bug: 71862081
Change-Id: I06ebb66c64b5aab7eec3ccacc96d1ae54f652f83
2018-01-17 08:09:14 -08:00
Jaekyun Seok
b619b3220c Use PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE instead of PRODUCT_COMPATIBLE_PROPERTY
PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE must be true because
wahoo devices aren't prepared yet for whitelisting actionable system
properties.

Bug: 38146102
Test: tested on walleye
Change-Id: Ic41cbbf6cbe6f191f8ffe9a48609e46aeee5c374
2018-01-17 17:17:28 +09:00
Jaekyun Seok
6b10618407 Mark unlabeled vendor properties with vendor_default_prop
For now, unlabeled vendor properties are marked as default_prop which is
one of core_property_type.
This CL will mark them with vendor_default_prop.

Bug: 38146102
Test: tested on walleye with PRODUCT_COMPATIBLE_PROPERTY=true
Change-Id: I8d4068927f435a0a0732fce86920adc3e7389424
2018-01-17 14:31:30 +09: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
Elisa Pascual Trevino
2a7e46447c Update SVN to 7 for March 2018 Monthly Update Bug:71860241 am: da9a297f50
am: add33e685b

Change-Id: Ia5f29b0b4e9cc5622c58418900e569ec1cbfc72d
2018-01-12 20:51:00 +00:00
Elisa Pascual Trevino
add33e685b Update SVN to 7 for March 2018 Monthly Update Bug:71860241
am: da9a297f50

Change-Id: Id9a4dd112850eb0b36f798f13d171b698dbe0bab
2018-01-12 20:46:58 +00:00
TreeHugger Robot
b173ec1a08 Merge changes from topic "storage_health_interface"
* changes:
  Create sepolicy for Wahoo health HAL service
  Add health service for Wahoo
2018-01-12 17:44:17 +00:00
Elisa Pascual Trevino
da9a297f50 Update SVN to 7 for March 2018 Monthly Update
Bug:71860241
2018-01-11 23:13:52 +00:00
Hridya Valsaraju
dd69b2ca0c Create sepolicy for Wahoo health HAL service
Bug: 68388678
Test: vts-tradefed run vts -m VtsHalHealthV2_0

Change-Id: I4d7214c760948bc07cfdf3143526d137718e4f9a
2018-01-11 10:43:24 -08:00
Daniel Colascione
908a39eb89 Make zram swap mounting conditional on persist.sys.zram_enabled
Test: manual
Change-Id: Id0f73f9516e0b7858a96bd150a8474e51e0cf741
2018-01-08 20:46:39 -08:00
Thierry Strudel
c4822cb332 Merge "wahoo: power: switch to libperfmgr for powerhint" 2018-01-05 06:18:34 +00:00
Wei Wang
d7f901b58d wahoo: power: switch to libperfmgr for powerhint
Test: boot and do powerhint
Bug: 62041945
Change-Id: I7de1d2bf377fb46162171a084fca3413b1067d3b
2018-01-04 13:51:18 -08: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
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
Ian Pedowitz
47af5787b6 Update SVN to 6 for Feb 2017 Monthly Update am: b310f0dfef
am: 95624aa1a9

Change-Id: I6704f350d1e2a88a9fd1e2159eee355469404590
2017-12-22 03:11:50 +00:00
Ian Pedowitz
95624aa1a9 Update SVN to 6 for Feb 2017 Monthly Update
am: b310f0dfef

Change-Id: Iad07636ee238ea3de4d711e1f54e2d6ee889b2dc
2017-12-22 03:09:19 +00:00
Ian Pedowitz
b310f0dfef Update SVN to 6 for Feb 2017 Monthly Update
Fixes: 70921882
Test: source build/envsetup.sh && lunch walleye-userdebug && m -j40
Test: Flashed walleye and Verified that SVN is 06
Change-Id: Id546bb9527343e3965e71bd6cd8df0b19d2c0a32
2017-12-21 15:38:57 -08:00
Yifan Hong
29d68900b9 Merge "Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE" am: aff453d9ed
am: e1bb1b68ad

Change-Id: I7e93002a37617cc5e040b6e9803b32ec99323107
2017-12-15 19:12:37 +00:00
Yifan Hong
5d5386d676 Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 2, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2017-12-14 15:36:02 -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
Andre Eisenbach
f4fcd90e9a Merge "Rename libnfc-brcm.conf -> libnfc-nci.conf" am: cddea04f14
am: 2c61c0098d

Change-Id: Iaacb5769e6bfa7606d94927117f62754e28bc8ab
2017-12-08 18:42:56 +00:00
Andre Eisenbach
40d20d0fb0 Rename libnfc-brcm.conf -> libnfc-nci.conf
Test: manual
Merged-In: I9655a14e021024540cf342022cb817e1f8d0f9ad
Change-Id: I9655a14e021024540cf342022cb817e1f8d0f9ad
2017-12-08 16:47:39 +00:00
TreeHugger Robot
1092c0c341 Merge "Rename libnfc-brcm.conf -> libnfc-nci.conf" 2017-12-08 04:58:29 +00:00
Andre Eisenbach
299ea3dc19 Rename libnfc-brcm.conf -> libnfc-nci.conf
Test: manual
Change-Id: I9655a14e021024540cf342022cb817e1f8d0f9ad
2017-12-07 16:18:45 -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