[CTS10R3]CtsWindowManagerDeviceTestCases

问题描述

CtsWindowManagerDeviceTestCases

android.server.wm.ActivityManagerGetConfigTests#testDeviceConfig
android.server.wm.ActivityManagerGetConfigTests#testDeviceConfigWithSecondaryDisplay
Fail:

java.lang.AssertionError: Expected number of locales does not match expected:<1> but was:<0>
java.lang.AssertionError: Expected number of locales does not match expected:<1> but was:<0>

解决方案

继续阅读“[CTS10R3]CtsWindowManagerDeviceTestCases”

[VTS10R3]android.hardware.neuralnetworks@1.1::IDevice not available

问题描述

VtsTrebleVendorVintfTes
VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.HalsAreServed/0_64bit fail:
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
Failed
android.hardware.neuralnetworks@1.1::IDevice not available.
04-14 14:59:03.504 ERROR 1 disallowed dependencies:
/vendor/bin/hw/android.hardware.neuralnetworks@1.1-service-gpunn: libcompiler_rt.so
04-14 14:59:03.505 ERROR 1 != 0 Total number of errors: 1
04-14 14:59:03.506 ERROR [Test Case] 1/1 testElfDependency FAIL

解决方案

继续阅读“[VTS10R3]android.hardware.neuralnetworks@1.1::IDevice not available”

[CTS10R3]CtsVideoTestCases fail

问题描述

CtsVideoTestCases
android.video.cts.VideoEncoderDecoderTest#testAvcOther0Perf0320x0240
fail
junit.framework.AssertionFailedError: Expected achievable frame rates forOMX.MTK.VIDEO.ENCODER.AVC video/avc 320x240: [161.0, 561.0].
android.video.cts.VideoEncoderDecoderTest#testAvcOther0Perf0720x0480
fail
junit.framework.AssertionFailedError: Expected achievable frame rates for OMX.MTK.VIDEO.ENCODER.AVC video/avc 720x480: [67.0, 234.0].
android.video.cts.VideoEncoderDecoderTest#testAvcOther0Perf1280x0720
fail
junit.framework.AssertionFailedError: Expected achievable frame rates for OMX.MTK.VIDEO.ENCODER.AVC video/avc 1280x720: [29.0, 102.0].
android.video.cts.VideoEncoderDecoderTest#testAvcOther0Perf1920x1080
fail
junit.framework.AssertionFailedError: Expected achievable frame rates for OMX.MTK.VIDEO.ENCODER.AVC video/avc 1920x1080: [29.0, 102.0].android.media.cts.VideoDecoderPerfTest#testVp8Goog0Perf1920x1080

android.video.cts.VideoEncoderDecoderTest#testAvcGoog0Perf0720x0480
Fail:
junit.framework.AssertionFailedError: Expected achievable frame rates for c2.android.avc.encoder video/avc 720x480: [45.0, 156.0].
Measured frame rate: [31.523520894659264, 29.52814031772279].
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:237)
at android.video.cts.VideoEncoderDecoderTest.doTest(VideoEncoderDecoderTest.java:844)
at android.video.cts.VideoEncoderDecoderTest.perf(VideoEncoderDecoderTest.java:206)
at android.video.cts.VideoEncoderDecoderTest.testAvcGoog0Perf0720x0480(VideoEncoderDecoderTest.java:243)
XML 提供的 google avc codec framerate range 不符合 CTS 預期

解决方案

继续阅读“[CTS10R3]CtsVideoTestCases fail”

[CTS10R3]android.media.cts.ImageReaderDecoderTest#testGoogH264Image

问题描述

CtsMediaTestCases
android.media.cts.ImageReaderDecoderTest#testGoogH264Image
android.media.cts.ImageReaderDecoderTest#testGoogH264ImageReader
android.media.cts.ImageReaderDecoderTest#testGoogH265Image
android.media.cts.ImageReaderDecoderTest#testGoogH265ImageReader
Fail:

 java.lang.RuntimeException: while c2.android.avc.decoder decoding swirl_132x130_h264: {color-format=2135033992, track-id=1, level=256, mime=video/avc, frame-count=31, profile=65536, language=und, display-width=132, csd-1=java.nio.HeapByteBuffer[pos=0 lim=9 cap=9], durationUs=2583333, display-height=130, width=132, max-input-size=1597, frame-rate=12, height=130, csd-0=java.nio.HeapByteBuffer[pos=0 lim=28 cap=28]}

解决方案

继续阅读“[CTS10R3]android.media.cts.ImageReaderDecoderTest#testGoogH264Image”

[VTS-Q]刷GSI提示空间不足

问题描述

 烧录GSI,执行fastboot flash system system.img时,提示Resizing 'system' FAILED (remote: 'Not enough space to resize partition')。
在项目的BoardConfig.mk里定义了BOARD_MTK_SUPER_SIZE_KB:=2560000 , BOARD_MTK_SYSTEM_SIZE_KB:=1258292,但实际system.img只有600多M。
adb shell lpdump -j ,打印如下:
...
{
"name": "system",
"group_name": "main",
"is_dynamic": true,
"size": "630095872",
"fs_size": "619220992",
"fs_used": "619220992"
},
...
"block_devices": [
{
"name": "super",
"size": "2625634304",
"block_size": "4096",
"alignment": "1048576"
}
]
super空间充足,无法烧录gsi

解决方案

继续阅读“[VTS-Q]刷GSI提示空间不足”

[VTS10R3]VtsHalDrmV1_2Target

问题描述

VtsHalDrmV1_2Target
VtsHalDrmV1_2Target#DrmHalTestVendor/DrmHalTest.DoProvisioning/0_64bit
VtsHalDrmV1_2Target#DrmHalTestVendor/DrmHalTest.DoProvisioning/0_32bit
 VtsHalDrmV1_2Target#DrmHalTestVendor/DrmHalTest.DoProvisioning fail on widevine L1
 hardware/interfaces/drm/1.2/vts/functional/drm_hal_common.cpp:238

Expected equality of these values:

StatusV1_0::OK

Which is: 4-byte object <00-00 00-00>

status

Which is: 4-byte object <03-00 00-00>

[  FAILED  ] DrmHalTestVendor/DrmHalTest.DoProvisioning/0, where GetParam() = "/data/local/tmp/64/lib/libvtswidevine.so" (3498 ms)

解决方案

继续阅读“[VTS10R3]VtsHalDrmV1_2Target”

[CTS10R3]android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testRecommendedStreamConfigurations fail

问题描述

CtsCameraTestCases
android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testRecommendedStreamConfigurations fail
junit.framework.AssertionFailedError: No valid YUV_420_888 and PRIVATE preview formats found in recommended preview configuration for ID: 0
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest.verifyRecommendedPreviewConfiguration(ExtendedCameraCharacteristicsTest.java:504)
at android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest.testRecommendedStreamConfigurations(ExtendedCameraCharacteristicsTest.java:834)
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 androidx.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:73)
at junit.framework.TestResult.run(TestResult.java:118)
at androidx.test.internal.runner.junit3.AndroidTestResult.run(AndroidTestResult.java:51)
at junit.framework.TestCase.run(TestCase.java:124)
at androidx.test.internal.runner.junit3.NonLeakyTestSuite$NonLeakyTest.run(NonLeakyTestSuite.java:62)
at androidx.test.internal.runner.junit3.AndroidTestSuite$2.run(AndroidTestSuite.java:101)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

解决方案

继续阅读“[CTS10R3]android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testRecommendedStreamConfigurations fail”

[VTS10R3]VtsFastbootVerification

问题描述

VtsFastbootVerification
VtsFastbootVerification#testFastbootReboot fail:
VtsFastbootVerification#testFastbootdSlotOperations
VtsFastbootVerification#testLogicalPartitionCommands
VtsFastbootVerification#testLogicalPartitionFlashing
Unknown error: test case requested but not executed.

解决方案

继续阅读“[VTS10R3]VtsFastbootVerification”

[CTSV10R1]USB Audio Peripheral Attributes Test fail

问题描述

Audio Peripheral Attributes Test
通过OTG连接audio box,提示属性不匹配
Fail:
03-23 11:51:37.274 516 1447 D modules.usbaudio.audio_hal: usb:audio_hal::device_get_parameters() keys:sup_formats
03-23 11:51:37.274 516 1447 D modules.usbaudio.audio_hal: [USB_AUD] USB Name: 1 [VSL ]: USB-Audio - AudioBox 22 VSL, open path proc/asound/cards , isCTSDevice : 0, CTSkeyword:

解决方案

继续阅读“[CTSV10R1]USB Audio Peripheral Attributes Test fail”

[VTS10R3]VideoEncHidlTest.EncodeTestBufferMetaModes_OMX.google.h264.encoder_video_encoder.avc(default)_32bit fail

问题描述

VtsHalMediaOmxV1_0Host
VtsHalMediaOmxV1_0Host#VideoEncHidlTest.EncodeTestBufferMetaModes_OMX.google.h264.encoder_video_encoder.avc(default)_32bit
Fail:
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:749
Value of: false
  Actual: false
Expected: true
hardware/interfaces/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoEncTest.cpp:1446
Expected: testEOS(omxNode, observer, &iBuffer, &oBuffer, false, eosFlag) doesn't generate new fatal failures in the current thread.
  Actual: it does.

解决方案

继续阅读“[VTS10R3]VideoEncHidlTest.EncodeTestBufferMetaModes_OMX.google.h264.encoder_video_encoder.avc(default)_32bit fail”

[VTS10R3][kernel3.18]VtsKernelNetTest failed

问题描述

VtsKernelNetTest failed
VtsKernelNetTest#testKernelNetworking
failed traceback :

ERROR: testUpdateActiveSaMarks (xfrm_test.XfrmOutputMarkTest)

Test that the OUTPUT_MARK can be updated on an ACTIVE SA.

----------------------------------------------------------------------

Traceback (most recent call last):

File "/data/nativetest64/kernel_net_tests/kernel_net_tests/xfrm_test.py", line 833, in testUpdateActiveSaMarks

outNoStateCount = self.getXfrmStat(XFRM_STATS_OUT_NO_STATES);

File "/data/nativetest64/kernel_net_tests/kernel_net_tests/xfrm_test.py", line 806, in getXfrmStat

with open(XFRM_STATS_PROCFILE, 'r') as f:

IOError: [Errno 2] No such file or directory: '/proc/net/xfrm_stat'

解决方案

继续阅读“[VTS10R3][kernel3.18]VtsKernelNetTest failed”

[CTS10.0r1]CtsTelephonySdk28TestCases android.telephony.sdk28.cts.CellInfoTest#testCellInfoSdk28 fail

问题描述

android.telephony.sdk28.cts.CellInfoTest#testCellInfoSdk28 fail
java.lang.AssertionError: TelephonyManager.getAllCellInfo() returned an empty list

解决方案

继续阅读“[CTS10.0r1]CtsTelephonySdk28TestCases android.telephony.sdk28.cts.CellInfoTest#testCellInfoSdk28 fail”

[VTS10R3]VtsHalKeymasterV4_0Target

问题描述

VtsHalKeymasterV4_0Target
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.Success(default)_32bit
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.SuccessMasked(default)_32bit
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.WrongMask(default)_32bit
Fail1:
java.security.KeyStoreException: Failed to import wrapped key. Keystore error code: -13
Fail2:
hardware/interfaces/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp:2313
Expected equality of these values:
  ErrorCode::VERIFICATION_FAILED
    Which is: 4-byte object <E2-FF FF-FF>
  ImportWrappedKey( wrapped_key_masked, wrapping_key, wrapping_key_desc, zero_masking_key, AuthorizationSetBuilder() .Digest(Digest::SHA_2_256) .Padding(PaddingMode::RSA_OAEP))
    Which is: 4-byte object <F3-FF FF-FF>

解决方案

继续阅读“[VTS10R3]VtsHalKeymasterV4_0Target”

[VTS10R3]VtsHalGraphicsMapperV2_1Target

问题描述

VtsHalGraphicsMapperV2_1Target
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBasic(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBadBuffer(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBadValue(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.GetTransportSizeBasic(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.GetTransportSizeBadBuffer(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.CreateDescriptor_2_1Basic(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.CreateDescriptor_2_1Negative(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBadValue(default,default)_64bit
Fail1:
hardware/interfaces/graphics/mapper/2.1/vts/functional/VtsHalGraphicsMapperV2_1TargetTest.cpp:132
Expected equality of these values:
  Error::BAD_VALUE
    Which is: 4-byte object <03-00 00-00>
  ret
    Which is: 4-byte object <FF-FF FF-FF>
validateBufferSize with bad width did not fail with BAD_VALUE

继续阅读“[VTS10R3]VtsHalGraphicsMapperV2_1Target”

[VTS10R3][Vsim]VtsTrebleVendorVintfTest

问题描述

VtsTrebleVendorVintfTest
VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.HalsAreServed/0_64bit fail:
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
android.hardware.radio@1.2::IRadio not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
android.hardware.radio@1.2::ISap not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
android.hardware.radio@1.4::IRadio not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
vendor.mediatek.hardware.mtkradioex@1.5::IMtkRadioEx not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51

解决方案

继续阅读“[VTS10R3][Vsim]VtsTrebleVendorVintfTest”

[CTS10R3]android.media.cts.HeifWriterTest

问题描述

 CtsMediaTestCases
android.media.cts.HeifWriterTest#testInputBitmap_Grid_Handler
android.media.cts.HeifWriterTest#testInputBitmap_Grid_NoHandler
android.media.cts.HeifWriterTest#testInputBitmap_NoGrid_Handler
android.media.cts.HeifWriterTest#testInputBitmap_NoGrid_NoHandler
android.media.cts.HeifWriterTest#testInputBuffer_Grid_Handler
android.media.cts.HeifWriterTest#testInputBuffer_Grid_NoHandler
android.media.cts.HeifWriterTest#testInputBuffer_NoGrid_Handler
android.media.cts.HeifWriterTest#testInputBuffer_NoGrid_NoHandler
android.media.cts.HeifWriterTest#testInputSurface_Grid_Handler
android.media.cts.HeifWriterTest#testInputSurface_Grid_NoHandler
android.media.cts.HeifWriterTest#testInputSurface_NoGrid_Handler
android.media.cts.HeifWriterTest#testInputSurface_NoGrid_NoHandler
Fail:
java.lang.NullPointerException

解决方案

继续阅读“[CTS10R3]android.media.cts.HeifWriterTest”

[CTS10R3]CtsMediaTestCases

问题描述

CtsMediaTestCases
android.media.cts.HeifWriterTest#testInputBitmap_Grid_Handler
android.media.cts.HeifWriterTest#testInputBitmap_Grid_NoHandler
android.media.cts.HeifWriterTest#testInputBitmap_NoGrid_Handler
android.media.cts.HeifWriterTest#testInputBitmap_NoGrid_NoHandler
android.media.cts.HeifWriterTest#testInputBuffer_Grid_Handler
android.media.cts.HeifWriterTest#testInputBuffer_Grid_NoHandler
android.media.cts.HeifWriterTest#testInputBuffer_NoGrid_Handler
android.media.cts.HeifWriterTest#testInputBuffer_NoGrid_NoHandler
android.media.cts.HeifWriterTest#testInputSurface_Grid_Handler
android.media.cts.HeifWriterTest#testInputSurface_Grid_NoHandler
android.media.cts.HeifWriterTest#testInputSurface_NoGrid_Handler
android.media.cts.HeifWriterTest#testInputSurface_NoGrid_NoHandler
Fail1:
java.util.concurrent.TimeoutException: timed out waiting for result
at androidx.heifwriter.HeifWriter$ResultWaiter.waitForResult(HeifWriter.java:683)
at androidx.heifwriter.HeifWriter.stop(HeifWriter.java:510)
at android.media.cts.HeifWriterTest.doTest(HeifWriterTest.java:501)
at android.media.cts.HeifWriterTest.doTestForVariousNumberImages(HeifWriterTest.java:265)
at android.media.cts.HeifWriterTest.testInputBitmap_Grid_Handler(HeifWriterTest.java:210)
Fail2:
java.lang.NullPointerException
at android.media.MediaCodec.native_setup(Native Method)
at android.media.MediaCodec.<init>(MediaCodec.java:1864)
at android.media.MediaCodec.createByCodecName(MediaCodec.java:1842)
at androidx.heifwriter.HeifEncoder.<init>(HeifEncoder.java:218)
at androidx.heifwriter.HeifWriter.<init>(HeifWriter.java:355)
at androidx.heifwriter.HeifWriter$Builder.build(HeifWriter.java:296)
at android.media.cts.HeifWriterTest.doTest(HeifWriterTest.java:450)
at android.media.cts.HeifWriterTest.doTestForVariousNumberImages(HeifWriterTest.java:265)
at android.media.cts.HeifWriterTest.testInputBitmap_Grid_Handler(HeifWriterTest.java:210)

[VTS10.0_r3]VtsHalMediaOmxV1_0Host

问题描述

VtsHalMediaOmxV1_0Host

VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_M_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_M_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortModeConfig_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortModeConfig_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.StateTransitions_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.StateTransitions_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Idle_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Idle_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Execute_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Execute_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
Fail:
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:359
Expected equality of these values:
  status
    Which is: 4-byte object <EA-FF FF-FF>
  ::android::hardware::media::omx::V1_0::Status::OK
    Which is: 4-byte object <00-00 00-00>
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:399
Expected: allocateBuffer(omxNode, &buffer, portIndex, portDef.nBufferSize, portMode) doesn't generate new fatal failures in the current thread.
  Actual: it does.
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:457
Expected: allocatePortBuffers( omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap) doesn't generate new fatal failures in the current thread.
  Actual: it does.
hardware/interfaces/media/omx/1.0/vts/functional/component/VtsHalMediaOmxV1_0TargetComponentTest.cpp:527
Expected: changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput, kPortIndexOutput, portMode) doesn't generate new fatal failures in the current thread.
  Actual: it does.

从log可以看出沒有divx license:

Line 22818: 03-12 07:45:10.007   706   814 E VPUD    : DivX license so is missed

[VTS10.0R3]VtsHalSensorsV2_0Target

问题描述

VtsHalSensorsV2_0Target
VtsHalSensorsV2_0Target#SensorsHidlTest.AccelerometerBatchingOperation(default)_64bit
VtsHalSensorsV2_0Target#SensorsHidlTest.MagnetometerBatchingOperation(default)_64bit
VtsHalSensorsV2_0Target#SensorsHidlTest.AccelerometerBatchingOperation(default)_32bit
VtsHalSensorsV2_0Target#SensorsHidlTest.MagnetometerBatchingOperation(default)_32bit
Fail:
hardware/interfaces/sensors/common/vts/utils/SensorsHidlTestBase.cpp:583 Expected: (nEvent) > ((size_t)(minFifoCount * 9 / 10)), actual: 2700 vs 2700 03-16 15:16:25 I/TestFailureListener: FailureListener.testFailed
Fail:
hardware/interfaces/sensors/common/vts/utils/SensorsHidlTestBase.cpp:583 Expected: (nEvent) > ((size_t)(minFifoCount * 9 / 10)), actual: 540 vs 540 03-16 15:16:25 I/TestFailureListener: FailureListener.testFailed

MainlineModule

问题描述

GtsOsTestCases
com.google.android.os.gts.MainlineModulePreloadTest
com.google.android.os.gts com.google.android.os.gts.MainlineConfigurationTest#testMainlineApprovedTrain

解决方案

Q1: Mainline release 是什麼? What is Mainline release?Ans: Google 列進 Mainline scope 的 module 會由 Google 出 prebuilt binary 並 release 給有 GMS license 的廠商, Android 10 要過 Google GMS 認證需要 preload Mainline release, 也就是要用 Google build 的 binary, 不能用客戶修改過、客戶自己用 AOSP build 出的 binary。

继续阅读“MainlineModule”