Adds functionality for enabling and disabling DisplayPort Alt Mode
on the port through enableUsbData in the USB HAL to comply with USB
restrictions for heightened security mode.
Test: manual test on device - use enableUsbData dumpsys command to
turn off DisplayPort and then turn it back on while connected to a
partner sink.
Bug: 297208252
Change-Id: I9f071bce802b728f2229abc08efb2204e4c2505a
Signed-off-by: RD Babiera <rdbabiera@google.com>
Enable the I2C paths for DBC parameters to be accessible by the Vibrator HAL.
Bug: 299115985
Test: Compilation.
Change-Id: Id63c79ed4d37c5aae089e73430233ee7024ea951
Signed-off-by: Chris Paulo <chrispaulo@google.com>
* changes:
usb: dp: add exynos_drm:dp_enabled toggling
usb: populate USB aidl hal AltModeData
Usb: shutdown old displayport poll thread when multiple start up
Usb: Check for displayport when booting
Usb: Signal irq_hpd to drm stack
usb: Fix HAL build warnings related to DisplayPort
usb: provide usb reference to DisplayPort shutdown thread
usb: Expose persistent vendor property for USB-C Dp Alt Mode
Port dp changes to drm sysfs
Background:
* ZumaPro+ will be using a dedicated userdata partition
Bug: 300382887
Test: Trusty storage port tests pass
Change-Id: I943a05735858e41ae30f6207fdde7a21eca45351
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
The change exposes persist.vendor.usb.displayport.enabled
to enable/disable USB-C Dp Alt Mode i.e. DisplayPort over USB-C.
By default persist.vendor.usb.displayport.enabled is to 0 in
user builds and 1 in all other build variants.
Test: manual verification on device
Bug: 297286558
Change-Id: I596d3af52f2a813f5f78c4f9b77b6ae3dd8a161b
(cherry picked from commit 2173dc37da793599239a974d8f7bc40b2bf1ee80)
Signed-off-by: RD Babiera <rdbabiera@google.com>
Need to meet energy certification test requirement which needs to
be able to charge FULL.
Bug: 298923686
Test: can charge to full on dock in charger mode
Change-Id: Ie7a2acb18e8ebb4e4bed36c759164217d127ae1c
Signed-off-by: Jack Wu <wjack@google.com>
Bug: 298628003
Test: set the date of first usage successfully
Change-Id: I249ba518d77a9b5981c761130a60dd269d7b9f42
Signed-off-by: Jack Wu <wjack@google.com>
Manual add since they didn't transfer from previous platforms.
Bug: 296209514
Fix: 296209514
Test: presubmit + on-device validation.
Change-Id: I228d4995b334870b6ee3c80fd720ba9e97717b1e
Add uevent rule for newly adding dmaheap node to
set correct owners and permissions.
Bug: 275481134
Test: Launch camera and taking shots
Change-Id: I030e82381ff718523184d8a5601bd2d9a5a0278c
Signed-off-by: Martin Liu <liumartin@google.com>
Disable libperfmgr until power hints are updated for zumapro.
Bug: 295898145
Test: none
Change-Id: Iad4e76b2b5b1f918db219dfb5c3b739b3365e898
Signed-off-by: Vincent Palomares <paillon@google.com>
Moving BMS privileges and settings to own file
Bug: 294080767
Test: adb bugreport
Change-Id: I97cdbd252a4fd6996b566276992bfa5e9a5bc0c4
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
This is to avoid unnecessary ext4 behavior
Bug: 289631992
Test: boot to home
Change-Id: I06e2a4042f483075acf030f7c3a257c27d0f8b29
Signed-off-by: Randall Huang <huangrandall@google.com>
Without disk encryption, adb remount flow does not work.
Fix adb remount by enabling sw-based disk encryption
Bug: 286338055
Test: adb remount on local build
Change-Id: I4317be694bed083c56ef362f2c41ce6f99a1d4ca
Signed-off-by: Randall Huang <huangrandall@google.com>
Add temperature residency reset path
chown to system to reset from pixelstats
Bug: 193833982
Test: Local build and verify statsD logs
adb shell cmd stats print-logs && adb logcat -b all | grep -i 105045
Change-Id: Iec5956f803cab3893aaf9c1e9d818fc02c582f31