2073 Commits

Author SHA1 Message Date
Philip Quinn
a19ae3354b Include vendor/google/interfaces as a transitive dependency of twoshay.
Bug: 278909669
Test: presubmit
Change-Id: Ie9f2f76777407183e9e9e3792265cf00c3ecc204
2024-04-30 22:11:25 -07:00
Randall Huang
e4c7499bcb Merge "storage: tune f2fs to get max performance" into main 2024-04-24 03:21:12 +00:00
Shinru Han
fe1b1aaa14 [automerger skipped] Merge "gps: Update gps makefile" into 24D1-dev am: b61232f24f -s ours
am skip reason: Merged-In I4357e7a7c5c35c9bdfd94fa8c1fd59d21bbcd668 with SHA-1 3647a441ad is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26546996

Change-Id: Idb13d5de4919a17d32e2329e63d3be7153a2b0e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 01:15:36 +00:00
Shinru Han
72e1c30f8c [automerger skipped] gps: Update gps makefile am: 84de7535b5 -s ours
am skip reason: Merged-In I4357e7a7c5c35c9bdfd94fa8c1fd59d21bbcd668 with SHA-1 3647a441ad is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26546996

Change-Id: Icbd94987a62251140af06909af467ace42fe67ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 01:15:26 +00:00
Shinru Han
b61232f24f Merge "gps: Update gps makefile" into 24D1-dev 2024-04-24 00:59:36 +00:00
Jaegeuk Kim
8ce08dfc7e storage: tune f2fs to get max performance
max_io_bytes : block will split out, so let's submit asap.

min_hot_blocks : don't mess up the logs per the chunk size.

Change-Id: I0795fea90c3aaee0ef6058fce7f4a3c31fc3fb42
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2024-04-23 16:07:15 -07:00
Martin Liu
3b2fde15ef Move compaction_proactiveness rule to system vendor init
Bug: 330670954
Test: boot
Change-Id: I3cb505a76850c9c3b48d127ae93eb03aa3da33d9
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-23 08:08:50 +00:00
Minche Li
57c639e4ce Merge "Updates TTS voice packs in gs-common" into main 2024-04-23 03:27:14 +00:00
Enzo Liao
d8a9aa897d Remove unused apps (RamdumpService and SSRestartDetector) from AOSP.
After ag/26620507, the two apps are built in AOSP.
AOSP doesn't need them so we should not build them.

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Flag: NONE N/A
Change-Id: I0925fa0bb512a0001bfb46c524c9124128bc5e6e
2024-04-22 16:57:27 +08:00
Enzo Liao
d211011681 Merge "Revert "Remove unsed apps (RamdumpService and SSRestartDetector)..."" into main 2024-04-22 07:52:40 +00:00
Enzo Liao
2a2146024b Revert "Remove unsed apps (RamdumpService and SSRestartDetector)..."
Revert submission 26988480-Remove RamdumpService and SSRestartDetector from AOSP

Reason for revert: Exclude AOSP builds by a condition check instead

Reverted changes: /q/submissionid:26988480-Remove+RamdumpService+and+SSRestartDetector+from+AOSP

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Flag: NONE N/A

Change-Id: I518af9425d8f808671118c41d1cabd68782c1ff6
2024-04-22 05:10:46 +00:00
Bruce Po
fe72bc0c1d selinux allow aocxd to access AoC buffers
Allow aocxd service to access new device nodes
/dev/acd-aocx_inject*
/dev/acd-aocx_tapout*

type=1400 audit(0.0:88): avc:  denied  { getattr } for  path="/dev/acd-aocx_tapout0" dev="tmpfs" ino=1936 scontext=u:r:aocxd:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0

type=1400 audit(0.0:89): avc:  denied  { getattr } for  path="/dev/acd-aocx_inject0" dev="tmpfs" ino=1937 scontext=u:r:aocxd:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0

BUG: 335884035
Change-Id: Ie4cd637e91f1d9db081bb794a9fb60e3bafe0218
2024-04-19 21:25:41 +00:00
Binhao Lin
d5028db7e3 Merge "Attach multicam CPA to the bug report" into 24D1-dev am: 278620120f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27030061

Change-Id: I9266fb1b07fbf7a396e37834dc25d1a2084fb192
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 21:13:45 +00:00
Binhao Lin
278620120f Merge "Attach multicam CPA to the bug report" into 24D1-dev 2024-04-19 20:47:41 +00:00
Binhao Lin
b1a35566c1 Attach multicam CPA to the bug report
Multicam CPA file size is small, usually <50KB. Collect 10 most recent
files to the bug reports.

Bug: 310389222
Test: adb bugreport
Change-Id: I902fbdfa460a18fb3976d2fbfb4c1c0a716a4ab2
2024-04-19 18:33:56 +00:00
Treehugger Robot
67c14e6e01 Merge changes from topic "gs_mm_common" into main
* changes:
  Set compaction_proactiveness and percpu_pagelist_high_fraction
  allow vendor init to access MM knob
2024-04-19 06:27:54 +00:00
Ravi Jain
a30f1bcfb4 Merge changes from topic "touch_dumpstate_priority-24D1-dev" into 24D1-dev am: 3defa6f8ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26926316

Change-Id: I2d0bee71d89fa083110e177ddf4d4f3b06930300
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 06:14:22 +00:00
Ravi Jain
44c50aee79 dumpstate: touch: Add touch_predump for gti am: f7bacf5322
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26919214

Change-Id: I29b6676a78c0cd54d50f7f1f8d07dd75518cf197
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 06:14:18 +00:00
Ravi Jain
436222de27 dumpstate: touch: Init touch_predump service am: 8a52cae4dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26919213

Change-Id: Idb6efba436e5d06eeff611428b2e9bd1f6b6eb0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 06:14:12 +00:00
Ravi Jain
3defa6f8ea Merge changes from topic "touch_dumpstate_priority-24D1-dev" into 24D1-dev
* changes:
  dumpstate: touch: Add touch_predump for syna
  dumpstate: touch: Add touch_predump for gti
  dumpstate: touch: Init touch_predump service
2024-04-19 05:47:46 +00:00
Rios Kao
9be61e9e36 aidl: audio: update external service version am: 905441e15c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27007170

Change-Id: I429852de4d752f9b2d0be02983f51ffde34d7094
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-18 20:53:18 +00:00
Rios Kao
905441e15c aidl: audio: update external service version
Bug: 332443021
Test: mm
Change-Id: I56f50c5f2ddce80f95af2228e91a1db5757dffbc
2024-04-18 18:38:14 +00:00
Martin Liu
d627901103 Set compaction_proactiveness and percpu_pagelist_high_fraction
Move the settings from project's setting to common folder so
the changes can also apply to the following 6.1 kernel.

Bug: 332916849
Bug: 309409009
Test: boot
Change-Id: I89d0386821e8a47301023aa414998dd76e3bd6b9
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-18 07:10:14 +00:00
Martin Liu
d7125c42db allow vendor init to access MM knob
allow vendor init to access compaction_proactiveness
and percpu_pagelist_high_fraction

Bug: 332916849
Bug: 309409009
Test: boot
Change-Id: Idf83babc3f482ad4183c7287a808904c9608fc10
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-18 07:09:59 +00:00
Ravi Jain
f7bacf5322 dumpstate: touch: Add touch_predump for gti
go/touch_predump

Test: b/318578275
Test: Locally flash and check dump logs on dogfood device
Bug: 287907308
Change-Id: I4a35a9a57c1331d67dfcd1863b57d75a9b804c32
2024-04-18 06:35:29 +00:00
Ravi Jain
8d34b54167 dumpstate: touch: Add touch_predump for syna
go/touch_predump

Test: b/318578275
Test: Flash on dogfood and check touch dump logs
Bug: 287907308
Change-Id: I88c488dec5de85545ae5f33f5e65371883982e48
2024-04-18 06:35:29 +00:00
Ravi Jain
8a52cae4dd dumpstate: touch: Init touch_predump service
go/touch_predump

Test: b/318578275
Test: Locally flash to check dump_touch logs on dogfood devices
Bug: 287907308
Change-Id: Ibc9df367549dd69c83936a7fd08465f7bb53ce80
2024-04-18 06:35:23 +00:00
Enzo Liao
448b457d10 Merge "Remove unsed apps (RamdumpService and SSRestartDetector) from AOSP." into main 2024-04-18 02:12:03 +00:00
Hongyang Jiao
32be9ab50e Merge "Add betterbug folder to gs-common" into 24D1-dev am: 5f3f01a719
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26987042

Change-Id: Iacf5377da09f19f9555d5465ca0ada0aac8dd9c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:10:56 +00:00
David Lin
27f7af17f4 [automerger skipped] Merge "[Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet" into 24D1-dev am: f0c3c420ab -s ours
am skip reason: Merged-In I2c1785105bab74a483bc68893d96a8a88eabfd90 with SHA-1 d4de4ddf90 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26976960

Change-Id: I730d327703c3828c9c424acc4de91865bce49757
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:10:44 +00:00
Klines Jiang
33a4b03908 [automerger skipped] [Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet am: 3133d362a4 -s ours
am skip reason: Merged-In I2c1785105bab74a483bc68893d96a8a88eabfd90 with SHA-1 d4de4ddf90 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26976960

Change-Id: I121faf236dad692907ac631b2f6ab67569628840
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:10:41 +00:00
Hongyang Jiao
870982619f [automerger skipped] Merge "Revert "Add betterbug folder to gs-common"" into 24D1-dev am: 1e6e41664f -s ours
am skip reason: skipped by jiaohy

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26630902

Change-Id: I29a9a9a858610febbc772fd5003a002f63c7da79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-17 18:08:41 +00:00
Hongyang Jiao
5f3f01a719 Merge "Add betterbug folder to gs-common" into 24D1-dev 2024-04-17 17:57:26 +00:00
Shinru Han
84de7535b5 gps: Update gps makefile
Test: on-device
Bug: 326527903
Change-Id: I4357e7a7c5c35c9bdfd94fa8c1fd59d21bbcd668
Merged-In: I4357e7a7c5c35c9bdfd94fa8c1fd59d21bbcd668
2024-04-17 10:16:01 +00:00
David Lin
f0c3c420ab Merge "[Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet" into 24D1-dev 2024-04-17 08:16:45 +00:00
Enzo Liao
69e58738af Remove unsed apps (RamdumpService and SSRestartDetector) from AOSP.
After ag/26620507, the two apps are built in AOSP.
AOSP doesn't need them so we should not build them.

Bug: 298102808
Design: go/sys-software-logging
Test: Manual
Flag: NONE N/A
Change-Id: I93cf92de91e1880739e0593b84f6343d152682f8
2024-04-17 16:16:38 +08:00
Treehugger Robot
867995284c Merge "gs_watchdogd: Support multiple watchdog char devices" into main 2024-04-17 02:58:40 +00:00
Hongyang Jiao
099d9ea0a9 Add betterbug folder to gs-common
Better Bug was previously labeled as priv_app, here we kept the same 'type=privapp_data_file levelFrom=user'

Copied some Better Bug used rules from system/sepolicy/private/priv_app.te.
(https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:system/sepolicy/private/priv_app.te;l=1?q=priv_app.te)

Test: local test
Bug: 322543833
Change-Id: Ia029e855dd46e65b9eec31835ccaabb3cb903058
2024-04-16 22:57:09 +00:00
Hongyang Jiao
1e6e41664f Merge "Revert "Add betterbug folder to gs-common"" into 24D1-dev 2024-04-16 22:47:41 +00:00
Sam Ou
46b6ca82a7 Merge "sepolicy: allow dumpstate to call battery_mitigation" into 24D1-dev am: d8f09cbcef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26963893

Change-Id: Iedb6b43c11ebf57fab3a1d578834772eaa10bd98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 07:54:27 +00:00
Klines Jiang
3133d362a4 [Gyotaku] Update the build rule to exclude build Gyotaku dump for barbet
Pixel 5a (barbet) does not support Pixel dump, we need to exclude build
Pixel dump for Pixel 5a (barbet). The git_24Q2-beta-release TARGET_PRODUCT is barbet_beta, updated to barbet% for all barbet target products.

Bug: 330819191

Test: Local build and trigger a new build the result passed
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d4de4ddf902f75ebcb6b0e1079e78b8a96410ed5)
Merged-In: I2c1785105bab74a483bc68893d96a8a88eabfd90
Change-Id: I2c1785105bab74a483bc68893d96a8a88eabfd90
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-04-16 07:41:19 +00:00
Sam Ou
d8f09cbcef Merge "sepolicy: allow dumpstate to call battery_mitigation" into 24D1-dev 2024-04-16 07:37:10 +00:00
samou
d7c33cef92 sepolicy: allow dumpstate to call battery_mitigation
Bug: 322141931
Change-Id: I5a6d013df754d3f6d6e9d1ee3ea335176450069b
Signed-off-by: samou <samou@google.com>
2024-04-16 03:54:45 +00:00
Ravi Jain
42f418b147 touch: moving ical related sepolicies to independent folder am: ea5ec69b79
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26957229

Change-Id: Ic92ed487646286266f021eedc4abf125e0d62549
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-16 02:53:34 +00:00
Chienyuan Huang
1a2d7ae821 Add Bluetooth Ranging HAL
Bug: 333984281
Test: Manual
Change-Id: Id4877463d5e465e91a8e321ffc6fe0cb07390ebd
2024-04-15 06:26:08 +00:00
Woody Lin
de061720c3 gs_watchdogd: Support multiple watchdog char devices
Handles systems with multiple watchdog hardware blocks. Identifies
each watchdog via the glob pattern
`/sys/devices/platform/*.watchdog_cl*/watchdog/watchdog*` to sysfs
path, and initializes and services each of them.

Bug: 295364297
Change-Id: I785c84e492a2286a5155a5b4692dae2a95df0cc4
2024-04-15 05:17:06 +00:00
Ravi Jain
ea5ec69b79 touch: moving ical related sepolicies to independent folder
Bug: 331139251
Test: Manually verify the result.
Change-Id: I53b5c8eb73f1ce775ec83a06b43c0b4993f31e69
2024-04-15 03:49:41 +00:00
Eliot Wong
c7955c7eea Merge "Add SEPolicy for vendor_camera_image_processing_hal_service" into 24D1-dev am: 46f7fe3e61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26604585

Change-Id: I5afe3ce331f9182b4202be2510c0708c3053a63d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 20:30:29 +00:00
Eliot Wong
46f7fe3e61 Merge "Add SEPolicy for vendor_camera_image_processing_hal_service" into 24D1-dev 2024-04-11 20:15:58 +00:00
Enzo Liao
725b775c76 Merge "Centralize SELinux policies for deamons and apps related to ramdumps and coredumps according to go/pixel-defrag." into main 2024-04-11 02:03:26 +00:00