- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 Android学习之Alarm driver
Updated: 2013/03/18, 刚有时间浏览了最新的Android builder submit 2013的相关slides,其中有关于最新的android 对kernel的upstream的状态的总结,大家可以看看http://events.linuxfoundation.org/images/stories/slides/abs2013_stultz.pdfAlarm
2011-11-21 23:17:38 9208
原创 Android调试工具之adbs
这两天在看Android的编译及制作rootfs工具的相关流程,无意中在mydroid/build/tools/中发现了它——adbs!adbs是一个用python写的命令行工具,利用了adb,addr2line, objdump这三个工具,大家看了这三个工具,可能就能猜到,adbs是用来分析应用程序尤其是与函数库相关的crash问题:)具体的代码就不多看了,无外乎是一些运
2011-11-02 17:45:07 3547
转载 Linux开发者需要知道的10个技巧--转自IBM developerworks
Lazy Linux: 10 essential tricks for adminsHow to be a more productive Linux systems administratorVallard Benincosa, Certified Technical Sales Specialist, IBMSummary: Learn these 10
2011-11-22 11:49:30 2996
原创 设计模式笔记之Decorator Pattern
装饰模式: Decorator Pattern概括: 动态地给一个对象添加一些额外的职责。单从增加功能来说,用装饰模式比简单使用子类继承的方式来的灵活。关键字: Has-a,重点: 每个装饰类都要实现定义好的实现功能的纯虚装饰函数。各个装饰类都has-a一个拥有基本功能的类,通过对接口的实现,给has-a关系的基础功能增加新的功能类图:
2011-11-21 10:35:26 731
原创 设计模式笔记之Factory Pattern
概括: 利用抽象的Interface作为返回值,使得用户不需要知道具体使用类的类型,而只需要使用通过Factory方法返回的Interface的类型.关键字: interface, hide which class to instantiate from user重点: Factory方法返回的是一个Interface类型, 该类型对用户隐藏了具体的实现类.
2011-11-15 13:03:04 553
原创 设计模式笔记之Strategy Pattern
策略模式: Strategy Pattern概括: 定义了算法家族(interface),分别分装起来(实现该interface), 算法之间可以互相替换, 把它们内嵌入工作类提供给用户使用, 从而不会影响用户使用的接口,而只需要维护工作类中使用的具体算法。关键字: Has a重点: 使用Has-a取代简单的Is-a关系, 通过在抽象基类中增加一个策略类来达
2011-11-15 11:10:41 660
原创 ARM汇编学习拾贝 (持续更新)
基本知识 ldrmeans load from memory, in which case Rd is the destination, and str means store to memory, so Rd would be the source there.基本的函数调用模板 .text .align 2 .global functionName .type
2011-11-07 11:40:56 958
原创 从Android代码里摘录出来的好用的调试宏
摘自:mydroid/build/tools/soslim/debug.h#ifdef DEBUG #define FAILIF(cond, msg...) do { \ if (unlikely(cond)) { \ fprintf(s
2011-11-03 13:59:14 1060
转载 常用VI指令
原文地址:http://www.worldtimzone.com/res/vi.htmlCursor movementh - move leftj - move downk - move upl - move rightw - jump by start of words (punctuation considered words)W - jump by words (spaces
2011-11-02 11:22:30 746
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人