Android Bootcamp 2019 videos now available

Android Bootcamp 2019 videos now available

 

Videos from 2019 Android Bootcamp are now available and have been added to the Bootcamp folder linked from the Android Partners Help Center. The Android Bootcamp material provides a deep dive into the latest features and explores forthcoming development.

继续阅读“Android Bootcamp 2019 videos now available”

CTS 测试工具更新

Test suites releases and required-use date; List of CTS waiver patches for next releases

 This month, we have updated releases for the test suites listed below, as well as the GMS package.

VTS Waiver reduction and May release

VTS Waiver reduction and May release VTS豁免缩减和5月份Release

 

【即将开始】Google I/O 2019 | Google

2019 Google I/O 大会即将在几个小时后开始,是时候和 7000 多位现场的开发者们一起目睹一年一度的开发盛事了!

看直播,赢礼品!

今年的开发者大会将通过多家平台进行直播,官方准备了 130 个官方礼品,在直播过程中抽奖送给大家!到时候别忘了积极参与互动!

继续阅读“【即将开始】Google I/O 2019 | Google”

[GTS]GTS测试GtsMemoryHostTestCases 出现fail项com.google.android.memory.gts.MusicMemoryHostTest#testPeakMemoryUsage

问题描述

com.android.tradefed.device.DeviceUnresponsiveException: Attempted shell am start -W -S -a android.intent.action.VIEW -d 'file:///sdcard/test.ogg' -t audio/* 'com.android.music/.AudioPreviewStarter'

继续阅读“[GTS]GTS测试GtsMemoryHostTestCases 出现fail项com.google.android.memory.gts.MusicMemoryHostTest#testPeakMemoryUsage”

ITS test_3a_consistency 测试fail:报assert np.isclose(np.amax(fds), np.amin(fds), FD_TOL)分析方法

问题描述

 ITS test_3a_consistency 测项目的:会让AE,AWB,AF auto收敛3次,然后分别查看AE,AWB,AF三次收敛结果最大差异值是否小于最大值的10%,如果小于最大值的10%认为pass,否则fail。
如果是AF 不满足要求,会报assert np.isclose(np.amax(fds), np.amin(fds), FD_TOL)
原因可能有以下几个:

继续阅读“ITS test_3a_consistency 测试fail:报assert np.isclose(np.amax(fds), np.amin(fds), FD_TOL)分析方法”

Android P HAL3 版本,camera 如何配置成FF

例如,配置sub sensor s5k2t7sp 成FF
 1、配置projectconfig.mk文件
     1)CUSTOM_HAL_LENS = lc898212xdaf bu6424af ak7371af dummy_lens
     2)CUSTOM_HAL_SUB_LENS = dummy_lens
 2、/vendor/mediatek/proprietary/custom/mtXXXX/hal/lens/src/lenslist.cpp文件中,LensList_sub数组sensor id对应的lens id 配置成dummy如 1),或者只配dummy如2)

继续阅读“Android P HAL3 版本,camera 如何配置成FF”

[ITS]scene1:test_raw_sensitivity.py fail

问题描述

 有两种错误.
1. test_raw_sensitivity_stderr.txt 显示 assert variances[i] < variances[i+1] / VAR_THRESH
2. test_raw_sensitivity_stderr.txt 不显示上述错误, 但有如下错误:
File "C:\ITS\data\CameraITS\pymodules\its\device.py", line 284, in __close_camera
data,_ = self.__read_response_from_socket()
File "C:\ITS\data\CameraITS\pymodules\its\device.py", line 244, in __read_response_from_socket
ch = self.sock.recv(1)
socket.error: [Errno 10053]

继续阅读“[ITS]scene1:test_raw_sensitivity.py fail”

its test_edge_enhancement fail的处理

## 1. 先看拍的图片是否正常. 排查全黑,只拍了边角的问题. 若是, 调整拍摄角度就可以了
## 2. 排除1后, 要查EE 在mode0, 1, 2, 3开启状态. 默认0 关闭, 其他开启.
2.0 先从test_edge_enhancement_stderr.txt 看是哪组ee fail, 如下demo 看是ee 2 时fail, 即MTK_EDGE_MODE_HIGH_QUALITY mode.
File "C:\ITS\data\CameraITS\tests\scene3\test_edge_enhancement.py", line 116, in main
assert(sharpness_regular[2] > sharpness_regular[0])

继续阅读“its test_edge_enhancement fail的处理”

android.hardware.camera2.cts.RecordingTest#testBasicRecording

问题描述

CTS Test:testBasicRecordingCTS fail:Video duration doesn't match: recorded 2619.000000ms, expected [4650.000000,4650.000000]ms.从fail的原因来看,是帧率过大导致的(一般此项fail原因都是帧率不够导致)

Log 分析:

继续阅读“android.hardware.camera2.cts.RecordingTest#testBasicRecording”

VtsHalRadioV1_2Target包测试多条fail

问题描述

 VTS test request plug in SIMs in all SIM slots from Android P, but they doesn't cover the VSIM case, there is no way to plug in SIM in the vsim only slot. So we enable modem VSIM at the VSIM only slot if there is no MTK framework.
VTS测试从Android P开始要求插卡测试,而Google没有考虑VSIM的情况,因为VSIM only的slot不能插实体卡,造成VTS测试fail。所以判断如果没有上层MTK framework的话,认为是GSI,在VSIM only的操作打开modem VSIM。

继续阅读“VtsHalRadioV1_2Target包测试多条fail”

[ITS]scene1 color_correction Fail

问题描述

先排除低级错误:比如:
assert(all(g_means[i] > 0.2 and g_means[i] < 0.8 for i in xrange(3)))
这种是tuning ae 都没有有过曝, 过暗现象.
您可以把its 文件夹下对应的图片检查一下, 确认是图片异常过曝/过暗/图片只拍了边角等问题.
找贵司tuning ae的同事修改.
然后这个测项fail常见问题为:
1. 客户refine ccm
2. 客户refine color

继续阅读“[ITS]scene1 color_correction Fail”

[Build&Make] system分区>=6G 编译报错问题

问题描述

partition table 配置 system img 大小6GB以上
出现编译报错
 Could not build verity tree! Error: build_verity_tree: system/extras/verity/build_verity_tree.cpp:96: int hash_chunk(void *, const void *, int): Assertion `len % ctx->block_size == 0' failed.

Out of space? the tree size of out/target/product/HLTE316T/system is (MB):
3338 out/target/product/HLTE316T/system
The max is 6144 MB

继续阅读“[Build&Make] system分区>=6G 编译报错问题”