09-23 13:44:13 I/11510e4: -----------------------------------------勾选开发选项里面的模拟位置即可pass
09-23 13:44:26 I/11510e4: android.webkit.cts.GeolocationTest#testGeolocationPermissions FAIL
java.lang.SecurityException: Requires ACCESS_MOCK_LOCATION secure setting
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at android.location.ILocationManager$Stub$Proxy.addTestProvider(ILocationManager.java:944)
at android.location.LocationManager.addTestProvider(LocationManager.java:1205)
at android.webkit.cts.GeolocationTest.addTestProviders(GeolocationTest.java:188)
at android.webkit.cts.GeolocationTest.setUp(GeolocationTest.java:166)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
09-23 14:44:43 I/TestInvocation: Starting invocation for 'cts' on build '4.4_r3' on device 11510e4
09-23 14:44:43 I/11510e4: Created result dir 2014.09.23_14.44.43
09-23 14:45:31 I/11510e4: Collecting device info
09-23 14:45:32 I/11510e4: -----------------------------------------
09-23 14:45:32 I/11510e4: Test package android.view started
09-23 14:45:32 I/11510e4: -----------------------------------------
09-23 14:45:46 I/11510e4: android.view.cts.ViewTest#testFilterTouchesWhenObscured PASS
09-23 14:45:49 I/11510e4: Saved log device_logcat_5429470895032208162.zip
09-23 14:45:50 I/11510e4: Saved log host_log_543916767998507202.zip
09-23 14:45:50 I/11510e4: android.view package complete: Passed 1, Failed 0, Not Executed 0
09-23 14:45:50 I/11510e4: Created xml report file at file:///home/langu/android/cts4.4/android-cts/tools/./../../android-cts/repository/results/2014.09.23_14.44.43/testResult.xml
09-23 14:45:50 I/11510e4: XML test result file generated at 2014.09.23_14.44.43. Passed 1, Failed 0, Not Executed 0
09-23 14:45:50 I/11510e4: Time: 0s
09-23 13:44:26 I/11510e4: android.webkit.cts.GeolocationTest#testGeolocationPermissions FAIL
java.lang.SecurityException: Requires ACCESS_MOCK_LOCATION secure setting
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at android.location.ILocationManager$Stub$Proxy.addTestProvider(ILocationManager.java:944)
at android.location.LocationManager.addTestProvider(LocationManager.java:1205)
at android.webkit.cts.GeolocationTest.addTestProviders(GeolocationTest.java:188)
at android.webkit.cts.GeolocationTest.setUp(GeolocationTest.java:166)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
cts-tf > run cts -c android.view.cts.ViewTest -m testFilterTouchesWhenObscured
- View.java
- public void setFilterTouchesWhenObscured(boolean enabled) {
- setFlags(enabled ? FILTER_TOUCHES_WHEN_OBSCURED : 0,//互换参数
- FILTER_TOUCHES_WHEN_OBSCURED);
- }
09-23 14:44:43 I/TestInvocation: Starting invocation for 'cts' on build '4.4_r3' on device 11510e4
09-23 14:44:43 I/11510e4: Created result dir 2014.09.23_14.44.43
09-23 14:45:31 I/11510e4: Collecting device info
09-23 14:45:32 I/11510e4: -----------------------------------------
09-23 14:45:32 I/11510e4: Test package android.view started
09-23 14:45:32 I/11510e4: -----------------------------------------
09-23 14:45:46 I/11510e4: android.view.cts.ViewTest#testFilterTouchesWhenObscured PASS
09-23 14:45:49 I/11510e4: Saved log device_logcat_5429470895032208162.zip
09-23 14:45:50 I/11510e4: Saved log host_log_543916767998507202.zip
09-23 14:45:50 I/11510e4: android.view package complete: Passed 1, Failed 0, Not Executed 0
09-23 14:45:50 I/11510e4: Created xml report file at file:///home/langu/android/cts4.4/android-cts/tools/./../../android-cts/repository/results/2014.09.23_14.44.43/testResult.xml
09-23 14:45:50 I/11510e4: XML test result file generated at 2014.09.23_14.44.43. Passed 1, Failed 0, Not Executed 0
09-23 14:45:50 I/11510e4: Time: 0s