![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
文章平均质量分 57
tangkegaga
这个作者很懒,什么都没留下…
展开
-
Android-JNI
JNI 之二 :java & c/c++ 相互通信及调用 JNI是Java Native Interface的缩写,JNI是一种机制,有了它就可以在java程序中调用其他native代码,或者使native代码调用java层的代码。也就是说,有了JNI我们可以使Android项目中,java层与native层各自发挥所长并相互配合。转载 2013-04-26 14:38:26 · 771 阅读 · 0 评论 -
thread, looper, handler vs ScheduledExecutorService
1) what is looper, A Class used to run a message loop on a messageQueue for a thread, BUT , it is essentially itsself a thread, think otherwise how it is able to do the loop work. Check the sour原创 2015-06-02 12:59:49 · 997 阅读 · 0 评论 -
sync logic
Push data flow:Stepclient Appserver1New Data can be captured in the following flows:new Scan ticketAnswer QuestionsSubmit Additional NotesEach flow原创 2015-02-26 07:54:32 · 637 阅读 · 0 评论 -
clock
adb shell cat /d/clock/clock_tree原创 2013-07-17 17:32:35 · 830 阅读 · 0 评论 -
ramdisk 是什么? amdisk.img system.img userdata.img 分析
转载自: http://blog.csdn.net/wuye110/article/details/8463820 Android 源码编译后,在out/target/product/generic下生成的三个镜像文 件:ramdisk.img,system.img,userdata.img以及它们对应的目录树root,system,data。 ramdisk.img是根文件系统,转载 2013-06-08 22:57:24 · 1516 阅读 · 0 评论 -
gpio Sysfs Interface for Userspace
from gpio.txtSysfs Interface for Userspace (OPTIONAL) ======================================== Platforms which use the "gpiolib" implementors framework may choose to configure a sysfs user i原创 2013-06-14 17:33:38 · 1401 阅读 · 0 评论 -
i2c, i2c-gpio
1:gpio可以配成多个function ,本质上是因为这些function在soc里面已经存在,但是为了不让soc有太多的pin脚,所以只用一个pin脚来复用。选function的过程,其实就是有个开关,选哪个function,就把开关打到哪个function上。2:i2c controller 在soc内部就相当于一个function。 如果这个function 和 gpio 复用在一个p原创 2013-06-13 19:21:33 · 2465 阅读 · 0 评论 -
subChip_GPIO如何访问
例如 pmu(TPS65913 )上的gpio如何访问,可到官网上查看他的spec会专门有个TPS65913的gpio driver, 将他也定义为一个gpio,这是他的platform_driver。在platform_device的定义的地方(可能在board_power文件中)其中platform data里面会有个参数叫做,gpio_base,表示这个subchip gpi原创 2013-06-01 10:50:14 · 1071 阅读 · 0 评论 -
gang programming
golden sample 是标准样品approve sample 是批准通过的样品 比如,客户给你一个样品,让按样品生产,那他发来的就是golden sample 你们按样品生产出来的发给客户,客户如果通过就是approve sample产线批量烧录设备的时候,会用到工具,可以批量烧录。其实就是clone,速度快,就像以前用光盘安装操作系统,需要2个小时,但是clone10分钟就够了原创 2013-06-10 11:24:48 · 984 阅读 · 0 评论 -
android boot
1: soc 的 usb 功能应该在 给cpu 上电之后就应该work, 但是在与pc通讯过程中(以下所有的pc与device的通讯都可以看成是 一个client 一个 server)的协议都 cpu厂商自己定义的, 而不是通用的android 的adb协议或fastboot协议,所以在我所经历的不同的cpu vendor中,在最开始download code 时候(在没有 fastboot的原创 2013-06-08 19:09:41 · 2512 阅读 · 0 评论 -
android memory tips
There's SparseArray but there are also classes for each of the individual primitive types. There's a SparseBooleanArray, a SparseIntArray and so on. Deciding whether to use these Android spe原创 2016-06-08 13:40:29 · 650 阅读 · 0 评论