原创 如何使用NDK-STACK tool

http://www.cocoachina.com/bbs/read.php?tid=195644 本文翻譯自:http://www.cocos2d-x.org/forums/6/topics/462251.安卓 NDK-STACK t

原创 android smartpointer

system/core/libpixelflinger/codeflinger/tinyutils/smartpointer.h /* * Copyright 2005 The Android Open Source Projec

原创 Termios

termios,tcgetattr,tcsetattr, tcsendbreak, tcdrain, tcflush, tcflow, cfmakeraw, cfgetospeed, cfgetispeed, cfsetispeed,

原创 android source bluetooth

https://source.android.com/devices/bluetooth.html Bluetooth In this document Android provides a default Bluetooth

原创 string8 string16 threads refbase 相關文件路徑

system/core/libutils$ l Android.mk          CleanSpec.mk         Log.cpp                 NativeHandle.cpp  ProcessCal

原创 Kernel Panic 介紹

https://wiki.deepin.org/?title=Linux_kernel_panic 簡介 內核錯誤就像名字所暗示的那樣,它表示Linux kernel走到了一個不知道該怎麼走下一步的狀況,一旦到這個情況,kernel就

原创 Android bluetooth介紹(三): 藍牙掃描(scan)設備分析

http://blog.csdn.net/xubin341719/article/details/38584469 關鍵詞:藍牙blueZ  A2DP、SINK、sink_connect、sink_disconnect、sink_su

原创 android 使用SMD(共享內存)作為跨processes溝通媒介

http://eeepage.info/android-smd-wcnss/ 前言: 多核間的通訊 在智慧型手機SOC平臺中,為了保證個別功能在平臺上的流暢運行,都會依照功能使用專門的處理器來處理。如在Qucalcomm MSM 7K

原创 Linux 文件系統:procfs, sysfs, debugfs 用法簡介

http://www.tinylab.org/show-the-usage-of-procfs-sysfs-debugfs/ 1 前言 內核中有三個常用的僞文件系統:procfs,debugfs和sysfs。 procfs — Th

原创 Android bluetooth介紹(一):基本概念及硬件接口

http://blog.csdn.net/xubin341719/article/details/38519555 關鍵詞:藍牙硬件接口 UART  PCM  blueZ 版本:基於android4.2之前版本 bluez內核:li

原创 download prebuild gcc

On a Linux host, if you don't have an Android source tree, you can downloadthe prebuilt toolchain from: $ git clone

原创 android source camera

https://source.android.com/devices/camera/ Camera In this document Android's camera Hardware Abstraction Layer (

原创 Learn Vim Progressively

http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/ Learn Vim Progressively tl;dr: You want to teach

原创 linux管道pipe詳解

linux管道pipe詳解 http://blog.csdn.net/oguro/article/details/53841949 管道 管道的概念: 管道是一種最基本的IPC機制,作用於有血緣關係的進程之間,完成數據傳遞。調用pipe

原创 多線程內存問題分析之mprotect方法

http://www.yebangyu.org/blog/2016/02/01/detectmemoryghostinmultithread/ 多線程中的內存問題,一直被認爲是噩夢般的存在,幾乎只有高手、大仙才能解決。除了大量的打lo