自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hunter

May you: do good and not evil,share freely, never taking more than you give.

  • 博客(33)
  • 收藏
  • 关注

原创 check process and thread in adb shell

1.adb shell ,enter shell of b2g2.ps |grep b2g get the number of  process3.enter the process number dir4.cat status to get the information of the process you like1|root@mako:/proc/179 # cat st...

2018-07-31 13:54:14 286

转载 repost:ubuntu 16.04 sourcelist,aliyun,tsinghua

original source:# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer ...

2018-07-31 11:29:14 484

原创 ffos:shell.js ,system app and homescreen

官方文档说shell.js 打开 system app,shell.jssystem app 打开homescreen ?b2g.js 导入/打开system app? system app 再往iframe里加载其他app,如hscr, https://blog.csdn.net/zembers/article/details/48783737几个问题:...

2018-07-26 21:11:37 218

原创 ffos: xpcom and so on mdn doc links

error code:错误返回码https://developer.mozilla.org/en-US/docs/Mozilla/Errors  

2018-07-26 15:05:03 153

原创 ffos: ffos architecture analyze and study

gonk,gecko ,gaia大纲:1.进程关系,init,b2g,nuwa,content,2.inter process comunication (进程间通信,ipc,ipdl)3.组件模块层次,流程,结构。4.结合,写两“应用”,进程间,跨 层次通信。 高度关注官方文档!!!gonk = aosp(Android kernel) + HAL(Android...

2018-07-26 09:46:35 257

转载 repost:ff OS Architecture

B2G OS(FireFox OS) Architecturehttps://blog.csdn.net/xiaoma_pedro/article/details/810306510、前提:原文地址:https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Architecture1、本文参照FireFox官网与外网上相对较少的...

2018-07-25 15:28:39 347

原创 ffos:init,b2g 启动过程

try to analyze b2g ,nuwa and content process.自我疑惑问题记录与解答。。。系统物理按键按下,固件(firmware)bootloader按需加载文件到内存?(加载内核进内存),kernel run脚本?启动init进程,解析init.rc,init.b2g.rc, init进程启动b2g进程,init同时?启动一些守护进程(deamon :ril...

2018-07-25 13:43:31 522

转载 转:Init 进程详解

Init 进程详解https://blog.csdn.net/u012417380/article/details/78518408 Android 内核加载完成后,就会启动init进程,init进程是Android系统用户空间的第一个进程。init程序放在系统根目录下,init进程代码位于源码的目录“system/core/init”下面。下面我们来分析init进程的启动过程...

2018-07-25 11:09:01 413

转载 转:用命令查看进程

http://www.cnblogs.com/wangkangluo1/archive/2011/09/23/2185938.html 名称:ps使用权限:所有使用者使用方式:ps [options] [--help]说明:显示瞬间行程 (process) 的动态参数:ps的参数非常多, 在此仅列出几个常用的参数并大略介绍含义-A    列出所有的进程-w    显示加宽可以显...

2018-07-25 10:39:01 593

原创 .jsm files

https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/XPCOMUtils.jsm#defineLazyServiceGetter()javascript module ,you use components which you  want to ,you need to import it .an...

2018-07-25 09:12:31 182

转载 android:android booting

android bootinghttp://elinux.org/Android_Booting#Bootloader Contents  [hide] 1 Key bootup components 1.1 Bootloader 1.2 'init' 1.2.1 'init' resources 2 Seq...

2018-07-20 17:12:55 291

转载 ffos:NuwaTemplateProcess

NuwaTemplateProcessNuwa is a mechanism to fork content processes from a template process. The template process is called Nuwa process. The processes forked from Nuwa process are parasited processes....

2018-07-20 15:56:11 215

转载 ffos:B2G IPC internals,nuwa process and b2g process

https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Security/B2G_IPC_internalsArchitectureIn FirefoxOS we have a Multi-process Architecture where the apps on the phone are running in a differ...

2018-07-20 15:46:44 230

原创 ffos:process in ffos

1.进程,运行着一个或多个线程的地址空间和这些线程所需要的系统资源。(进程就是地址空间和系统资源)内存物理地址,IO地址,磁盘扇区,CPU,网络,外设(打印机、USB设备、扫描仪、显示器、绘图笔、光学输入设备。。。)凡是操作系统要使用到的都可以称为资源,资源是有限的 你程序跑起来所依赖的东西都可称之为资源。。。OS对这些东西进行统一管理,方便用户。。。管理不善就会出问题。。。...

2018-07-20 13:50:54 218

转载 repost:ubuntu16.04 耍帅快捷键

ubuntu16.04 耍帅快捷键https://blog.csdn.net/xiaoqu001/article/details/78721772 关于Firfox的:Ctrl + t : 新建标签(Tab)Ctrl + w : 关闭当前标签(Tab)Alt + F4 : 关闭当前窗口(也就是关闭了所有Tab)Ctrl + Shift + w : 关闭当前窗口(与Alt + ...

2018-07-20 09:23:56 213

转载 repost:locate命令的使用实例

博客园 博问 闪存 首页 新随笔 联系 管理 订阅随笔- 69  文章- 13  评论- 7 locate命令的使用使用locate命令,遇到了这样的情况:当前目录下有一个文件,而使用这个命令时却查找不到这个文件,上网查了一下,找到了原因,就在下面。1. findfind是最常见和最强大的查找命令,你可以用它找到任何你想找的文件。find的使用格式如下:...

2018-07-19 20:07:01 180

转载 repost:GIT 常用命令

 GIT 常用命令2017-12-20 10:17 by 天才卧龙, 51982 阅读, 7 评论, 收藏, 编辑学无止境,精益求精!十年河东,十年河西,莫欺少年穷!学历代表你的过去,能力代表你的现在,学习代表你的将来!本篇博客是转发的别人的,原文地址:http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html...

2018-07-17 11:20:15 186

转载 repost:/usr/bin/ld: cannot find -l* 错误的解决方法……

/usr/bin/ld: cannot find -l* 错误的解决方法…… 在编译QT/x11时,出现了usr/bin/ld: cannot find -lXext.最终,参考下面文章解决了问题,我的解决办法就是安装了libExt-dev,然后继续make*****************************************************************...

2018-07-17 09:53:55 986

原创 nexus-4.xml 修改 拉固定本地服务器源码

<?xml version="1.0" ?><manifest> <remote fetch="file:///b2g-git/git/aosp/" name="aosp"/> <remote fetch="file:///b2g-git/git/b2g/" name="b2g"/&

2018-07-16 09:28:29 311 4

转载 repost:深入理解Android Build系统

深入理解Android Build系统 code_xzh 2017-04-03 11:05:35 浏览4763 ...

2018-07-13 09:50:14 159

转载 repost:Android编译系统详解(一)

Android编译系统详解(一)2012年05月07日 01:24:48阅读数:37165 ++++++++++++++++++++++++++++++++++++++++++本文系本站原创,欢迎转载! 转载请注明出处:http://blog.csdn.net/mr_raptor/article/details/7539978+...

2018-07-13 09:45:14 201

转载 repost:Android Build系统介绍

Android Build系统介绍 Young_Allen thanks to the author!!!! ...

2018-07-13 09:36:19 277

转载 repost: linux中强大的screen命令

linux中强大的screen命令linux , screen今天用SCREEN用点生了,有几个功能不知道怎么用,上网搜了一下,有位哥们写的挺细的,向这哥们致敬,我这里就转走了,备查用。因为还有好几个有用实用好用的功能文章都没有描述到。我将在转载的最后给预补充。以下转载开始转载地址:http://hi.baidu.com/nk...

2018-07-12 14:46:20 1078

转载 repost: tar打包排除某个目录

tar打包排除某个目录 tar zcvf fd.tar.gz * --exclude=file1 --exclude=dir1注意:1、--exclude=file1 而不是 --exclude file12、要排除一个目录是--exclude=dir1而不是--exclude=dir1/也可以在父目录打包tar zcvf fd.tar.gz pardir --exclude=pardir/fil...

2018-07-12 10:40:24 674

转载 repost: du-查看文件夹大小-并按大小进行排序

du-查看文件夹大小-并按大小进行排序https://blog.csdn.net/jiaobuchong/article/details/50272761 某天,我想检查一下电脑硬盘的的使用情况,作为一个命令控,废话少说,开始吧:使用df 命令查看当前磁盘使用情况:jack@jiaobuchong:~$ df -lhFilesy...

2018-07-12 10:05:55 344

转载 转:Android实战技巧之八:Ubuntu下切换JDK版本

Android实战技巧之八:Ubuntu下切换JDK版本2014年12月20日 11:25:15阅读数:25290 Android L之后推荐使用JDK7编译程序,这是自然发展规律,就像是4年前编译Android 1.6需要使用JDK5一样。多版本JDK是可以共存的,只需要使用update-alternatives工具就可以随时...

2018-07-09 17:28:36 402

转载 android:自己动手编译Android源码(超详细)

自己动手编译Android源码(超详细) 涅槃1992 2016.06.20 02:12* 字数 43...

2018-07-09 16:08:22 57431 6

转载 linux:sudo password auto input

在shell脚本中需要用root用的来执行指令:sudo 自动输入密码echo "password" | sudo -S netstat -tlnp       -S          The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal devi...

2018-07-07 15:37:58 334

转载 转:自己动手编译Android源码(超详细)

转载:http://www.jianshu.com/p/367f0886e62b在Android Studio代码调试一文中,简单的介绍了代码调试的一些技巧.现在我们来谈谈android源码编译的一些事.(俺认为,作为android developer人人都应该有一份自己Android源码,这样我们就可以随时对自己有疑惑的地方通过亲手调试来加强理解).本文使用最新的Ubuntu 16.04,请首先...

2018-07-07 15:19:12 303

原创 ffos(gecko):gecko下XPCOM组件开发参考文档(合)

前面分开写了js 和C++ 的实现,ffos (gecko):如何在gecko 中编写XPCOM组件(一)--javascript 实现方式ffos (gecko):如何在gecko 中编写XPCOM组件(二)--C++ 实现方式整理了文档,一起贴上来。  gecko下XPCOM组件开发参考文档      版本历史版本号作者日期备注V1.0h2018.07.06  目录目录 1摘要 11. XPC...

2018-07-06 22:57:13 1065

原创 ffos (gecko):如何在gecko 中编写XPCOM组件(二)--C++ 实现方式

上篇记录了XPCOM的js的实现,较简单。本篇用C++实现。ffos (gecko):如何在gecko 中编写XPCOM组件(一)--javascript 实现方式同js的实现一样,在gecko/dom/下新建一个目录simplecpp/...

2018-07-06 11:19:46 705 1

原创 ffos (gecko):如何在gecko 中编写XPCOM组件(一)--javascript 实现方式

记录与贡献,鉴于gecko中编写XPCOM组件的文档都极度过时(基本是基于2006年版的变体),小白的我搬砖尝试好久才算写出两个组件。老文档代码部分参考价值不高,下面将自己写xpcom组件的成果分享如下,一篇写js实现的,一篇写c++实现的。...

2018-07-04 14:54:52 644

转载 ffos:xpcom- several ways of registering a XPCOM Component

(FFOS Gecko) - several ways of registering a XPCOM Component1. JavaScript Component  (1) add a CustomComponent.manifest# The {classID} here must match the classID in CustomComponent.jscomponent {e6b8...

2018-07-02 10:08:42 156

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除