分类: Android 8.x
CTS8.1R13,R14测试CtsAppSecurityHostTestCases---android.appsecurity.cts.AppSecurityTests#testPermissionDiffCert失败
问题描述
Android O/P版本更新patch后刷GSI后无法开机问题
问题描述
o1.mp2 ALPS04308385
谷歌Android 8.1 Go认证关闭窗口延期至2019-10-31
谷歌Android 8.1 Go认证关闭窗口延期至2019-10-31
We have previously reminded and posted (Launch Approval Windows) the deadline for requesting GMS distribution approvals of new device models launching with Android 8.1 running the “Android Go” or Android (go edition) configuration.
[GTS_6.0.R1]GtsPlacementTestCases 下6条CaseFail
问题描述
com.google.android.placement.gts.HomescreenLayoutTest#testFolderPlacement
com.google.android.placement.gts.HomescreenLayoutTest#testShortcutPlacement
com.google.android.placement.gts.HomescreenLayoutTest#testWidgetPlacement
com.google.android.placement.gts.InstalledAppsTest#testAppsInstalled
com.google.android.placement.gts.InstalledAppsTest#testSystemAppsInstalled
java.lang.AssertionError: Unable to execute because authorization failed, please ensure the service account key is properly installed..
解决方案
[cts-on-gsi 8.1_R6/CTS8.1 R10] CtsAutoFillServiceTestCases android.autofillservice.cts.SessionLifecycleTest#testDatasetAuthResponseWhileAutofilledAppIsLifecycled 测试 fail
问题描述
[CTS-8.1R10] android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher
问题描述
[CTS-8.1R10] android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher
junit.framework.AssertionFailedError: Expected exception type java.lang.SecurityException was not thrown
解决方案
谷歌通知:Android 8.x 认证窗口关闭提前至12月23日
[Android GMS Announcements] Brand Approvals Reminder for Android 8.0 and 8.1
Please note that the GMS approval window for device models launching on Android 8.0 and 8.1 (Oreo) officially ends on December 31, 2018.
As Google is officially closed for the holidays from December 24 to 25 and from December 31 to January 1, please submit all Android 8.0 and 8.1 assets for approval by December 23, 2018 to provide yourself ample time for any potential revision.
8.x 2018.12.31 关闭窗口 O window closure on 31 December 2018 reminder
继续阅读“8.x 2018.12.31 关闭窗口 O window closure on 31 December 2018 reminder”
[cts-8.1-r7]CtsOsTestCases--android.os.cts.SecurityFeaturesTest#testPrctlDumpable
问题描述
[cts-8.1-r7]CtsOsTestCases--android.os.cts.SecurityFeaturesTest#testPrctlDumpable
08-08 15:59:40 I/0123456789ABCDEF: android.os.cts.SecurityFeaturesTest#testPrctlDumpable FAIL junit.framework.AssertionFailedError: expected:<0> but was:<2> at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at android.os.cts.SecurityFeaturesTest.testPrctlDumpable(SecurityFeaturesTest.java:82)
解决方案
继续阅读“[cts-8.1-r7]CtsOsTestCases--android.os.cts.SecurityFeaturesTest#testPrctlDumpable”
Android O版本的文件media_profiles.xml解析
打开media_profiles.xml,media_profiles.xml最前面可以看到系统支持的文件格式,codec 格式等等,比如
<!ELEMENT EncoderOutputFileFormat EMPTY>
<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>就表示支持mp4/3gp这两种文件格式
<EncoderProfile quality="low" fileFormat="3gp" duration="30">==>
Android O版本 行为变更
Android O 除了提供诸多新特性和功能外,还对系统和 API 行为做出了各种变更。本文重点介绍您应该了解并在开发应用时加以考虑的一些主要变更。
其中大部分变更会影响所有应用,而不论应用针对的是何种版本的 Android。不过,有几项变更仅影响针对 Android O 的应用。为清楚起见,本页面分为两个部分:针对所有 API 级别的应用和针对 Android O 的应用。
com.google.android.permission.gts.PreloadAppsTargetSdkVersionTest#testPreloadedAppsTargetSdkVersion fail
java.lang.AssertionError:All preloaded apps must target SDK 26 or higher:
com.mediatek.ppl targets 24,
com.mediatek.ygps targets 23,
com.mediatek.simprocessor targets 25,
com.mediatek.engineermode targets 23,
com.mediatek.omacp targets 25,
com.mediatek.emcamera targets 23,
com.mediatek.duraspeed targets 24,
com.mediatek.lbs.em2.ui targets 23,
com.mediatek.mtklogger targets 23,
com.mediatek.mtklogger.proxy targets 23,
[GTS_6.0.R1]GtsPackageManagerHostTestCases中com.google.android.pm.gts.PackageManagerHostTest#testSoundPool FAIL
[DESCRIPTION]
GtsPackageManagerHostTestCases中com.google.android.pm.gts.PackageManagerHostTest#testSoundPool Fail]
Fail:
07-07 11:24:13 I/RemoteAndroidTest: Running am instrument -w -r --user 0 -e timeout_msec 600000 -e class 'com.google.android.gts.packagemanager.InstantAppTestCases#testSoundPool' com.google.android.gts.packagemanager.instant/android.support.test.runner.AndroidJUnitRunner on alps-k80_bsp-0123456789ABCDEF
07-07 11:24:19 I/XtsHostTestBase: Test com.google.android.gts.packagemanager.InstantAppTestCases#testSoundPool: FAILURE
07-07 11:24:19 W/XtsHostTestBase: java.lang.AssertionError: Instant App should be able to access Media / DrmManager.
Please apply patches r.android.com/502604, SHA d2b3a45, and SHA b93f049
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
android.jvmti.cts.JvmtiHostTest911#testJvmti Fail
### Same thread ###
###################
谷歌近期政策通知
谷歌最新政策如下:
1、express+设备MR也可以享受谷歌资金支持;
2、谷歌将在8月份开始释放Android 9.X版本, go的版本也同时放出;
3.Android 8.X的截止日期为2018-12-31,2019年起仅能送测Android 9.X项目;
4.2018年10月1日起,谷歌强制执行STS及BTS,相应的补丁会每月更新一次。
谷歌Key的申请条件以及方式
Google 有2种Key ,申请条件如下:
1. Wedvine level 1 keybox[询问平台商是否支持Level1]
2. Attestation keybox [Android O必需]
3.10万台内可以共用同一个,详细如下:
MUST support key attestation where the attestation signing key is protected by secure hardware and signing is performed in secure hardware.The attestation signing keys MUST be shared across large enough number of devices to prevent the keys frombeing used as device identifiers. One way of meeting this requirement is to share the same attestation key unless at least 100000 units of a given SKU are produced. If more than 100000 units of an SKU are produced, a different key MAY be used for each 100000 units.
申请资料如下:
CtsIntentSignatureTestCases android.signature.cts.intent.IntentTest#shouldNotFindUnexpectedIntents FAIL
[DESCRIPTION]
CtsIntentSignatureTestCases android.signature.cts.intent.IntentTest#shouldNotFindUnexpectedIntents
Fail:
java.lang.AssertionError: [Package: com.android.systemui Invalid Intent: [android.intent.action.ACTION_SUBSIDYLOCK_STATE]]
[SOLUTION]
Android 8.1 Google issue
CtsNetTestCases android.net.wifi.cts.NsdManagerTest#testNDSManager FAIL
at junit.framework.Assert.fail(Assert.java:48)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at android.net.wifi.cts.NsdManagerTest.testNDSManager(NsdManagerTest.java:361)
at java.lang.reflect.Method.invoke(Native Method)
继续阅读“CtsNetTestCases android.net.wifi.cts.NsdManagerTest#testNDSManager FAIL”