Commit Graph

46 Commits

Author SHA1 Message Date
Michael Bestas
06decba58d sunfish: Remove userdebug/eng configuration
Change-Id: I8a37c788060a4aae5a7585ea8142a6fbfec8cba4
2025-09-14 23:35:53 +03:00
Michael Bestas
1d594b603e Merge tag 'android-14.0.0_r1' of https://android.googlesource.com/device/google/sunfish into lineage-21
Android 14.0.0 Release 1 (UP1A.231005.007)

* tag 'android-14.0.0_r1' of https://android.googlesource.com/device/google/sunfish:
  Update sunfish SVN to 64
  Update sunfish SVN to 63
  sunfish: remove customizedMaxCachedProcesses
  Update sunfish SVN to 62
  Add hardware/qcom/wlan namespace
  update namespace for generic hal
  Explicit init .rc user.
  update AIDL IGoogleBattery manifest version to 2
  Revert "Revert "update AIDL IGoogleBattery manifest version to 2""
  Revert "update AIDL IGoogleBattery manifest version to 2"
  update AIDL IGoogleBattery manifest version to 2
  Update overlay to support MAC randomization on open SSIDs
  Set the default loop driver queue depth to 31
  Revert "Migrate the blkio cgroup controller to the v2 hierarchy"
  sunfish: move sg_write_buffer rule to common folder
  Update Sunfish compatibility matrix and makefile to use the AIDL wifi_ext service.
  Revert "Update Sunfish compatibility matrix to use the"
  Add prebuilt protobuf 3.9.1 to vendor partition.
  Update Sunfish compatibility matrix to use the AIDL wifi_ext service.
  [Sunfish] Drop the ACCESS_FINE_LOCATION for Restore
  Migrate the blkio cgroup controller to the v2 hierarchy
  Add display config for sunfish
  Removing deprecated Sunfish target
  update namespace for generic hal
  Migrate I/O scheduler parameters to task_profiles.json
  Delete HALs that are already in VINTF fragments (google_battery)
  Delete HALs that are already in VINTF fragments (android.hardware.*)
  Delete GNSS from main manifest.
  Clean up unused face_enroll_introduction_animation
  This file doesn't exist
  Dumpstate: get fsck log
  Disable per-cgroup PSI accounting
  AOSP+GMS - Build for aosp_sunfish_gms - set BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE.
  Allow including car boards from outside google_car
  Add device-specific support for GoogleBattery AIDL V1
  Update sunfish SVN to 45
  [LSC] Add LOCAL_LICENSE_KINDS to device/google/sunfish
  Notify port status change for moisture detection
  Implement callbacks for limitPowerTransfer
  Migrate IUsb implementation to AIDL
  Disable LE audio related profiles for sunfish
  Switch NFC from HIDL to AIDL
  Set default the Bluetooth class of device
  Revert "Switch NFC from HIDL to AIDL"
  Use the ?= operator so BT properties can be overridden
  Switch NFC from HIDL to AIDL
  Update LE Audio profile properties to match spec and implementation
  Update sunfish SVN to 42 Bug:  223313197
  Implement callbacks for limitPowerTransfer

 Conflicts:
	BoardConfig-common.mk
	device.mk

Change-Id: I405c33be5711d05a53bf14d784eca2fc2672cea0
2023-10-25 23:29:22 +03:00
razorloves
585293e374 sunfish: Set date for vendor SPL
This should be set to 2023-08-05, assuming last month was the
last sunfish update from google, but we missed that window.

Change-Id: I2f0a3fcc57e1332de91855c38047dcfad3c3ce93
2023-10-07 14:26:45 -05:00
Bart Van Assche
b84b9b0a8b Migrate I/O scheduler parameters to task_profiles.json
This patch preserves the CFQ I/O scheduler parameters:
* Foreground blkio.weight     (CfqWeight)    1000
* Foreground blkio.group_idle (CfqGroupIdle) 2000
* Background blkio.weight     (CfqWeight)     200
* Background blkio.group_idle (CfqGroupIdle)    0

This patch prepares for migration of the blkio controller to the v2
cgroup hierarchy.

Bug: 213617178
Change-Id: I868e766092d875813a5f5e448631d59c38915649
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2022-09-15 10:19:11 -07:00
Joe Maples
7576772aad sunfish: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2022-08-29 18:06:33 +03:00
Pratyush
639160fbb6 Allow duplication in system properties
These changes are required to safely allow duplication in
system properties

Taken from ag/15310732

Bug: 190080582
Test: Built and flashed the binary in device
Change-Id: Iaa691d2e61fdd98feb66af96c02b0b85adf5e407
2021-09-16 12:07:52 +00:00
TreeHugger Robot
5ce1910458 Merge "device-common: set testing_battery_profile default 2" into sc-dev am: a85eb27c2f am: f305c2d560 am: fdddf264f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish/+/14608070

Change-Id: I30dce27bfb37f0f8014b48f6e69e4e26bbbe0fed
2021-05-29 00:28:09 +00:00
Jenny Ho
c7a92595a7 device-common: set testing_battery_profile default 2
set 2 to prevent from limiting battery level in unexpected testing situation

Bug: 180511460
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I46d7bb6ac9554fd11d407d4aab660763043490d4
2021-05-27 06:27:08 +00:00
Alex Hong
98d90905b7 Remove the redundant artifact path requirement allowed list entries
system/lib64/android.hardware.thermal@2.0.so is no longer installed

Test: make
Bug: 188917132
Change-Id: I2100c4544bbd5b6a2c6a24a6d7cba3c034213dbd
2021-05-21 22:33:09 +00:00
Alex Hong
84a160b107 Temporarily add the allowed list for CSI requirements am: d724960bc1 am: 342669bbb8 am: 1cc453add7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish/+/14250246

Change-Id: I83470798870fb2d13332f50219b44e4103d23c17
2021-05-21 18:54:55 +00:00
Alex Hong
d724960bc1 Temporarily add the allowed list for CSI requirements
Bug: 182255618
Change-Id: Iea5cd98c31e6445d10556fadcadf47a430a2e95e
2021-05-21 07:06:36 +00:00
Jenny Ho
b87dcc34dc Merge "Allow setting charge start and stop levels when in Test Harness Mode" into sc-dev am: 8b258aafa5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish/+/14099689

Change-Id: Ib9b2fdbb0b69407d71351fb2d028866b950bea9d
2021-05-04 03:12:08 +00:00
Jenny Ho
7b081a6662 Allow setting charge start and stop levels when in Test Harness Mode
Bug: 180511460
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ie383a75f131976942d150c1b772d6a814064e054
2021-05-03 13:59:30 +08:00
Woody Lin
b4df7d4a0d sunfish: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2021-03-03 16:01:20 +00:00
Victor Hsieh
dd6c1a9ebb Use fs-verity on sunfish
Like coral and flame, the device should have had fs-verity enabled.
But the kernel config wasn't turned on until pa/1843487 is deployed.

Bug: b/177495897
Test: TH
Change-Id: Ic7698507d8f6d3eec6a62ccdef3fa86a1d6ab2b3
2021-01-14 08:55:44 -08:00
Minchan Kim
11c999cdb4 move dmabuf_tool into pixel common file
Bug: 176859817
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I104c42a8c60b53530fefde653c5adea5bf76bb09
2021-01-06 13:04:51 -08:00
TreeHugger Robot
142a9ff6c9 Merge "Revert "Enable improved user separation for sunfish."" 2020-12-08 18:47:21 +00:00
Alan Stokes
24c12717de Revert "Enable improved user separation for sunfish."
This reverts commit 58fb436e8f.

Reason for revert: On by default since commit 763393644a0a6e361f26dfe26f6dc0021579f011.

Bug: 171462631
Change-Id: I626a1fac28ce42ea1305b6df3d214a6444a1a133
2020-12-08 17:11:24 +00:00
EvenlyWang
227057f731 audio: set vendor.audio.adm.buffering.ms to 2 am: 836a4d0c1b am: 6a97e4e3eb am: 4d63ba0206 am: 02e59a7729
Original change: https://android-review.googlesource.com/c/device/google/sunfish/+/1480518

Change-Id: Id481c9cbd82e0eb3c98d9563692929e9be2c4529
2020-11-03 07:52:01 +00:00
EvenlyWang
836a4d0c1b audio: set vendor.audio.adm.buffering.ms to 2
The property is to define the buffer size in ADM
(Audio Data Manager) and it might lead to glitches
or extra latency if it is not configured properly.

Bug: 160107932
Change-Id: I74c99e33ea5a3cdbd6b7bccf0f739026f5094c08
Signed-off-by: JJ Lee <leejj@google.com>
2020-10-30 15:27:30 +08:00
Alan Stokes
58fb436e8f Enable improved user separation for sunfish.
I'm doing this on a device-by-device basis as it depends on
device-specific sepolicy changes (see b/170622707). Enabling now to
prevent the policy regressing, and to get field experience.

Previously enabled for crosshatch+blueline in commit
8266b7418d5dc5a743bc0216ac5e17f36fb917d4.

Bug: 141677108
Test: presubmits
Change-Id: I639562da7ccf0469effce290df22ff006fdc632a
2020-10-29 14:13:15 +00:00
Woody Lin
44ab4bf2cb sunfish: Enable framework watchdog timeout loop breaker
Bug: 141948707
Change-Id: I0257e52cab50ae711300cdb9d20139827bbcec36
2020-10-19 06:47:35 +00:00
Nikita Ioffe
e9300a2c4b Disable userspace reboot
Test: builds
Test: build vendor/build.prop
Test: grep 'init.userspace_reboot' ${OUT}/vendor/build.prop
Bug: 157884323
Change-Id: I5123a2304d60a0063b253d145ec1ed917789cfe8
2020-06-01 19:56:48 +01:00
Songchun Fan
9c56fabfc8 [sunfish/build] set vendor property ro.incremental.enable
It is now a vendor-specific property.

Test: builds
BUG: 155212902
Change-Id: I9295eaab5d16d8c3d5490c1c836da8afa775358e
2020-04-28 13:28:49 -07:00
Redick Lin
195b9dd5e5 BOARD_CHARGER_ENABLE_SUSPEND becomes ro.charger.enable_suspend
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.

Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
2020-04-20 18:29:47 +08:00
TreeHugger Robot
dc25476aba Merge "Enable Incremental feature via the kernel module" into rvc-dev 2020-04-14 14:03:34 +00:00
dybertwang
d02145d620 pixel: move code change of "dark_theme" into pixel common folder
Bug: 150836896
Change-Id: If39a6e32091e8ed717851e678b119f8763d993a5
2020-04-08 03:51:56 +00:00
Paul Lawrence
5eba3dcb31 Enable Incremental feature via the kernel module
Bug: 152861298
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest
Change-Id: I3425ac9ee67b5a71606f15483f7ae3e5fdffd5fb
2020-03-31 07:42:02 -07:00
Automerger Merge Worker
b468201bed Merge "Disable Rescue Party on userdebug & eng build" into qt-qpr1-dev am: 9499bc0ecf
Change-Id: I005df371d83c9259267055c84248279cbb83f950
2020-03-11 10:57:41 +00:00
Howie Chang
0bd9940d58 Disable Rescue Party on userdebug & eng build
Bug: 151131255
Test: killed system_server several times, device entered recovery mode
Change-Id: Iaec60ff97e3a5db9ae533a7751d1875e91b12a70
2020-03-11 11:39:30 +08:00
Martin Liu
ab181e534a Remove lmkd properties to enable new lmkd kill strategy
With new strategy default values for lmkd properties should work
and no property overrides are necessary.

Bug: 143857475
Test: lmkd_unit_test
Change-Id: I52c8c93ad5adb5e741790939e381b7c0adae4261
2020-03-10 17:05:58 +08:00
davidchao
a020df85fa thermal: Enable thermal warm reset am: 9b03348100 am: 6a924fbef2
Change-Id: I2c4672e3ef3905a71d6e5c3af11d3342ec7ffcc3
2020-02-15 12:40:26 +00:00
davidchao
9b03348100 thermal: Enable thermal warm reset
Bug: 144071725
Test: ramoops exists after an intended triggered thermal shutdown
1) trigger thermal shutdown (temperature varies on different platform)
$ adb shell "echo 59100 > /sys/devices/virtual/thermal/tz-by-name/skin-therm-monitor/emul_temp"
2) verify ramoops exist after thermal shutdown
$ adb shell ls /sys/fs/pstore/console-ramoops-0
$ adb shell ls /sys/fs/psotre/pmsg-ramoops-0
Change-Id: I2f3fc4976ab4edf526e137ae4b3a03113db0e97b
2020-02-14 08:39:34 +00:00
Automerger Merge Worker
fd0255e82d Merge "Configure audio latency and feature flags" into qt-qpr1-dev am: 6c7dc5a2e9 am: 47f6cb035e
Change-Id: I008e5cfc8b668c2c5409b7debe881be353bee928
2020-02-05 09:14:06 +00:00
Miller Liang
6c7dc5a2e9 Merge "Configure audio latency and feature flags" into qt-qpr1-dev 2020-02-05 08:52:43 +00:00
Nikita Ioffe
da7d7ae795 Inherit userspace_reboot.mk
Test: Checked that userspace_reboot.mk is included in device makefiles
Bug: 135984674
Change-Id: If910e2a6baf8acaafc8bafdf8193ba7237f66f1a
2020-01-29 19:14:02 +00:00
Lucas Lin
8ac183ef8c Merge "Add default property of tcpdump_logger" into qt-qpr1-dev 2020-01-15 10:44:12 +00:00
millerliang
8457be7555 Configure audio latency and feature flags
Bug: 147434427
Test: OboeTester
Change-Id: I7a222f7f1db51db0189c30d653be159322552e3e
2020-01-15 17:39:21 +08:00
lucaslin
0dd49a1ad3 Add default property of tcpdump_logger
Bug: 147082998
Test: Build pass
Change-Id: I9ecabef5192191c0c4b17a44cb23736d95217aa1
2020-01-14 18:03:45 +08:00
Midas Chien
5e522f8283 Remove surfaceflinger idle timer configuration
The surfaceflinger idle timer is used to detect when devices are
idle to switch to lower refresh rate for power saving. This is used
for project support high fps. Also set surfaceflinger default app
and sf phase offset properties.

Bug: 147645861
Test: check properties, dumpsys SurfaceFlinger
Change-Id: I5c7e93a8411a89b29346a687ec0dcfffb40f2ac5
2020-01-14 16:15:29 +08:00
Samuel.lh Huang
ba3bc789aa Turn on GPU protected contents.
Bug: 143514346

Test: ExoPlayer, and check SF dumpsys
Change-Id: If0528ea8ad19b6c6f2470436274fff3e85d09919
2020-01-07 12:01:13 +00:00
millerliang
37517cdd2d audio: enable aaudio MMAP mode for sunfish
This will allow AAudio to route audio data through a new service
that uses ALSA MMAP/NOIRQ mode.

Bug: 142851095
Test: OboeTester and check log
Change-Id: Ibe9082e713fe1bcffe57ccd5e5b6cd2344bb0505
Signed-off-by: millerliang <millerliang@google.com>
2019-12-27 17:31:36 +08:00
Gil
012136795f [Display] Sunfish : Enable adaptive color mode
Enable Adaptive color mode setting on Sunfish.

Bug: 143513730
Test: Boot test and measure the adaptive color value

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2019-12-24 18:48:28 +08:00
Martin Liu
f0b54771be Add dmabuf_dump
To support dmabuf info dump in dumpstate

Bug: 142550651
Test: dumpstate show the dma-buf info
Change-Id: I88daa1914a6999b0813d269cabfc4349220f7b7b
2019-12-18 22:54:40 +08:00
Tao Bao
f3a93df73e [DO NOT MERGE] Support showing dark boot animation on dark theme.
Bug: 144745886
Test: adb shell setprop persist.sys.theme 0 => boot animation is light
Test: adb shell setprop persist.sys.theme 1 => boot animation is light
Test: adb shell setprop persist.sys.theme 2 => boot animation is dark
Test: factory reset in recovery mode, boot animation became light

Change-Id: Iaca9d2b807f316be592dae022665ae32d34f024f
Signed-off-by: Howie Chang <howiechang@google.com>
2019-11-28 06:34:07 +00:00
Cyan_Hsieh
2ec6373901 Initial S5 device folder
Reference
67d47b661b457286b602df626c3aa8ba0bc721fe
aa6f4ddc29c893aacb41e3ae06ae031b605bbde4
device/qcom/common and device/qcom/sm6150 of LA.UM.8.9.R1.09.00.00.558.029

Bug: 139269901
Change-Id: I663fd9ae5d0ecb92c579200cef9eae6f6c0e3ccd
2019-08-21 16:59:10 +08:00