GtsSettingsTestCases#testMADACompliance;
GtsRegulationComplianceTestCases#testEEAv2Compliance
参考CDD文件和实验室给的和EEA_V2相关的设置文档,修改设置对应的地方
GtsOsTestCases#testMainlineApprovedTrain
更新Mainline module到最新版本,编译后重测PASS
GtsOsTestCases#testMainlineApprovedTrain
---------------------- system/apex/apexd/apexservice.cpp ----------------------
index 13d2113..001b701 100644
@@ -281,10 +281,7 @@ static bool contains(const std::vector<ApexFile>& list,
const ApexFile& apexFile) {
return std::find_if(list.begin(), list.end(),
[&apexFile](const ApexFile& listFile) {
- return apexFile.GetManifest().name().compare(
- listFile.GetManifest().name()) == 0 &&
- apexFile.GetManifest().version() ==
- listFile.GetManifest().version();
+ return apexFile.GetPath() == listFile.GetPath();
}) != list.end();
}
GtsExoPlayerTestCases#testWidevineH264Adaptive
vendor/mediatek/proprietary/hardware/libomx/video/MtkOmxVdecEx/MtkOmxVdecDriver.cpp
index 8b56bad..ca9f3e3 100644
@@ -2220,7 +2220,7 @@ OMX_BOOL MtkOmxVdec::DecodeVideoEx(OMX_BUFFERHEADERTYPE *pInputBuf)//, OMX_BUFFE
if (mEverCallback == OMX_TRUE)// && mNeedMoreOutputBuf != OMX_TRUE)
{
- if (!(mPortReconfigInProgress || bCodecProfileOrLevelChanged) || VDEC_DRV_MRESULT_NEED_MORE_OUTPUT_BUFFER != rResult)
+ if (!(mPortReconfigInProgress || bCodecProfileOrLevelChanged))
{
MTK_OMX_LOGUD("insert PTS %lld", pInputBuf->nTimeStamp);
if (InsertionSortForInputPTS(pInputBuf->nTimeStamp) == OMX_FALSE)
GtsNmgiarcTestCases#testMessagesInstalledCorrectly
-- vendor/mediatek/proprietary/packages/apps/CarrierConfig/res/xml/vendor.xml --
index 58a87d8..df0e445 100644
@@ -3,4 +3,8 @@
filtering rules are the same as those in carrier_config*.xml files. This
file is read after any specific config file from the assets folder, so it
must use explicit filters for MCC ad MNC if that is desired. -->
-<carrier_config_list />
+<carrier_config_list >
+<carrier_config>
+<string name="config_ims_package_override_string">com.google.android.ims</string>
+</carrier_config>
+</carrier_config_list>
GtsSettingsHostTestCases#testDeviceOwnerWithInfo
- vendor/mediatek/proprietary/packages/apps/MtkSettings/res/values/config.xml -
index 60fe434..ec6b243 100755
@@ -412,5 +412,5 @@
<string-array name="config_suppress_injected_tile_keys" translatable="false"/>
<!-- "Show work policy info" intent action. TODO(b/134391103): Replace with final SystemAPI intent when it's available. -->
- <string name="config_work_policy_info_intent_action" translatable="false"/>
+ <string name="config_work_policy_info_intent_action" translatable="false"> com.google.android.settings.privacy.ACTION_SHOW_WORK_POLICY_INFO </string>
</resources>
GtsGmscoreHostTestCases#DeviceOwnerProvisioningHostsideTest
----- frameworks/base/core/res/res/values/required_apps_managed_device.xml -----
index 40db9df..75248a4 100644
@@ -27,5 +27,6 @@
<item>com.android.providers.downloads</item>
<item>com.android.providers.downloads.ui</item>
<item>com.android.documentsui</item>
+ <item>com.google.android.documentsui</item>
</string-array>
</resources>
---- frameworks/base/core/res/res/values/required_apps_managed_profile.xml ----
index c6b37e8..213ec49 100644
@@ -25,5 +25,6 @@
<item>com.android.providers.downloads</item>
<item>com.android.providers.downloads.ui</item>
<item>com.android.documentsui</item>
+ <item>com.google.android.documentsui</item>
</string-array>
</resources>
------ frameworks/base/core/res/res/values/required_apps_managed_user.xml ------
index 8800e53..260014c 100644
@@ -27,5 +27,6 @@
<item>com.android.providers.downloads</item>
<item>com.android.providers.downloads.ui</item>
<item>com.android.documentsui</item>
+ <item>com.google.android.documentsui</item>
</string-array>
</resources>
GtsOsTestCases#testValidSysConfigPresent
错误日志:
java.lang.AssertionError: Modification of required config file:
Missing elements for tag linkedApps: 'com.google.android.apps.youtube.music'
. required={com.google.android.youtube, com.android.vending, com.google.android.apps.docs, com.google.android.apps.maps, com.google.android.videos, com.google.android.apps.photos, com.google.android.calendar, com.google.android.talk, com.google.android.apps.youtube.music}
. all={com.google.android.youtube, com.google.android.apps.docs.editors.docs, com.google.android.apps.docs.editors.sheets, com.google.android.apps.docs.editors.slides, com.android.vending, com.google.android.music, com.google.android.apps.docs, com.google.android.apps.maps, com.google.android.apps.plus, com.google.android.videos, com.google.android.apps.photos, com.google.android.calendar, com.google.android.apps.tycho, com.google.android.talk}
修改方法:
----------------- vendor/partner_gms/etc/sysconfig/google.xml -----------------
index 78c3352..ee2bc87 100755
@@ -48,6 +48,7 @@
<app-link package="com.google.android.talk" />
<app-link package="com.google.android.apps.photos" />
<app-link package="com.google.android.music" />
+ <app-link package="com.google.android.apps.youtube.music" />
<!-- Apps below are optional on GMS devices -->
<app-link package="com.google.android.apps.tycho" />
GtsTelephonyNumberVerificationHostCases#testNumberVerification
java.lang.AssertionError: on-device tests failed:
com.google.android.gts.telephony.numberverification.NumberVerificationTest#testRequestNumberVerification:
java.lang.SecurityException: Calling package must be configured in the device config
修改方法:
vendor/mediatek/proprietary/packages/services/Telephony/res/values/config.xml
index c134a72..bf79fa6 100644
@@ -236,7 +236,7 @@
<bool name="config_support_rtt">true</bool>
<!-- The package name for the platform number verification supplier app. -->
- <string name="platform_number_verification_package" translatable="false"></string>
+ <string name="platform_number_verification_package" translatable="false">com.google.android.gms</string>
<!-- Flag indicating whether a system app can use video calling fallback if carrier video
calling is not available. -->