Anthony Stange
b764d48dd4
Switch back to generic contexthub HAL
...
Now that USF can support the default fragment size, we can migrate back
to the generic HAL.
Bug: 168941570
Test: Load nanoapp via HAL
Change-Id: I8ddf892cd7c702ab2a549cfff521b24aadd6cf2c
2021-04-30 16:34:37 +00:00
Aaron Ding
13b4ecb8af
do not mount the debugfs on user builds am: 254e03a21c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14310449
Change-Id: I50cbb04804aa392e3977bf61af9c54533995e6ab
2021-04-30 01:23:20 +00:00
Aaron Ding
254e03a21c
do not mount the debugfs on user builds
...
keep debugfs on userdebug and factory builds
Bug: 184801854
Change-Id: I6b4b7428b011a87a93d48af63f8dafc2c5d96e23
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-04-30 00:56:07 +00:00
Daniel Mentz
a7fff8d9ab
init.insmod.gs101.cfg: Remove non-existent modules am: 0278f84cf8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14356848
Change-Id: I181edb0251f653119c78c222306e3bf426908e41
2021-04-29 23:02:14 +00:00
Lucas Dupin
ae1a872017
Enable blurs am: 52cc3f23c6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14297682
Change-Id: I77b0f581a5791d2e77208a71b165f4a809fb7465
2021-04-29 23:01:39 +00:00
Daniel Mentz
0278f84cf8
init.insmod.gs101.cfg: Remove non-existent modules
...
Remove three .ko files that appear to no longer exist.
Bug: 169367087
Change-Id: Id570163404454dbcbe03a9d29ecdc640bdc6b356
2021-04-29 22:47:03 +00:00
Lucas Dupin
52cc3f23c6
Enable blurs
...
Test: manual
Bug: 181092919
Change-Id: I23a50b195b6aada354213f767483eeeab15263a7
2021-04-29 22:44:12 +00:00
Nicole Lee
9cb0e4dd12
init: grant read permission of always-on log for others am: 7311968443
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14339396
Change-Id: If8f4a02a2539f12689a2ab243750ccde8353629d
2021-04-29 21:01:20 +00:00
Alec Mouri
7dc89b7a4c
Revert "Revert "Enable SurfaceFlinger Cache by default"" am: eee30bde78
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14341553
Change-Id: I54a3367740f7ba638f80523a2126f6063e4d4428
2021-04-29 21:01:14 +00:00
Nicole Lee
7311968443
init: grant read permission of always-on log for others
...
Bug: 186619367
Change-Id: Ie70d9c97d95f4cc90bc3d66d1309087dc3f148e5
2021-04-29 20:42:44 +00:00
Alec Mouri
eee30bde78
Revert "Revert "Enable SurfaceFlinger Cache by default""
...
This reverts commit 51c9d02193
.
Reason for revert: Blocking flicker issues have been fixed.
Bug: 185398025
Change-Id: Ib712967e932cfcce3feca781731aba8264734dcd
2021-04-29 20:26:06 +00:00
Sean Callanan
08a1299283
Enable Gralloc ion sync am: 13c4abd67c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13999058
Change-Id: I99ee5d462497f922fa55c2c668b84f8ab62a73f7
2021-04-29 17:14:25 +00:00
Sean Callanan
13c4abd67c
Enable Gralloc ion sync
...
Gralloc ion sync enables a cache sync when Gralloc buffers are
unlocked. Buffers the GPU wrote don't need this, but buffers the
CPU wrote do.
Bug: 183735780
Test: RealCalc
Change-Id: I67a9ee15b172fb11d262c41723404c5b9cafde82
2021-04-29 16:55:16 +00:00
samou
52b0fd23ff
powerstats: Add TPU EnergyConsumer power attribution am: 513c4afaa1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14211586
Change-Id: I42d766828121cae87649b19b700e622cbefa6874
2021-04-29 16:30:24 +00:00
samou
513c4afaa1
powerstats: Add TPU EnergyConsumer power attribution
...
Bug: 185564760
Change-Id: I6550ed839599c979ee09492fb8eaabd50f04ebe2
2021-04-29 15:51:11 +00:00
terrycrhuang
2969a794ee
Enable Shannon IMS and QNS log to debug level am: 41522d011f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14326975
Change-Id: I2d61033b52a2b2103439b0545a7c7497cd5127de
2021-04-29 08:49:25 +00:00
terrycrhuang
41522d011f
Enable Shannon IMS and QNS log to debug level
...
Bug: 185609678
Test: Manual
Change-Id: Ia5be6f3925db93ab097a848b92d3d6df2c52ce10
2021-04-29 07:45:13 +00:00
jyhshiangwang
6fa190d56d
Enable Tips icon on P21/P22 devices am: eaabbacd4c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14320584
Change-Id: If7c45499aa3fed4bcf2b6bc4ce36aef1b71b4c99
2021-04-29 03:00:10 +00:00
jyhshiangwang
eaabbacd4c
Enable Tips icon on P21/P22 devices
...
Because Tips app will enable launcher icon on all Pixel device
except Pixel 3/3a devices, use component-override to configure
P21/P22 devices to enable Tips launcher icon to pass PTS test.
Test: PTS https://android-build.googleplex.com/builds/forrest/run/L16600000870874063
Bug: 186497951
Change-Id: I3294812f93a64b74457faf894e1adca7493159e0
2021-04-29 01:36:17 +00:00
Victor Liu
5d49d53d66
device: uwb make am: ba22a106b8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14117029
Change-Id: Ib9e8410bb365ec8f5adc07ef08bd7cf754ade7c9
2021-04-28 19:47:07 +00:00
Victor Liu
ba22a106b8
device: uwb make
...
call vendor uwb.mk instead of specific modules
Bug: 184777464
Change-Id: Iaaf9c1735449fc6d2a2212f0f32d03a5bb9b577b
2021-04-28 19:08:51 +00:00
Alex Hong
e882dcf530
Temporarily disable the debugfs restriction on Android S am: f2023ff303
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14339397
Change-Id: I9a40349606bc536a4accd6e3945dc6451dda6407
2021-04-28 16:15:10 +00:00
Alex Hong
f2023ff303
Temporarily disable the debugfs restriction on Android S
...
Bug: 186625519
Change-Id: I7dc3895fbd96f798edd28f315f6cc5b1a79c6637
2021-04-28 15:55:34 +00:00
Roger Fang
84ca577c2c
gs101: add audio suez devices am: 1d6c433572
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14205927
Change-Id: Ia22a85328cfcd36ac1cd01d0b5f0c3ffe6d92f21
2021-04-28 08:54:24 +00:00
Roger Fang
114e55dcd7
gs101: import audio_amcs_ext library am: 9b811a56e7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14205935
Change-Id: I9acff1d8ec4d02c9fb28e9d2e6e6f9aa92acfd1c
2021-04-28 08:54:23 +00:00
Edwin Tung
0f93ebe0d2
gps: update gps driver 127.20.23.497356 am: 335ea2773b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14310448
Change-Id: Ife7a0d88a0c8e871902acac52a2e8e640f9a6ede
2021-04-28 08:53:49 +00:00
Roger Fang
1d6c433572
gs101: add audio suez devices
...
ACTION_SPEAKER_IMPEDANCE
ACTION_HARDWARE_FAILED
Bug: 171854614
Test: manually test
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I9c4bbde93edb22e65a092cb4a1f1f2eb9839d926
2021-04-28 08:50:40 +00:00
Roger Fang
9b811a56e7
gs101: import audio_amcs_ext library
...
Bug: 171854614
Test: Manually test
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Icd843f292eff510d43bc664ddf1a550c19479648
2021-04-28 08:50:40 +00:00
Edwin Tung
335ea2773b
gps: update gps driver 127.20.23.497356
...
Fixed issue that SUPL version is reverted back to 2.0.0
Fixed the long TTFF of warm starts with the LTE filter engaged
Fix wrong context detection issue
Fix a bug in power data callback
Improve SPA packet overrun issue in BBD
Bug: 176464615
Bug: 185203717
Bug: 184247641
Bug: 184922200
Bug: 180985871
Sanity Test: 186403144
Test: build pass
Change-Id: I9aef1697010128ab51502acd6f193440c6deb408
2021-04-28 08:33:44 +00:00
wenchangliu
60b5b0419b
Align video codec max resolution capabilities with block size am: 6a3dcb978f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14326983
Change-Id: Ic851523c692eb0364932c97406e887de4944016c
2021-04-28 03:38:48 +00:00
wenchangliu
6a3dcb978f
Align video codec max resolution capabilities with block size
...
Since application(Ex: Youtube) would limit supported quality
list from codec capabilities. We need to align max support resolution
with block size to provide proper codec capabilities.
Bug: 186374258
Test: Playing 2160p video in youtube
Change-Id: I2f26371eb9f22ef7c1f79e2eb193077963cbfc80
2021-04-28 03:23:00 +00:00
Edwin Wong
1c8af6a8a1
Update clearkey plugin to drm HAL v1.4 am: 9e879185f3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13997036
Change-Id: I9659dce6a4a5dc70bbad08fe304bca438f98ca83
2021-04-27 17:25:01 +00:00
Edwin Wong
9e879185f3
Update clearkey plugin to drm HAL v1.4
...
Test: atest
atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent
Bug: 182525516
Change-Id: I6d7a953373a4bbff69428e004127d9216a6bff79
2021-04-27 17:12:13 +00:00
Robin Peng
fddf468e79
shipping level 31, and keep target-level as-is am: c5b41648b3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13839236
Change-Id: Iffb576e12c7390694b9dc5884faec25ee783472b
2021-04-27 07:36:07 +00:00
Robin Peng
c5b41648b3
shipping level 31, and keep target-level as-is
...
PRODUCT_SHIPPING_API_LEVEL := 31
kernel target-level="6"
target-level="3" or ="4"
Bug: 167997902
Change-Id: I110e251a108bbca7b63cd90142c82b35e93287b7
2021-04-27 07:14:20 +00:00
Rick Yiu
0a48f1c5fd
gs101: Change uclamp min value for camera am: 89f31f39c2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14293794
Change-Id: Ie391539dc65ef327685680d36bb4d1a22bca0faa
2021-04-27 06:48:59 +00:00
Rick Yiu
89f31f39c2
gs101: Change uclamp min value for camera
...
With a scheduler change that refers to uclamp value of a rq, we need
to change uclamp min value for camera to get better performance.
Bug: 170648224
Test: check fps in video recording
Change-Id: I29e55706b49d5182935209d1d6f3552fb7f5d821
2021-04-27 06:09:06 +00:00
Franklin He
9dfc7af516
Add a boost to NNAPI DarwiNN HAL for better perf&power am: 8ac9fa6194
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14303050
Change-Id: I8182cd0f3ad42148c4d0ef47230e4e4781fdab27
2021-04-27 02:23:07 +00:00
Franklin He
8ac9fa6194
Add a boost to NNAPI DarwiNN HAL for better perf&power
...
See http://shortn/_X7vYHND2xN for testing with various NN models
faster execution of NNAPI results in less execution time and
in turn, less total power consumed.
Bug: 183576817
Test: adb push'd rc file to a device
`cat /dev/cpuctl/nnapi-hal/cpu.uclamp.min` == 15.00
ran MLPerf, got better scores
Change-Id: I398c3741fc46958f95a9b608a27b52da47c69597
2021-04-27 01:22:33 +00:00
Labib
93a495f297
Move radioext service declaration to VINTF fragment am: f65dc0799c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14299188
Change-Id: I19aa6da0dacd2e8efe3bf109f736635b97413b5d
2021-04-26 11:40:40 +00:00
Labib
f65dc0799c
Move radioext service declaration to VINTF fragment
...
Bug: 185105182
Test: atest VtsHalRadioExtV1_3TargetTest
Change-Id: Iad15efea4acaa7ae3eb3c79e922e3f2a5888c657
2021-04-26 11:15:24 +00:00
Ray Chi
2360276089
gs101: usb: add state of usb extcon to monitorffs am: 72ef08cafa
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14185527
Change-Id: Idae87d8d0588cecae48d25965c12284572dcf98c
2021-04-26 10:25:33 +00:00
Ray Chi
72ef08cafa
gs101: usb: add state of usb extcon to monitorffs
...
Monitorffs needs to check the state of usb extcon to pull up
USB gadget. Therefore, this patch add state of usb extcon and
send this information to monitorffs.
Bug: 173086594
Test: verified pass
Change-Id: Ib2a1bb01813490185e1901fafdeba02458332e63
2021-04-26 10:00:12 +00:00
Kris Chen
bd012b8e6f
gs101: udfps: enable biometric_suez_support am: 3af08d4f6b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14294846
Change-Id: I1662e783b133c9f8a499657076cbe3a3b8d1710c
2021-04-26 00:37:55 +00:00
Kris Chen
3af08d4f6b
gs101: udfps: enable biometric_suez_support
...
Bug: 186195932
Test: lunch oriole-userdebug; make -j$(nproc);
Test: Confirmed biometric suez code has run observed from logcat.
Change-Id: I1c4342ca3efa0c19b297dec6d911a8e803d0978c
2021-04-26 00:19:01 +00:00
Dmitri Plotnikov
e78368dbe9
Add BatteryStatsViewer to GS101-based userdebug and eng builds am: 35d31057e7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14274662
Change-Id: Idc7b3482f7f1f455bd8dba9cf18f001a756b87e6
2021-04-23 21:54:52 +00:00
Dmitri Plotnikov
35d31057e7
Add BatteryStatsViewer to GS101-based userdebug and eng builds
...
Bug: 185952656
Test: build, flash, verify that BatteryStatsViewer is in the app list
Change-Id: I1fbbd21908d515027125aae6b3b7f27a1cd075d5
2021-04-23 21:46:42 +00:00
Jia-yi Chen
cf3327aab0
powerhint: update default value for target_load am: 311c43f70a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14271272
Change-Id: Iaa9fefd8377d05b94245fbb71f18ee71900aa18c
2021-04-23 21:44:59 +00:00
Jia-yi Chen
311c43f70a
powerhint: update default value for target_load
...
Update the target_load used in ALT_DVFS for CCI PPC counter from
5 to 10 to make it less aggressive to push up the OPP to save power.
Bug: 183950156
Test: Boot & check the value vis sysfs
Change-Id: I9fd51dd616c288f5a97d73d6d80b47a63c2b1f75
2021-04-23 21:20:38 +00:00
Nicole Lee
9679bb70a7
device.mk: enable modem always on logging by default am: c932836b3f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14293791
Change-Id: Ia0993dde962538046bd6fa6a91a51c1d77d85a78
2021-04-23 15:41:45 +00:00