Ryan Mitchell
1705788c35
sm8250-common: Use component-override to configure Bluetooth
...
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.
This change uses component-override to enable the service by default.
Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.
Bug: 135048762
Test: adb shell pm query-services \
com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
adb shell pm query-services \
com.android.bluetooth/.hid.HidDeviceService
adb shell pm query-services \
com.android.bluetooth/.sap.SapService
Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2021-02-20 00:43:33 +01:00
Luca Stefani
9632f46f43
sm8250-common: Import CAF bluetooth overlay
...
Change-Id: If2f8b03515bc5e3c4ed89ef2b1a1a7128bd50015
2021-02-20 00:43:33 +01:00
Sebastiano Barezzi
5c426c197c
sm8250-common: Decommonize device-specific audio configs
...
Change-Id: I6324d8d2e7f056e92f20524f58aa7760d3d2b330
2021-02-20 00:17:28 +01:00
Sebastiano Barezzi
433318744a
sm8250-common: Decommonize displayfeature HAL
...
Change-Id: Id3262d81330c2c557b95078e29beebd86f8d0aa0
2021-02-19 23:48:20 +01:00
Sebastiano Barezzi
ab46ebb536
sm8250-common: Import mi_thermald
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: I144856d66cc719747119678fdc2b85b4ca5be1e8
2021-02-19 23:08:18 +01:00
Sebastiano Barezzi
5ee669c101
sm8250-common: Build QTI thermal HIDL
...
Change-Id: Id8d468198cef11a67cd40a93a3c50de7185bec43
2021-02-19 23:08:18 +01:00
Sebastiano Barezzi
d333e8805b
sm8250-common: Use prebuilt gralloc libs
...
* Fixes the following issue:
02-15 08:36:20.560 882 882 E qdgralloc: GetGpuPixelFormat: No map for format: 0x72656666
02-15 08:36:20.560 882 882 E AdrenoUtils: <validate_memory_layout_input_parmas:1962>: Unknown Format 0
02-15 08:36:20.560 882 882 E AdrenoUtils: <adreno_init_memory_layout:4689>: Memory Layout input parameter validation failed!
02-15 08:36:20.560 882 882 E qdgralloc: GetGpuResourceSizeAndDimensions Graphics metadata init failed
02-15 08:36:20.560 933 1040 E GraphicBufferAllocator: Failed to allocate (1440 x 1080) layerCount 1 format 1919247974 usage 6d69546c61655b5f: 1
02-15 08:36:20.560 933 1040 E BufferQueueProducer: [SurfaceView - org.lineageos.snap/com.android.camera.CameraActivity#0 ](id:3a500000028,api:4,p:1220,c:933) dequeueBuffer: createGraphicBuffer failed
02-15 08:36:20.560 1220 10451 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Out of memory (-12)
Change-Id: Idf8b232020e1b19fbe339768b9fdd88e88e2ccf0
2021-02-15 18:54:38 +01:00
Sebastiano Barezzi
e668167ef1
sm8250-common: Add additional gralloc usage bit for camera
...
Change-Id: Ie0a4c25ce86fa23ee90ef1441aa9a1b053fff785
2021-02-15 18:54:38 +01:00
Sebastiano Barezzi
1093d57bb0
sm8250-common: parts: Enable FOD service with prop
...
Change-Id: I570e00d8f25900fd9484083c0b661acb407a5931
2021-02-15 18:54:37 +01:00
TheScarastic
3d6e8c0036
sm8250-common: parts: Add FOD service
...
Change-Id: Ibc4ec25057d260e2dba9c221f0c79e6485ddf56d
2021-02-15 18:54:37 +01:00
Sebastiano Barezzi
131c25c742
sm8250-common: Import XiaomiParts from sdm845-common
...
* From commit beba0fc
* Kill Dirac and thermal stuff
Change-Id: I35edd8aa2698ba510d94285149d3e7a6c9ec7c52
2021-02-15 18:54:37 +01:00
TheScarastic
b4c826232c
sm8250-common: Initial hardware/xiaomi based FOD implementation
...
Change-Id: Idfd24c3dc96c442438a1cbafc64c344d9138180c
2021-02-15 18:54:37 +01:00
Sebastiano Barezzi
b413a1f435
sm8250-common: Declare notification LED capabilities
...
Change-Id: I89dab65991abcce2bcad52d65bdeb31fa637f334
2021-02-15 18:54:37 +01:00
Sebastiano Barezzi
7e58c6f7d8
sm8250-common: audio: Add wired headphones configuration
...
* Extracted from instantnoodle
Change-Id: If38f646e816a9233ea23245ffaa42f73c73c922b
2021-02-15 18:54:36 +01:00
Sebastiano Barezzi
e2679f7a74
sm8250-common: Build LiveDisplay HIDL
...
Change-Id: I6b767fe2269b679438c8fc0c49ceef9110a96a23
2021-02-15 18:54:36 +01:00
Sebastiano Barezzi
d65dfb692e
sm8250-common: media: Remove unsupported codecs
...
Change-Id: Ifcf19bfecb3a774b75667e0a4484fa8f6b298296
2021-02-15 18:54:36 +01:00
Dan Pasanen
bdbc0d65e4
sm8250-common: Reserve additional space on odm/product/system/system_ext/vendor
...
This is a squash of the following:
Author: Dan Pasanen <dan.pasanen@gmail.com>
Date: Sat Oct 19 00:06:11 2019 -0500
floral: Reserve additional space on system/product/vendor
Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb
Author: Nolen Johnson <johnsonnolen@gmail.com>
Date: Sun Aug 16 03:27:34 2020 +0530
floral: Don't reserve space for gapps WITH_GMS
Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Sep 6 14:51:31 2020 +0200
floral: Don't limit system inode count when !WITH_GMS
Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef
Author: Eamon Powell <eamonpowell@outlook.com>
Date: Fri Jan 1 11:59:38 2021 +1100
floral: Adjust reserved partition space
* Increase reserved partition space for vendor and add reserved
partition space for system_ext so both partitions can be
written to, regardless of GMS presence.
* Increase product reserved partition space so smaller addon
packages that write to the product partition like MindTheGapps
can be installed.
* Increase the amount of available space on the system partition
so the user can optionally choose to install other addon packages
that write to the system partition such as OpenGapps.
Change-Id: I8d3ecca3980d50621f960fd7dff22ba40f495fee
[SebaUbuntu] Always reserve at least 30MB on each partition
Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
2021-02-15 18:54:36 +01:00
Sebastiano Barezzi
addecd1b2d
sm8250-common: Add missing interfaces in manifest
...
Change-Id: Iea236a92a6edd66b55f9d69a3a0eb86e1a84e709
2021-02-15 18:54:36 +01:00
Sebastiano Barezzi
acb43a1dde
sm8250-common: Initial lineage-sdk overlays
...
* Define hardware keys and add fastbootd to advanced reboot
Change-Id: I9d2728eeeef5c72488824670d2a4c2bde5db7d51
2021-02-15 18:54:36 +01:00
Sebastiano Barezzi
a53c754539
sm8250-common: Import CarrierConfig from CAF
...
* From LA.UM.9.12.r1-10300-SMxx50.0
Change-Id: Iac0ff2be55bb3b8a942e450010bf90776a6c5733
2021-02-15 18:54:36 +01:00
Sebastiano Barezzi
2f9aa86153
sm8250-common: Initial AOSP overlay
...
* Extracted from lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: I3e54076c21bc06a2cbefb15d40e73d7bc50edb18
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
c5b104ab5b
sm8250-common: Import WifiResTarget from stock
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: Icfd70a632425aec908b2189710ecf31ee21449cc
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
b93af39cf6
sm8250-common: Initial build properties
...
Change-Id: I69c601e7899774d7d23853486404c4638c0b0f63
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
8b3ab991cb
sm8250-common: Reboot to recovery if init fails
...
Change-Id: I1d8f38620caa7b003911ff30f69ed7973c100e6d
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
9213e70145
sm8250-common: Kill AVB on fstab
...
Change-Id: Ie2aeb32701a2052cf8f372ef5aecc21840db6bb0
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
71e727030b
sm8250-common: Define recovery fstab
...
Change-Id: If6eeb10239ebe07decfed311d4f70661415c4a8e
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
6506537dde
sm8250-common: Remove wigig interface from wigig service
...
Change-Id: I58f725f1c9aff8dd09591f80e48e270298a93f13
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
207fd69748
sm8250-common: Import config.fs
...
* Extracted from lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: I6c394a66c62f5ccda68056fdf89826d2f818c03f
2021-02-15 18:54:35 +01:00
LuK1337
cac48445c8
sm8250-common: Copy fstab to ramdisk
...
Change-Id: I17033687ee0cc92a84f5d045e85d7df80184233d
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
173e39548a
sm8250-common: Setup wifi symlinks
...
Change-Id: I906965d90080dc61ae56df4b3ee3a3bb6182cabd
2021-02-15 18:54:34 +01:00
LuK1337
5bbe4ede19
sm8250-common: Add vendor symlinks
...
Change-Id: I3e3dcfa58fe56eb37ca9354556aedd6293ec22dd
2021-02-15 18:54:34 +01:00
Jimmy Chen
e3fea18aa7
sm8250-common: Move supplicant service init to wpa_supplicant
...
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2021-02-15 18:54:34 +01:00
Anton Hansson
29afa4eb36
sm8250-common: Enforce RRO for all resource overlays
...
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2021-02-15 18:54:34 +01:00
Sebastiano Barezzi
07ea25abb8
sm8250-common: Import wifi configs
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: I363ddda7a99bd261930300dec147f2b86d909727
2021-02-15 18:54:34 +01:00
Sebastiano Barezzi
152d20db91
sm8250-common: Import seccomp
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: Ied34c1369710cb6df28c86183fdb85ff4dffee5c
2021-02-15 18:54:33 +01:00
Sebastiano Barezzi
f24b1dcd2a
sm8250-common: Import media configs
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: I4c450564d6cb822de8e9faba12dddae57631c283
2021-02-15 18:54:33 +01:00
Christian Oder
ddd05d3307
sm8250-common: Add basic permission file for HotwordEnrollment
...
Change-Id: I2986ba3599fe65a8da27649d98d70cd548257aa8
2021-02-15 18:54:33 +01:00
Sebastiano Barezzi
12d1004a35
sm8250-common: Import GPS configs
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: I95bb2c410ec377636fa3b9d7d6e230aef36bfc00
2021-02-15 18:54:33 +01:00
Sebastiano Barezzi
fb47e7f800
sm8250-common: Import rootdir files
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: Ic3bdec2bc036e8366629444e56c66e288d5efd6e
2021-02-15 18:54:33 +01:00
Sebastiano Barezzi
bb089b916e
sm8250-common: Import public libraries list
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: I41725fac378391291e84cca00c16b1661797e22b
2021-02-15 18:54:33 +01:00
Sebastiano Barezzi
81db3753d3
sm8250-common: Import audio configs
...
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
Change-Id: Ie2f0337ff2bfff9d6a569920c311e38fabeb387a
2021-02-15 18:54:33 +01:00
Sebastiano Barezzi
918f52f5c8
sm8250-common: Copy AOSP permissions
...
Change-Id: Ifdacc41cd114e451fe2c98abce9be8f640a961a4
2021-02-15 18:54:32 +01:00
Sebastiano Barezzi
442cf4a5e4
sm8250-common: Build WFD libs
...
Change-Id: I859cd3ff8e1729323f2c72df4feca55559262878
2021-02-15 18:54:32 +01:00
Sebastiano Barezzi
06b616eaa7
sm8250-common: Build Wi-Fi stack
...
Change-Id: I2e99bb95cbcdb2fdb652e20bb1e9e55b53cab2eb
2021-02-15 18:54:32 +01:00
Sebastiano Barezzi
06ac55f274
sm8250-common: Build QTI vibrator AIDL
...
Change-Id: Idb1d2613843b4808a384e4a3531bb7c6ccfda7e8
2021-02-15 18:54:32 +01:00
Sebastiano Barezzi
459afdaf19
sm8250-common: Build QTI USB HIDL
...
Change-Id: Id7da15ac872967e4fb733836c99efaf39aca3a56
2021-02-15 18:54:32 +01:00
Sebastiano Barezzi
879ed3bd0b
sm8250-common: Build telephony libs
...
Change-Id: Ia5eb8c58d0badf90a33e958eee1ff200c9be20d5
2021-02-15 18:54:32 +01:00
Sebastiano Barezzi
23f348c854
sm8250-common: Build sensors HIDL
...
Change-Id: I6986bce0baeb529afd9e9796360faa9380c5b054
2021-02-15 18:54:31 +01:00
Sebastiano Barezzi
1bbf4e4a27
sm8250-common: Enable vendor RIL service
...
* We use qcrild
Change-Id: Iaab09d72110fdc3887fda6f543b988bdb3e98a4c
2021-02-15 18:54:31 +01:00
Sebastiano Barezzi
6edf46ba69
sm8250-common: Build RIL libs
...
Change-Id: I449475abffebdf837e5645e77b571e0efd9988a1
2021-02-15 18:54:31 +01:00