Commit graph

3396 commits

Author SHA1 Message Date
Subhajeet Muhuri
8b548ce124
sdm660-common: org.ifaa.android.manager: Use new UnsupportedAppUsage annotation
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: Ic152fcc48739158c83f68037b50cfb3565d7ecc5
2020-12-13 18:27:09 +06:00
Demon000
ecae69c66c
sdm660-common: init: remove deprecated load_system_props calls
Change-Id: Iefefd50e20e3e54202b6c177891d440113993444
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00
Brad Ebinger
d6df7f9145
sdm660-common: Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-12-13 18:27:09 +06:00
Brad Ebinger
1a7e51cd2f
sdm660-common: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:27:09 +06:00
Steven Moreland
ecfc20eadd
sdm660-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00
Subhajeet Muhuri
046a47a631
sdm660-common: Update pinner list for new SystemUI location
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: If3c4e6978e2f28206f918d86786460cf2bb13375
2020-12-13 18:27:09 +06:00
Martin Stjernholm
1ea36658d7
sdm660-common: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: I98378100456dce927ccc253301a398d70d1b7368
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:27:08 +06:00
Nicolas Geoffray
72cea2d0f9
sdm660-common: Update in pinned files.
Remove or update paths that don't exist.

Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:27:08 +06:00
Felix
87bee85ee2
sdm660-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2020-12-13 18:25:07 +06:00
Alastair Donaldson
419ee63c8f
sdm660-common: Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: Ia70f8e432bf8b32420904587c9b45529e4045959
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:25:07 +06:00
Ilya Matyukhin
26e79af25c
sdm660-common: Use biometrics.fingerprint@2.2
Bug: 153909042
Bug: 153012763
Bug: 153830435
Test: built taimen-userdebug with a @2.2 HAL
Test: "adb shell lshal | grep fingerprint@" shows the @2.2 HAL
Change-Id: Ied411a65f482ea79d9000e2f4191dba5f8927606
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:25:07 +06:00
Mikhail Naganov
1c13a08a99
sdm660-common: Switch to Audio HAL V6
Switch sdm660-common to Audio HAL V6

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test on sdm660-common

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8
2020-12-13 18:25:07 +06:00
Aayush Gupta
b2a2736410
sdm660-common: Remove qcom.fmradio from PRODUCT_BOOT_JARS
- It's loaded as app library, hence not needed to be a boot jar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
2020-12-13 18:25:07 +06:00
Yingjie Wang
31e059f021
sdm660-common: Remove gnss hidl entries in manifest.xml
Remove all android.hardware.gnss
entries in manifest.xml, since these manifest fragments
are moved to gps git projects.

Change-Id: Ieb3b0b4244ff075ba254d2e3ad1209c92fd3a4d6
CRs-fixed: 2548467
2020-12-13 18:25:07 +06:00
Jimmy Chen
b049da5759
sdm660-common: TetheringOverlay: revise p2p tether interface regex pattern
cheryl does not use separate interface for a group, it will share main
p2p0 interface.

Bug: 141382930
Test: run P2P with cheryl as GO
Change-Id: I061ed0ac66f8ae75c84d7683f66d4baffd3a3112
2020-12-13 18:25:07 +06:00
Jimmy Chen
26da0c2fb1
sdm660-common: TetheringOverlay: add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2020-12-13 18:25:07 +06:00
LuK1337
2a552a7449
sdm660-common: TetheringOverlay: Remove bnep\\d from tetherable BT interfaces
Change-Id: Iac714d2de9a4d225da6fc3463d3fb99a4bb714a7
2020-12-13 18:25:07 +06:00
LuK1337
8062c98553
sdm660-common: TetheringOverlay: Disable BPF offload
The new trafficController design is based on per-cgroup eBPF filter as well as xt_bpf netfilter module inside the kernel.
However, support for per-cgroup eBPF is available on only on kernels >=4.9 . Disable BPF offloading support completely
as without proper per-cgroup eBPF, the stats returns errors continuously.

E TetherController: Error processing tether stats from BPF maps: Get firstKey map -1 failed: Bad file descriptor

Ref:
[0]: https://source.android.com/devices/tech/datausage/ebpf-traffic-monitor
[1]: 4e0a5f13fc/server/TetherController.cpp (L1047)

Change-Id: Ic7db658130f42fc0737bfb52aef7235c6fea0db2
2020-12-13 18:25:07 +06:00
LuK1337
9614c2d4c9
sdm660-common: rro_overlays: Redo TetheringOverlay's blueprint
This now matches WifiOverlay.

Change-Id: I9e4e859b7aca75d41556ea5807e34a4eb4598266
2020-12-13 18:25:07 +06:00
Weilun Du
d008a7e9a6
sdm660-common: Add TetheringOverlay
BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-13 18:25:07 +06:00
Roshan Pius
9ddf8cdc12
sdm660-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-12-13 18:25:07 +06:00
Roshan Pius
f35725bd0c
sdm660-common: overlay: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2020-12-13 18:25:06 +06:00
Ahmed ElArabawy
5d20308705
sdm660-common: Wifi: Replace config_wifi_dual_band_support
As part of the 6GHz band support, there is now more than 2 bands and
hence config_wifi_dual_band_support is misleading.
This commit replaces this config with config_wifi5ghzSupport which is
more reflecting to the device support check.

Bug: 145936758
Bug: 139354972
Test: Builds and Wifi runs successfully.
Change-Id: I6a1a18965b8020049f9b395ae97b6d84e4f5ae94
2020-12-13 18:20:07 +06:00
Jimmy Chen
4bd1b3c00f
sdm660-common: wifi: move wpa_supplicant VINTF definition to wpa_supplicant module
Bug: 36505680
Test: atest FrameworksNetTests
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Test: connect EAP access point and verify PMK cache works correctly.
Change-Id: I2c382765b8e84951fc17bb9f1c3785dcd66e7b51
2020-12-13 18:19:24 +06:00
Ahmed ElArabawy
6d3c70edd1
sdm660-common: Wifi: Remove IWifi hidl entry from manifest.xml
This CL removes the definition for the IWifi hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 138243400
Test: builds and wifi works

Change-Id: Id36fb384bbbf55a976d315d6a374d5fb66f4e1bb
2020-12-13 18:18:04 +06:00
lesl
aba8853a3b
sdm660-common: Wifi: Remove hostapd hidl entry from manifest.xml
This CL removes the definition for the hostapd hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 145780363
Test: builds and wifi softap works
Change-Id: I2b0d28b143e232ce60c56cbabfed3f685ab6bab9
2020-12-13 18:17:07 +06:00
Jimmy Chen
a38fe7fd69
sdm660-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-13 18:15:48 +06:00
Davide Garberi
86cc5f4fc7
sdm660-common: Remove energy awareness daemon
All this does is to disable msm_core and set the
polling_interval to 0, which makes the driver useless.
We can achieve the same result by disabling the driver.

Change-Id: Ic19c505ed74811a3d1b76703255af3aa5cb37bf9
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:15:48 +06:00
OdSazib
89d62afca0
Revert "sdm660-common: Change USB autosuspend delay to 7s by commandline."
This reverts commit cf25291f1c.
2020-12-13 18:15:47 +06:00
OdSazib
1491895fd9
sdm660-common: overlay: Update lineage-sdk overlay 2020-12-09 09:52:25 +06:00
OdSazib
e05dac84b8
sdm660-common: Add service-sysfs for LiveDisplay 2020-12-09 09:52:25 +06:00
PradyX
0a02b30038
sdm660-common: Camera package list for aux lens
* Fixes google camera aux lense too

Signed-off-by: odsazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
lightvortex
6fdb4938ed
sdm660-common: Remove whatsapp from hal1 packagelist
* Fixes  QR code scanning for WhatsApp web login
* Whatsapp video calls now support hal3, so hal1 is no longer required

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
Subhajeet Muhuri
b7aac65519
sdm660-common: Uprev android.hardware.soundtrigger to 2.2 2020-12-09 09:52:25 +06:00
OdSazib
0be032e211
sdm660-common: DeviceSettings: Set correct symbol in DreamManager
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
3bc41ddf25
sdm660-common: strings: Add formatted="false" for multiple substitutions
* Either fix the position of the multiple substitution
* or add formatted="false" in non-positional localized string

Bug: error: multiple substitutions specified in non-positional format;

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
31ae2abcb0
sdm660-common: DeviceDoze: Reduce wakelock timeout and wakeup interval
* Faster response in raise to wake getsure

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
13c782153e
sdm660-common: DeviceSettings/Doze: Update Translations
Translated by:
* Rizky (Xtprion) - Indonesian
* Vitaliy Kovel (Vitaliykovel777) - Russian
* Marek Prachnár - Slovak
* Lucas Almeida (Luxced) - Brazilian Portuguese

Co-authored-by: Vitaliykovel777 <vitaliykovel@gmail.com>
Co-authored-by: Xtprion <ksc.kybam@gmail.com>
Co-authored-by: Luxced <dekaps@outlook.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
6892aefb4a
sdm660-common: DeviceSettings: Fix tint according to theme 2020-12-09 09:52:25 +06:00
OdSazib
870343eb33
sdm660-common: DeviceSettings: Switch to SecureSettingSwitchPreference
* SharedPreference cannot be used untill device is unlocked
* This causes crashing the app at boot

Thanks to java gawd StYlOg for help me fixing this

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
f2b7354ef6
sdm660-common: Tricking out device specific settings
* Rebrand to DeviceDoze
* Keep class for DeviceSettings

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
Markakash
f1e68ddfaa
sdm660-common: XiaomiDoze: Add drawable icons to doze menus!
* EvoX edits: Match fill color with that of DeviceSettings
* Added missing hand-wave drawable from: https://materialdesignicons.com/

Co-authored-by: OdSazib <odsazib@gmail.com>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
AnierinB
297de8da99
sdm660-common: XiaomiDoze: Fix pickup status for raise to wake
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
OdSazib
f441fa06a2
sdm660-common: XiaomiDoze: Raise To Wake Gesture
- Adapted to Xiaomi SDM660
- Implemented with tilt sensor

SQUASHED COMMITS:
-----------------
* sdm845-common: Introduce raise to wake gesture
- Highly inspired by iOS raise to wake

* EvoX notes:
- Adapted to OnePlus sdm845
- Strings will be added to packages/resources/devicesettings which is where all current strings are located

* sdm845-common: doze: Add min interval for raise2wake
- avoid having early wakeup

* sd845-common: doze: raise2wake: Check proximity before wakeup
- To avoid having unnecessary wakeups when phone inside the pocket

* sdm845-common: doze: Enable pickup when raise to wake is toggled
- This is needed in order for raise to wake to function properly.

References:
* f45b58b511
* dc69b3678c

Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
Co-authored-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
AnierinB
88279b484c
sdm660-common: XiaomiDoze: Add Doze Tile
- Launches DozeSettingsActivity

* Reference: 827d11cc8b

Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
Wileen Chiu
fe22a9fdc9
sdm660-common: Add new config overlay for call composer
- add a new config and set as true for mcc/mnc
which support call composer calls
- allow implicit broadcast of new intent, which
contains call composer information

Change-Id: I5d042f88d57d54f3b7a944d9a2f49061cd0313d3
CRs-Fixed: 2672216
2020-10-26 04:25:14 +06:00
Shrikara B
5350c9d183
sdm660-common: rootdir: Set Netflix and media property based on target
Add support to set "ro.netflix.bsp_rev" property at run time
depending on the target. This is needed when 2 or targets are
binary compatible, but have different Netflix proprty for
device whitelisting.

Change-Id: I9484f2886a8b7d986c762fa9031c0e541f15c7e1
2020-10-26 04:25:14 +06:00
Ashish Jain
94677f5db6
sdm660-common: init: Update ueventd rules and init rc for new audio drivers
Update uventd rules to move new audio drivers to audio group.
Update init rc to move audio sysfs node to audio group.

Change-Id: I8e5230e04090b3555e32c0404401dddacea1cd15
2020-10-26 04:25:14 +06:00
Pavan Kumar M
5a0956d86f
sdm660-common: config: Add permissions for RCS service
Add permissions to Rcs service to
access QMI IMSS service

Change-Id: I263a0b6413c1ae26ab57a96936bc983c68ef709e
2020-10-26 04:25:14 +06:00
Thomas (Wonyoung) Yun
a1008929de
sdm660-common: rootdir: Grant rw permission to hgsl node
qcom: User app needs to open /dev/hgsl node for doorbell enablement.

Change-Id: I9a83e76a441f4001f40ec805bd8081355aa1c79d
2020-10-26 04:25:14 +06:00