cts

How to run CTS tests in android(Eclair)?

匿名 (未验证) 提交于 2019-12-03 01:12:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In order to release a device to the market, You need to run the Compatibility Test Suite given by android...I need to know how to download and run it.. 回答1: As XC said in a comment, as of 2.0, the CTS is freely available. For it to be runnable, you have to build the tests. In your top level android directory, do all the normal build set-up steps and then make cts Then in the out/host/linux-x86/cts/android-cts/tools sub directory, you will find the startcts bash script. I expect the location might depend on what platform you are building on.

Kerberos aes-256 encryption not working

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Server is a RHEL7, Kerberos is AD (Windows). I'm only client of KDC. Arcfour-hmac works fine but when I change encryption type to aes-256 and set up a new keytab, kinit still works, but not kvno. And even if the user seems to have a valid ticket (in klist) he is not able to start services anymore. I don't have access to the Kerberos AD, but it seems properly configured to use aes-256, because end users (on Windows computers) already request tickets in this encryption type. My krb5.conf : [libdefaults] default_realm = TOTO.NET dns_lookup

Running ExtractDecodeEditEncodeMuxTest outside of testcase on Android

[亡魂溺海] 提交于 2019-12-02 08:29:21
问题 I am trying to add functionality to extract, decode, edit, encode and mux a video on Android. Therefore, I found some very useful implementation, which is part of the Android CTS ExtractDecodeEditEncodeMuxTest. Unfortunately, the code only works if it is executed as part of the testcase. I tried to execute it from a normal activity and get: E/ExtractDecodeEditEncodeMuxTest (18781): java.lang.IllegalStateException: Failed to stop the muxer W/System.err(18781): java.lang.RuntimeException:

Running ExtractDecodeEditEncodeMuxTest outside of testcase on Android

狂风中的少年 提交于 2019-12-02 07:24:25
I am trying to add functionality to extract, decode, edit, encode and mux a video on Android. Therefore, I found some very useful implementation, which is part of the Android CTS ExtractDecodeEditEncodeMuxTest . Unfortunately, the code only works if it is executed as part of the testcase. I tried to execute it from a normal activity and get: E/ExtractDecodeEditEncodeMuxTest (18781): java.lang.IllegalStateException: Failed to stop the muxer W/System.err(18781): java.lang.RuntimeException: Surface frame wait timed out W/System.err(18781): at ...OutputSurface.awaitNewImage(OutputSurface.java:216)

Not able to add new group permission in android

坚强是说给别人听的谎言 提交于 2019-12-01 08:37:29
问题 I'm trying to add a new group permission in Android but it is not taking effect in my application (new CTS test). Below are the changes : test@test-ubuntu:~/android_aosp/system/core$ git diff diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index d2193b7..7725126 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -77,6 +77,7 @@ #define AID_SDCARD_ALL 1035 /* access all users

How to build android cts? And how to add and run your test case?

只愿长相守 提交于 2019-11-30 00:54:22
问题 From 2.0 the cts is freely downloadable from android's repository. But there is no documents about it. Does anyone can tell me: how to build cts? Is there a standard procedure? How to run cts? How to add customized test case? Here, share my experience. After repo sync all source, you can't directly run "make" to build all source. You will get some errors. Now, I'am trying to first build android source without cts, and then build cts alone. Also, here are some reference for run cts: http://i

详解RS232、RS485、RS422、串口和握手

牧云@^-^@ 提交于 2019-11-29 04:54:05
详解RS232、RS485、RS422、串口和握手 2019年08月06日 16:20:08 不脱发的程序猿 阅读数 1423更多 分类专栏: 技术分享 程序人生 通信 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接: https://blog.csdn.net/m0_38106923/article/details/98615747 目录 1、RS232基础 1.1、电气特性 1.2、连接器的机械特性 1.3、传输电缆 1.4、链路层 1.5、传输控制 1.6、RS-232标准的不足 2、RS485基础 2.1、RS-485 的电气特性 2.2、传输速率与传输距离 2.3、网络拓扑 2.4、连接器 3、RS422基础知识 4、串口与握手基础知识 4.1、串口基础知识 4.1.1、波特率 4.1.2、数据位 4.1.3、停止位 4.1.4、奇偶校验位 4.2、握手基础知识 4.2.1、软件握手 4.2.2、硬件握手 4.2.3、XModem握手 1、RS232基础 计算机与计算机或计算机与终端之间的数据传送可以采用串行通讯和并行通讯二种方式。由于串行通讯方式具有使用线路少、成本低,特别是在远程传输时,避免了多条线路特性的不一致而被广泛采用。 在串行通讯时,要求通讯双方都采用一个标准接口

P & R 11

孤人 提交于 2019-11-28 12:39:33
要做好 floorplan 需要掌握哪些知识跟技能? 首先熟悉data flow对摆floorplan 有好处,对于减少chip的congestion 是有帮助的,但是也不是必需的,尤其是EDA工具快速发展的当今,比如Innovus 最新的MP特性,可以自动对cell和macro 一起做place,结果相当不错,省了很多事情。 其次,需要了解 design的 power mesh,工艺的DRC rule ,IP 的base layer的spacing rule,memory能否abut ,IP channel 里摆放的cell 供电够不够,最小的spacing 可以到多少, channel里的resource 够不够, analog IP 摆放的位置跟pad 的关系, customer routing 好不好出,这些都是做 top floorplan 时需要预先考虑的。 通常,遇到 floorplan 问题,大致的 debug 步骤跟方法有哪些? Floorplan 的问题主要会导致overflow 偏高,或者timing 较差。timing较差的话可以通过看timing path 分析DFF和IP的关系,来得出IP摆放是否合理。如果用的是Innovus, 可以用ameba view 来查看 module 的分布,看看什么module 被扯的很散来得出IP没有摆放合理。

P&R 5

江枫思渺然 提交于 2019-11-28 10:44:29
Floorplan : 要做好floorplan需要掌握哪些知识跟技能? 通常,遇到floorplan问题,大致的debug步骤跟方法有哪些? 如何衡量floorplan的QA? 芯片的整体架构模块划分,低功耗结构,IP的要求,IO的要求,数据流,关键路径的走向。做Floorplan既要有宏观大局也要关注细节,二者相辅相成,缺一不可。 Floorplan的问题往往要到后面阶段才能发现,所以非常依赖经验积累和项目的迭代。Floorplan的问题暴露出来了,往往不难解决。只是等到问题暴露了,要解决需要推倒整个后段流程,对项目的进度有严重的影响。 Placement: 要做好placement需要掌握哪些知识跟技能? 通常,遇到placement问题,大致的debug步骤跟方法有哪些? 如何衡量placement的QA? 数据流,关键路径的走向。工具优化特性和选项。Blockage,Region等物理约束的运用。 Timing和congestion问题。Timing的问题要分析路径的logiclength,buffer/inverter数量,path的物理走向。Congestion问题往往在channel里,要利用blockage和region去控制。 Timing和congestion是衡量的标准。 CTS: 要做好CTS需要掌握哪些知识跟技能? 通常,遇到CTS问题

P&R 3

谁说胖子不能爱 提交于 2019-11-28 10:43:30
Floorplan: 要做好floorplan需要掌握哪些知识跟技能? 通常,遇到floorplan问题,大致的debug步骤跟方法有哪些? 如何衡量floorplan的QA? Floorplan是后端实现的起始步骤,是P&R的先决条件,通常Trial Run的目的也是为了把FP固定。因此,在做FP的时需要从以下几个方面准备,第一方面收集Physical“规则”,这其中包括Design Rule,Package Rule,IP Guide,IO Guides等等,只有优先知道了限制条件,在限制条件内做FP才是有意义的。第二个方面是关于Design的需求,Data Flow决定module的位置,低功耗设计要求决定FP时要考虑的Power Domain以及相应的低功耗设计的诉求。 如何衡量FP的QA,通常我们会把P&R的结果作为相应的标准,其中Feasibility是很重要的一项,另外就是PPA的体现。另外,FP是后端流程中,特别体现个人风格的点,因此需要具有“美感”,具有让人一眼下去所能看到的“用心”程度,这个可能也是FP QA的一方面。 FP的Debug方向,倒是通常由于后续问题来修改FP。 Placement: 要做好placement需要掌握哪些知识跟技能? 通常,遇到placement问题,大致的debug步骤跟方法有哪些? 如何衡量placement的QA?