Commit graph

5025 commits

Author SHA1 Message Date
Jenny Ho
fa30b5b9ff init.gs101.rc: set system ownership for P7 maxfg
Bug: 184780667
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ic1df561438aa197459f7b1bbd72bd1d905c156c8
2021-04-12 04:05:09 +00:00
Badhri Jagan Sridharan
299e33f83a gs101: recovery: Set sys.usb.controller for UDC configuration am: 9a80547bed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14132554

Change-Id: Ib8646621f05434789ce818634b7e0d9ca6931776
2021-04-11 08:51:20 +00:00
Badhri Jagan Sridharan
9a80547bed gs101: recovery: Set sys.usb.controller for UDC configuration
Bug: 179935027
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I259ac52bc5f91d1de74cc94862440739c9726d48
2021-04-11 08:31:24 +00:00
Rick Yiu
1828d22166 gs101: Change LogFailures to string am: e8d7fb7f88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14124690

Change-Id: Id55562c97c809ab59c6045ed466f2312f8c469c2
2021-04-10 04:56:33 +00:00
Rick Yiu
e8d7fb7f88 gs101: Change LogFailures to string
To match the definition of proto file.

Bug: 184715843
Test: function works
Change-Id: I8d6106bdc6978edb292e1f3ef0237469a77fe902
2021-04-10 04:19:36 +00:00
Jaegeuk Kim
52599b6dcb gs101: set readahead_size_kb=128 to system and data am: 3bc597748b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14084126

Change-Id: I98275969d5311011200bc985c87a41924f7d7b38
2021-04-09 18:32:38 +00:00
Jaegeuk Kim
3bc597748b gs101: set readahead_size_kb=128 to system and data
This can avoid memory pressure.

Bug: 181567573
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I654c4d3bf24fa741c3fb0255431a26d8dcf5f153
2021-04-09 17:45:42 +00:00
millerliang
981578740c audio: set the permission for dma heap am: 1868e419d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031649

Change-Id: Id13ad581cf5c0e21e24c761ac21d91c4d0b682d4
2021-04-09 14:36:47 +00:00
millerliang
1868e419d5 audio: set the permission for dma heap
Set the permission for the two dma heap.
They are used for mmap audio in exclusive mode.
 /dev/dma_heap/aaudio_playback_heap
 /dev/dma_heap/aaudio_capture_heap

Bug: 165737390
Test: make
Change-Id: Ie8d35d59fb3bde10915dd0e0746852849acbad8c
2021-04-09 20:43:11 +08:00
samou
e694ba3c3c powerstats: Fill in P21 GPU power profile number am: 9db455e69d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031652

Change-Id: Icfa0aaada99de87ebcfe57ac654849b61ce94205
2021-04-09 10:58:23 +00:00
Jack Nudelman
97f101493c [automerger skipped] Update CbrsNetworkMonitor package name. am: e36b41e17f -s ours
am skip reason: skip tag Change-Id I474401de47892c97c3fcf4a5471773cd0474e1ef with SHA-1 f960fc6c46 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14135245

Change-Id: Icd150c9cc9a8fd00d40ce108c3cc7639a5d0bedd
2021-04-09 10:58:07 +00:00
Shinru Han
ef9fb8c905 gps: remove lhd log in on-chip PVT mode am: 188be4a5e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14111135

Change-Id: I68f92d074899e537860ef2e83240b57c9ce98349
2021-04-09 10:58:01 +00:00
Tsung-Mao Fang
209ce14790 [automerger skipped] Have a consistent permission configuration with other devices am: 7dd7ceba38 -s ours
am skip reason: skipped by user tmfang

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14123765

Change-Id: I9586124193ad54b1e089497bc2a71ad788464368
2021-04-09 10:57:56 +00:00
samou
9db455e69d powerstats: Fill in P21 GPU power profile number
Bug: 184042446
Change-Id: Ifbc00ed0a9de98f65e7f0c4b1981e45f0b1887ba
2021-04-09 10:13:01 +00:00
Ocean Chen
57f56b76c6 pixelstats: start service on boot completed
Sometims the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system

Otherwise, pixelstats cannot write these two sysnode

Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
2021-04-09 08:18:58 +00:00
Jack Nudelman
e36b41e17f Update CbrsNetworkMonitor package name.
Bug: 184313658
Test: make
Change-Id: I474401de47892c97c3fcf4a5471773cd0474e1ef
Merged-In: I474401de47892c97c3fcf4a5471773cd0474e1ef
2021-04-09 04:52:33 +00:00
Shinru Han
188be4a5e3 gps: remove lhd log in on-chip PVT mode
bug: 183559343
Test: No lhd log in on-chip PVT mode
Change-Id: I4e46721650dd43e356555716150dc6dd1935ae04
2021-04-09 04:08:56 +00:00
Tsung-Mao Fang
7dd7ceba38 Have a consistent permission configuration with other devices
Change-Id: I346370bbc9e1fcddef7dc9c64a03954cddf97264
Test: Run presubmit
Fix: 184312606
(cherry picked from commit 967e140f534064ef6fbe01c7c65167a033c95ee7)
2021-04-09 03:34:38 +00:00
Jack Nudelman
4208bf3074 Update CbrsNetworkMonitor package name.
Bug: 184313658
Test: make
Change-Id: I474401de47892c97c3fcf4a5471773cd0474e1ef
2021-04-08 15:46:15 -07:00
Craig Dooley
784e50d1f1 Add the aoc persist folder am: 2762231fdf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14117035

Change-Id: I354ea117f57afa9bb1730193cee01438f07837db
2021-04-08 18:11:31 +00:00
Craig Dooley
2762231fdf Add the aoc persist folder
Bug: 184173298
Change-Id: Ia66797e2220ef4ba728b2eb21e123b36566adf1c
2021-04-08 17:27:55 +00:00
Roger Wang
fed6658c2a Enable wakeup packet mask and marker config am: a0342c45ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14124688

Change-Id: I5cacdd36f93461bc19564fdcebf21755338b223f
2021-04-08 15:48:57 +00:00
Roger Wang
a0342c45ce Enable wakeup packet mask and marker config
In this commit, we enable wakeup packet mask
and marker config. Then, connectivity can do
the proper accounting of the Wakeup statistics
which will be included in the bugreport.

BUG: 184807534
Test: adb shell dumpsys connmetrics
```
WakeupStats(wlan0, 1022s, total: 6, root: 0, system: 1, apps: 5, non-apps: 0, no uid: 0, l2 unicast/multicast/broadcast: 6/0/0, ethertype 0x800: 6, ipNxtHdr 6: 6)
WakeupEvent(19:45:36.879, wlan0, uid: 1010151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=216.58.200.42, dstIp=192.168.50.51, srcPort=443, dstPort=49572)
WakeupEvent(19:47:36.741, wlan0, uid: 1010151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=172.217.24.8, dstIp=192.168.50.51, srcPort=443, dstPort=53436)
WakeupEvent(19:49:25.241, wlan0, uid: 10151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=74.125.204.188, dstIp=192.168.50.51, srcPort=5228, dstPort=38444)
//...
```

Change-Id: Ifabc2edd5425794d9e0af200eaec8baad44d6689
2021-04-08 20:07:47 +08:00
Lisa Liu
57a6baa15a Remove odex/oat files from pinner list. am: 2968f7ed45
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14110246

Change-Id: I0ad1627d44936b7c14118eaab7feef76f6787e34
2021-04-07 11:20:20 +00:00
Tsung-Mao Fang
1512f5e214 Have a consistent permission configuration with other devices
Change-Id: I346370bbc9e1fcddef7dc9c64a03954cddf97264
Test: Run presubmit
Fix: 184312606
2021-04-07 06:54:04 +00:00
Lisa Liu
2968f7ed45 Remove odex/oat files from pinner list.
The pinner now asks the runtime for odex/oat/vdex files.

Test: adb shell dumpsys pinner
Bug: 144773394
Bug: 182593454
Change-Id: Idd26c511f5dbdcb29ded55170b8460f3c81a1ea3
2021-04-07 13:52:26 +08:00
Benjamin Schwartz
638560f3bb powerstats: Add device specific display states am: 3ddb599459
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14099551

Change-Id: I6fea7317cc672017b3567dc88377ae82923f8be3
2021-04-07 03:56:27 +00:00
Benjamin Schwartz
3ddb599459 powerstats: Add device specific display states
Bug: 167216667
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I977621b0a1502b1482eaac0922ded781ece007e0
2021-04-07 03:22:26 +00:00
Adam Shih
0ace645b1c remove obsolete mobicore operations am: 561ff7a341
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14098349

Change-Id: I97706effa8f32542c3f66307df96fdcce9f99ab2
2021-04-07 01:13:57 +00:00
Adam Shih
561ff7a341 remove obsolete mobicore operations
Bug: 183935443
Test: boot to home with no related avc error
Change-Id: I808d08d7e5479bdd643caa8269a68a8691796986
2021-04-07 00:48:10 +00:00
Vince Leung
93fafdf347 Change all three default haptic levels to high am: 59ca6aee8b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13999047

Change-Id: I17dde6e79cc0611bee373451c9154aa730028c26
2021-04-06 21:30:14 +00:00
Vince Leung
59ca6aee8b Change all three default haptic levels to high
Bug: 183746553
Test: verify default haptic levels set to high on r4
Change-Id: Ie6489be8375ddc01aeb3f227f86e98785232e52a
2021-04-06 21:03:11 +00:00
Oleg Matcovschi
d9538e98df BoardConfig-common.mk: restore boot image version 3 am: ae9494ee6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14076485

Change-Id: I01b72d2ccddd3b6531ad6cf27256c9edd7b4187c
2021-04-06 20:33:05 +00:00
Oleg Matcovschi
ae9494ee6b BoardConfig-common.mk: restore boot image version 3
Some of the components don't handle bootimage v4 yet.

Bug: 183237066
Bug: 183896891
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: Ie8764f2d7da452f1941b0001c0c4be51f56e3a44
2021-04-06 18:51:32 +00:00
yihsiangpeng
5b73d5a733 use vintf_fragments instead of adding it to device-specific manifests am: c008f4449b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14011943

Change-Id: I947b93997e9caaaec9db5806211a0979d1b42c39
2021-04-06 09:37:42 +00:00
yihsiangpeng
c008f4449b use vintf_fragments instead of adding it to device-specific manifests
Bug: 183536544
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I7299d62a122fb56974b09846746a848b89ffa641
2021-04-06 14:51:14 +08:00
Benjamin Schwartz
ecd3ee1897 [automerger skipped] Move power stats service to device specific folders am: 3c712491cf -s ours
am skip reason: skip tag Change-Id I4d4881e227982aa17b88af8844c82dc448ef5b6f with SHA-1 822443a2e2 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13925266

Change-Id: I46fe7af7ce22aae88cd50cf2dcfd48093ff78b77
2021-04-06 04:20:10 +00:00
Adam Shih
53270ad90e remove obsolete system property operations am: 1a1a12cd55
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14098350

Change-Id: I18cf6fe5a288e266175ef0d4a9c190722d41d119
2021-04-06 04:19:26 +00:00
Benjamin Schwartz
3c712491cf Move power stats service to device specific folders
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4d4881e227982aa17b88af8844c82dc448ef5b6f
Merged-In: I4d4881e227982aa17b88af8844c82dc448ef5b6f
2021-04-06 04:08:17 +00:00
Adam Shih
1a1a12cd55 remove obsolete system property operations
Bug: 184213723
Test: The following error logs were gone
03-25 17:03:04.317 E init    : Do not have permissions to set 'ro.debug_level' to '0x494d' in property file '/vendor/build.prop': SELinux permission check failed
03-25 17:03:04.317 E init    : Do not have permissions to set 'ro.arch' to 'gs101' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: I1326752935665568285971944366e9e977ef9013
2021-04-06 02:42:05 +00:00
raylinhsu
870a563ee3 Remove unused persist.demo.hdmirotationlock from device.mk am: 00548302f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14059881

Change-Id: I1a3aa9b8614d082ed13ae431770fbfcc1a625fde
2021-04-06 02:30:31 +00:00
raylinhsu
00548302f3 Remove unused persist.demo.hdmirotationlock from device.mk
In pixel phone, we did not have the HDMI interface so we should remove
the persist.demo.hdmirotationlock from device.mk

Bug: 184104675
Test: There is no failed selinux log regarding
persist.demo.hdmirotationlock

Change-Id: I97299a941fe8b30b0397e8c181b02a435e4642b8
2021-04-06 01:51:51 +00:00
Benjamin Schwartz
08d14e0621 Move power stats service to device specific folders
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4d4881e227982aa17b88af8844c82dc448ef5b6f
2021-04-06 01:25:57 +00:00
Adrian Salido
a8b927dd68 Decouple auto-suspend and interactive from display on/off am: 2aaf5916ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14093324

Change-Id: I0469d72209bcaf367033940df99626e6a85a4b16
2021-04-06 00:17:14 +00:00
Adrian Salido
2aaf5916ce 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: If2eeaaebb3137bbfe9ba71f47e8b1efdcff14197
2021-04-05 23:44:15 +00:00
Wei Wang
c98adf0eaf Set uclamp nodes to root am: aeaf942d49
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14078088

Change-Id: I9f03c516f99d3a2555b4c83b61bcaad1568249f1
2021-04-02 22:51:23 +00:00
Wei Wang
aeaf942d49 Set uclamp nodes to root
Test: boot
Bug: 183626384
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Idebf93e6354810d19c40d5b6d364ed073a564a77
2021-04-02 21:23:53 +00:00
Long Ling
316f25d9d9 display: update adaptive color data am: eed3cc22bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14057468

Change-Id: I882900798b6075e58ea1e39377017517962f8089
2021-04-02 19:45:15 +00:00
Long Ling
eed3cc22bb display: update adaptive color data
Bug: 173287712
Test: read back via 'displaycolor_service 553 0 10 100'
Change-Id: Ib430ddae3e3e55a3ceb7f69d70fb129668fb68cb
2021-04-02 19:08:32 +00:00
Steve Pfetsch
9e830fd177 gs101: add twoshay's ITouchContextService to manifest am: 8da4ee4195
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14038493

Change-Id: I8526906eb5d0ea88772a36d7b551e218b5933a78
2021-04-02 18:18:07 +00:00