LuK1337
ebc1b49e46
sdm845-common: pocketmode: Switch to android.os.FileUtils
...
Change-Id: I8879e0db3822c34ed173652355e4c29f24d5d644
2019-07-04 02:03:00 +02:00
Ethan Chen
c1aefb6361
sdm845-common: Use Soong namespace to avoid device build conflicts
...
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2019-06-28 14:40:38 +02:00
Christian Oder
ed04289a98
sdm845-common: Update pinned blobs to enchilada OB21
...
* taken from OnePlus/OnePlus6/OnePlus6:9/PKQ1.180716.001/1906102300
Change-Id: Ieaa8489e45955383f0d9378f51359c8b0ef5d113
2019-06-26 21:01:24 +02:00
Christian Oder
f3af61404d
sdm845-common: Unpin libwfdnative and patch it on the fly
...
Change-Id: Ia55cda25820e93f968999b17124e67415ddcb08e
2019-06-26 21:01:13 +02:00
Christian Oder
66caef52ae
sdm845-common: Update ims blobs from daisy
...
* from xiaomi/daisy/daisy_sprout:9/PKQ1.180917.001/V10.0.9.0.PDLMIXM
Change-Id: Ief02c17d3e71e2bbdaa499c1fd8be18c6d0502aa
2019-06-26 21:01:06 +02:00
LuK1337
a871fa7e4f
sdm845-common: Don't advertise vorbis offloading support
...
* Doesn't work at all.
Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
2019-06-24 22:05:56 +02:00
LuK1337
d50c6c07ab
sdm845-common: sepolicy: Transition pocketmode app to its own domain
...
Change-Id: Id87176c2430e49851a6c65ab3490ad59ea1764a2
2019-06-19 19:24:59 +02:00
Pranav Vashi
5fc97900ac
sdm845-common: Enable Wi-Fi MAC randomization
...
Change-Id: Ibcabf871f0e35a6f81905392f749478f96b3c47d
2019-06-19 11:33:05 +02:00
LuK1337
31600d1e52
sdm845-common: Write to otg_switch node in our own init script
...
* Not sure why but /vendor/etc/init/hw/init.oem.rc property
listeners aren't getting triggered thus I'm moving it here
as it's not really worth figuring out.
Change-Id: I5b3d17745fbc086fbd560cfc122dada7b4b98272
2019-06-18 03:25:47 +02:00
LuK1337
031d6ba43a
sdm845-common: Switch to common Trust HAL implementation
...
* OnePlus's OTG switch sysfs doesn't act the same as
'deny_new_usb' node breaking OTG entirely in some
situations.
Change-Id: I4f67d5cec5ded72ee835bfed9d34407eba1612d1
2019-06-18 03:25:14 +02:00
LuK1337
702507f7c0
sdm845-common: Fix restoring default LiveDisplay mode
...
* Call DisplayModes::setDisplayMode(modeID, false) in the constructor
* Move sysfs nodes chown/chmod to from 'on boot' to on init' so that
they have proper perms right away.
Change-Id: I51ee19136688f83703e85b76d5219e5a567bbaa3
2019-06-17 14:23:24 +02:00
LuK1337
f0e0e8184e
sdm845-common: Move LiveDisplay HAL default profile path to /data/misc/display
...
* /data/display does not exist and we are unable to allow
writing to /data/system since it's a neverallow. Instead
we are creating /data/misc/display which coredomain is
allowed to write to.
Change-Id: I1198c61177b75fd2ad460aafab5f2d5010b2ca63
2019-06-17 14:23:00 +02:00
LuK1337
4875e13d6a
sdm845-common: sepolicy: Allow LiveDisplay HAL to write to its sysfs tunables
...
Change-Id: If0a80437547ee9e93312d26fbcdd8cbd901978e8
2019-06-17 14:20:51 +02:00
LuK1337
b687e1a04f
sdm845-common: sepolicy: Drop unnecessary HAL rules
...
* coredomain can write to binder device without granting anything.
Change-Id: Ie657d1e79702b557f00376d31f87d33e104eaf3d
2019-06-17 11:09:51 +02:00
LuK1337
92fc5501e5
sdm845-common: Update ssr restart level prop
...
Change-Id: Icaca77128671f1b0180cc3315f062f3f123f8b04
2019-06-15 15:40:37 +02:00
Luca Stefani
07c44c6547
sdm845-common: Switch to NXP NFC stack
...
Change-Id: I56908d6aa0a938ea89b35a41e3f90768bd8ce0ac
2019-05-17 13:08:21 +02:00
Artem Borisov
659430c672
sdm845-common: Add QCOM's WFD implementation
...
* Sadly, out-of-the-box Miracast support was killed in P, so
we need this to keep Wi-Fi display feature working.
* Additionally libwfdnative has been modified to load
libhidlbase.so instead of android.hidl.base@1.0.so using
following command:
sed -i 's/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/' proprietary/lib64/libwfdnative.so proprietary/lib/libwfdnative.so
Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
2019-05-08 15:11:00 +02:00
Vladimir Oltean
164090d2d3
sdm845-common: Sync extractors with templates
...
* This introduces fixup scripts and kang mode and fixes
passing of arguments longer than one word,
such as --section "Hello world".
Change-Id: I42dde659e9bea4f7e1c9a7a3fa8da3243774ca4e
2019-05-08 13:51:04 +02:00
LuK1337
e3b8016ded
sdm845-common: Use ims.apk from daisy
...
Change-Id: I8aa15c2d7a43502376bd425d5b508190497cf0b9
2019-04-10 15:43:55 +02:00
LuK1337
b7d970b745
sdm845-common: sepolicy: Label OTG toggle property as public_vendor_default_prop
...
Change-Id: I435fca6127c01f9fe039b07adc3b3cb5a579b852
2019-03-20 20:24:33 +01:00
LuK1337
8936a7fda0
sdm845-common: sepolicy: Copy over public_vendor_default_prop rules from qcom sepolicy
...
* This addresses many denials introduced by enabling
vendor and system property isolation.
Change-Id: I24e04fc24be32698c7fdae4b28e90e9c20161a77
2019-03-03 22:17:12 +01:00
LuK1337
26cf3e0528
sdm845-common: sepolicy: Let vendor_init set vendor.camera.aux.packagelist
...
Change-Id: Iddfe1b10ae0bb1545db6bf6143d1a805d4025388
2019-03-03 22:16:48 +01:00
Rashed Abdel-Tawab
6e7e88837f
sdm845-common: Enable vendor and system property isolation
...
Change-Id: Ic73cd73c13220b804ec1c0a5fd1bd68470cf9db1
2019-02-11 18:49:44 +01:00
LuK1337
95e71a6898
sdm845-common: sepolicy: Label dsi-display@21 nodes
...
* These are used on fajita.
Change-Id: Id10c93947468df24a0d57beea47a56aa02ed9d93
2019-02-06 16:49:00 +01:00
LuK1337
fc031a1636
sdm845-common: Add debug IMS props to workaround CarrierConfig restrictions
...
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.
Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2019-02-05 22:19:36 +01:00
Luca Stefani
53fecbf169
sdm845-common: Add and build trust HAL
...
Change-Id: I6ffdcd0cae2afb1b1e872152f7997da704ad74dc
2019-02-04 20:47:31 +01:00
Bruno Martins
4ad2b3e4fa
sdm845-common: Remove no longer needed Android Blueprints
...
* Soong now finds all Android.bp and Blueprints files in the source tree
Change-Id: I2b7b22ecec7efb439d4c20c9d579ed9ceed5b20d
2019-02-04 15:20:53 +01:00
Danny Baumann
e3ee15e8af
sdm845-common: Replace lineagehw implementation by HIDL services
...
Move DisplayModeControl and SunlightEnhancement into a livedisplay
service, and TouchscreenGestures into a touch one.
Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
2019-02-04 15:15:19 +01:00
Luca Stefani
eaa9bbce92
sdm845-common: Fix neverallows
...
Change-Id: I9a73f72b9c5c01afbaf6c2f960c7e25ca923d90c
2019-02-04 15:10:35 +01:00
LuK1337
983f553701
sdm845-common: overlay: Move rounded corner content padding to devices
...
Change-Id: Ib6ef258476231e20de162f189ae8a09984d1233f
2019-02-03 15:43:43 +01:00
LuK1337
8118403a3d
sdm845-common: Move all notification LEDs related overlays to enchilada
...
Change-Id: I4dc08345f1c2d459c0b28c5ee640f6834fe5cfd8
2019-02-03 15:43:34 +01:00
Rabih Salamey
48999bb777
sdm845-common: Add fajita to build guard
...
Change-Id: Ifd973fde6941cf8bcb84f1257ce7d2a8e35532b6
2019-02-03 15:42:22 +01:00
Luca Stefani
0c490403b4
sdm845-commob: Add qcnvitems.jar
...
* Used by some userspace apps to configure NV
Change-Id: Ibdfefa24b0977042a13848b3c9b664cf9e26fe32
2019-02-03 11:09:53 +01:00
LuK1337
b0aa068bd3
sdm845-common: doze: Fix default DOZE_ALWAYS_ON value
...
* It's disabled by default in our fwb overlay.
Change-Id: Ie38a51c2cc73078d201985cc30f0b6fa3d1630d5
2019-01-15 12:55:24 +01:00
Luca Stefani
ae456c5385
sdm845-common: Add DPM support
...
Change-Id: I2461624105782b88da682b01d989b0467b68aff3
2019-01-14 18:13:28 +01:00
Luca Stefani
5cd233a168
sdm845-common: Add CNE support
...
Change-Id: I613e2682aa3b234592b37936627b4141171c9cc9
2019-01-14 18:12:50 +01:00
Luca Stefani
c6bbf8f2b0
sdm845-common: Add QtiTelephonyServicelibrary
...
Change-Id: I2e0c297798b9f255127012b562631a2bb90fd965
2019-01-14 17:56:39 +01:00
Luca Stefani
3b6d63af37
sdm845-common: Enable AOD
...
* But disable it by default
Change-Id: Ie85e49e38503dc531f262138d8bed465632a41c0
2019-01-12 21:11:10 +01:00
Luca Stefani
f4363f3cff
sdm845-common: Specify we provide qti-telephony JAR
...
Change-Id: Ia0a86eedc2241e0c7f819c947b5944f672635058
2019-01-12 20:58:48 +01:00
LuK1337
ff74c36010
sdm845-common: Add qti-telephony-common from xiaomi sdm845
...
Change-Id: I5d073075c7b6dac7998be78f65815260721a911f
2019-01-12 11:01:46 +01:00
Luca Stefani
c12f46a598
sdm845-common: Pin ims.apk
...
Change-Id: I83f6a43b1bebd44ac4cb3b15b7b7edfea4dc4d68
2019-01-12 11:01:39 +01:00
Luca Stefani
8c75e16b53
sdm845-common: Switch to stock qti_whitelist.xml
...
Change-Id: Ic8f03ab186e5c9673538b2c6103ec7af2592ddfe
2019-01-12 11:01:39 +01:00
Luca Stefani
91179c76dd
sdm845-common: Enable color matrix support
...
Change-Id: Ie41804259511e3d66a3528c7a4e2cca57d90970e
2019-01-12 10:59:45 +01:00
LuK1337
3bce0747b3
sdm845-common: Move OnePlusPocketMode to enchilada
...
* Fajita won't need it.
Change-Id: I7627de95fc445d123869f76ceb92ddf67dc49449
2019-01-11 13:49:06 +01:00
Luca Stefani
fd0806b534
sdm845-common: lights: Halve blue brightness as well
...
* Our not so RGB led seems to have a really low red led
* Matches stock behavior
Change-Id: Ib1f9cb7803971b939ad69d59d1437729bf86a4a4
2019-01-08 16:01:53 +01:00
Luca Stefani
f67403199e
sdm845-common: doze: Move Utils.checkDozeService in an handler
...
* There's no need to manually write to the gestures prefs
as long we are sure the handler is run after we return true
in the onPreferenceChangeListner
Change-Id: I090c0c6c91267aff69c45365b95b5f5e26d07b07
2019-01-08 15:15:49 +01:00
Luca Stefani
5736ed5e06
sdm845-common: doze: Set entry timestamp before registering sensor
...
Change-Id: Ifa8aa1ded029c3c7be44ac94355e6814c080be44
2019-01-08 15:15:44 +01:00
Bruno Martins
ea2cc87e51
sdm845-common: doze: Add AOD support to Ambient Display
...
* This makes the always on display mode feature visible for those
devices that explicitly set it as available via AOSP overlay.
Should only be enabled on devices where the display has been tuned
to be power efficient in DOZE and/or DOZE_SUSPEND states.
Change-Id: If543936f9421dd7a6c0be594f7cb76afb227e34b
2019-01-08 15:15:43 +01:00
Luca Stefani
8e87bbae81
sdm845-common: doze: Add missing pocket mode hooks
...
Change-Id: I81af20cb9f737e0a2260c42fc91530572b16ec5e
2019-01-08 13:33:43 +01:00
Luca Stefani
7eac1259ab
sdm845-common: doze: Add pocket mode support
...
Change-Id: I68498fb3e523fcc77a3db0ecb5d57c1a0df2a701
2019-01-08 12:27:32 +01:00