mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-05 19:31:58 -04:00
sm6375-common: Update to fogos_g V1UG35H.75-14-3
Change-Id: I37343245917f648876871d2c7ed2aead3fef7fa2
This commit is contained in:
parent
0a6e3f9e10
commit
5cf467e8e7
14 changed files with 365 additions and 799 deletions
|
|
@ -199,10 +199,8 @@ PRODUCT_ENABLE_UFFD_GC := false
|
|||
|
||||
# Media
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/media/blair/media_codecs_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_blair.xml \
|
||||
$(LOCAL_PATH)/media/blair/media_codecs_performance_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair.xml \
|
||||
$(LOCAL_PATH)/media/blair/media_profiles_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_blair.xml \
|
||||
$(LOCAL_PATH)/media/holi/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi.xml \
|
||||
$(LOCAL_PATH)/media/holi/media_codecs_performance_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_holi.xml \
|
||||
$(LOCAL_PATH)/media/holi/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_holi.xml \
|
||||
$(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
From 0f3f402c9718d24a66d3a59b36c167de848fcff9 Mon Sep 17 00:00:00 2001
|
||||
From 6f37560d2158cb669e4153df119d0447f8f708e4 Mon Sep 17 00:00:00 2001
|
||||
From: Erfan Abdi <erfangplus@gmail.com>
|
||||
Date: Sun, 26 Jan 2020 20:23:44 +0330
|
||||
Subject: [PATCH 1/5] ImsConfigImpl: Return 0 in getWfcMDN in any case
|
||||
Subject: [PATCH 1/4] ImsConfigImpl: Return 0 in getWfcMDN in any case
|
||||
|
||||
---
|
||||
smali/org/codeaurora/ims/ImsConfigImpl.smali | 13 -------------
|
||||
1 file changed, 13 deletions(-)
|
||||
|
||||
diff --git a/smali/org/codeaurora/ims/ImsConfigImpl.smali b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
index 644a553..c921038 100644
|
||||
index f81bc1d..ba4cbfd 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
@@ -1471,22 +1471,9 @@
|
||||
@@ -1493,22 +1493,9 @@
|
||||
.param p1, "subid" # I
|
||||
|
||||
.line 849
|
||||
.line 852
|
||||
- const-string v0, "wfc_ims_mdn"
|
||||
-
|
||||
- iget-object v1, p0, Lorg/codeaurora/ims/ImsConfigImpl;->mContext:Landroid/content/Context;
|
||||
|
|
@ -23,17 +23,17 @@ index 644a553..c921038 100644
|
|||
-
|
||||
- move-result-object v0
|
||||
-
|
||||
- .line 851
|
||||
- .line 854
|
||||
- .local v0, "mdn":Ljava/lang/String;
|
||||
- if-nez v0, :cond_0
|
||||
|
||||
const-string v0, "0"
|
||||
|
||||
- .line 852
|
||||
- .line 855
|
||||
- :cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
--
|
||||
2.43.0
|
||||
2.49.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
From 9f41786278a80f4e8f8629ae13b1d5cc38c85fde Mon Sep 17 00:00:00 2001
|
||||
From 643f28a39a72c0b69d7f1d12d96296e253b48b2c Mon Sep 17 00:00:00 2001
|
||||
From: Vachounet <vachounet@live.fr>
|
||||
Date: Wed, 27 Jan 2021 23:28:48 +0100
|
||||
Subject: [PATCH 2/5] ImsConfigImpl: don't call setSubscriptionProperty for
|
||||
Subject: [PATCH 2/4] ImsConfigImpl: don't call setSubscriptionProperty for
|
||||
wfc_ims_mdn
|
||||
|
||||
---
|
||||
|
|
@ -9,16 +9,16 @@ Subject: [PATCH 2/5] ImsConfigImpl: don't call setSubscriptionProperty for
|
|||
1 file changed, 70 deletions(-)
|
||||
|
||||
diff --git a/smali/org/codeaurora/ims/ImsConfigImpl.smali b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
index c921038..c38fe20 100644
|
||||
index ba4cbfd..14d5a35 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
@@ -3070,76 +3070,6 @@
|
||||
@@ -3096,76 +3096,6 @@
|
||||
|
||||
.line 790
|
||||
.line 793
|
||||
:cond_2
|
||||
- if-ne p1, v2, :cond_3
|
||||
-
|
||||
- .line 791
|
||||
- .line 794
|
||||
- new-instance v0, Ljava/lang/StringBuilder;
|
||||
-
|
||||
- invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
|
@ -43,7 +43,7 @@ index c921038..c38fe20 100644
|
|||
-
|
||||
- invoke-static {p0, v0}, Lcom/qualcomm/ims/utils/Log;->i(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
-
|
||||
- .line 795
|
||||
- .line 798
|
||||
- :try_start_0
|
||||
- iget v0, p0, Lorg/codeaurora/ims/ImsConfigImpl;->mSubId:I
|
||||
-
|
||||
|
|
@ -53,14 +53,14 @@ index c921038..c38fe20 100644
|
|||
- :try_end_0
|
||||
- .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
-
|
||||
- .line 799
|
||||
- .line 802
|
||||
- goto :goto_1
|
||||
-
|
||||
- .line 797
|
||||
- .line 800
|
||||
- :catch_0
|
||||
- move-exception v0
|
||||
-
|
||||
- .line 798
|
||||
- .line 801
|
||||
- .local v0, "e":Ljava/lang/Exception;
|
||||
- new-instance v1, Ljava/lang/StringBuilder;
|
||||
-
|
||||
|
|
@ -82,13 +82,13 @@ index c921038..c38fe20 100644
|
|||
-
|
||||
- invoke-static {p0, v1}, Lcom/qualcomm/ims/utils/Log;->e(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
-
|
||||
- .line 803
|
||||
- .line 806
|
||||
- .end local v0 # "e":Ljava/lang/Exception;
|
||||
- :cond_3
|
||||
- :goto_1
|
||||
const/16 v3, 0x2c
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v5, 0x1
|
||||
const/4 v7, 0x0
|
||||
--
|
||||
2.43.0
|
||||
2.49.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
From 4dd42142e2fbb2afd60ca6d8b4ac497c8d978f74 Mon Sep 17 00:00:00 2001
|
||||
From 3882ef22cf0d1db3c4bdd1e88b2ecc1c0ffa0787 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Hexen <SyberHexen@gmail.com>
|
||||
Date: Thu, 25 May 2023 11:51:44 -0700
|
||||
Subject: [PATCH 3/5] ims: remove uses-library for moto-ims-ext
|
||||
Subject: [PATCH 3/4] ims: remove uses-library for moto-ims-ext
|
||||
|
||||
* This was added in 13 which breaks ims:
|
||||
'java.lang.ClassNotFoundException org/codeaurora/ims/utils/QtiCarrierConfigHelper/ImsService.java'
|
||||
|
|
@ -13,10 +13,10 @@ Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
|
|||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
|
||||
index 3b3dc51..6f4b3de 100644
|
||||
index 894956d..e7fba97 100644
|
||||
--- a/AndroidManifest.xml
|
||||
+++ b/AndroidManifest.xml
|
||||
@@ -48,9 +48,8 @@
|
||||
@@ -51,9 +51,8 @@
|
||||
</service>
|
||||
<service android:enabled="true" android:exported="true" android:name=".QtiImsExtService" android:permission="com.qti.permission.BIND_QTI_IMS_SERVICE" android:singleUser="true"/>
|
||||
<uses-library android:name="moto-telephony"/>
|
||||
|
|
@ -29,5 +29,5 @@ index 3b3dc51..6f4b3de 100644
|
|||
\ No newline at end of file
|
||||
+</manifest>
|
||||
--
|
||||
2.43.0
|
||||
2.49.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,105 +1,136 @@
|
|||
From 74cc53ffea595daf25e176fb1783641994fb794d Mon Sep 17 00:00:00 2001
|
||||
From 5b369fc49fcf5e5005974a408c02faf79222e2b9 Mon Sep 17 00:00:00 2001
|
||||
From: SGCMarkus <markusornik@gmail.com>
|
||||
Date: Wed, 21 Feb 2024 19:18:49 +0100
|
||||
Subject: [PATCH 4/5] ims: globally set RECEIVER_EXPORTED for registerReceiver
|
||||
Subject: [PATCH 4/4] ims: globally set RECEIVER_EXPORTED for registerReceiver
|
||||
|
||||
E AndroidRuntime: FATAL EXCEPTION: main
|
||||
E AndroidRuntime: Process: org.codeaurora.ims, PID: 3692
|
||||
E AndroidRuntime: java.lang.RuntimeException: Unable to create service org.codeaurora.ims.ImsService: java.lang.SecurityException: org.codeaurora.ims: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
|
||||
|
||||
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
|
||||
---
|
||||
smali/com/qualcomm/ims/vt/LowBatteryHandler.smali | 4 +++-
|
||||
smali/org/codeaurora/ims/ImsCallModification.smali | 4 +++-
|
||||
smali/org/codeaurora/ims/ImsConfigImpl.smali | 4 +++-
|
||||
smali/org/codeaurora/ims/ImsServiceSub.smali | 4 +++-
|
||||
smali/org/codeaurora/ims/ImsSubController.smali | 8 ++++++--
|
||||
5 files changed, 18 insertions(+), 6 deletions(-)
|
||||
smali/com/qualcomm/ims/vt/LowBatteryHandler.smali | 6 ++++--
|
||||
smali/org/codeaurora/ims/ImsCallModification.smali | 6 ++++--
|
||||
smali/org/codeaurora/ims/ImsServiceSub.smali | 6 ++++--
|
||||
smali/org/codeaurora/ims/ImsSubController.smali | 12 ++++++++----
|
||||
4 files changed, 20 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali b/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali
|
||||
index d69a656..deff6db 100644
|
||||
index 8d8c7f9..ee8ec8a 100644
|
||||
--- a/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali
|
||||
+++ b/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali
|
||||
@@ -150,7 +150,9 @@
|
||||
@@ -101,7 +101,7 @@
|
||||
.end method
|
||||
|
||||
invoke-direct {v1, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
.method private constructor <init>(Ljava/util/List;Landroid/content/Context;)V
|
||||
- .locals 4
|
||||
+ .locals 5
|
||||
.param p2, "context" # Landroid/content/Context;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
@@ -154,7 +154,9 @@
|
||||
|
||||
- invoke-virtual {p2, v0, v1}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v2, 0x2
|
||||
invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
|
||||
- invoke-virtual {v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v4, 0x2
|
||||
+
|
||||
+ invoke-virtual {p2, v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {v0, v1, v2, v4}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 49
|
||||
return-void
|
||||
diff --git a/smali/org/codeaurora/ims/ImsCallModification.smali b/smali/org/codeaurora/ims/ImsCallModification.smali
|
||||
index 3c209df..a18213b 100644
|
||||
index ce51441..cbd8770 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsCallModification.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsCallModification.smali
|
||||
@@ -300,7 +300,9 @@
|
||||
.line 140
|
||||
iget-object v2, p0, Lorg/codeaurora/ims/ImsCallModification;->mContext:Landroid/content/Context;
|
||||
@@ -179,7 +179,7 @@
|
||||
.end method
|
||||
|
||||
- invoke-virtual {v2, v0, v1}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v3, 0x2
|
||||
+
|
||||
+ invoke-virtual {v2, v0, v1, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
.method public constructor <init>(Lorg/codeaurora/ims/ImsCallSessionImpl;Landroid/content/Context;Lorg/codeaurora/ims/ImsSenderRxr;Landroid/os/Looper;)V
|
||||
- .locals 3
|
||||
+ .locals 4
|
||||
.param p1, "imsCallSessionImpl" # Lorg/codeaurora/ims/ImsCallSessionImpl;
|
||||
.param p2, "context" # Landroid/content/Context;
|
||||
.param p3, "senderRxr" # Lorg/codeaurora/ims/ImsSenderRxr;
|
||||
@@ -304,7 +304,9 @@
|
||||
|
||||
.line 141
|
||||
const-string v0, "Registering car mode receiver"
|
||||
diff --git a/smali/org/codeaurora/ims/ImsConfigImpl.smali b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
index c38fe20..4daeb74 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
@@ -668,7 +668,9 @@
|
||||
|
||||
iget-object v2, p0, Lorg/codeaurora/ims/ImsConfigImpl;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
|
||||
iget-object v2, p0, Lorg/codeaurora/ims/ImsCallModification;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
|
||||
|
||||
- invoke-virtual {v1, v2, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v3, 0x2
|
||||
+
|
||||
+ invoke-virtual {v1, v2, v0, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 257
|
||||
new-instance v1, Landroid/os/HandlerThread;
|
||||
.line 141
|
||||
const-string v1, "Registering car mode receiver"
|
||||
diff --git a/smali/org/codeaurora/ims/ImsServiceSub.smali b/smali/org/codeaurora/ims/ImsServiceSub.smali
|
||||
index 4a4a489..579abd8 100644
|
||||
index 9733735..8cdd5b6 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsServiceSub.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsServiceSub.smali
|
||||
@@ -622,7 +622,7 @@
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;ILorg/codeaurora/ims/ImsSenderRxr;Lorg/codeaurora/ims/ImsSubController;)V
|
||||
- .locals 5
|
||||
+ .locals 6
|
||||
.param p1, "context" # Landroid/content/Context;
|
||||
.param p2, "phoneId" # I
|
||||
.param p3, "senderRxr" # Lorg/codeaurora/ims/ImsSenderRxr;
|
||||
@@ -1074,7 +1074,9 @@
|
||||
|
||||
iget-object v3, p0, Lorg/codeaurora/ims/ImsServiceSub;->mImsServiceStateReceiver:Lorg/codeaurora/ims/ImsServiceStateReceiver;
|
||||
|
||||
- invoke-virtual {v2, v3, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v4, 0x2
|
||||
+ const/4 v5, 0x2
|
||||
+
|
||||
+ invoke-virtual {v2, v3, v0, v4}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {v2, v3, v0, v5}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 312
|
||||
iget-object v2, p0, Lorg/codeaurora/ims/ImsServiceSub;->mImsServiceStateReceiver:Lorg/codeaurora/ims/ImsServiceStateReceiver;
|
||||
diff --git a/smali/org/codeaurora/ims/ImsSubController.smali b/smali/org/codeaurora/ims/ImsSubController.smali
|
||||
index 3f21add..e0f6feb 100644
|
||||
index 87a02b5..b272e84 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsSubController.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsSubController.smali
|
||||
@@ -416,7 +416,9 @@
|
||||
@@ -336,7 +336,7 @@
|
||||
.end method
|
||||
|
||||
invoke-direct {v1, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;Ljava/util/List;Landroid/os/Looper;)V
|
||||
- .locals 4
|
||||
+ .locals 5
|
||||
.param p1, "context" # Landroid/content/Context;
|
||||
.param p4, "looper" # Landroid/os/Looper;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
@@ -455,7 +455,9 @@
|
||||
|
||||
- invoke-virtual {p1, v0, v1}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v2, 0x2
|
||||
invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
|
||||
- invoke-virtual {v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v4, 0x2
|
||||
+
|
||||
+ invoke-virtual {p1, v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {v0, v1, v2, v4}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 217
|
||||
.line 215
|
||||
iput-object p2, p0, Lorg/codeaurora/ims/ImsSubController;->mSenderRxrs:Ljava/util/List;
|
||||
@@ -1267,7 +1269,9 @@
|
||||
@@ -1084,7 +1086,7 @@
|
||||
.end method
|
||||
|
||||
.method private handleRafInfo()V
|
||||
- .locals 10
|
||||
+ .locals 11
|
||||
|
||||
.line 699
|
||||
iget v0, p0, Lorg/codeaurora/ims/ImsSubController;->mNumMultiModeStacks:I
|
||||
@@ -1316,7 +1318,9 @@
|
||||
|
||||
invoke-direct {v5, v6}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
|
||||
- invoke-virtual {v2, v4, v5}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
||||
+ const/4 v3, 0x2
|
||||
+ const/4 v10, 0x2
|
||||
+
|
||||
+ invoke-virtual {v2, v4, v5, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {v2, v4, v5, v10}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 752
|
||||
.line 746
|
||||
iput-boolean v3, p0, Lorg/codeaurora/ims/ImsSubController;->mIsReceiverRegistered:Z
|
||||
--
|
||||
2.43.0
|
||||
2.49.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,169 +0,0 @@
|
|||
From 799edb94515218e27a8d18e7ae1ce1aef379355a Mon Sep 17 00:00:00 2001
|
||||
From: Cosmin Tanislav <demonsingur@gmail.com>
|
||||
Date: Fri, 9 Aug 2024 10:47:24 +0300
|
||||
Subject: [PATCH 5/5] [PATCH 5/5] fixup! ims: globally set RECEIVER_EXPORTED
|
||||
for registerReceiver
|
||||
|
||||
Use new locals for the RECEIVER_EXPORTED parameter to avoid
|
||||
conflicts.
|
||||
|
||||
W MmTelFeature: MmTelFeature Binder - createCallSession exception: java.lang.VerifyError:
|
||||
Verifier rejected class org.codeaurora.ims.ImsCallModification:
|
||||
void org.codeaurora.ims.ImsCallModification.<init>(
|
||||
org.codeaurora.ims.ImsCallSessionImpl,
|
||||
android.content.Context,
|
||||
org.codeaurora.ims.ImsSenderRxr,
|
||||
android.os.Looper)
|
||||
failed to verify:
|
||||
void org.codeaurora.ims.ImsCallModification.<init>(
|
||||
org.codeaurora.ims.ImsCallSessionImpl,
|
||||
android.content.Context,
|
||||
org.codeaurora.ims.ImsSenderRxr,
|
||||
android.os.Looper):
|
||||
[0x65] register v3 has type Imprecise Constant: 127 but expected Reference:
|
||||
java.lang.Object (declaration of 'org.codeaurora.ims.ImsCallModification' appears in /system_ext/priv-app/ims/ims.apk)
|
||||
---
|
||||
smali/com/qualcomm/ims/vt/LowBatteryHandler.smali | 6 +++---
|
||||
smali/org/codeaurora/ims/ImsCallModification.smali | 2 +-
|
||||
smali/org/codeaurora/ims/ImsConfigImpl.smali | 6 +++---
|
||||
smali/org/codeaurora/ims/ImsServiceSub.smali | 6 +++---
|
||||
smali/org/codeaurora/ims/ImsSubController.smali | 12 ++++++------
|
||||
5 files changed, 16 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali b/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali
|
||||
index deff6db..6a7e841 100644
|
||||
--- a/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali
|
||||
+++ b/smali/com/qualcomm/ims/vt/LowBatteryHandler.smali
|
||||
@@ -101,7 +101,7 @@
|
||||
.end method
|
||||
|
||||
.method private constructor <init>(Ljava/util/List;Landroid/content/Context;)V
|
||||
- .locals 3
|
||||
+ .locals 4
|
||||
.param p2, "context" # Landroid/content/Context;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
@@ -150,9 +150,9 @@
|
||||
|
||||
invoke-direct {v1, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
|
||||
- const/4 v2, 0x2
|
||||
+ const/4 v3, 0x2
|
||||
|
||||
- invoke-virtual {p2, v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {p2, v0, v1, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 49
|
||||
return-void
|
||||
diff --git a/smali/org/codeaurora/ims/ImsCallModification.smali b/smali/org/codeaurora/ims/ImsCallModification.smali
|
||||
index a18213b..cae0c88 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsCallModification.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsCallModification.smali
|
||||
@@ -179,7 +179,7 @@
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lorg/codeaurora/ims/ImsCallSessionImpl;Landroid/content/Context;Lorg/codeaurora/ims/ImsSenderRxr;Landroid/os/Looper;)V
|
||||
- .locals 3
|
||||
+ .locals 4
|
||||
.param p1, "imsCallSessionImpl" # Lorg/codeaurora/ims/ImsCallSessionImpl;
|
||||
.param p2, "context" # Landroid/content/Context;
|
||||
.param p3, "senderRxr" # Lorg/codeaurora/ims/ImsSenderRxr;
|
||||
diff --git a/smali/org/codeaurora/ims/ImsConfigImpl.smali b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
index 4daeb74..d91ef4f 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsConfigImpl.smali
|
||||
@@ -414,7 +414,7 @@
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lorg/codeaurora/ims/ImsServiceSub;Lorg/codeaurora/ims/ImsSenderRxr;Landroid/content/Context;)V
|
||||
- .locals 4
|
||||
+ .locals 5
|
||||
.param p1, "serviceSub" # Lorg/codeaurora/ims/ImsServiceSub;
|
||||
.param p2, "senderRxr" # Lorg/codeaurora/ims/ImsSenderRxr;
|
||||
.param p3, "context" # Landroid/content/Context;
|
||||
@@ -668,9 +668,9 @@
|
||||
|
||||
iget-object v2, p0, Lorg/codeaurora/ims/ImsConfigImpl;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
|
||||
|
||||
- const/4 v3, 0x2
|
||||
+ const/4 v4, 0x2
|
||||
|
||||
- invoke-virtual {v1, v2, v0, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {v1, v2, v0, v4}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 257
|
||||
new-instance v1, Landroid/os/HandlerThread;
|
||||
diff --git a/smali/org/codeaurora/ims/ImsServiceSub.smali b/smali/org/codeaurora/ims/ImsServiceSub.smali
|
||||
index 579abd8..839b79d 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsServiceSub.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsServiceSub.smali
|
||||
@@ -622,7 +622,7 @@
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;ILorg/codeaurora/ims/ImsSenderRxr;Lorg/codeaurora/ims/ImsSubController;)V
|
||||
- .locals 5
|
||||
+ .locals 6
|
||||
.param p1, "context" # Landroid/content/Context;
|
||||
.param p2, "phoneId" # I
|
||||
.param p3, "senderRxr" # Lorg/codeaurora/ims/ImsSenderRxr;
|
||||
@@ -1074,9 +1074,9 @@
|
||||
|
||||
iget-object v3, p0, Lorg/codeaurora/ims/ImsServiceSub;->mImsServiceStateReceiver:Lorg/codeaurora/ims/ImsServiceStateReceiver;
|
||||
|
||||
- const/4 v4, 0x2
|
||||
+ const/4 v5, 0x2
|
||||
|
||||
- invoke-virtual {v2, v3, v0, v4}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {v2, v3, v0, v5}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 312
|
||||
iget-object v2, p0, Lorg/codeaurora/ims/ImsServiceSub;->mImsServiceStateReceiver:Lorg/codeaurora/ims/ImsServiceStateReceiver;
|
||||
diff --git a/smali/org/codeaurora/ims/ImsSubController.smali b/smali/org/codeaurora/ims/ImsSubController.smali
|
||||
index e0f6feb..1cbc3a2 100644
|
||||
--- a/smali/org/codeaurora/ims/ImsSubController.smali
|
||||
+++ b/smali/org/codeaurora/ims/ImsSubController.smali
|
||||
@@ -301,7 +301,7 @@
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;Ljava/util/List;Landroid/os/Looper;)V
|
||||
- .locals 3
|
||||
+ .locals 4
|
||||
.param p1, "context" # Landroid/content/Context;
|
||||
.param p4, "looper" # Landroid/os/Looper;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
@@ -416,9 +416,9 @@
|
||||
|
||||
invoke-direct {v1, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
|
||||
- const/4 v2, 0x2
|
||||
+ const/4 v3, 0x2
|
||||
|
||||
- invoke-virtual {p1, v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {p1, v0, v1, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 217
|
||||
iput-object p2, p0, Lorg/codeaurora/ims/ImsSubController;->mSenderRxrs:Ljava/util/List;
|
||||
@@ -1037,7 +1037,7 @@
|
||||
.end method
|
||||
|
||||
.method private handleRafInfo()V
|
||||
- .locals 10
|
||||
+ .locals 11
|
||||
|
||||
.line 705
|
||||
iget v0, p0, Lorg/codeaurora/ims/ImsSubController;->mNumMultiModeStacks:I
|
||||
@@ -1269,9 +1269,9 @@
|
||||
|
||||
invoke-direct {v5, v6}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
||||
|
||||
- const/4 v3, 0x2
|
||||
+ const/4 v10, 0x2
|
||||
|
||||
- invoke-virtual {v2, v4, v5, v3}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
+ invoke-virtual {v2, v4, v5, v10}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;
|
||||
|
||||
.line 752
|
||||
iput-boolean v3, p0, Lorg/codeaurora/ims/ImsSubController;->mIsReceiverRegistered:Z
|
||||
--
|
||||
2.43.0
|
||||
|
||||
|
|
@ -1,262 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
Not a Contribution.
|
||||
|
||||
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
||||
Copyright (C) 2012-2013 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
"performance-point"
|
||||
Vendor-guaranteed performance advertised to the applications
|
||||
<Limit name="performance-point-widthxheight" value="fps" />
|
||||
|
||||
-For each of the resolutions, the advertised fps is the max supported,
|
||||
with HW-friendly color format and considering video-only.
|
||||
-Performance for any intermediate resolution will be that of the
|
||||
next-higher-advertised-resolution.
|
||||
|
||||
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
||||
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
||||
* HD+ only
|
||||
+ SD only
|
||||
- All supported standard performance points are listed (unless they are
|
||||
covered by another listed standard performance point)
|
||||
- Non-standard performance points are listed along with all the standard
|
||||
performance points covered by them.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Holi Non-Secure decoder capabilities
|
||||
(MB is defined as 16x16)
|
||||
|
||||
_______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|_____________|_________________________________________|
|
||||
| h264 | 1920 1088 60 60 489600 |
|
||||
| hevc | 1920 1080 60 60 489600 |
|
||||
| vp9 | 1920 1088 60 60 489600 |
|
||||
|_____________|_________________________________________|
|
||||
|
||||
Secure decoder capabilities
|
||||
(MB is defined as 16x16)
|
||||
|
||||
_____________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 1920 1088 60 35 489600 |
|
||||
| vp9 | 1920 1088 60 35 489600 |
|
||||
| hevc | 1920 1088 60 35 489600 |
|
||||
|__________|_________________________________________|
|
||||
|
||||
|
||||
Non-Secure encoder capabilities (Secure not supported)
|
||||
(MB is defined as 16x16)
|
||||
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 1920 1088 60 60 489600 |
|
||||
| hevc | 1920 1088 60 60 489600 |
|
||||
|__________|_________________________________________|
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Decoders>
|
||||
<!-- C2 decoders -->
|
||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.decoder.avc"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" range="36-489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" range="36-489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
||||
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
||||
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
<Encoders>
|
||||
<!-- C2 encoders -->
|
||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.encoder.avc"/>
|
||||
<Limit name="size" min="128x128" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="intra-refresh" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
||||
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
||||
<Limit name="size" min="128x128" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<Feature name="intra-refresh" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
||||
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
||||
<Limit name="size" min="128x128" max="512x512" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-512x512" value="3825" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
||||
<Limit name="size" min="512x512" max="8192x8192" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-20" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-8192x4320" value="3" />
|
||||
<Limit name="performance-point-1920x1080" value="6" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
</MediaCodecs>
|
||||
|
|
@ -64,6 +64,12 @@
|
|||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="c2.android.av1-dav1d.decoder" type="video/av01" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="549-559" />
|
||||
<Limit name="measured-frame-rate-640x360" range="403-414" />
|
||||
<Limit name="measured-frame-rate-720x480" range="317-324" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="112-113" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="234-275" />
|
||||
<Limit name="measured-frame-rate-640x360" range="157-171" />
|
||||
|
|
|
|||
|
|
@ -1,262 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
Not a Contribution.
|
||||
|
||||
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
||||
Copyright (C) 2012-2013 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
"performance-point"
|
||||
Vendor-guaranteed performance advertised to the applications
|
||||
<Limit name="performance-point-widthxheight" value="fps" />
|
||||
|
||||
-For each of the resolutions, the advertised fps is the max supported,
|
||||
with HW-friendly color format and considering video-only.
|
||||
-Performance for any intermediate resolution will be that of the
|
||||
next-higher-advertised-resolution.
|
||||
|
||||
standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
|
||||
standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
|
||||
* HD+ only
|
||||
+ SD only
|
||||
- All supported standard performance points are listed (unless they are
|
||||
covered by another listed standard performance point)
|
||||
- Non-standard performance points are listed along with all the standard
|
||||
performance points covered by them.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Holi Non-Secure decoder capabilities
|
||||
(MB is defined as 16x16)
|
||||
|
||||
_______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|_____________|_________________________________________|
|
||||
| h264 | 1920 1088 60 60 489600 |
|
||||
| hevc | 1920 1080 60 60 489600 |
|
||||
| vp9 | 1920 1088 60 60 489600 |
|
||||
|_____________|_________________________________________|
|
||||
|
||||
Secure decoder capabilities
|
||||
(MB is defined as 16x16)
|
||||
|
||||
_____________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 1920 1088 60 35 489600 |
|
||||
| vp9 | 1920 1088 60 35 489600 |
|
||||
| hevc | 1920 1088 60 35 489600 |
|
||||
|__________|_________________________________________|
|
||||
|
||||
|
||||
Non-Secure encoder capabilities (Secure not supported)
|
||||
(MB is defined as 16x16)
|
||||
|
||||
______________________________________________________
|
||||
| Codec | W H fps Mbps MB/s |
|
||||
|__________|_________________________________________|
|
||||
| h264 | 1920 1088 60 60 489600 |
|
||||
| hevc | 1920 1088 60 60 489600 |
|
||||
|__________|_________________________________________|
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Decoders>
|
||||
<!-- C2 decoders -->
|
||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.decoder.avc"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" range="36-489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" range="36-489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
||||
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
||||
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
<Encoders>
|
||||
<!-- C2 encoders -->
|
||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.encoder.avc"/>
|
||||
<Limit name="size" min="128x128" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="intra-refresh" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
||||
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
||||
<Limit name="size" min="128x128" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<Feature name="intra-refresh" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
||||
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
||||
<Limit name="size" min="128x128" max="512x512" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-512x512" value="3825" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
||||
<Limit name="size" min="512x512" max="8192x8192" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-20" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-8192x4320" value="3" />
|
||||
<Limit name="performance-point-1920x1080" value="6" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
</MediaCodecs>
|
||||
|
|
@ -84,37 +84,125 @@
|
|||
<Settings>
|
||||
<Variant name="slow-cpu" enabled="true" />
|
||||
</Settings>
|
||||
<Encoders>
|
||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true" variant="slow-cpu">
|
||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
||||
<Limit name="size" min="2x2" max="512x512" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="8x8" />
|
||||
<Limit name="block-count" range="1-4096" /> <!-- max 512x512 -->
|
||||
<Limit name="blocks-per-second" range="1-122880" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="bitrate" range="1-10000000" />
|
||||
<Limit name="complexity" range="0-10" default="0" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true" variant="slow-cpu">
|
||||
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Decoders>
|
||||
<!-- C2 decoders -->
|
||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.decoder.avc"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<!-- 2016 devices can encode at about 8fps at this block count -->
|
||||
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
|
||||
<Limit name="bitrate" range="1-40000000" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<Limit name="blocks-per-second" range="36-489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
<Decoders>
|
||||
<MediaCodec name="c2.android.gsm.decoder" type="audio/gsm" update="true" enabled="true">
|
||||
<Alias name="OMX.google.gsm.decoder" />
|
||||
<Limit name="channel-count" max="1" />
|
||||
<Limit name="sample-rate" ranges="8000" />
|
||||
<Limit name="bitrate" range="13000" />
|
||||
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" range="36-489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
|
||||
<Alias name="OMX.qcom.video.decoder.avc.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
|
||||
<Alias name="OMX.qcom.video.decoder.hevc.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
||||
<Alias name="OMX.qcom.video.decoder.vp9"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Alias name="OMX.qcom.video.decoder.vp9.secure"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="36" max="489600" />
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true" variant="slow-cpu">
|
||||
<Limit name="size" min="96x96" max="1920x1080" />
|
||||
|
|
@ -125,5 +213,127 @@
|
|||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true" variant="slow-cpu">
|
||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
||||
<Limit name="size" min="2x2" max="1280x720" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="8x8" />
|
||||
<Limit name="block-count" range="1-196608" />
|
||||
<Limit name="blocks-per-second" range="1-2000000" />
|
||||
<Limit name="bitrate" range="1-10000000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true" variant="slow-cpu">
|
||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="8x8" />
|
||||
<Limit name="block-count" range="1-16384" />
|
||||
<Limit name="blocks-per-second" range="1-500000" />
|
||||
<Limit name="bitrate" range="1-40000000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.gsm.decoder" type="audio/gsm" update="true" enabled="true">
|
||||
<Alias name="OMX.google.gsm.decoder" />
|
||||
<Limit name="channel-count" max="1" />
|
||||
<Limit name="sample-rate" ranges="8000" />
|
||||
<Limit name="bitrate" range="13000" />
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
<Encoders>
|
||||
<!-- C2 encoders -->
|
||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc">
|
||||
<Alias name="OMX.qcom.video.encoder.avc"/>
|
||||
<Limit name="size" min="128x128" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="intra-refresh" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<Tuning name="vq-target-bpp-1920x1080" value="3.80" />
|
||||
<Tuning name="vq-target-bpp-1280x720" value="4.50" />
|
||||
<Tuning name="vq-target-bpp-960x540" value="4.63" />
|
||||
<Tuning name="vq-target-bpp-640x480" value="5.25" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
|
||||
<Alias name="OMX.qcom.video.encoder.hevc"/>
|
||||
<Limit name="size" min="128x128" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="489600" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<Feature name="intra-refresh" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Tuning name="vq-target-bpp-1920x1080" value="3" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
|
||||
<Alias name="OMX.qcom.video.encoder.hevc.cq"/>
|
||||
<Limit name="size" min="128x128" max="512x512" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-512x512" value="3825" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
||||
<Limit name="size" min="512x512" max="8192x8192" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="blocks-per-second" min="64" max="786432" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-20" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-8192x4320" value="3" />
|
||||
<Limit name="performance-point-1920x1080" value="6" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true" variant="slow-cpu">
|
||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
||||
<Limit name="size" min="2x2" max="512x512" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="8x8" />
|
||||
<Limit name="block-count" range="1-4096" /> <!-- max 512x512 -->
|
||||
<Limit name="blocks-per-second" range="1-259200" />
|
||||
<Limit name="frame-rate" range="1-300" />
|
||||
<Limit name="bitrate" range="1-10000000" />
|
||||
<Limit name="complexity" range="0-10" default="0" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true" variant="slow-cpu">
|
||||
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
|
||||
<Limit name="size" min="16x16" max="2048x2048" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="block-count" range="1-8192" /> <!-- max 2048x1024 -->
|
||||
<Limit name="blocks-per-second" range="1-245760" />
|
||||
<Limit name="bitrate" range="1-12000000" />
|
||||
<Feature name="intra-refresh" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true" variant="slow-cpu">
|
||||
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
|
||||
<Limit name="size" min="2x2" max="2048x2048" />
|
||||
<Limit name="alignment" value="1x1" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<!-- 2016 devices can encode at about 8fps at this block count -->
|
||||
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
|
||||
<Limit name="bitrate" range="1-40000000" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
</MediaCodecs>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# All unpinned blobs are extracted from the release mentioned in proprietary-files.txt
|
||||
|
||||
# FM
|
||||
system/lib64/vendor.qti.hardware.fm-V1-ndk.so:system_ext/lib64/vendor.qti.hardware.fm-V1-ndk.so
|
||||
system_ext/lib64/fm_helium.so
|
||||
system_ext/lib64/libfm-hci.so
|
||||
system_ext/lib64/vendor.qti.hardware.fm@1.0.so
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# All unpinned blobs are extracted from fogos_g U1UGS34.23-110-23-6
|
||||
# All unpinned blobs are extracted from fogos_g V1UG35H.75-14-3
|
||||
|
||||
# ADSP
|
||||
vendor/bin/adsprpcd
|
||||
|
|
@ -248,6 +248,7 @@ vendor/firmware/evass.mbn
|
|||
vendor/firmware/evass.mdt
|
||||
|
||||
# Diag
|
||||
system/lib64/vendor.qti.diaghal-V1-ndk.so:system_ext/lib64/vendor.qti.diaghal-V1-ndk.so
|
||||
system_ext/lib/vendor.qti.diaghal@1.0.so
|
||||
system_ext/lib64/vendor.qti.diaghal@1.0.so
|
||||
vendor/bin/diag-router
|
||||
|
|
@ -642,7 +643,6 @@ product/etc/permissions/UimService.xml
|
|||
product/framework/uimgbalibrary.jar
|
||||
product/framework/uimgbamanagerlibrary.jar
|
||||
product/framework/uimservicelibrary.jar
|
||||
system_ext/app/QtiTelephony/QtiTelephony.apk
|
||||
system_ext/app/QtiTelephonyService/QtiTelephonyService.apk
|
||||
system_ext/etc/permissions/qcrilhook.xml
|
||||
system_ext/etc/permissions/qti_libpermissions.xml
|
||||
|
|
@ -650,6 +650,7 @@ system_ext/etc/permissions/qti_permissions.xml
|
|||
system_ext/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml
|
||||
system_ext/etc/sysconfig/qti_telephony_system_packages_config.xml
|
||||
system_ext/framework/qcrilhook.jar
|
||||
system_ext/priv-app/QtiTelephony/QtiTelephony.apk
|
||||
system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
|
||||
vendor/app/IWlanService/IWlanService.apk
|
||||
vendor/bin/adpl
|
||||
|
|
@ -730,6 +731,13 @@ vendor/etc/qcril_database/upgrade/ecc/47_version_qcrildb.sql
|
|||
vendor/etc/qcril_database/upgrade/ecc/48_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/49_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/4_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/50_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/51_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/52_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/53_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/54_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/55_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/56_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/5_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/6_version_qcrildb.sql
|
||||
vendor/etc/qcril_database/upgrade/ecc/7_version_qcrildb.sql
|
||||
|
|
@ -863,6 +871,7 @@ vendor/lib64/lib-rtpsl.so
|
|||
vendor/lib64/librcc.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.0.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.1.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.10.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.2.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.3.so
|
||||
vendor/lib64/vendor.qti.hardware.radio.ims@1.4.so
|
||||
|
|
@ -1085,7 +1094,7 @@ system_ext/lib/libwfduibcsinkinterface.so
|
|||
system_ext/lib/libwfduibcsrc.so
|
||||
system_ext/lib/libwfduibcsrcinterface.so
|
||||
system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so
|
||||
system_ext/lib64/com.qualcomm.qti.wifidisplayhal@1.0.so
|
||||
system_ext/lib/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so
|
||||
system_ext/lib64/libmmrtpdecoder.so
|
||||
system_ext/lib64/libmmrtpencoder.so
|
||||
system_ext/lib64/libwfdavenhancements.so
|
||||
|
|
@ -1106,6 +1115,7 @@ system_ext/lib64/libwfduibcsinkinterface.so
|
|||
system_ext/lib64/libwfduibcsrc.so
|
||||
system_ext/lib64/libwfduibcsrcinterface.so
|
||||
system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so
|
||||
system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so
|
||||
system_ext/priv-app/WfdService/WfdService.apk
|
||||
vendor/bin/wfdhdcphalservice
|
||||
vendor/bin/wfdvndservice
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ on post-fs-data
|
|||
# Setup folder for Pre-Activation Kill Switch app (PAKS)
|
||||
mkdir /mnt/vendor/persist/paks 02770 vendor_tcmd vendor_tcmd
|
||||
|
||||
chown vendor_pwric vendor_pwric /sys/class/power_supply/battery/cycle_count
|
||||
chown system system /sys/class/power_supply/battery/cycle_count
|
||||
chmod 0664 /sys/class/power_supply/battery/cycle_count
|
||||
chmod 0664 /sys/class/power_supply/battery/charge_control_limit
|
||||
|
||||
|
|
|
|||
13
vendor.prop
13
vendor.prop
|
|
@ -289,19 +289,22 @@ debug.stagefright.c2inputsurface=-1
|
|||
|
||||
# Surfaceflinger
|
||||
debug.sf.disable_client_composition_cache=1
|
||||
debug.sf.enable_advanced_sf_phase_offset=1
|
||||
debug.sf.early.app.duration=13666666
|
||||
debug.sf.early.sf.duration=10500000
|
||||
debug.sf.earlyGl.app.duration=13666666
|
||||
debug.sf.earlyGl.sf.duration=10500000
|
||||
debug.sf.enable_advanced_sf_phase_offset=0
|
||||
debug.sf.enable_gl_backpressure=1
|
||||
debug.sf.high_fps_early_gl_phase_offset_ns=-4000000
|
||||
debug.sf.high_fps_early_phase_offset_ns=-4000000
|
||||
debug.sf.high_fps_late_app_phase_offset_ns=1000000
|
||||
debug.sf.high_fps_late_sf_phase_offset_ns=-4000000
|
||||
debug.sf.force_cpuset_system_default=1
|
||||
debug.sf.force_populate_color_modes=true
|
||||
debug.sf.frame_rate_multiple_threshold=120
|
||||
debug.sf.high_speed_scroll_factor=0
|
||||
debug.sf.late.app.duration=13666666
|
||||
debug.sf.late.sf.duration=10500000
|
||||
debug.sf.predict_hwc_composition_strategy=0
|
||||
debug.sf.scroll_boost_refreshrate=120
|
||||
debug.sf.touch_boost_refreshrate=90
|
||||
debug.sf.use_phase_offsets_as_durations=1
|
||||
persist.sys.sf.color_mode=0
|
||||
persist.sys.sf.color_saturation=1.0
|
||||
persist.sys.sf.force_brightness_capability=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue