Commit graph

5072 commits

Author SHA1 Message Date
wenchangliu
da4eb5e611 update odd resolution support in vpx and av1 codecs
[VSR-4.2.004.001] MUST support the smallest width/height alignment allowed
by the video standard. For AVC/HEVC/VCC, this requires 2x2 pixel alignment
for YUV 4:2:0 profiles, and 2x1 pixel alignment for YUV 4:2:2 profiles.
For VP8/VP9/AV1, this requires 1x1 pixel alignment for any profiles.
Note: This is usually stored as the crop rectangle in the bitstream.

Bug: 329378524
Test: CtsMediaV2TestCases
Change-Id: I0e84a342bf1093c74c712d2c811b37eca9c7908c
2024-04-01 04:18:51 +00:00
Treehugger Robot
ff1c6fe2ba Merge "usb: correct the xhci wakeup path" into main 2024-04-01 04:00:20 +00:00
Android Build Coastguard Worker
e7ac1387f9 Snap for 11650815 from 2c21455b27 to 24Q3-release
Change-Id: Ia7fafe083f1d6296a9f00fc39b3f6fc1bd6883fe
2024-03-30 21:03:43 +00:00
Android Build Coastguard Worker
0ffe19499b Snap for 11648291 from aa7749fb7b to 24Q3-release
Change-Id: Ib0121aee0bcba057aef29481f2a72b8e173ab47c
2024-03-30 01:03:31 +00:00
Android Build Coastguard Worker
46140e09b9 Snap for 11648291 from 29b78ff858 to 24Q3-release
Change-Id: Idc77c56237c3f353d34f8f68fa64b01d00f17f4b
2024-03-30 01:03:30 +00:00
Treehugger Robot
2c21455b27 Merge "usb: handle displayport debounce timer empty reads" into main 2024-03-30 00:41:50 +00:00
Ziyi Yang
6531ad3c81 Adding post notification to gca default permissions
Bug: 331677590
Test: Build and flash. Permission was pregranted to gca.
Change-Id: Id358ad4ad34b700409e157345a43a93729009af5
2024-03-30 00:10:05 +00:00
Mike Wang
aa7749fb7b Merge "Add the selinux policy for MDS to access modem_state file" into main 2024-03-29 15:16:19 +00:00
Android Build Coastguard Worker
c6e447ea3a Snap for 11641371 from 1b6df46381 to 24Q3-release
Change-Id: I69803fd614ac7d46816aca0d3f12dc275f9bce0e
2024-03-28 23:03:16 +00:00
Chris Lu
29b78ff858 zuma: upgrade IDisplay to V11 am: 3a14c951a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/26482877

Change-Id: Ic3c7f4af6f69eabaf4e0d501bece99613e173d46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 21:37:16 +00:00
mikeyuewang
6546398c27 Add the selinux policy for MDS to access modem_state file
Add the selinux policy for MDS to access modem_state file

avc deny:
2024-03-25 16:05:58.244  9667-9667  DiagnosticServi         com.google.mds                       I  type=1400 audit(0.0:14): avc:  denied  { read } for  name="modem_state" dev="sysfs" ino=76870 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 app=com.google.mds
2024-03-25 16:05:58.244  9667-9667  DiagnosticServi         com.google.mds                       I  type=1400 audit(0.0:15): avc:  denied  { open } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=76870 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 app=com.google.mds
2024-03-25 16:05:58.244  9667-9667  DiagnosticServi         com.google.mds                       I  type=1400 audit(0.0:16): avc:  denied  { getattr } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=76870 scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 app=com.google.mds

Bug: 331202327

Change-Id: I5e0088d274bc4f45010a19631ecbaece7cc3cc42
2024-03-28 20:28:10 +00:00
Shashwat Razdan
5032fc7cb5 Revert "Adding android.software.contextualsearch to zuma devices."
Revert submission 26467635-feature_cs

Reason for revert: b/329350496 - Introducing new config with `android.*` namespace is not allowed in 24Q2.

Reverted changes: /q/submissionid:26467635-feature_cs

Change-Id: Icee16ce2f1d8b4971f9db615b862ba36588a9f65
2024-03-28 18:59:22 +00:00
Jack Wu
82bb1a5112 Update health AIDL HAL to V3
Bug: 328327545
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:40f89b2d464071389d395f39928ef0e6d99bf2fb)
Merged-In: I7582ba278abcb30cebe041f775efe45633a58bad
Change-Id: I7582ba278abcb30cebe041f775efe45633a58bad
24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev.
2024-03-28 07:26:43 +00:00
Treehugger Robot
1b6df46381 Merge "Update SOONG_NAMESPACES to include power-anomaly-sitril folder" into main 2024-03-28 04:59:30 +00:00
Android Build Coastguard Worker
145974cf0e Snap for 11635697 from c8c92bd593 to 24Q3-release
Change-Id: I5594e3d074394fcb78574fed16191b1aeb403cbf
2024-03-27 23:03:41 +00:00
Albert Wang
c24ead7ce9 usb: correct the xhci wakeup path
Error log:
Error opening kernel wakelock stats for: wakeup177 (...xhci-hcd-exynos.5.auto/usb1/1-1/wakeup/wakeup177): Permission denied

bug: 311087938
Test: boot to home and host mode works well
Change-Id: I8bdd38499dec3852ba33510f40e58cebd3a4560f
2024-03-27 10:26:45 +00:00
Android Build Coastguard Worker
93e292bba3 Snap for 11629448 from 336cc78bd9 to 24Q3-release
Change-Id: Ib67f14d788e7daddfb348a9c9aed64b4ce3427fa
2024-03-27 01:04:37 +00:00
Android Build Coastguard Worker
6a6766d878 Merge cherrypicks of ['android-review.googlesource.com/3009648'] into 24Q2-release.
Change-Id: I13b9f2ca30340a6b5a11d590106d3200d9dd4d46
2024-03-26 23:37:01 +00:00
Jack Wu
956405c6c0 Update health AIDL HAL to V3
Bug: 328327545
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Signed-off-by: Jack Wu <wjack@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:40f89b2d464071389d395f39928ef0e6d99bf2fb)
Merged-In: I7582ba278abcb30cebe041f775efe45633a58bad
Change-Id: I7582ba278abcb30cebe041f775efe45633a58bad
2024-03-26 23:19:37 +00:00
Megha Patil
c8c92bd593 Sepolicy for the new property to switch Modem Binary
Sepolicy Rules added for telephony.TnNtn.image_switch

BUG: b/298322438
Bug: 323087490

Test: Test Binding sequence of Service
Change-Id: Ie79aff94159d79a573ec92546a5d3e390b802b22
2024-03-26 08:44:51 +00:00
Vilas Bhat
336cc78bd9 Merge "16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default" into main am: 9f46e1bc8a am: 19eefd7be5
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009017

Change-Id: I18dcbc4200bbded295cbf3084a6c2c54d3a49a69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 00:58:45 +00:00
Vilas Bhat
19eefd7be5 Merge "16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default" into main am: 9f46e1bc8a
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009017

Change-Id: I62eeed1a5d24504c67c9b11a8e07c4874a4c95f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 00:32:26 +00:00
Vilas Bhat
9f46e1bc8a Merge "16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default" into main 2024-03-26 00:11:12 +00:00
Vilas Bhat
2c6de7bc7a 16k: zuma: Remove PRODUCT_MAX_PAGE_SIZE_SUPPORTED, set to 16384 by default
b/300367402 has been resolved and PRODUCT_MAX_PAGE_SIZE_SUPPORTED
override is not needed anymore as the default value is set to 16384.

Bug: 310232825
Bug: 300367402
Change-Id: I0a319a2ede0897bcde97214c70ebf099062bac0d
2024-03-26 00:06:22 +00:00
Herbert Xue
f655891870 Update SOONG_NAMESPACES to include power-anomaly-sitril folder
Bug: 326175117
Test: lunch husky-trunk_staging-userdebug && m PowerAnomalySitril
Change-Id: Icdaf363a37c29d9bc7b07b3ee552440fa723f80d
2024-03-25 16:11:14 +08:00
Android Build Coastguard Worker
6b04b83dfa Snap for 11617975 from e0e63c38d7 to 24Q3-release
Change-Id: I8ca8225ca1d57ca765379053aa6a9fd888814af3
2024-03-23 01:03:05 +00:00
Android Build Coastguard Worker
672de8fd30 Snap for 11617975 from 4f08475886 to 24Q3-release
Change-Id: I6d2397b900639a9852289f5a4b2531574bd61c96
2024-03-23 01:03:04 +00:00
Hungyen Weng
e0e63c38d7 Merge "Allow modem_svc to access modem files and perfetto" into main 2024-03-22 23:52:52 +00:00
Jack Wu
4f08475886 Update health AIDL HAL to V3 am: 40f89b2d46 am: b3ae3a6b85
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009648

Change-Id: Ibfa39e6ef8eff1cf6e967226a8677b026e97aafd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:59:05 +00:00
Jack Wu
b3ae3a6b85 Update health AIDL HAL to V3 am: 40f89b2d46
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3009648

Change-Id: Ia38afc00d2ea7b36cdb40c6500ac6ce7becb6800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:43:36 +00:00
Jack Wu
40f89b2d46 Update health AIDL HAL to V3
Bug: 328327545
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I7582ba278abcb30cebe041f775efe45633a58bad
Signed-off-by: Jack Wu <wjack@google.com>
2024-03-22 21:38:07 +08:00
Spade Lee
dbc39c622b Merge "pixelstats_vendor: add logbuffer_device r_file_perms" into main 2024-03-22 07:30:31 +00:00
Spade Lee
ea61856798 Merge "pixelstats: zuma: add history validation path" into main 2024-03-22 07:30:31 +00:00
Hungyen Weng
1db18cf4b3 Allow modem_svc to access modem files and perfetto
Bug: 330730987

Test: Confirmed that modem_svc is able to access token db files in modem partition
Test: Confiemed that modem_svc can send traces to perfetto

Change-Id: Ic8b724e0e8d72f5ead83e75ab85471bcbdaf8749
2024-03-22 00:29:41 +00:00
Wesley Lee
2aff27d3e4 Merge "Adjust 720P and below performance point" into main 2024-03-21 23:18:15 +00:00
Android Build Coastguard Worker
fb74d71c36 Snap for 11610847 from 920bae7e33 to 24Q3-release
Change-Id: I75f5034f369d7c9f8c3939fa6554ba202cf97590
2024-03-21 23:03:13 +00:00
Android Build Coastguard Worker
d5d9ed7547 Snap for 11610847 from e723942c69 to 24Q3-release
Change-Id: Ifdaa2160dbadd311dba111fe8d13859f656612f7
2024-03-21 23:03:13 +00:00
Wesley Lee
b80719b25f Adjust 720P and below performance point
Bug: 325950790

Change-Id: I3038b4056819e55fff9171f809ff66d6ada969ab
Signed-off-by: Wesley Lee <szuweilee@google.com>
2024-03-21 10:15:50 -07:00
Oleg Blinnikov
920bae7e33 Merge "persist.sys.hdcp_checking property added" into main 2024-03-21 12:21:30 +00:00
Oleg Blinnikov
e723942c69 Merge "persist.sys.hdcp_checking controls max hdcp" into main 2024-03-21 12:21:30 +00:00
Chris Lu
3a14c951a2 zuma: upgrade IDisplay to V11
Bug: 307787644
Test: build pass
Change-Id: I538f57a0d67f9e8d248e8a1d46e4be46889f0d42
2024-03-21 07:30:11 +00:00
Spade Lee
6ad6fb5edb sepolicy: allow kernel to search vendor debugfs
audit: type=1400 audit(1710259012.824:4): avc:  denied  { search } for  pid=128 comm="kworker/3:1" name="max77779fg" dev="debugfs" ino=24204 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=dir permissive=0
audit: type=1400 audit(1710427790.680:2): avc:  denied  { search } for  pid=10 comm="kworker/u16:1" name="gvotables" dev="debugfs" ino=10582 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_votable_debugfs:s0 tclass=dir permissive=1
audit: type=1400 audit(1710427790.680:3): avc:  denied  { search } for  pid=211 comm="kworker/u16:4" name="google_charger" dev="debugfs" ino=16673 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_charger_debugfs:s0 tclass=dir permissive=1

Bug: 328016570
Bug: 329317898
Test: check all debugfs folders are correctly mounted
Change-Id: I0e0c2fee4d508cc4e76714df0efbe5eca7ca5966
Signed-off-by: Spade Lee <spadelee@google.com>
2024-03-20 18:16:41 +00:00
Oleg Blinnikov
3248117d06 persist.sys.hdcp_checking controls max hdcp
Change-Id: Ibe2554019449b6f958fc6e0168ae0deccc9f589d
Bug: 321344894
Test: set persist.sys.hdcp_checking, check the file is updated
2024-03-20 11:10:41 +00:00
Android Build Coastguard Worker
80a8bb82bb Snap for 11597038 from 45dbae1b7a to 24Q3-release
Change-Id: I57b35dcbf82e3c703b7c7312bc6282319a964607
2024-03-19 23:03:37 +00:00
RD Babiera
523717b768 usb: handle displayport debounce timer empty reads
If the device is unplugged then plugged before
mDisplayPortDebounceTimer triggers, then the new
displayPortPollWork could process the trigger
in the intial epoll handling loop. Because the
timer can be rearmed, the timerfd read results
in -EAGAIN because no data is ready, but stale
data was ready to begin with.

Disarm the debounce timer when displayPortPollWork
closes to prevent new work threads from reading
timer when not ready. Also log debounce read
errors as a warning and not an error.

Test: manual test on device
Bug: 328553922
(cherry-picked from 94c9c1ac86f398c22ddc446f17bd7ab3fddb675c)
Change-Id: Icf3dbe929eb9f0520941a4efe3dcea79a71d46c3
Signed-off-by: RD Babiera <rdbabiera@google.com>
2024-03-19 18:35:19 +00:00
Oleg Blinnikov
57d222ff5f persist.sys.hdcp_checking property added
Change-Id: I518db2909d2356a42421a626288365bb7458cc9c
Bug: 321344894
Test: modify property, see that max_ver file modified
2024-03-19 16:06:51 +00:00
Shashwat Razdan
45dbae1b7a [automerger skipped] Adding android.software.contextualsearch to zuma devices. am: df92ac07bd -s ours
am skip reason: Merged-In I4ee1ecd9e292d6e1807ba1f77851e53380db0a07 with SHA-1 3ceb5170ce is already in history

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

Change-Id: I564a51efb5e1dfa0e3bd84876dc500c0b9c21659
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-19 08:29:05 +00:00
Treehugger Robot
7a6899664e Merge "zuma: Set max supported page size to 65536" into main 2024-03-19 02:09:56 +00:00
Android Build Coastguard Worker
b1bed8612e Snap for 11591048 from 110a712be9 to 24Q3-release
Change-Id: I5b3e60bca391d8a161a94856872b3d2885960a79
2024-03-18 23:03:33 +00:00
Wilson Sung
110a712be9 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 330081782
Change-Id: I43805cda5b66b30999578b7a842fda6fe296003d
2024-03-18 03:23:52 +00:00