Yen-Chao Chen
76993da5d4
Merge "touch: provide permission for TouchInspector app" into udc-d1-dev
2023-05-03 06:26:14 +00:00
Krzysztof Kosiński
7d4a97eabf
Merge "Add shared config for Lyric camera HAL." into udc-d1-dev am: fbfbdb9b1a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22945259
Change-Id: I4be37c85b8908b5e08ad23978be502392a6022a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 02:59:54 +00:00
Krzysztof Kosiński
fbfbdb9b1a
Merge "Add shared config for Lyric camera HAL." into udc-d1-dev
2023-05-03 02:23:58 +00:00
Carter Hsu
81a4337feb
audio: allow audio hal to access acd-mel_processor
...
The /dev/acd-mel_processor is for the SoundDose
feature
Bug: 244133608
Test: build pass
Change-Id: I1f9c914c9a2d8cc86a8f1c643a9bbd73deb221d4
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-05-02 08:22:31 +00:00
martinwu
2fe71d70cd
[automerger skipped] [TSV2] Add sepolicy for dumpstate to zip tcpdump into bugreport am: 63a5f124d0 -s ours am: 87547c0bd6 -s ours
...
am skip reason: Merged-In I237e656810bf5461c2d473640bff5b0a45f75f6e with SHA-1 e1376416a2 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22938560
Change-Id: Ib09318b8e229532df014b85355df0d1a28d6bb85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 07:59:09 +00:00
martinwu
87547c0bd6
[automerger skipped] [TSV2] Add sepolicy for dumpstate to zip tcpdump into bugreport am: 63a5f124d0 -s ours
...
am skip reason: Merged-In I237e656810bf5461c2d473640bff5b0a45f75f6e with SHA-1 e1376416a2 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22938560
Change-Id: I64d99dd68fc4b4614d49413cd0f6aef2630d7142
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 06:57:13 +00:00
Yen-Chao Chen
d5e44df4bb
touch: provide permission for TouchInspector app
...
avc: denied { write } for name="driver_test" dev="proc"
ino=4026535975 scontext=u:r:platform_app:s0:c512,c768
tcontext=u:object_r:proc_touch:s0 tclass=file permissive=1
app=com.google.touch.touchinspector
avc: denied { open } for path="/proc/fts/driver_test" dev="proc"
ino=4026535975 scontext=u:r:platform_app:s0:c512,c768
tcontext=u:object_r:proc_touch:s0 tclass=file permissive=1
app=com.google.touch.touchinspector
avc: denied { getattr } for path="/proc/fts/driver_test"
dev="proc" ino=4026535975 scontext=u:r:platform_app:s0:c512,c768
tcontext=u:object_r:proc_touch:s0 tclass=file permissive=1
app=com.google.touch.touchinspector
avc: denied { read } for name="driver_test" dev="proc"
ino=4026535975 scontext=u:r:platform_app:s0:c512,c768
tcontext=u:object_r:proc_touch:s0 tclass=file permissive=1
app=com.google.touch.touchinspector
Bug: 279675034
Test: trigger touch calibration by the app.
Change-Id: Ib1621aa0fd3f10c2e12d7ec8930908ca77c615bb
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
2023-05-02 14:39:23 +08:00
martinwu
63a5f124d0
[TSV2] Add sepolicy for dumpstate to zip tcpdump into bugreport
...
Bug: 264490014
Test: 1. Enable tcpdump_logger always-on function
2. Dump bugreport
3. Pull dumpstate_board.bin and chagne it to zip
4. Unzip dumpstate_board.zip and check if tcpdump files
are there.
Change-Id: I237e656810bf5461c2d473640bff5b0a45f75f6e
Merged-In: I237e656810bf5461c2d473640bff5b0a45f75f6e
2023-04-29 15:19:39 +00:00
Krzysztof Kosiński
eea841f1cd
Add shared config for Lyric camera HAL.
...
The config needs to be moved here to support future PDK builds
where the LyricCameraHAL directory will be absent.
Bug: 280124102
Test: presubmit
Change-Id: If967c3db8bb94cadd761ee19b7665db8b7e4b305
2023-04-29 09:31:41 +00:00
Treehugger Robot
47815b3e2a
Merge "[TSV2] Add sepolicy for dumpstate to zip tcpdump into bugreport" into udc-d1-dev
2023-04-28 06:38:20 +00:00
David Li
4fd1826323
Merge "audio: pack AIDL s/w effects" into udc-dev am: 9dfd56b23b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22873645
Change-Id: I10c41501b6c3da1bd1b2c8a1e33d080e00866e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 03:21:49 +00:00
David Li
9dfd56b23b
Merge "audio: pack AIDL s/w effects" into udc-dev
2023-04-28 02:05:28 +00:00
Kyle Zhang
bbc3a2f2ef
Merge "Move Widevine drm to gs-common" into udc-dev am: db202708a6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22788251
Change-Id: Ic2d55700529c10ee6abe65c35371511218937a33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 22:01:40 +00:00
Kyle Zhang
db202708a6
Merge "Move Widevine drm to gs-common" into udc-dev
2023-04-27 21:21:11 +00:00
martinwu
e1376416a2
[TSV2] Add sepolicy for dumpstate to zip tcpdump into bugreport
...
Bug: 264490014
Test: 1. Enable tcpdump_logger always-on function
2. Dump bugreport
3. Pull dumpstate_board.bin and chagne it to zip
4. Unzip dumpstate_board.zip and check if tcpdump files
are there.
Change-Id: I237e656810bf5461c2d473640bff5b0a45f75f6e
2023-04-27 13:44:54 +00:00
Wayne Lin
2a9218e79a
update gps sdk 147.20.23.568380
...
- fix navigation message issue
- fix drift issue in driving test
- fix incorrect GNSS measurement frequency issue
- report satellite status when measurement only
- remove unnecessary libraries
- report dummy WiFi mac address
- fix wrong internal context detection at slow driving
Bug: 265884251
Bug: 276216546
Bug: 274530336
Bug: 274537581
Bug: 271267762
Bug: 277301500
Bug: 266343909
Verify test: b/279541834
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: Ie739beb7029c595173f8455e867f72324a61138a
2023-04-27 10:11:39 +00:00
Martin Wu
0e2840dbc1
Revert "Add sepolicy for dumpstate to zip tcpdump into bugreport" am: 50b5d5287e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22891381
Change-Id: Ibd4c3da14b4b91cb81f935a4ef3788dfb8ea8db2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 07:16:02 +00:00
Martin Wu
50b5d5287e
Revert "Add sepolicy for dumpstate to zip tcpdump into bugreport"
...
Revert submission 22814097-Fix-tcpdump-sepolicy
Reason for revert: build break
Reverted changes: /q/submissionid:22814097-Fix-tcpdump-sepolicy
Change-Id: I69d22f368aa5b9e21a8fe0071d1d0981b5c635e9
2023-04-27 02:21:05 +00:00
martinwu
c08e025b25
Add sepolicy for dumpstate to zip tcpdump into bugreport am: 6a41ee1f21
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22808556
Change-Id: Id65a2380fb20e93a7475ee1b98ddd3eb4ed8cdae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 02:17:46 +00:00
martinwu
6a41ee1f21
Add sepolicy for dumpstate to zip tcpdump into bugreport
...
Bug: 264490014
Test: 1. Enable tcpdump_logger always-on function
2. Dump bugreport
3. Pull dumpstate_board.bin and chagne it to zip
4. Unzip dumpstate_board.zip and check if tcpdump files
are there.
Change-Id: I420f26f17260dff34617c8c723f126ee9e56bb27
2023-04-27 01:37:20 +00:00
Treehugger Robot
e2c2e3cf74
Merge "gs-common:aoc: correct aoc information in the bugreport" into udc-d1-dev
2023-04-27 01:23:34 +00:00
Ray Hsu
adfda88cdf
gs-common:aoc: correct aoc information in the bugreport
...
The aoc system node may be different for each platform. We can use
wildcard characters to replace these addresses.
To specify all addresses between 17000000 and 19000000, we could use the
wildcard character *. This would allow us to use the same code for all
platform, regardless of the specific addresses used
Test: adb bugreport && unzip bugreport*.zip &&
check dump_aoc section in dumpstate_board.txt
Bug: 279680450
Change-Id: I1eaad3bd31e78265af6a9428064e9def501a813e
2023-04-26 10:51:44 +00:00
David Li
827c84ee7d
audio: pack AIDL s/w effects
...
Pack the common s/w effects into the AIDL effect HAL enabled image.
Includes the following effects,
1. libbundleaidl
2. libreverbaidl
3. libvisualizeraidl
4. libdynamicsprocessingaidl
5. libdownmixaidl
6. libloudnessenhanceraidl
The project-specific effects should be add into the makefile in the
project folder.
Test: mm
Bug: 271500140
Change-Id: I4d89440791d43eaf03288d5f7bf6d61cbd21659f
2023-04-26 14:57:31 +08:00
Joseph Jang
fb8529da4d
Move recovery.te to device/google/gs-common/dauntless/sepolicy am: 6c4c5cdf26
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22791380
Change-Id: I454b9671134469d75e69f1a852d87d9832f8edf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 04:11:56 +00:00
Joseph Jang
6c4c5cdf26
Move recovery.te to device/google/gs-common/dauntless/sepolicy
...
Bug: 279381809
Change-Id: I1b5b802bccbcd7e649f58af2c8393ecfca66e6e4
2023-04-24 09:10:10 +00:00
Ted Wang
411813f472
Switch to AIDL vendor service
...
Bug: 274906319
Test: build pass
Change-Id: Ic1b8cb6aec6c0ed48f3450d6e9db5a3aaf38f1c3
2023-04-24 06:09:46 +00:00
Kyle Zhang
260d6dcd0b
Move Widevine drm to gs-common
...
Bug: 277764729
Change-Id: I0172f73c31d216955ba9a04bf66d0fa1af95dc8f
2023-04-21 17:32:20 +00:00
Randall Huang
3eec125efe
storage: add fastbootd sepolicy am: f55b2ffc2e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22746605
Change-Id: Icbca760982856e6723f7231b1bf0292a3df2bb9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 11:13:20 +00:00
Randall Huang
f55b2ffc2e
storage: add fastbootd sepolicy
...
We need to format the /metadata partition in fastbootd mode.
This CL aims to include the necessary SELinux rules.
Bug: 264489957
Test: rom flashing
Change-Id: Ib94dbcb580c0a16395b48b8eeef6e431a637d235
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-04-20 09:08:07 +00:00
Jim Sun
44216160c4
Merge changes from topic "ril-mem-monitor" into udc-dev am: a43ff6f9b4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22660221
Change-Id: If72bf0e5d08f746e766e0f9bdaa4969d31ac0cc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 07:01:15 +00:00
Jim Sun
a43ff6f9b4
Merge changes from topic "ril-mem-monitor" into udc-dev
...
* changes:
Add ril memory monitor
rild: allow rild to ptrace
2023-04-20 06:25:59 +00:00
Yan Yan
09ed66e917
Merge "Add feature flag for IPSEC_TUNNEL_MIGRATION to Pixel6/7/8" into udc-dev am: 773dff4fa5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22608636
Change-Id: I626344d1a560a98c9d6e103ef4b6c69a04e0bb46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 02:48:29 +00:00
Yan Yan
773dff4fa5
Merge "Add feature flag for IPSEC_TUNNEL_MIGRATION to Pixel6/7/8" into udc-dev
2023-04-20 01:58:12 +00:00
jimsun
59ee53b750
Add ril memory monitor
...
Bug: 263757077
Test: manual
Change-Id: I2fdc2d16c957a2f96c4f1ba6339b0a4e0a1b8ddd
2023-04-19 14:50:15 +00:00
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
4a87ebd0af
Storage: refactor sg_utils build rule am: 30ae41260a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22696227
Change-Id: Ie15b9cf7c30355964d222b94f179a059dbd4d7db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 09:02:00 +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
17e41146a4
dump vendor cma stat am: caf0f59fab
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22529613
Change-Id: I3acd855abfe8ee24a5974207b497c7a3396cb355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 09:49:16 +00:00
Minchan Kim
9fe01ca770
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: I64a802551c413d12ad48b80a9c5c7f53a1e171f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 09:49:12 +00:00
Minchan Kim
23658cc0e2
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: I145fa1f997ffb8e9e90d1cabcc8078f2b05eba50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 09:49:08 +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
cf3ca3fae5
Add tracepoints to dumpstate_board sections am: 9df2606139
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22553206
Change-Id: I50b32cc45e13fe6d10b03a796d88965a68d747da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 14:23:05 +00:00
George Lee
8ef6c93704
bcl: Do not include bcl.mk for factory
...
Bug: 264957141
Test: Local test
Change-Id: I99c7b7393f0ef72aaf545af5e3019b732cadeb42
Signed-off-by: George Lee <geolee@google.com>
2023-04-11 02:47:29 +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
41cbcb2244
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: Ia7fdc079bc8d1cc238fa1ae4fcdbbb85d361f1c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 08:34:53 +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
6cd7326953
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: Ia4cfc46b93a1f034ae51f0ee0bf51a8041416a0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 07:38:14 +00:00