Commit graph

777 commits

Author SHA1 Message Date
jiangzining
fc8c17c28b [Scone] add BLUETOOTH_CONNECT to SCONE default permission
Bug: 343608940
MBA Approval: b/330640278
Test: Build and Flash
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b74903d33ee1b8dbc3e09950d994aae379b5a937)
Merged-In: I2aca6fbdc59e47d6e46af918d85661116b6424d8
Change-Id: I2aca6fbdc59e47d6e46af918d85661116b6424d8
2024-05-30 09:53:49 +00:00
AleX Pelosi
cb1aeaadf1 Merge "pixelstats: Add fuel gauge abnormal event path" into 24D1-dev 2024-05-29 20:19:09 +00:00
Carter Hsu
84d6791d3c audio: enable the CCA unsupported feature
Bug: 342333009
Test: verified the CCA unsupported feature is enabled on test build
Change-Id: I4bc941ed419c5801de03c9cb954f3b0452229ed7
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-05-23 10:00:04 +00:00
Spade Lee
bddfb3dae6 pixelstats: Add fuel gauge abnormal event path
Report abnormal events from logbuffer

Bug: 333314833
Test: Events were correctly reported from each logbuffers.
Change-Id: I4256bc5ef7d3d3bb073ac7ef2922f2c3ec7e7314
Signed-off-by: Spade Lee <spadelee@google.com>
2024-05-22 16:19:20 +00:00
Isaac Chiou
75973f203d Merge "Enable open source multi akm for specific Broadcom project" into 24D1-dev 2024-05-17 04:22:07 +00:00
Isaac Chiou
6a4e7d727c Enable open source multi akm for specific Broadcom project
For cross akm roaming function, we have two ways in supplicant :
1. Open source way.
2. Broadcom specific way.

Originally, Broadcom projects follow way 2 due to the limitation of the driver.
For now, we plan to move all Broadcom projects to follow way 1 to make supplicant code clean and downsteam without conflict.

For those projects which is ready for way 1, we control it to follow way 1 with WIFI_OPEN_SOURCE_MULTI_AKM config.
For the rest of Broadcom projects, we still follow way 2 until the multiple AKMs is fully supported by driver and verified.

For ongoing Broadcom project, we also need to exercise the open source path in supplicant to do multiple AKM configuration to comply with WFA Wifi 7 AKM24 specification (b/331896542).

Bug: 336483911
Bug: 297002812
Bug: 331896542
Test: AU drop test
Test: Cross AKM roaming test
Change-Id: Iac396ef4a9f6a6e6a2a4c493aea4eea4e88db42f
2024-05-17 03:59:54 +00:00
Donnie Pollitz
513c31aaad Merge "storageproxyd: Integrate new command arguments" into 24D1-dev 2024-05-14 21:59:03 +00:00
Chinmay Dhodapkar
3cf538120b Merge "Effectively disable TN scanning timer" into 24D1-dev 2024-05-10 16:55:14 +00:00
Chinmay Dhodapkar
34a314e6a0 Effectively disable TN scanning timer
Max out TN scanning timer to 24 days. This will essentially disable TN scanning for all practical purposes

Change-Id: I8757cdff8ca33be6db7a78f7fce1f0fd1843427d
Bug: 339233361
Test: presubmit, manual sanity
2024-05-10 14:57:45 +00:00
Treehugger Robot
87179cfea1 Merge "Add package name and intent action to handle oem-enabled satellite SOS messaging" into 24D1-dev 2024-05-10 13:20:19 +00:00
Weizhung Ding
9df4113899 add display stats paths for zumapro devices.
Bug: 339598226
Test: build and check stats
Change-Id: I3835dbe8ff4328b861e6ad6baf2942ae5891e080
2024-05-09 19:06:17 +00:00
Hakjun Choi
21ed732f65 Add package name and intent action to handle oem-enabled satellite SOS messaging
Bug: 338469596
Test: manually test whether oem enabled satellite sos messaging is invoked
Change-Id: I80f88f2a909b5dbd2f42fa5e90d2e5b7ee74941d
2024-05-09 17:21:58 +00:00
Weizhung Ding
1d192f839c add HDCP stats paths for zumapro devices.
Bug: 339598226
Test: build and check stats
Change-Id: Ib4bb9f7c05976b1ed60f0701a352f2c5ecb3c078
2024-05-09 11:47:07 +00:00
Weizhung Ding
b7aa5720ed add display port stats paths for zumapro devices.
Bug: 339598226
Test: build and check stats
Change-Id: Id60d389cc644c90b6b4df1df5ebedec97d2bc996
2024-05-09 11:46:25 +00:00
Shiyong Li
76b4579312 Merge "Add sepolicy for power_state node" into 24D1-dev 2024-05-09 05:16:16 +00:00
Carter Hsu
bc50822654 Merge "audio: enable config_safe_media_volume_enabled on US" into 24D1-dev 2024-05-09 01:24:17 +00:00
Darren Hsu
a4c83326a4 powerstats: fix GPU and TPU energy consumer issue
1. S2S_VDD_G3D is only one monitored rail for GPU.
2. TPU rail has been renamed to S7M_VDD_TPU.
3. TPU frequencies have been changed.

Bug: 339320507
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I5e965e9d58a1ae08706fb46c6a4fc9549a889352
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-05-08 14:52:20 +08:00
Treehugger Robot
f8784de7c9 Merge "Screen Brightening/Darkening thresholds update" into 24D1-dev 2024-05-07 14:10:18 +00:00
Rios Kao
9806f4558c Merge "audio: add debug interface soong value" into 24D1-dev 2024-05-07 03:01:20 +00:00
Treehugger Robot
ef5be6ef04 Merge "powerstats: introduce Modem PCIe GEN state residency" into 24D1-dev 2024-05-06 04:15:32 +00:00
Darren Hsu
debc35444a powerstats: introduce Modem PCIe GEN state residency
This is a feature request from Modem team to add new state
residency stats for Modem PCIe GEN speed.

Bug: 338278462
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I909d7ac7b42d0b91633796f7a868fa525891e719
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-05-03 15:04:22 +08:00
Ram Chandrasekar
ac715ab11d init: zumapro: update thermal uclamp cooling device owner
Update the thermal uclamp cooling device cur_state owner to system. This
will allow thermal-HAL to update any mitigation.

Bug: 338150183
Test: Validate the node permission

Change-Id: I8cd35b12442ab6a314d8c9b9375877dc62cd19b6
Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
2024-05-03 06:28:59 +00:00
Spade Lee
ce5d8d3c0e Merge "pixelstats: zumapro: add all logbuffer paths" into 24D1-dev 2024-05-03 04:51:31 +00:00
Jack Wu
95378b277a Update health AIDL HAL to V3
Bug: 337145658
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I00040dcbf59f89fdeff261d6e5511108d147da42
Merged-In: I00040dcbf59f89fdeff261d6e5511108d147da42
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from commit 14f5ee626d)
2024-05-02 21:39:53 +08:00
Rios Kao
909711bbdf audio: add debug interface soong value
note: Using the flag to filter all debugging
      purpose interface from the build.

Test: build pass
Bug: 332490210
Change-Id: I06a8048c0d28b58c3965ad110f41255c92d1b6d5
2024-05-02 03:30:36 +00:00
Carter Hsu
d59147a5dc audio: enable config_safe_media_volume_enabled on US
Bug: 337063847
Test: build pass
Change-Id: Ib2f160e95d97a421e19c93ae917abea198a21e13
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-05-02 03:19:09 +00:00
Thomas Nguyen
2727885eab Use the combination of US territory and Skylo satellite coverage for geofencing data
Bug: 329444890
Test: s2storage_tests SatelliteS2StorageTests SatelliteToolsTests
SatelliteAccessControllerTest SatelliteManagerTestOnMockService
Manual test with Skylo demo and real mode

Change-Id: Ibf6d5f6001fdfdc7d476e4eb68596351f6e5143c
2024-04-30 21:57:59 +00:00
Minchan Kim
3584b14a53 Restrict running pa_kill threads on middle/little
Bug: 298662883
Test: Confirmed pa_kill threads's affinity with taskset -p pid
Change-Id: Iec47f3f44450d5271a1ef3a4ab51f9f37990bb6d
Signed-off-by: Minchan Kim <minchan@google.com>
2024-04-29 23:28:21 +00:00
Akash Malik
5481559c23 Merge "Pregrant media access to CreativeAssistant" into 24D1-dev 2024-04-29 21:58:38 +00:00
Peter Lin
a40a46cc83 Screen Brightening/Darkening thresholds update
Bug: 327934902
test: dumpsys display
Change-Id: Ieceaf9c9f50ca31545400220a3b3ac07310112f6
2024-04-29 12:40:22 +00:00
Spade Lee
b89dbd78c4 pixelstats: zumapro: add all logbuffer paths
Bug: 335934710
Change-Id: I2d6d03fa323196efe3c9dda5593bd039bfbc397c
Signed-off-by: Spade Lee <spadelee@google.com>
2024-04-29 01:43:06 +00:00
malikakash
9c4adf4b9a Pregrant media access to CreativeAssistant
- Give READ_MEDIA_IMAGES to CreativeAssistant.
- Since these is a protectionLevel=dangerous permission,
  adding them to privapp-permissions does not work (that is
  just for privileged|signature permissions).
- I've tested that this change works,
   see https://screenshot.googleplex.com/746UujEb3ovc2Dg

Bug: 308029155
Test: adb shell dumpsys package com.google.android.apps.pixel.creativeassistant | grep granted=true
      shows
      android.permission.READ_EXTERNAL_STORAGE: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
      android.permission.READ_MEDIA_IMAGES: granted=true, flags=[ GRANTED_BY_DEFAULT]

Change-Id: Ief9f862c580e839946242fcc323514e5f9e5a162
2024-04-27 07:16:19 +00:00
Taeju Park
6d55164a24 init: tuning PMU paramter
Bug: 310237445
Change-Id: I91e1e9b112bb34960ea9981e03ae6c6826d67e3c
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 18:11:04 +00:00
Wei Wang
92a3db5c6c Merge "init: remove lcpi paramter for PMU limit" into 24D1-dev 2024-04-26 17:49:54 +00:00
Enzo Liao
b06859a6c2 Merge "Apply common SELinux policies related to ramdumps and coredumps to zumapro." into 24D1-dev 2024-04-25 08:22:06 +00:00
George Lee
0c46083475 Merge "init: zumapro: Remove all BCL related initial val" into 24D1-dev 2024-04-24 22:27:19 +00:00
George Lee
b480785fcf init: zumapro: Remove all BCL related initial val
The initialization will be reverted to device tree instead.

Bug: 336064574
Test: Confirm no race condition during boot
Change-Id: I57fd893fb22a2cf9d3b007d023edd6989b3db1ba
Signed-off-by: George Lee <geolee@google.com>
2024-04-24 13:30:46 +00:00
Jenny Ho
b19d9e72a9 Merge "dump_power: add max77779 fwupdate logbuffer into bugreport" into 24D1-dev 2024-04-24 05:51:21 +00:00
Silen Sun
e9c5adc4d2 Merge "Remove "bluetooth.profile.bap.broadcast.assist.enabled" in "zumapro/device.mk"" into 24D1-dev 2024-04-24 02:43:55 +00:00
Kevin Ying
84555a6e6a Add sepolicy for power_state node
Bug: 329703995
Test: manual - used camera
Change-Id: I6df9b149fd977613d01b0fd20a0fe92ad809ae70
Signed-off-by: Kevin Ying <kevinying@google.com>
2024-04-23 22:00:53 +00:00
Donnie Pollitz
6696e265ee storageproxyd: Integrate new command arguments
Background:
* Adds argument to explicitly define storage backings for secure
  storage files.  Storageproxy will also internally manage the creation
  of symlinks as necessary (Useful for determining if a userdata wipe
  has occurred).
* Adds an argument to define the max size for file backed storages.

Bug: 324989972
Test: Storage port tests running
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:72c31fc3e4515eaf1ffccfb225c3bee52e5988b2)
Merged-In: Iafdf6d87a786665c118cd652243a34842f5f789d
Change-Id: Iafdf6d87a786665c118cd652243a34842f5f789d
2024-04-23 15:45:28 +00:00
Jenny Ho
95ec940804 dump_power: add max77779 fwupdate logbuffer into bugreport
Bug: 334198978
Change-Id: I62fcde4a49024ccacc96a3139bb3284c41ceea58
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-23 08:04:40 +00:00
silens
a0801299ce Remove "bluetooth.profile.bap.broadcast.assist.enabled" in "zumapro/device.mk"
This prop should not be set here.
If enable broadcast assistant, set it directly in device.mk of the product.

Bug: 322258710
Test: build
Change-Id: Iabb77e0e65fed6cb725c96bfdc451da0c2003fb3
2024-04-23 01:18:49 +00:00
Akash Malik
ed733ea507 Pregrant POST_NOTIFICATIONS to CreativeAssistant
This will allow showing persistent, cancellable notifications when downloading models in a foreground service.

Demo:
https://drive.google.com/file/d/1IoSQsVxUrUN8ohqY3nGbuXvCD-C_78ao/view?usp=drive_link&resourcekey=0-QQ4z3f4XCoIf4H9CdEDa4g

Note: I'm submitting to main before, and I will cp into 24D1.
Note: Yes, zumapro default permissions also apply to caimito.

Bug: 308029155
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:18db77ac1cbc62916a82f83ea6449d8900dd1852)
Merged-In: I9e9017fc056a5c9f13f481f43317f551413390ca
Change-Id: I9e9017fc056a5c9f13f481f43317f551413390ca
2024-04-23 01:02:51 +00:00
Enzo Liao
33d2fb3967 Apply common SELinux policies related to ramdumps and coredumps to zumapro.
Refer: ag/26620507

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:831c32fac6b7ff6857c795c929eac2fc1b2430f6)
Merged-In: I975b5ac3fa9e13692903cd92bdf094520736f8b1
Change-Id: I975b5ac3fa9e13692903cd92bdf094520736f8b1
2024-04-22 03:03:04 +00:00
Treehugger Robot
0d3db367cc Merge "thermal: enable thermal dfs stats" into 24D1-dev 2024-04-20 03:27:00 +00:00
Treehugger Robot
f7bcc15d04 Merge "init.zumapro.board.rc: Tune scheduler parameter" into 24D1-dev 2024-04-19 18:31:58 +00:00
Treehugger Robot
9bc973158b Merge "BoardConfig-common.mk: Enable Lazy RCU by default" into 24D1-dev 2024-04-19 18:28:31 +00:00
Taeju Park
bc854b4539 init: remove lcpi paramter for PMU limit
PMU-based soft freq limit no longer use lcpi parameter

Bug: 295054083
Change-Id: I0c43c944278852388384c4e8647d3c5dc5b36f94
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-18 21:03:57 +00:00
sashwinbalaji
402880058c thermal: enable thermal dfs stats
Add trip counter path to monitor dfs count.

Bug: 333368025
Test: Local build and verify logs
Change-Id: I6d83e88c715b2e212ccc8c21f72a2b7a71f8c43b
2024-04-19 03:15:39 +08:00