Commit graph

348 commits

Author SHA1 Message Date
Tim Murray
f35f4d8a08
clover: rootdir: add restricted cpuset
bug: 78197570
Test: CTS

Change-Id: I6aaac2f3ce9ba886143e3667df2ca044c7f3d3f0
2018-10-19 11:52:30 +02:00
Steven Moreland
73a8c26a67
clover: light: mark as shutdown critical
Required because the lights need to be turned off late in boot
(e.x. during fsck for disk health), and before, blank_screen
accessing light encountered a race condition where if it didn't
get scheduled before all of the processes which were getting
shutdown were getting killed, the screen wouldn't blank.

Bug: 74976325
Test: adjusting brightness continues to work
Test: screen blanks during shutdown at the correct time
    including when an artificial 5s delay is inserted when
    the phone normally fscks (which can also be quick)

Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
2018-10-19 11:52:05 +02:00
guaiyihu
d605cdfde8
clover: Clean up non-exsistent hal in manifest.xml
Change-Id: Ie45f56421df60311cf0fa5b881e3ef9f14a170fa
2018-10-19 11:47:08 +02:00
Max Weffers
46b21710c0
clover: add vendor prefix for dpm feature prop 2018-10-19 11:46:39 +02:00
Edwin Wong
d38f63a5ae
clover: Add manifest entry 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-10-19 11:41:55 +02:00
Steven Moreland
734d0d707e
clover: 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-10-19 11:39:02 +02:00
Kevin Rocard
30eb0a3612
clover: Migrate 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-10-19 11:37:59 +02:00
Yifan Hong
f9178dba76
clover: uprev to health@2.0 hal.
Test: adb logcat -e health
Test: lshal --debug

Change-Id: I3b14f087d95578d034898600592cb6fb357a9958
2018-10-19 11:35:45 +02:00
guaiyihu
7476099d79
clover: prop: Update CNE blobs from Nokia 7 Plus
* Onyx_00WW-user 9 PKQ1.180712.001 00WW_3_150 release-keys

Change-Id: I9da238c7f4bd40acb70358df1d0718c9db41729e
2018-10-19 11:22:28 +02:00
Bharat Pawar
6ea7bfe32a
clover: remove improveTouch HAL Entry from manifest
* Also drop improveTouch blobs

Change-Id: I28d9a9a586239f776528e9b63de85efef8ffa021
2018-10-19 11:15:46 +02:00
Max Weffers
7a7fe6add7
clover: update vendor props based on whyred 8.9.6 2018-10-19 11:05:28 +02:00
Roshan Pius
1658c27ff9
clover: Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: Ia7ef8bf3da8adc3491c4dac4096e4297cbd5bf5b
2018-10-19 10:27:41 +02:00
Yifan Hong
5c37551434
clover: Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 1, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2018-10-19 10:20:42 +02:00
Jeff Vander Stoep
b0888ee43d
clover: wifi_supplicant: Deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on 8996 targets
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
(cherry picked from commit 1f2b2f3a780bb7a6ed489bf86e18e77382f37514)
2018-10-19 10:18:26 +02:00
Roshan Pius
51bb83a4c5
clover: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-10-19 10:17:44 +02:00
Roshan Pius
1085886de4
clover: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-10-19 10:16:44 +02:00
Roshan Pius
82026f32ba
clover: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-10-19 10:15:39 +02:00
Jeff Vander Stoep
d623e91b4e
clover: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-10-19 10:15:18 +02:00
Etan Cohen
3fde877185
clover: 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
2018-10-19 10:13:12 +02:00
Max Weffers
9564f5e45d
clover: hardcode fingerprint to fpc hardware 2018-10-19 09:52:45 +02:00
Max Weffers
0ba689a6f2
clover: audio: Update audio configs from MIUI 8.9.20 2018-10-18 17:00:04 +02:00
Max Weffers
e6fe701fda
clover: Add qcom sensor config 2018-10-18 16:21:07 +02:00
Max Weffers
d1c4756c18
clover: Add CarbonROM Copyright for all makefiles 2018-10-18 15:56:59 +02:00
Max Weffers
b52ada92d4
clover: config: fix device mk malformatation 2018-10-18 15:54:47 +02:00
Max Weffers
f35a4af673
clover: config: Include Vendor Blobs from clover 2018-10-18 15:53:24 +02:00
Max Weffers
cfa664e7ff
clover: config: Adjust AAPT Config for Tablet usage 2018-10-18 15:52:38 +02:00
Max Weffers
9f3626aba1
clover: rootdir: Update to MIUI 8.9.20 stock ramdisk 2018-10-18 15:42:58 +02:00
Max Weffers
915391ba38
clover: bluetooth: Add device specific config 2018-10-18 15:41:37 +02:00
Max Weffers
8a3b5e93d7
clover: overlay: Enable Wifi by default 2018-10-18 15:40:26 +02:00
Max Weffers
9890dbf53f
clover: overlay: set better brightness values 2018-10-18 15:40:26 +02:00
Max Weffers
1f15020db5
clover: init: Build libinit for clover 2018-10-18 15:40:26 +02:00
Max Weffers
5a514bfcf3
clover: hidl: Add manifest for HIDL Hals 2018-10-18 15:40:26 +02:00
Max Weffers
c1b8fb44cd
clover: kernel: Add custom bootimg.mk for prebuilt kernel 2018-10-18 15:40:25 +02:00
Max Weffers
09398a3842
clover: Set correct density for 10 inch tablet 2018-10-18 15:40:25 +02:00
Max Weffers
680696cf51
clover: Carbonify MI PAD 4 and MI PAD 4 Plus 2018-10-18 15:39:32 +02:00
Max Weffers
cd39c51333
clover: Update prebuilt Kernel to Miui 8.9.20 2018-10-18 15:18:06 +02:00
Max Weffers
8a33e2dc91
clover: overlay: Import Brightness config from Miui 2018-10-15 09:26:45 +02:00
Max Weffers
bc7f865a03
clover: kernel: Import Prebuilt Kernel and Modules from MIUI 2018-09-27 12:54:46 +02:00
Max Weffers
ee32277c0e
clover: init: Import Ramdisk from MIUI 2018-09-27 12:29:50 +02:00
Max Weffers
0d98ae4bb2
clover: device: Fix missing Overlay include 2018-09-27 12:23:14 +02:00
Max Weffers
340825f063
clover: device: Add system and vendor props from MIUI 8.8.23 2018-09-27 12:22:05 +02:00
GuaiYiHu
e6864afb99
clover: media: Import Media Configuration from MIUI 8.8.23 2018-09-27 12:09:29 +02:00
GuaiYiHu
038548508d
clover: audio: Import Audio Configuration from MIUI 8.8.23 2018-09-27 12:08:59 +02:00
Demon000
7cc4ae76ea
clover: Import HIDL Lights Hal for xiaomi devices 2018-09-27 12:02:49 +02:00
Max Weffers
80be031c53
clover: Add keylayout for Fingerprint of Mi PAD 4 plus 2018-09-27 11:56:35 +02:00
Max Weffers
51aa925ed3
clover: Add libinit module for clover 2018-09-27 11:54:55 +02:00
Max Weffers
9960a1c125
clover: Add security config for IRSC 2018-09-27 11:53:57 +02:00
Max Weffers
49b8598877
clover: Intial Device-Tree for Mi PAD 4 2018-09-27 11:52:08 +02:00