228 Commits

Author SHA1 Message Date
George Lee
9a49819f15 Merge "bcl: Add Mitigation Logger" 2022-10-31 14:17:57 +00:00
Adam Shih
067e82f2f2 move gps init.rc settings to gs-common
Bug: 254758553
Test: boot and open google map getting my location
Change-Id: Id6006b8e058e1b684b4085a47be306fa0cc5f405
2022-10-31 10:51:30 +08:00
Android Build Coastguard Worker
9e36345da7 Snap for 9231933 from 82e09f8597cc8bea4aef948d2484e07fe58446ab to udc-release
Change-Id: Ic342d4e473bc0bd53011581db7e78fab1a1127a8
2022-10-29 03:03:05 +00:00
George Lee
a1bea3e3e3 bcl: Add Mitigation Logger
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts.  Information
collected is to help debug system brownout.

Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I24e5075b12a9bb3f16241de268254bde38c133d0
2022-10-28 05:25:08 +00:00
Adam Shih
82e09f8597 move brcm gps solution to gs-common
Bug: 254758553
Test: google map can locate on pixel
Change-Id: I466a7d3a45f37a7de5aaed55c2df7f06ba97268d
2022-10-27 11:06:46 +08:00
Android Build Coastguard Worker
79d77b72d4 Snap for 9218031 from b23da023826f817d348caf3b471b73bb651b94a9 to udc-release
Change-Id: I3db050f0238470aeff31a66b09c6362d58f6ed90
2022-10-26 01:07:33 +00:00
Bowgo Tsai
b23da02382 [automerger skipped] Adding developer GSI keys am: c010e721ea am: 772f4a3bae -s ours
am skip reason: Merged-In Ia4041e10156eadb37799ebdc12b33fbb3de4c54d with SHA-1 c42b5e2fc5 is already in history

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

Change-Id: I22f6f34b9906d527ca7f5ec69ef89419478d17e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 17:25:25 +00:00
Bowgo Tsai
772f4a3bae Adding developer GSI keys am: c010e721ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/20265094

Change-Id: I17bbf55cbc98afee24ad12b9b0c9fe18114ae887
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 16:50:10 +00:00
Bowgo Tsai
c010e721ea Adding developer GSI keys
Bug: 254752713
Test: build and check $OUT/installed-files-vendor-ramdisk.txt that GSI
      keys are included
Change-Id: Ia4041e10156eadb37799ebdc12b33fbb3de4c54d
Merged-In: Ia4041e10156eadb37799ebdc12b33fbb3de4c54d
(cherry picked from commit c42b5e2fc5e9eeb2aee93b211b8cf2985a913930)
2022-10-25 15:58:38 +08:00
Android Build Coastguard Worker
689b46a438 Snap for 9212694 from c42b5e2fc5e9eeb2aee93b211b8cf2985a913930 to udc-release
Change-Id: Iee001dc6f83babd071c0d05e545d5767d533659d
2022-10-25 01:02:55 +00:00
Android Build Coastguard Worker
29c95aa3da Snap for 9206486 from 8146116936664b5f0583fd093dfe7f4bb5a135b4 to udc-release
Change-Id: I44eded66a37cc3f2a652439c6ce253edc2c7afcf
2022-10-22 03:03:02 +00:00
Bowgo Tsai
c42b5e2fc5 Adding developer GSI keys
Bug: 254752713
Test: build and check $OUT/installed-files-vendor-ramdisk.txt that GSI
      keys are included
Change-Id: Ia4041e10156eadb37799ebdc12b33fbb3de4c54d
2022-10-21 15:03:57 +08:00
Adam Shih
8146116936 move aoc settings to gs-common
Bug: 248426917
Test: boot with aoc launched
Change-Id: I7f3e65f9b27510bff657ca46c9688932a0352437
2022-10-20 11:23:26 +08:00
Adam Shih
9c93403876 move sensors dump to gs-common
Bug: 250475720
Test: adb bugreport
Change-Id: I15ec38810792c9216ad63de59a8f3aeb5f871bc5
2022-10-20 10:17:59 +08:00
Android Build Coastguard Worker
2900177087 Snap for 9191040 from 4b68f5fe9510937b310e815684902331cfc8f9c9 to udc-release
Change-Id: Ic354fbc4100eab11d7b3e1cdfaa9e0ed51cda707
2022-10-19 01:02:55 +00:00
Adam Shih
4b68f5fe95 create a lib to hold commonly used functions
Bug: 240530709
Test: adb bugreport
Change-Id: Idcdcca968b65d2bd413b219d39fc1104dfc9f3b8
2022-10-18 13:38:13 +08:00
Android Build Coastguard Worker
e6a564273b Snap for 9168953 from 19236e907903bcb226c8f72e81e9819252430abb to udc-release
Change-Id: I6e64a9b85b59d849cca26a48d39b08c610b8142f
2022-10-13 01:03:02 +00:00
Android Build Coastguard Worker
0dbcce4c23 Snap for 9163570 from 9b76b5b9200029627d0b2daf5089116fc6791d58 to udc-release
Change-Id: Ic8e5805724578dabdd05428330a9d9974a842a60
2022-10-12 01:02:53 +00:00
Adam Shih
19236e9079 Merge "move aoc dump to gs-common" 2022-10-12 00:08:34 +00:00
Xin Li
9b76b5b920 [automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: 8d040eaa88 -s ours am: bf5b42acd8 -s ours
am skip reason: Merged-In Iad7403dcbc0ad12b77154003f4aa61afedf2224f with SHA-1 edf8707658 is already in history

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

Change-Id: I7793f527164699a632ddbf97d9fbd50aa2b9583a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 20:09:39 +00:00
Xin Li
bf5b42acd8 [automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: 8d040eaa88 -s ours
am skip reason: Merged-In Iad7403dcbc0ad12b77154003f4aa61afedf2224f with SHA-1 edf8707658 is already in history

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

Change-Id: Ia5d9d6b8a307936ad57749bf9cc6a00a6360860f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 17:55:41 +00:00
Adam Shih
ee779b9ac8 move aoc dump to gs-common
Bug: 248426917
Test: adb bugreport
Change-Id: I29fea8752011959b5d0eb50ed93c6e8eed66f9ee
2022-10-11 15:36:26 +08:00
Android Build Coastguard Worker
9f6bebff5c Snap for 9153524 from 763eae3289211614f9f4164ac24697169e67d543 to udc-release
Change-Id: Iddeaf6879c012db97159816a6e923357b6665b73
2022-10-08 03:03:13 +00:00
TreeHugger Robot
763eae3289 Merge "[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common" 2022-10-07 02:55:24 +00:00
Bob Badour
37b8e22c2e [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs-common
Added SPDX-license-identifier-Apache-2.0 to:
  ramdump/Android.bp
  soc/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id2b08f9edfdc7d9828f28739c28b23c318f352a2
2022-10-06 13:32:35 -07:00
Xin Li
8d040eaa88 Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
Bug: 248070379
Merged-In: Iad7403dcbc0ad12b77154003f4aa61afedf2224f
Change-Id: I9935427749553aeb99b8682c8dd63b0af392d275
2022-10-06 12:00:20 -07:00
Android Build Coastguard Worker
c892faafeb Snap for 9142107 from cf7266088fefa64690c1ba41a40d62aff90f411d to udc-release
Change-Id: I14d1c37d2dc63044346e080790771cf83e3d27f8
2022-10-06 01:02:47 +00:00
Adam Shih
e301fa20c6 move modem dump to gs-common
Bug: 250475732
Test: adb bugreport
Change-Id: Id6dc2ef02d5e32b71de1b618e5588c202a2b6243
2022-10-05 10:36:26 +08:00
Android Build Coastguard Worker
c985251c11 Snap for 9138051 from d3834209e80b6ef735130609344ac41c22894c6f to udc-release
Change-Id: I867b385672ebd2378c7ea5012d3cfbda51d401a7
2022-10-05 01:03:07 +00:00
Adam Shih
cf7266088f move soc dump to gs-common
Bug: 248428203
Test: adb bugreport
Change-Id: Iaf8b48d5062536bbece1562618f965947dea22f0
2022-10-04 13:36:07 +08:00
Android Build Coastguard Worker
56d5c3690b Snap for 9133445 from 274819fc94f4e437d892e7dd2074d603fceaece5 to udc-release
Change-Id: I60432c81fc119c441523c17901a5274dc4aa62b7
2022-10-04 01:02:46 +00:00
Adam Shih
d3834209e8 Merge "move trusty dump from gs201 to gs-common" 2022-10-04 00:48:08 +00:00
Adam Shih
274819fc94 move ramdump relate dumpstate to gs-common
Bug: 248428203
Test: adb bugreport
Change-Id: I19ffce8e883b3ab88eae1ff7373b35c0ed517aa9
2022-10-03 12:20:42 +08:00
Adam Shih
d76d46457d move trusty dump from gs201 to gs-common
Bug: 244504232
Test: adb bugreport
Change-Id: I0c286f5e98d5a9c5497f7f89dcd58a8dc0c2b572
2022-10-03 09:19:18 +08:00
Android Build Coastguard Worker
f868489a17 Snap for 9121979 from f1dc3132704ae179153670a88e85d70e9b3cbe88 to udc-release
Change-Id: I95dbcbb0e578d17457f3ba56f29017a87ea93714
2022-09-30 01:03:08 +00:00
Adam Shih
f1dc313270 Merge "move UFS dump to gs-common" 2022-09-29 01:07:44 +00:00
Adam Shih
708d25e824 move UFS dump to gs-common
Bug: 248143736
Test: adb bugreport
Change-Id: I029389807c915713545766ad11671bc0715ec67f
2022-09-28 13:16:25 +08:00
Adam Shih
0f84ba2bb5 Put gs_watchdog settings to one place
Bug: 248428203
Test: gs_watchdog is still in system_ext
Change-Id: Iaa0e1871a4459af02a004f7b3b2861b53709c608
2022-09-28 10:30:51 +08:00
Android Build Coastguard Worker
d61792569b Snap for 9112360 from 262892227cfc4b7437608001243381f59c0129f8 to udc-release
Change-Id: I13f5bf318565830717086eda37ad59f93cf03bfa
2022-09-28 02:13:12 +00:00
Adam Shih
262892227c dump f2fs in gs-common
Bug: 248143736
Test: adb bugreport
Change-Id: Ifcd0b3aaa017d106530c58a1ce2b56d77af1b12d
2022-09-23 14:01:11 +08:00
Android Build Coastguard Worker
55d7a270c8 Snap for 9089009 from 1bfa9e6a2fd2610264fb790f0eb8d8a084b42e9f to udc-release
Change-Id: I61485e910e7f8f716bcbf89d743d5bdee4c711ea
2022-09-22 01:03:00 +00:00
Chengyou Ho
1bfa9e6a2f Merge changes from topic "240932137"
* changes:
  Add oemlock aidl service sepolicy
  gsc.mk: install oemlock aidl service
2022-09-21 13:52:14 +00:00
Chengyou Ho
94f9ddc10e Merge changes from topic "b/246952216"
* changes:
  Add weaver AIDL service sepolicy
  gsc.mk: install weaver AIDL service
2022-09-21 13:51:48 +00:00
Android Build Coastguard Worker
02cc20538f Snap for 9080899 from f3105ca0624870e63b575a997a53a7dca00f2e41 to udc-release
Change-Id: I18ac59a34fea0fa02bd3f70564809ce30a9e0297
2022-09-20 01:02:59 +00:00
Adam Shih
f3105ca062 add missing dumpstate permission
Bug: 247097496
Test: adb bugreport
Change-Id: Icccfe2c4610ae3a9e77d1ad2c17d828e2e860f1b
2022-09-19 10:52:52 +08:00
ChengYou Ho
141c01ba0c Add oemlock aidl service sepolicy
1. avc:  denied  { find } for pid=889 uid=1064 name=android.hardware.citadel.ICitadeld scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:citadeld_service:s0 tclass=service_manager permissive=1
2. avc: denied { read } for name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
3. avc: denied { write } for name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
4. avc: denied { open } for path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
5. avc: denied { ioctl } for path="/dev/binderfs/vndbinder" dev="binder" ino=6 ioctlcmd=0x6209 scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
6. avc: denied { call } for scontext=u:r:hal_oemlock_citadel:s0 tcontext=u:r:vndservicemanager:s0 tclass=binder permissive=1

Bug: 240932137
Change-Id: I804d925e020f6adfe8cd0c34aedead366c99adc0
2022-09-18 20:54:20 +00:00
ChengYou Ho
abfb0bafa5 gsc.mk: install oemlock aidl service
Bug: 240932137
Test: VtsHalOemLockTargetTest
Change-Id: Ib46ddafc41f64858e4db099978b6ba89bfa119b9
2022-09-18 20:54:08 +00:00
ChengYou Ho
f31f736d36 Add weaver AIDL service sepolicy
avc: denied { call } for scontext=u:r:hal_weaver_citadel:s0 tcontext=u:r:citadeld:s0 tclass=binder permissive=1
avc:  denied  { find } for pid=3023 uid=1064 name=android.hardware.citadel.ICitadeld scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:citadeld_service:s0 tclass=service_manager permissive=1
avc: denied { read } for comm="android.hardwar" name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { write } for comm="android.hardwar" name="vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { open } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { ioctl } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 ioctlcmd=0x6209 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1
avc: denied { map } for comm="android.hardwar" path="/dev/binderfs/vndbinder" dev="binder" ino=6 scontext=u:r:hal_weaver_citadel:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=1


Bug: 246952216
Change-Id: Id77dc947327a0b9f963fd98bd0143a1b86f646dd
2022-09-18 20:24:10 +00:00
ChengYou Ho
df8d456507 gsc.mk: install weaver AIDL service
Bug: 246952216
Change-Id: I74531b175d3d88c17bf644800951ca4d61d11fd8
2022-09-16 20:35:56 +00:00
Android Build Coastguard Worker
b27d9eaa3c Snap for 9070718 from 1dd58b894821edc79019051134f93fe242339971 to udc-release
Change-Id: I370cb96ee0d0a012bb8465e67eb68c1e156a2a21
2022-09-16 01:03:05 +00:00