【CTS_All version】android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan fail

[DESCRIPTION]

android.bluetooth.cts.BluetoothLeScanTest

-- testBasicBleScan

--testBatchScan

-- testOpportunisticScan

-- testScanFilter

一、Fail信息如下:

fail junit.framework.AssertionFailedError: Scan results shouldn't be empty at junit.framework.Assert.fail(Assert.java:50)

二、Fail信息如下:
fail junit.framework.AssertionFailedError: Scan results shouldn't be empty at junit.framework.Assert.fail(Assert.java:50)
[SOLUTION]

继续阅读“【CTS_All version】android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan fail”

【STS】 run sts-engbuild 测试到一半,发生DeviceNotFound,及Deviceoffline,无法继续跑

[DESCRIPTION]

报错讯息:
10-08 18:02:33 I/FailureListener: FailureListener.testFailed android.security.cts.Poc16_09#testPocCVE_2016_2471 false false false
10-08 18:02:33 D/ModuleListener: ModuleListener.testEnded(android.security.cts.Poc16_09#testPocCVE_2016_2471, {})
10-08 18:02:33 D/ModuleListener: ModuleListener.testRunFailed(Could not find device LCEAA000842E6EGC)
10-08 18:02:33 I/ConsoleReporter: [LCEAA000842E6EGC] Could not find device LCEAA000842E6EGC
10-08 18:02:33 D/JarHostTest: HostTestListener.testRunEnded(187806, {})
10-08 18:02:33 W/TestInvocation: Invocation did not complete due to device LCEAA000842E6EGC becoming not available. Reason: Could not find device LCEAA000842E6EGC
10-08 18:02:33 W/ResultReporter: Invocation failed: com.android.tradefed.device.DeviceNotAvailableException: Could not find device LCEAA000842E6EGC

[SOLUTION]

继续阅读“【STS】 run sts-engbuild 测试到一半,发生DeviceNotFound,及Deviceoffline,无法继续跑”

cts8.1_r8.:android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields fail

[DESCRIPTION]
 CtsShortcutManagerTestCases
android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields
FAIL: junit.framework.AssertionFailedError: Expected exception type was java.lang.IllegalArgumentException but caught java.lang.SecurityException: Shortcut package name mismatch (message=)
[SOLUTION]

继续阅读“cts8.1_r8.:android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields fail”

android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields fail

[DESCRIPTION]
android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields 失败。

unit.framework.AssertionFailedError: Expected exception type was java.lang.IllegalArgumentException but caught java.lang.SecurityException: Shortcut package name mismatch (message=)
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertExpectException(ShortcutManagerTestUtils.java:427)
at com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertExpectException(ShortcutManagerTestUtils.java:408)

[SOLUTION]

继续阅读“android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields fail”

android.keystore.cts.KeyChainTest#testIsBoundKeyAlgorithm_RequiredAlgorithmsSupported fail

[DESCRIPTION]
 android.keystore.cts.KeyChainTest#testIsBoundKeyAlgorithm_RequiredAlgorithmsSupported fail
unit.framework.AssertionFailedError: RSA must be hardware-backed by a hardware-specific Keymaster HAL at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.assertTrue(Assert.java:20) at android.keystore.cts.KeyChainTest.testIsBoundKeyAlgorithm_RequiredAlgorithmsSupported(KeyChainTest.java:76) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:115) at android.support.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:77) at junit.framework.TestResult.run(TestResult.java:118) at android.support.test.internal.runner.junit3.AndroidTestResult.run(AndroidTestResult.java:55) at junit.framework.TestCase.run(TestCase.java:124) at android.support.test.internal.runner.junit3.NonLeakyTestSuite$NonLeakyTest.run(NonLeakyTestSuite.java:63) at
[SOLUTION]

继续阅读“android.keystore.cts.KeyChainTest#testIsBoundKeyAlgorithm_RequiredAlgorithmsSupported fail”

android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields

[DESCRIPTION]
android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields 失败。

junit.framework.AssertionFailedError: Expected exception type was java.lang.IllegalArgumentException but caught java.lang.SecurityException: Shortcut package name mismatch (message=)
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertExpectException(ShortcutManagerTestUtils.java:427)
at com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertExpectException(ShortcutManagerTestUtils.java:408)
at android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest.testShortcutInfoMissingMandatoryFields(ShortcutManagerClientApiTest.java:132)
at java.lang.reflect.Method.invoke(Native Method)
at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:220)
at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:205)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)

[SOLUTION]

继续阅读“android.content.pm.cts.shortcutmanager.ShortcutManagerClientApiTest#testShortcutInfoMissingMandatoryFields”

[VTS]VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail

[DESCRIPTION]

VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail

09-18 15:32:22 D/ModuleListener: ModuleListener.testFailed(VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit, test/vts-testcase/hal/treble/vintf/vts_treble_vintf_test.cpp:256
Failed
android.hardware.biometrics.fingerprint not available.
)
09-18 15:32:22 I/ConsoleReporter: [1/1 armeabi-v7a VtsTrebleVintfTest 331234567890123354] VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail: test/vts-testcase/hal/treble/vintf/vts_treble_vintf_test.cpp:256
Failed
android.hardware.biometrics.fingerprint not available.

[SOLUTION]

继续阅读“[VTS]VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail”

[VTS 8.1-r5]CtsMediaTestCases--android.media.cts.StreamingMediaPlayerTest#testHlsWithHeadersCookies FAIL

[DESCRIPTION]
 android.media.cts.StreamingMediaPlayerTest#testHLS
fail

junit.framework.AssertionFailedError: Media player had error 100 playing video
android.media.cts.StreamingMediaPlayerTest#testHlsWithHeadersCookies
fail

junit.framework.AssertionFailedError: Media player had error 100 playing video

[SOLUTION]

继续阅读“[VTS 8.1-r5]CtsMediaTestCases--android.media.cts.StreamingMediaPlayerTest#testHlsWithHeadersCookies FAIL”

com.google.android.placement.gts.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail

[DESCRIPTION]

com.google.android.placement.gts.CoreGmsAppsTest#testCoreGmsAppsPreloaded
fail

9-21 17:57:28 D/ModuleListener: ModuleListener.testStarted(com.google.android.placement.gts.CoreGmsAppsTest#testCoreGmsAppsPreloaded)
09-21 17:57:29 I/ModuleListener: [1/1] com.google.android.placement.gts.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail:
java.lang.AssertionError: Mandatory core GMS packages not found as system apps:
com.google.android.videos
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at com.google.android.placement.gts.CoreGmsAppsTest.checkGeneralCoreGmsAppsPreloaded(CoreGmsAppsTest.java:198)
at com.google.android.placement.gts.CoreGmsAppsTest.testCoreGmsAppsPreloaded(CoreGmsAppsTest.java:402)
at java.lang.reflect.Method.invoke(Native Method)

[SOLUTION]

继续阅读“com.google.android.placement.gts.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail”

GtsWebViewTestCases com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions fail

[DESCRIPTION]
 com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions
fail

09-26 10:54:58 I/TestFailureListener: FailureListener.testFailed com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions false false false
09-26 10:54:59 D/GranularRetriableTestWrapper: The test has reached its max number of run attempt: 1 time(s)
09-26 10:54:59 D/TestDevice: Uninstalling com.google.android.webview.gts
09-26 10:55:00 I/ConsoleReporter: [reef00000000001] Starting arm64-v8a GtsWebViewTestCases with 1 test
09-26 10:55:00 I/ConsoleReporter: [1/1 arm64-v8a GtsWebViewTestCases reef00000000001] com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions fail: junit.framework.AssertionFailedError: WebView and Chrome must have the same version codes. expected:<3396> but was:<3497>

 [SOLUTION]

继续阅读“GtsWebViewTestCases com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions fail”

我不叫塞尔达 | Google中国“特供版”确实存在,但美国人不干了

据 CNBC 报道,在周一举行的《连线》二十五周年峰会上,Google CEO Sundar Pichai 侧面承认了为中国定制的“特供版 Google”的存在。

这一项目归属于 Google 的“Project Dragonfly”,最早于今年夏天由 The Intercept 爆出,报道中提到,这项计划自 2017 年春季以来一直在进行,并在当年 12 月 Sundar Pichai 和中国政府高级官员会面后加速。

在论坛上 Sundar Pichai 承认了这一项目的存在,并表示尽管 Google 为大陆提供的搜索引擎为“阉割版”,但它依然能满足 99% 的搜索需求,屏蔽掉的只是审查部门认为敏感的搜索结果。

继续阅读“我不叫塞尔达 | Google中国“特供版”确实存在,但美国人不干了”

鹿鸣君 | 深圳深秋

偶然看到了深圳报纸,密密麻麻全部是企业清算的公告。遂在呦呦鹿鸣微头条发了一句话,不想,一石激起千层浪,阅读人数超过一千万,评论一万条,可谓无尽心酸,感同身受。每一则清算公告背后,都可以听到一个梦想的破裂声。

让我们看看清晰版,这是今天的《深圳商报》:

继续阅读“鹿鸣君 | 深圳深秋”