Commit graph

513 commits

Author SHA1 Message Date
Treehugger Robot
d7ca6ccc81 Merge "Allow to override MTE mode from device config on zumapro" into main 2023-10-06 23:26:36 +00:00
RD Babiera
435c89be86 Merge "usb: check for port partner Thunderbolt capability" into main 2023-10-05 23:09:55 +00:00
RD Babiera
e1a03c3dd0 usb: check for port partner Thunderbolt capability
Query the port partner's SVIDs when the DisplayPort driver sysfs
is not recognized so that the USB HAL can identify whether or not
the port partner supports Thunderbolt.

Test: manual verification on device - test to see that cableStatus
is set to NOT_CAPABLE on hub that supports Thunderbolt but not
DisplayPort Alt Mode. Then verify that device not capable of being
a DisplayPort sink but does support Thunderbolt does not trigger
this status.
Bug: 288150501
Change-Id: Iaba60ecc5510acecee1e1d3241611906c738a263
Signed-off-by: RD Babiera <rdbabiera@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:873766c6f0c668ba526eaefe18ecc5e51ce87d67)
2023-10-05 20:01:02 +00:00
Jason Chiu
79c1c0758f zumapro: limit wakelock on zumapro
Bug: 295590204
Change-Id: Idbef8c0afb59f19030f7ba8247297dd889695b24
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-10-05 11:02:18 +08:00
Florian Mayer
a4e817020a Allow to override MTE mode from device config on zumapro
Bug: 302218596
Change-Id: I77a1231dd8d4bb01b6a796838b5c1c8f8d3b2461
2023-10-04 19:42:51 +00:00
Arthur Hung
1495ad8703 Merge "Add default allow list for VRR small dirty detection" into main 2023-10-04 08:06:18 +00:00
Wesley Lee
46640f4601 Merge "Move bigwave setting to gs-common" into main 2023-10-03 22:59:49 +00:00
Roy Luo
5f6a61e1a4 Merge "usb: upgrade stats AIDL to v2" into main 2023-10-03 20:49:36 +00:00
Wei Wang
675b21989f Merge "thermal: allow system to overwrite the trip point of btmspkr_therm" into main 2023-10-03 06:47:25 +00:00
Arthur Hung
fb13b6cd10 Add default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 283055450
Test: Build
Change-Id: I04538805d58ad3a052048419bba3f53b5a688ac8
2023-10-03 04:10:04 +00:00
Joner Lin
b9d8223a46 Merge "bt: make bluetooth own the data vendor bluetooth folder permission" into main 2023-10-03 02:59:58 +00:00
Jikai Ma
67a1fe1e10 thermal: allow system to overwrite the trip point of btmspkr_therm
this should work with ag/24900428: equations of caimoto virtual skin
sensors

Bug: 296476775
Test: adb shell ls -al dev/thermal/tz-by-name/btmspkr_therm/trip_point_*
Change-Id: I943cb4b5323984bb1e6a4541978926f427d4ee12
2023-10-03 00:18:01 +00:00
Wesley Lee
a69df010ae Move bigwave setting to gs-common
Bug: 263444742

Change-Id: Ic758bf665d0017bfaf9bebcd4dae2bb117c5baaf
Signed-off-by: Wesley Lee <szuweilee@google.com>
2023-10-02 17:06:25 -07:00
Darren Hsu
dcd8acd397 powerstats: add pd-hsi0 power domain state residency
Bug: 302450566
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I19858b000f6d564e2e148c7f21e3e55591533e19
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-09-28 16:28:31 +08:00
Maciej Żenczykowski
f6c07adcd9 OWNERS: master -> main
Change-Id: If23c26cff2509eec3b6d6c661d431262467e2351
2023-09-28 00:29:34 +00:00
Wen Chang Liu
4559ccbd16 Merge "sync media_codecs_[bo_c2|aosp_c2|performance_c2].xml from zuma" into main 2023-09-27 10:24:56 +00:00
Treehugger Robot
ac8eb29788 Merge "thermal: allow systen to overwrite the trip point of usb_conn_therm" into main 2023-09-27 06:40:23 +00:00
YiKai Peng
1f6762bdd6 Merge "dumpstate: Add authstart permission" into main 2023-09-27 03:26:00 +00:00
TeYuan Wang
556a4ce890 thermal: allow systen to overwrite the trip point of usb_conn_therm
Bug: 302055505
Test: adb shell ls -al dev/thermal/tz-by-name/usb_conn_therm/trip_point_*
Change-Id: I7fa55fdcf6892a6a1820269f6c9377a463b88571
2023-09-26 14:18:25 -07:00
jonerlin
32d272e6b1 bt: make bluetooth own the data vendor bluetooth folder permission
Bug: 240636731
Test: enable vendor btsnoop property and check the vendor snoop log
Change-Id: I852b9d348a254c1fccb1adf9635c713dd1a54c4a
2023-09-26 23:21:22 +08:00
Darren Hsu
0f74bf9f47 powerstats: correct CL2-DVFS mapping number
Bug: 302016063
Test: Build pass
Change-Id: I7924b0888fa7bb9e7382a2f3e9891a5440ad63a5
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-09-26 12:38:59 +08:00
wenchangliu
b2fd1cd5a9 sync media_codecs_[bo_c2|aosp_c2|performance_c2].xml from zuma
Bug: 301897167
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: Iae546e1e759f1e11555979b6d722ee39aa0cbc9f
2023-09-25 11:20:22 +00:00
Safayat Ullah
37e530d069 Disable outer display dimming by default
Bug: 284858074
Test: check value of property
Change-Id: Ieb6c872f6544348e14c90e1a047549819c3b5e7c
2023-09-23 07:12:18 +00:00
Hiroshi Akiyama
e837d5240b Migrate dump_power.sh contents into cpp for improved speed
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ied22b516844cb1d39a39fbbdee0b81a69c1d2e1c
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-09-22 11:08:29 +00:00
Midas Chien
99dd96ba79 Merge "display: enable full range DPU downscale capability" into main 2023-09-22 06:53:14 +00:00
Treehugger Robot
81b7f5cfc6 Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev am: 206ecbd71d am: 96d8442f91
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24800352

Change-Id: I33e7c8ed998a03b4b23047347581b26254fa78e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 11:30:59 +00:00
Treehugger Robot
96d8442f91 Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev am: 206ecbd71d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24800352

Change-Id: Ib8f0fd1959e9708ac1d14aa2bee8dad82eaf433f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 10:34:30 +00:00
Treehugger Robot
206ecbd71d Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev 2023-09-21 09:55:00 +00:00
Treehugger Robot
4b1cf53758 Merge "get more logcat files with similar disk usage for zumapro" into main 2023-09-21 01:09:39 +00:00
Roy Luo
7d8e108a00 usb: upgrade stats AIDL to v2
Upgrade stats AIDL to v2 following pixelstats lib.

Bug: 297224564
Test: Build
Change-Id: I3ff3a761467651a6550ec0c07419844189216a2e
2023-09-20 23:37:33 +00:00
Daniel Sandler
5df881c8c5 Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev am: 69a102a244 am: 0c9f4cc655
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24811966

Change-Id: I35e8e744d4e9ddaf7fe6983f301f4057b00251fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 22:07:48 +00:00
Daniel Sandler
0c9f4cc655 Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev am: 69a102a244
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24811966

Change-Id: I248527e2ce9ac3809a4c38906afccb365983f711
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 21:11:39 +00:00
Daniel Sandler
69a102a244 Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev 2023-09-20 20:20:30 +00:00
RD Babiera
7fbcdf0237 usb: enable/disable displayport alt mode through enableUsbData
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>
2023-09-20 19:51:03 +00:00
Klines Jiang
b9c8e46e51 [automerger skipped] Merge "[SELinux] Add gyotaku_app doamin to Pixel 2023." into udc-qpr-dev am: e120e9d531 am: 86d6ec6e66 -s ours
am skip reason: Merged-In Ie996586ea19ce1b0b700a0192b613d2769dd0291 with SHA-1 701d590713 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24704159

Change-Id: I4dd10d20dc68e8d550591c743b5dba230404b49f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 18:40:23 +00:00
Klines Jiang
86d6ec6e66 Merge "[SELinux] Add gyotaku_app doamin to Pixel 2023." into udc-qpr-dev am: e120e9d531
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24704159

Change-Id: Ief2deda6e6f5cab62e9789a65c6b1aa56bc9f1bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 18:30:41 +00:00
Chris Paulo
31a9149a27 Merge "vibrator: Enable I2C paths for DBC" into main 2023-09-20 18:16:24 +00:00
Klines Jiang
e120e9d531 Merge "[SELinux] Add gyotaku_app doamin to Pixel 2023." into udc-qpr-dev 2023-09-20 18:03:04 +00:00
Dan Sandler
f9dae58598 Fix a crash trying to boot the device in a pseudolocale.
Bug: 280361527
Test: Boot in XA
Change-Id: Id0363f28dcc5c6754a3ca42400e6f8b47a347a9b
2023-09-20 17:29:20 +00:00
YiKai Peng
a170ed0e50 dumpstate: Add authstart permission
Bug: 300182745
Test: Build/Flash

Change-Id: I8e365d9eaeb2cb337d8016e221744df658404d3c
Signed-off-by: YiKai Peng <kenpeng@google.com>
2023-09-20 11:51:43 +00:00
Chris Paulo
b0e1d9ca3b vibrator: Enable I2C paths for DBC
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>
2023-09-19 15:37:27 -07:00
Daeho Jeong
7446467475 get more logcat files with similar disk usage for zumapro
Increase the number of logcat files to 60 and enable file compression to
save disk usage at the same time.

Bug: 295175795
Test: check logcat files
Change-Id: I1adfccd538df515b2f68c488d72c3f09b4e6ee1d
Signed-off-by: Daeho Jeong <daehojeong@google.com>
2023-09-19 14:18:08 -07:00
Wilson Wu
4d92d85daa Merge "Disable variable refresh rate when typing on zumapro" into udc-qpr-dev am: 3336d18ea9 am: 2a810a1a2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24798411

Change-Id: I94665b83cea00c589983e02d9b7b4579e984ce00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 11:32:12 +00:00
Kuen-Han Tsai
20d7a3bcc3 Usb.cpp: Fix typos when unable to disable USB data
If Usb.cpp cannot write a zero value to the USB_DATA_PATH file, display
the message of "Not able to turn off usb connection notification".

Test: refactoring CL. Existing tests still pass.
Bug: 301016122
Change-Id: I4e2a920a67b022496c5332d260ff53cd6400a9f9
2023-09-19 18:57:13 +08:00
Wilson Wu
2a810a1a2f Merge "Disable variable refresh rate when typing on zumapro" into udc-qpr-dev am: 3336d18ea9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24798411

Change-Id: Id30f6c26879fc908ca374beddfc931a402ccf3b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 10:37:02 +00:00
Wilson Wu
3336d18ea9 Merge "Disable variable refresh rate when typing on zumapro" into udc-qpr-dev 2023-09-19 09:22:05 +00:00
Wilson Wu
c3c8104c69 Disable variable refresh rate when typing on zumapro
Turn off config_variableRefreshRateTypingSupported on
zumapro.

Bug: 299966467
Test: presubmit
Change-Id: I02cc8baf8c7ee9d97d51ca6593008e53978dbc59
2023-09-19 06:25:35 +00:00
Midas Chien
082aa51af5 display: enable full range DPU downscale capability
Bug: 264923279
Test: downscale CUJs
Change-Id: Idf2399047a2b6dd7e93860140215e3b8b7295c9d
2023-09-19 02:04:44 +00:00
Treehugger Robot
51096b8699 Merge "tz: Enable userdata partition and nsp chown fix" into main 2023-09-16 08:23:41 +00:00
RD Babiera
fa0f973777 Merge changes from topic "zumapro-dp-userspace" into main
* 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
2023-09-15 21:20:51 +00:00