Adrian Salido
8069d3856d
Decouple auto-suspend and interactive from display on/off
...
Without decoupling, PowerManagerService prevents system from going to
suspend when display is in AOD.
Bug: 180896425
Change-Id: I256fddd1bb173b047b4d0d6e03e7cc9ffb50e13d
2021-03-11 14:12:07 -08:00
Wonsik Kim
f35c9cb038
Switch back from DMABUF to ION/BLOB allocator
...
Revert of the following changes:
I70af757f5 conf: change a group about dma_heap for video codec
Id4fc2f04b uses dmabufheap on codec2
I090f0491f disable to use BLOB allocator
Bug: 182312949
Test: boot without DMABUF failures
Change-Id: Ibeb05a1341c15a206b8c1d2b9c9765769f6472e1
2021-03-11 13:56:46 -08:00
TreeHugger Robot
3904f51a01
Merge "Remove vendor partition definitions" into sc-dev
2021-03-11 21:45:22 +00:00
Pat Tjin
4ab53a26f3
Merge "Move wireless charger HAL to 1.3" into sc-dev am: d718a1d844
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13835845
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id23f050b57e1f8be3a7d26f20bf08645a006f43a
2021-03-11 20:28:54 +00:00
Pat Tjin
940d04fd2b
Merge "Move wireless charger HAL to 1.3" into sc-dev am: 854db479bb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13824572
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iabc01056a01b06c0a23a79cc7dbc4a349aa10ac7
2021-03-11 20:28:53 +00:00
Pat Tjin
854db479bb
Merge "Move wireless charger HAL to 1.3" into sc-dev
2021-03-11 19:57:54 +00:00
Pat Tjin
d718a1d844
Merge "Move wireless charger HAL to 1.3" into sc-dev
2021-03-11 19:57:54 +00:00
Petri Gynther
ce5bdb9bd3
Remove vendor partition definitions
...
Remove vendor partition definitions from:
device/google/gs101/BoardConfig-common.mk
The right place for these definitions is:
vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
This is necessary for -without-vendor builds.
Bug: 182481577
Test: build oriole-userdebug
Change-Id: Iee6e2964dfca84cc0f40f332067332f7564f6f3b
2021-03-11 10:30:57 -08:00
Beverly Tai
0475156b64
Merge "Move udfps-specific config to device config.xml" into sc-dev am: 290f84e15c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13806750
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I851cd46c1d9545b6913190da7d9f494dcaf736d0
2021-03-11 14:04:58 +00:00
Daeho Jeong
f02d0822ee
bfq: turn off slice_idle during booting
...
Turned off slice_idling during booting to increase total throughput
for faster boot time.
Test: cat /sys/block/sda/queue/iosched/slice_idle
Bug: 171739280
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: Id6bb4af2582f40557afaa69c72fdf20d036da4cd
2021-03-11 22:37:55 +09:00
Beverly Tai
290f84e15c
Merge "Move udfps-specific config to device config.xml" into sc-dev
2021-03-11 13:35:57 +00:00
Sung-fang Tsai
82376e2d49
Mark lib_aion_buffer and related library as same_process_hal_file
...
To allow access by Google Camera App, which needs this for vendor-specific
buffer management functionality to enable zero-copy camera RAW->GPU buffer
handling.
Test: GCA works with forrest build P20546991.
Bug: 159839616
Change-Id: I71bdcd12f17013881d7a5da2f11e444f0d3b4f94
2021-03-11 12:02:04 +00:00
linpeter
ebd2a24596
Add atc sysfs permission for composer service
...
avc: denied { read write } for name="en" dev="sysfs" ino=66979 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { open } for path="/sys/devices/platform/1c300000.drmdecon/dqe/atc/en" dev="sysfs" ino=66979 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { getattr } for path="/sys/devices/platform/1c300000.drmdecon/dqe/atc/en" dev="sysfs" ino=66979 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { read write } for name="gain_limit" dev="sysfs" ino=66998 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { open } for path="/sys/devices/platform/1c300000.drmdecon/dqe/atc/gain_limit" dev="sysfs" ino=66998 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { getattr } for path="/sys/devices/platform/1c300000.drmdecon/dqe/atc/gain_limit" dev="sysfs" ino=66998 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { read write } for name="st" dev="sysfs" ino=66982 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { open } for path="/sys/devices/platform/1c300000.drmdecon/dqe/atc/st" dev="sysfs" ino=66982 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { getattr } for path="/sys/devices/platform/1c300000.drmdecon/dqe/atc/st" dev="sysfs" ino=66982 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
Bug: 168848203
test: test: check avc denied
Change-Id: I48dd839e0ca6f3eb16e35f1b7a4d5f6d4a1fd88b
2021-03-11 20:01:21 +08:00
George Chang
2903aa328c
Merge "Remove libnfc-nci from common part" into sc-dev am: d6c856cb08
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13824411
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I55daf395b87911cedae14bc0e5fb3c6ede45801e
2021-03-11 11:58:20 +00:00
George Chang
d6c856cb08
Merge "Remove libnfc-nci from common part" into sc-dev
2021-03-11 11:23:44 +00:00
Eddie Tashjian
7a501cba00
Add selinux policies for mounted modem parition am: 78cd6eb78e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13824571
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5dc47429ad5dd846679fbde04f2b5144d39ce977
2021-03-11 10:41:57 +00:00
Eddie Tashjian
c5199a80c1
Set selinux label for modem partition mount am: 30a9866b34
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13835846
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5eb5827909c6f5dc4e024f1b11c4b27b2b2326de
2021-03-11 10:41:56 +00:00
Eddie Tashjian
78cd6eb78e
Add selinux policies for mounted modem parition
...
Bug: 178980032
Bug: 178979986
Bug: 179198083
Bug: 179198085
Bug: 178980065
Test: Check selinux denials
Change-Id: I7f826442d1536946d0e84aadfd80f679c0f4d6da
2021-03-11 10:16:27 +00:00
Eddie Tashjian
30a9866b34
Set selinux label for modem partition mount
...
Bug: 178980032
Test: Check selinux denials
Change-Id: I4f31f7c0017b5b8268e2889a9dd5809e74d7e538
2021-03-11 10:16:05 +00:00
TreeHugger Robot
75e52314ad
Merge changes I68aace66,Idf510e4a into sc-dev am: ef6e91692a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13824668
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie76c219de19bfeb0ec28895580e1ae631f4dc032
2021-03-11 09:43:48 +00:00
Wei Sheng Shih
89029142df
Merge "Revert "Add variables in google3a_config for camera tuning"" into sc-dev am: 0b19a17b11
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13824459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iedd6f164511a29a27edb81b67140f072e0572b01
2021-03-11 09:25:54 +00:00
labib
8f28e8ff01
Sysfs node permission for modem
...
- write display MIPI frequency
Bug: 171729515
Change-Id: I0e2a6b22d9a77ae224660b64e0ff74b693c15dfd
2021-03-11 17:21:55 +08:00
TreeHugger Robot
ef6e91692a
Merge changes I68aace66,Idf510e4a into sc-dev
...
* changes:
gs101-sepolicy: Add twoshay permissions
Add touch procfs and sysfs sepolicy
2021-03-11 09:16:51 +00:00
Wei Sheng Shih
0b19a17b11
Merge "Revert "Add variables in google3a_config for camera tuning"" into sc-dev
2021-03-11 09:02:17 +00:00
Lopy Cheng
5019452cbb
HardwareInfo: Add sepolicy for display
...
hardwareinfo: type=1400 audit(0.0:17): avc: denied { read } for name="serial_number" dev="sysfs" ino=68309 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:sysfs_display:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
hardwareinfo: type=1400 audit(0.0:18): avc: denied { open } for path="/sys/devices/platform/1c2c0000.drmdsim/1c2c0000.drmdsim.0/serial_number" dev="sysfs" ino=68309 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:sysfs_display:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
hardwareinfo: type=1400 audit(0.0:19): avc: denied { getattr } for path="/sys/devices/platform/1c2c0000.drmdsim/1c2c0000.drmdsim.0/serial_number" dev="sysfs" ino=68309 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:sysfs_display:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
Bug: 161943795
Test:
1. Remove hardwareinfo app
rm -r /data/data/com.google.android.hardwareinfo/
2. Connect wifi and reboot
3. Check the HardwareInfoService status.
4. There is no AVC denied log.
Change-Id: I4d1c83a1c5b0f2f3bdd64ab79ab45fb69470b25b
2021-03-11 08:38:43 +00:00
Wei Sheng Shih
7e76a03890
Revert "Add variables in google3a_config for camera tuning"
...
Revert "Separate project-wise tuning folders for 3A"
Revert submission 13706458-Separate target device for tuning
Reason for revert: suspect build break b/182443731
Reverted Changes:
If91bb99b8:Separate project-wise tuning folders for 3A
I605e0327a:Add variables in google3a_config for camera tuning...
Change-Id: Ia4f5a5a6162d2ebe61500b513510555326d8ebb2
2021-03-11 08:35:25 +00:00
Audrey Hung
2724fcdd65
Merge "Add variables in google3a_config for camera tuning" into sc-dev am: 3fc9518695
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13824409
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1a4ad6968b3bc233501be7e73fcf1b955de68237
2021-03-11 08:25:42 +00:00
Audrey Hung
3fc9518695
Merge "Add variables in google3a_config for camera tuning" into sc-dev
2021-03-11 07:51:46 +00:00
yihsiangpeng
cc8429cc0d
Move wireless charger HAL to 1.3
...
Bug: 179464598
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I73d1d811f2483bbe80e7d4aea1f6e9f143bc2836
2021-03-11 14:47:49 +08:00
yihsiangpeng
a8ae2173a0
Move wireless charger HAL to 1.3
...
Bug: 179464598
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I6f2b94f6aae46cf598ae2303bb37269ba2443706
2021-03-11 14:46:50 +08:00
Edwin Tung
b197596149
gps: update gps driver 125.20.23.491687
...
Implemented A-GNSS capability in the US and Outside US.
Fix on-chip mode TTFF issue
Fix CMAS concurrency issue
Bug: 169307779
Bug: 179691042
Bug: 181001401
Bug: 171887253
Bug: 178079823
Sanity Test: 182243021
Test: build pass
Change-Id: I927095ac504cc613e506e39dfc42b3f84269f567
2021-03-11 14:39:34 +08:00
TreeHugger Robot
03b0c3af35
Merge "Don't create /data/camera on init." into sc-dev am: 6c30423a50
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13832520
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9d3b335f7aba1b889e13d316749fe52fe8cca005
2021-03-11 06:26:07 +00:00
TreeHugger Robot
6c30423a50
Merge "Don't create /data/camera on init." into sc-dev
2021-03-11 05:59:37 +00:00
TreeHugger Robot
408372394a
Merge "display: set atc node permission" into sc-dev am: cc1bc811ac
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13782437
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5e0d0b635a920b4315e4fe7d45950ddbac0d8da2
2021-03-11 04:54:48 +00:00
Petri Gynther
50fa2524d5
Merge "Remove extra copy of fstab.gs101" into sc-dev am: ed3354f4c6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13819809
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iebd78b65bb3ddc463aa9df0f1e2f6b6f6e301d0a
2021-03-11 04:54:31 +00:00
TreeHugger Robot
152dcc1b4d
Merge changes I6f6e8359,Ib7bf4029 into sc-dev am: db0ca5a3b2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13816037
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4817667db5897b8eac0e12f45d9d8c630128b1cb
2021-03-11 04:35:25 +00:00
TreeHugger Robot
cc1bc811ac
Merge "display: set atc node permission" into sc-dev
2021-03-11 04:15:29 +00:00
Petri Gynther
ed3354f4c6
Merge "Remove extra copy of fstab.gs101" into sc-dev
2021-03-11 04:15:03 +00:00
TreeHugger Robot
db0ca5a3b2
Merge changes I6f6e8359,Ib7bf4029 into sc-dev
...
* changes:
label kernel modules and grant bt permission
update error on ROM 7196668
2021-03-11 03:53:57 +00:00
TreeHugger Robot
f1b1d18df5
Merge "Revert "Add vendor_dlkm partition"" into sc-dev am: fd2d2ae8d2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13820165
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia43a0d94a390515b34db64055fb64d762b71645b
2021-03-11 02:47:48 +00:00
Sunil Ravi
9cbd94a6f0
Merge "WiFi: Enable radio stats aggregation" into sc-dev am: 6ff80b0d18
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13817957
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I32435563f714065527731d775dfa533bd841c8b7
2021-03-11 02:47:05 +00:00
TreeHugger Robot
fd2d2ae8d2
Merge "Revert "Add vendor_dlkm partition"" into sc-dev
2021-03-11 01:51:21 +00:00
Krzysztof Kosiński
a99bd1eecf
Don't create /data/camera on init.
...
This path cannot be used by camera HAL because it would be a
Treble violation.
Bug: 181300165
Test: build, boot, camera preview on a gs101 device
Change-Id: I90f81b5c50e61c501c5f509814368189562a4256
2021-03-10 17:48:38 -08:00
Sunil Ravi
6ff80b0d18
Merge "WiFi: Enable radio stats aggregation" into sc-dev
2021-03-11 00:31:16 +00:00
Erick Reyes
e879e1d264
gs101: add edgetpu firmware package
...
Firmware is now migrated to Android.bp instead of PRODUCT_COPY_FILES
Bug: 182336890
Tested: Builds
Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: I1ccf6462c907fe23821c041592dc07a715d3de1c
2021-03-10 16:00:44 -08:00
Jaegeuk Kim
8842628548
fstab: enable checkpoint_merge for f2fs am: a871c2ed5f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13824319
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iedc32d8557249761405fc0a32ac360c4102f38e1
2021-03-10 23:13:32 +00:00
Jaegeuk Kim
a871c2ed5f
fstab: enable checkpoint_merge for f2fs
...
To improve checkpoint speed by blk-cgroup.
Bug: 171739280
Bug: 172521158
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ica6eba1e7cdbce48c948931c1153c5fa78ba6e18
2021-03-10 22:31:42 +00:00
TreeHugger Robot
b43d7004fd
Merge "gs101: use wrapped keys for storage encryption" into sc-dev am: 61da2b3d52
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13806623
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7ed1f13a2081d8d0fc08e039a817b838d005d997
2021-03-10 19:51:07 +00:00
Sunil Ravi
faae2ecb3b
WiFi: Enable radio stats aggregation
...
set config_wifiLinkLayerRadioStatsAggregationEnabled to true
to enable radio stats aggregation logic.
Bug: 180513621
Test: atest com.android.server.wifi.WifiVendorHalTest
Change-Id: I62512c678886b16339333c423c3e738ad626c85a
2021-03-10 11:39:38 -08:00
TreeHugger Robot
61da2b3d52
Merge "gs101: use wrapped keys for storage encryption" into sc-dev
2021-03-10 19:22:49 +00:00