jimsun
9940199191
rild: allow rild to ptrace
...
06-20 18:47:41.940000 8708 8708 I auditd : type=1400 audit(0.0:7): avc: denied { ptrace } for comm="libmemunreachab" scontext=u:r:rild:s0 tcontext=u:r:rild:s0 tclass=process permissive=0
06-20 18:47:41.940000 8708 8708 W libmemunreachab: type=1400 audit(0.0:7): avc: denied { ptrace } for scontext=u:r:rild:s0 tcontext=u:r:rild:s0 tclass=process permissive=0
Bug: 263757077
Test: manual
Change-Id: I4818df3383353a0758a20bd8e9ea0c5a8fc7d84d
2023-04-19 14:50:03 +00:00
Randall Huang
b42694dfdc
Storage: refactor sg_utils build rule am: 30ae41260a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22696227
Change-Id: I13fe3aac9ba94110dc5d257070ff38042b7e33d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 09:01:20 +00:00
Randall Huang
30ae41260a
Storage: refactor sg_utils build rule
...
Bug: 264001741
Test: build
Change-Id: I9c575d8c5d12837cf14d76cf70c384a474502434
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-04-18 15:04:52 +08:00
Yan Yan
ff93161fad
Add feature flag for IPSEC_TUNNEL_MIGRATION to Pixel6/7/8
...
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation
Verified on bluejay
Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Ia19663288b389dbfa0ce5ca328b5706b1767db78
2023-04-13 00:36:25 +00:00
Minchan Kim
1ae20ed75a
dump vendor cma stat am: caf0f59fab
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529613
Change-Id: I8e52e28d45e927b0397fb8f590a191fe8fcff5f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 06:58:27 +00:00
Minchan Kim
50fd401a75
dump pixel trace into dumpstate_board.txt am: 2a651114fe
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529612
Change-Id: I07d49857417390284fbaf74080f1c939b08974e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 06:58:21 +00:00
Minchan Kim
15cd6f8d5d
dump cma debugfs into dumpstate_board.txt am: 6c81eeca82
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529611
Change-Id: I6e0e25dde7e485ff70ce138a76637f29974513f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 06:58:17 +00:00
Minchan Kim
caf0f59fab
dump vendor cma stat
...
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: Iaef36594a8ef48b0c85039f348618f021f93e8c2
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-11 16:36:56 +00:00
Minchan Kim
2a651114fe
dump pixel trace into dumpstate_board.txt
...
Dump cma allocation/deallocation traces into dumpstate_board.txt.
E.g.)
android.hardwar-3427 [004] .... 15.196059: cma_alloc_start: name=faceauth_tpu count=256 align=8
android.hardwar-3427 [004] .... 15.196189: cma_alloc_info: name=faceauth_tpu pfn=0x9f4200 count=256 align=8 nr_migrated=0 nr_reclaimed=0 nr_mapped=0 err_iso=0 err_mig=0 err_test=0
binder:578_1-592 [003] .... 15.209400: cma_alloc_start: name=farawimg count=704 align=4
binder:578_1-592 [003] .... 15.210344: cma_alloc_info: name=farawimg pfn=0x9e83c0 count=704 align=4 nr_migrated=0 nr_reclaimed=0 nr_mapped=0 err_iso=0 err_mig=0 err_test=0
binder:1114_4-3420 [001] .... 15.259132: cma_release: name=faceauth_tpu pfn=9f4000 page=000000002e4bd17f count=16
binder:1114_4-3420 [001] .... 15.259143: cma_release: name=faceauth_tpu pfn=9f4010 page=000000008e379085 count=16
binder:1114_4-3420 [001] .... 15.259148: cma_release: name=faceauth_tpu pfn=9f4020 page=00000000161dc38b count=16
binder:1114_4-3420 [001] .... 15.259152: cma_release: name=faceauth_tpu pfn=9f4030 page=000000001d3eb567 count=16
binder:1114_4-3420 [001] .... 15.259157: cma_release: name=faceauth_tpu pfn=9f4040 page=00000000f7f6dc70 count=16
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: If64c066eca59d6bba75e0494cd22108d619ad6f8
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-11 16:36:56 +00:00
Minchan Kim
6c81eeca82
dump cma debugfs into dumpstate_board.txt
...
CMA debugfs provides how many CMA pages were allocated. It's useful to
detect CMA memory leak.
E.g) --- /sys/kernel/debug/cma/cma-faceauth_tp
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: Ic050c78ff6455a2960be239732ab6214c3789106
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-11 16:35:56 +00:00
Kevin Jeon
d32e8a1815
Add tracepoints to dumpstate_board sections am: 9df2606139
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22553206
Change-Id: I1ebccc2cde9a322450eb4a5dacfa2927791c8871
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 14:23:01 +00:00
Kevin Jeon
9df2606139
Add tracepoints to dumpstate_board sections
...
This change adds per-section tracepoints to the Pixel 6 (and beyond)
implementation of dumpstateBoard for the purpose of debugging
possibly-long sections.
This change is analagous to the previous gs101/gs201 tracepoint
additions at ag/20414147 and ag/20413969.
Test: Build+flash; verify that a trace of a bug report contains
dumpstate board sections.
Bug: 277296452
Change-Id: I6bdd040321e87b9b6e104c18198aa650d8e5ad42
2023-04-10 15:22:25 +00:00
Cheng Chang
2cd93a62a7
Merge "update gps sdk 147.20.23.566805" into udc-dev am: aa08e44399
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22372630
Change-Id: Ia4ca21513bfc9f4355d5d43774faf1c977b9e780
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 08:34:49 +00:00
Cheng Chang
aa08e44399
Merge "update gps sdk 147.20.23.566805" into udc-dev
2023-04-10 08:08:07 +00:00
NISCHAL JAIN
ad1fc5a342
Merge "Enable gxp dumps in bugreport" into udc-dev am: 496b95282b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22492549
Change-Id: Ica8f7c59eacdf564083c9fcb614cd87364702d6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 07:37:54 +00:00
NISCHAL JAIN
0376dc0f74
Merge "Limit maxGxpDebugDumps to 3." into udc-dev am: ee2650ea7c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22492548
Change-Id: I9d2c70cb2fa686fe524935dc14a2beecb10dd045
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 07:37:47 +00:00
NISCHAL JAIN
496b95282b
Merge "Enable gxp dumps in bugreport" into udc-dev
2023-04-10 07:29:34 +00:00
NISCHAL JAIN
ee2650ea7c
Merge "Limit maxGxpDebugDumps to 3." into udc-dev
2023-04-10 06:42:37 +00:00
Joseph Jang
5a7dc4e110
Merge "Remove the libnos dependency if build without vendor" into udc-dev am: 0ea14d85b9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22363215
Change-Id: I95359e13716d92692f389ca95b82cadf6b60142e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 03:28:25 +00:00
Joseph Jang
0ea14d85b9
Merge "Remove the libnos dependency if build without vendor" into udc-dev
2023-04-07 03:03:54 +00:00
Cheng Chang
3d07844230
update gps sdk 147.20.23.566805
...
- support GNSS AIDL v3
Bug: 275475660
Test: atest VtsHalGnssTargetTest
Test: atest CtsLocationGnssTestCases
Test: verified at b/276413684
Change-Id: I5ce5520d3b8e2248c5903ba33c6b6354fa3bb152
2023-04-07 01:13:57 +00:00
Joseph Jang
852cfb4fb7
Remove the libnos dependency if build without vendor
...
Bug: 277188968
Change-Id: I4f6aa64d30a58aebb3fca246d0705e7f540bebb8
2023-04-06 11:37:23 +00:00
nischaljain
779e3323a2
Enable gxp dumps in bugreport
...
- Enable gxp dumps to be captured in bugreport during dogfood.
- TODO(b/277094681): Revert this cl around device beta milestone.
Bug: 274956438
Test: Verified the changes on the device using ab/P53879006.
Change-Id: Idb701e430b64c3cae8cef6a4bb73999c92b6c94a
Signed-off-by: nischaljain <nischaljain@google.com>
2023-04-06 08:21:51 +00:00
nischaljain
0e8dc978b6
Limit maxGxpDebugDumps to 3.
...
DSP multicore workload can run atmost on 3 cores thus in case
of crash we will need atmost 3 core dumps. Thus limiting
maxGxpDebugDumps to 3 to make sure that we will be capturing
all the required core dumps for the recent crash and at the
same time not inflating the bugreport size.
Bug: 275756225,274956438
Test: Verified the changes on the device using ab/P53879006.
Change-Id: Iede8ec4204d58fdedbe4141bf57fc434b411bf0c
Signed-off-by: nischaljain <nischaljain@google.com>
2023-04-06 08:14:41 +00:00
Adam Shih
17bbb4371c
Merge "comply with VTS requirements" into udc-dev am: 7be874469a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22338829
Change-Id: I7d158af800132756d5f21c80e0772368263e9211
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 03:07:55 +00:00
Adam Shih
7be874469a
Merge "comply with VTS requirements" into udc-dev
2023-04-06 02:41:33 +00:00
Adam Shih
56179ddbc5
create wlan dump am: f61d2efad2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22338832
Change-Id: If77bd422aecd0d24b3e480dbb7cd128944700f09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 02:22:49 +00:00
Adam Shih
f61d2efad2
create wlan dump
...
Bug: 273380509
Test: adb bugreport
Change-Id: Ic04908db3494279e35d7e7ecf34a2445f08d35b9
2023-03-31 06:28:07 +08:00
Adam Shih
1915b3df20
comply with VTS requirements
...
Bug: 275142299
Test:
atest VtsHalDumpstateTargetTest:PerInstanceAndMode/DumpstateAidlPerModeTest#TestOk/0_android_hardware_dumpstate_IDumpstateDevice_default_FULL
atest VtsHalDumpstateTargetTest:PerInstance/DumpstateAidlGeneralTest#TestInvalidModeArgument_Negative/0_android_hardware_dumpstate_IDumpstateDevice_default
Built pass on target-userdebug and aosp_target-userdebug
Change-Id: Ifd980bc1fbb543c43e729d52735c97e2cde6a641
2023-03-30 13:24:01 +08:00
Adam Shih
b1a58eca60
Revert "comply with VTS requirements" am: f272a85a53
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22328025
Change-Id: I32a37fff8b27175060113753012234f01adadf72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 03:12:09 +00:00
Adam Shih
f272a85a53
Revert "comply with VTS requirements"
...
Revert submission 22302106-dumpstate aidl
Reason for revert: build failed on udc-d1-dev
Reverted changes: /q/submissionid:22302106-dumpstate+aidl
Change-Id: I4b786f509b80113ca2acf2e1055808c084d1f9bb
2023-03-29 02:45:25 +00:00
Adam Shih
b893666510
comply with VTS requirements am: 5fa9528c83
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22302106
Change-Id: Id9125c08d142143c9c3105ee06bd6b6ac1e4cb51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 00:45:26 +00:00
Adam Shih
5fa9528c83
comply with VTS requirements
...
Bug: 275142299
Test:
atest VtsHalDumpstateTargetTest:PerInstanceAndMode/DumpstateAidlPerModeTest#TestOk/0_android_hardware_dumpstate_IDumpstateDevice_default_FULL
atest VtsHalDumpstateTargetTest:PerInstance/DumpstateAidlGeneralTest#TestInvalidModeArgument_Negative/0_android_hardware_dumpstate_IDumpstateDevice_default
Built pass on target-userdebug and aosp_target-userdebug
Change-Id: I0cf742fa15649899757ef80bd240948ae2aa66a3
2023-03-28 03:29:01 +00:00
RD Babiera
923890acba
Merge "Revert "comply with VTS requirements"" into udc-dev am: cb902f0581
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22298905
Change-Id: Ia18dde413cddbaf79959d7a4222e6d1dcaf177be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 22:31:05 +00:00
RD Babiera
5a03dd8828
Merge "Revert "add space in front of property.te"" into udc-dev am: 041b980835
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22298732
Change-Id: I52d32923b86c436ff926ba151d0ffe68aac4d862
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 22:30:38 +00:00
RD Babiera
cb902f0581
Merge "Revert "comply with VTS requirements"" into udc-dev
2023-03-27 21:52:39 +00:00
RD Babiera
041b980835
Merge "Revert "add space in front of property.te"" into udc-dev
2023-03-27 21:51:45 +00:00
RD Babiera
8620418aba
Revert "comply with VTS requirements"
...
Revert submission 22242215-dumpstate aidl
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_udc-d1-dev&target=aosp_husky-userdebug&lkgb=9826121&lkbb=9829863&fkbb=9826130 , bug b/275279368.
Reverted changes: /q/submissionid:22242215-dumpstate+aidl
Change-Id: I856e29ad3236014c9db41e43ee19bf8ec43979a8
2023-03-27 20:58:37 +00:00
RD Babiera
73d7a6cf49
Revert "add space in front of property.te"
...
This reverts commit 340492516d
.
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_udc-d1-dev&target=aosp_husky-userdebug&lkgb=9826121&lkbb=9829863&fkbb=9826130 , bug b/275279368.
Change-Id: I52275bc919b47e684cf543c5348e1e2114c2dd61
2023-03-27 20:57:38 +00:00
Feiyu Chen
8b6dd97d70
Merge "Allow EdgeTPU DBA service to access the edgetpu_app_service" into udc-dev am: 6df49ca590
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22248858
Change-Id: Id16250d410f0af1fc130d8adc924dd5cbdedfdc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 18:03:31 +00:00
Feiyu Chen
6df49ca590
Merge "Allow EdgeTPU DBA service to access the edgetpu_app_service" into udc-dev
2023-03-27 17:28:39 +00:00
Adam Shih
8756a6b44c
add space in front of property.te am: 340492516d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22286844
Change-Id: I59b9a1b2c6e8b97a461867b61cc3605d03cb95fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 09:15:13 +00:00
Adam Shih
340492516d
add space in front of property.te
...
Bug: 275279368
Test: built pass
Change-Id: Id298694487c7e84466e059228257786c74d09761
2023-03-27 15:19:58 +08:00
Adam Shih
49e6efa976
comply with VTS requirements am: a8053e022b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22242215
Change-Id: Ie93092e4b7ecec77e1dd0ac9fe9a9f16ce14385f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 06:27:15 +00:00
Adam Shih
a8053e022b
comply with VTS requirements
...
Bug: 275036679
Bug: 275034315
Test:
atest VtsHalDumpstateTargetTest:PerInstanceAndMode/DumpstateAidlPerModeTest#TestOk/0_android_hardware_dumpstate_IDumpstateDevice_default_FULL
atest VtsHalDumpstateTargetTest:PerInstance/DumpstateAidlGeneralTest#TestInvalidModeArgument_Negative/0_android_hardware_dumpstate_IDumpstateDevice_default
Change-Id: I105f59f4c3e89e952cd89cb4ad28a5dfcc9c147f
2023-03-27 12:07:57 +08:00
feiyuchen
0f1433b2c8
Allow EdgeTPU DBA service to access the edgetpu_app_service
...
EdgeTpu DBA service calls edgetpu_app_service's UserIsAuthorized API in order to know whether its clients are authorized to use priviledge features, see code: https://source.corp.google.com/android-internal/vendor/google/darwinn2/dba/service/edgetpu_device.cpp;l=73;rcl=1c57b54efe12cdb408cb21a992155a04d151e3ce
It looks like the SELinux rule is missing today. Though I'm not sure why DBA service doesn't crash today.
Bug: 237103652
Change-Id: I8c5da7413eb6f9efc527c9f9f1d1242f0cb4dea8
2023-03-24 18:31:33 +00:00
Adam Shih
96aeebdc11
create a generic dumpstate for all pixel to use am: b5b3cb74e5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22235104
Change-Id: I55f3bd314854e1f0a65ef4373ead0b13617f9f4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 06:23:03 +00:00
Adam Shih
b5b3cb74e5
create a generic dumpstate for all pixel to use
...
Bug: 240530709
Test: adb bugreport
Change-Id: I42ad046e26cb227f947db3772532885114a3250e
Merged-In: I42ad046e26cb227f947db3772532885114a3250e
2023-03-24 10:21:03 +08:00
Xiang Wang
166b237535
Merge "Migrate battery mitigation to Thermal AIDL" into udc-dev am: 131a418398
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/21996504
Change-Id: I985b1d773ab3b44ca226965b623102cea4bb6d80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 20:18:37 +00:00
Xiang Wang
131a418398
Merge "Migrate battery mitigation to Thermal AIDL" into udc-dev
2023-03-23 18:33:16 +00:00