Commit graph

11223 commits

Author SHA1 Message Date
samou
513c4afaa1 powerstats: Add TPU EnergyConsumer power attribution
Bug: 185564760
Change-Id: I6550ed839599c979ee09492fb8eaabd50f04ebe2
2021-04-29 15:51:11 +00:00
TreeHugger Robot
7a4cd3a6e0 Merge "Add sepolicy for sensor HAL to read lhbm" into sc-dev 2021-04-29 15:48:15 +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
Taesoon Park
b6f2b0bad9 Remove platform certification from imsservice
The platform certification is removed form com.shannon.imsservice.
So, remove seinfo from com.shannon.imsservice item.

Bug: 186135657
Test: VoLTE and VoWiFi

Signed-off-by: Taesoon Park <ts89.park@samsung.com>
Change-Id: Ie493abfd7a146766ad819bb7a5240d9f1e2f1d0e
2021-04-29 11:28:08 +08:00
Chia-Ching Yu
3f91d6417a Add sepolicy for sensor HAL to read lhbm
04-23 08:54:18.000   742   742 I /vendor/bin/hw/android.hardware.sensors@2.0-service.multihal: type=1400 audit(0.0:23): avc: denied { read } for comm=504F5349582074696D6572203430 name="local_hbm_mode" dev="sysfs" ino=70515 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:sysfs_lhbm:s0 tclass=file permissive=1

Bug: 181617640
Test: Forrest build with this patch(ab/P22167685).
      No local_hbm_mode related avc deined log.
Change-Id: Ibac3317cbca8652885310b1f5af8f4ea4d44a5c4
2021-04-29 03:00:19 +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
TreeHugger Robot
cbce7f27e3 Merge "Fix android.hardware.drm@1.4-service.clearkey label" into sc-dev am: 7ecd67743c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14340676

Change-Id: I161a70490c9e985c731c4880cce9b0aeda19276f
2021-04-28 23:12:22 +00:00
TreeHugger Robot
c17392b08c Merge "Fix android.hardware.drm@1.4-service.clearkey label" into sc-dev am: 7ecd67743c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14340676

Change-Id: I968ae5379dbe36e54eb931712083f969ead85522
2021-04-28 23:10:56 +00:00
TreeHugger Robot
7ecd67743c Merge "Fix android.hardware.drm@1.4-service.clearkey label" into sc-dev 2021-04-28 22:26:38 +00:00
Victor Liu
2d6895ee81 Merge "uwb: allow uwb service to access nfc service" into sc-dev am: 247097a000
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14281933

Change-Id: I25542ed6cc608427679b8b347d6e60aaad7d9014
2021-04-28 21:22:23 +00:00
Victor Liu
e8b972be35 Merge "uwb: allow uwb service to access nfc service" into sc-dev am: 247097a000
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14281933

Change-Id: Ie088c98ae196ebc9982808b0140494c30618eb03
2021-04-28 21:19:21 +00:00
Victor Liu
247097a000 Merge "uwb: allow uwb service to access nfc service" into sc-dev 2021-04-28 20:49:50 +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
Chris Fries
2d2adb3e56 Fix android.hardware.drm@1.4-service.clearkey label
Bug: 186617617
Change-Id: Icad8008686ef57d4b6c3fca27af41e2b2991f74f
2021-04-28 14:40:02 -05: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
abd2189b79 sepolicy: gs101: allows pixelstat to access audio metrics nodes am: 66634d4d20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14255523

Change-Id: If94b15e8cee4d025b5959ec3f160306b29528f4e
2021-04-28 08:55:58 +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
5ef9766dc6 sepolicy: gs101: allows pixelstat to access audio metrics nodes am: 66634d4d20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14255523

Change-Id: Ic367dfd6c1e4e43a43dd4327337faa4ca124685b
2021-04-28 08:54:23 +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
Roger Fang
66634d4d20 sepolicy: gs101: allows pixelstat to access audio metrics nodes
audio.service: type=1400 audit(0.0:30): avc: denied { read write } for name="amcs" dev="tmpfs" ino=739 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:amcs_device:s0 tclass=chr_file permissive=0

pixelstats-vend: type=1400 audit(0.0:9): avc: denied { read } for name="speaker_impedance" dev="sysfs" ino=67611 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

HwBinder:696_2: type=1400 audit(0.0:8): avc: denied { open } for path="/dev/amcs" dev="tmpfs" ino=766 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:amcs_device:s0 tclass=chr_file permissive=0

Bug: 171854614
Test: manually test, no avc: denied.
Change-Id: I82ebd22f167200ab3cf59e6525ef43c0be8f722a
2021-04-28 10:52:06 +08:00
TreeHugger Robot
6f8aeeb560 Merge "Add sepolicy for wlan logger and sniffer logger" into sc-dev am: d60ae7dfed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14299186

Change-Id: I510b39ee867096b5561ce81520281ae5d26732da
2021-04-28 02:23:56 +00:00
TreeHugger Robot
0df634be79 Merge "Add sepolicy for wlan logger and sniffer logger" into sc-dev am: d60ae7dfed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14299186

Change-Id: Ifbb5f94a5658a0a61b2d16411752f7975ae63ef1
2021-04-28 02:23:38 +00:00
TreeHugger Robot
c55550bfe5 Merge "Grant powerhal access to sysfs_devfreq_dir" into sc-dev am: 68bbf709c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14329748

Change-Id: I05a052c176bab7ede521050ea1ffb2860cf010fd
2021-04-28 02:23:23 +00:00
TreeHugger Robot
7cef5be775 Merge "Grant powerhal access to sysfs_devfreq_dir" into sc-dev am: 68bbf709c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14329748

Change-Id: I195b2997f64f968f79306241a94b57c4d68b1b84
2021-04-28 02:21:53 +00:00
TreeHugger Robot
d60ae7dfed Merge "Add sepolicy for wlan logger and sniffer logger" into sc-dev 2021-04-28 02:12:26 +00:00
TreeHugger Robot
68bbf709c2 Merge "Grant powerhal access to sysfs_devfreq_dir" into sc-dev 2021-04-28 02:03:58 +00:00
Jia-yi Chen
09d5fc647d Grant powerhal access to sysfs_devfreq_dir
Bug: 186576303
Test: Boot & check logcat
Change-Id: Ia07991c3a8a7dfd8388a228fbdec1f28d2f5b4c3
2021-04-27 16:16:02 -07:00
chiayupei
3fefc8a57b Add sepolicy for sensor HAL accessing AOC sysfs node.
Bug: 177943509
Test: make selinux_policy -j128 and push to device.
      No hal_sensors_default related avc deined log while suez polling.

Signed-off-by: chiayupei <chiayupei@google.com>
Change-Id: Ie32eaccf551fcb9f2d7bc763c801891f637ccc1a
2021-04-28 03:50:26 +08: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
chenpaul
920b0e11a9 Add sepolicy for wlan logger and sniffer logger
Bug: 186069127
Test: Sniffer logger can be start by Pixel Logger app
      wlan logger is workable.
Change-Id: I1e7a75a08de37668316b06e066c080e837d7896b
2021-04-27 19:37:28 +08:00
TreeHugger Robot
9218a52b63 Merge "update wakeup node" into sc-dev am: 27c30c1cc6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14319145

Change-Id: I2f9ef19575a7ec777cfe50505d59aefef20876dd
2021-04-27 10:14:17 +00:00
TreeHugger Robot
5c94d31dc9 Merge "update wakeup node" into sc-dev am: 27c30c1cc6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14319145

Change-Id: Ife4d984e68a5f6b29cd28d6c0a07c0f57e5d0205
2021-04-27 10:13:09 +00:00
TreeHugger Robot
27c30c1cc6 Merge "update wakeup node" into sc-dev 2021-04-27 08:47:38 +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
Adam Shih
72ca81757a update wakeup node
Bug: 186492032
Test: pts-tradefed run pts -m PtsSELinuxTest
-t com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot

Change-Id: I9bac40334001d4073dae1846a2cd0310d59ebfe7
2021-04-27 15:30:55 +08: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