aboutsummaryrefslogtreecommitdiff
path: root/zh-cn/devices/media/oem.html
diff options
context:
space:
mode:
Diffstat (limited to 'zh-cn/devices/media/oem.html')
-rw-r--r--zh-cn/devices/media/oem.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/zh-cn/devices/media/oem.html b/zh-cn/devices/media/oem.html
index c8923c6b..02f2d34d 100644
--- a/zh-cn/devices/media/oem.html
+++ b/zh-cn/devices/media/oem.html
@@ -49,7 +49,9 @@
<ol>
<li>首先使用 cts-tradefed 运行测试。
- </li><li>评估生成的失败消息。示例如下:<pre class="devsite-click-to-copy">
+ </li><li>评估生成的失败消息。示例如下:
+
+<pre class="devsite-click-to-copy">
There was 1 failure:
1) testGetMaxSupportedInstances(android.media.cts.MediaCodecCapabilitiesTest)
junit.framework.AssertionFailedError: In order to pass the test, please publish
@@ -95,8 +97,7 @@ following codecs' concurrent instances limit in /etc/media_codecs.xml:
<ol>
<li>首先使用 cts-tradefed 运行测试。鉴于 Android 性能的波动性,建议多次运行测试以获得更准确的最小值和最大值。
</li><li>使用提供的 <a href="https://android.googlesource.com/platform/cts/+/marshmallow-cts-dev/tools/cts-media/get_achievable_rates.py">get_achievable_rates.py</a> 脚本生成 XML 文件。
- </li><li>将 XML 文件放置在以下位置:<code>/etc/media_codecs_performance.xml</code><br />
-通常通过将 XML 文件放置在设备项目 (device/&lt;vendor&gt;&lt;product&gt;<em></em>/<em></em>) 中并将 <code>PRODUCT_COPY_FILES</code> 行添加到 <code>device.mk</code> 来完成此过程,如下所示:
+ </li><li>将 XML 文件放置在以下位置:<code>/etc/media_codecs_performance.xml</code><br />通常通过将 XML 文件放置在设备项目 (device/&lt;vendor&gt;/&lt;product&gt;) 中并将 <code>PRODUCT_COPY_FILES</code> 行添加到 <code>device.mk</code> 来完成此过程,如下所示:<em></em><em></em>
<pre class="devsite-click-to-copy">
PRODUCT_COPY_FILES += \
...