<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[To be or not to be, it's a question]]></title><description><![CDATA[To strive, to seek, to find, and not to yield]]></description><link>https://blog.csdn.net/csdn_of_coder</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; csdn_of_coder]]></copyright><item><title><![CDATA[Android - 集成三方模组原厂WiFi Hal库问题]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/131863965</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/131863965</guid><author>csdn_of_coder</author><pubDate>Sat, 22 Jul 2023 09:56:19 +0800</pubDate><description><![CDATA[最近Android 11产品平台上需要集成三方WiFi/AP模组厂商提供的hal静态库时遇到一个问题：将三方的库代码集成进系统，并正确配置、编译出lib_driver_cmd_xxx.a(xxx一般是厂商的名字缩写，仅仅是个后缀用于区分不同厂家)，根据Android的现有集成架构，这个lib_driver_cmd_xxx.a会被wpa_supplicant/hostapd等工具引用。用来指定CFI特性所需要的头文件的路径，以便编译器能够正确地识别和使用CFI相关的库和函数。对于 Arm64 设备上位于。]]></description><category></category></item><item><title><![CDATA[Android R WiFi热点流程浅析]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/129098947</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/129098947</guid><author>csdn_of_coder</author><pubDate>Sat, 18 Feb 2023 15:24:12 +0800</pubDate><description><![CDATA[Android上的WiFi SoftAp功能是用户常用的功能之一，它能让我们分享手机的网络给其他设备使用。
 那Android系统是如何实现SoftAp的呢，这里在FWK层面做一个简要的流程分析，供自己记录和大家参考。
 以Android R版本为例......]]></description><category></category></item><item><title><![CDATA[Android -- WiFi的NUD检测机制浅析]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/121888973</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/121888973</guid><author>csdn_of_coder</author><pubDate>Mon, 13 Dec 2021 09:45:00 +0800</pubDate><description><![CDATA[Android -- WiFi的NUD()Neighbor Unreachable Detection,邻居不可达检测检测机制浅析]]></description><category></category></item><item><title><![CDATA[Android -- Bootanimation是如何触发退出的]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/116170478</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/116170478</guid><author>csdn_of_coder</author><pubDate>Mon, 26 Apr 2021 20:50:55 +0800</pubDate><description><![CDATA[目录

Android -- Bootanimation是如何触发退出的

                         Android -- Bootanimation是如何触发退出的



ActivityManagerService启动的末尾阶段，会启动Launcher来作为系统的第一个App展示出来，主要调用在SystemServer中调用ActivityManagerService::systemReady()：



    public ...]]></description><category></category></item><item><title><![CDATA[Android -- AdapterService之蓝牙启动过程分析]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/104169113</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/104169113</guid><author>csdn_of_coder</author><pubDate>Sat, 22 Feb 2020 23:50:39 +0800</pubDate><description><![CDATA[Android -- AdapterService启动过程分析



前面介绍BluetoothManagerService启动过程enable BT的部分提到，处理ENABLE msg的最终调用主要是call到AdapterService注册IBluetoothCallback回调监听蓝牙使能状态、以及AdapterService::enable()接口开启...]]></description><category></category></item><item><title><![CDATA[Android -- Airplane Mode对Bluetooth启动的影响]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/104034551</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/104034551</guid><author>csdn_of_coder</author><pubDate>Sat, 18 Jan 2020 23:23:00 +0800</pubDate><description><![CDATA[Android -- Airplane Mode对Bluetooth启动的影响



在Android/IOS系统的手机上，在某些场景下可能会用到Airplane模式；开启这个功能后，它会关闭Wifi/BT功能等无线功能。这里记录下在Android系统上，飞行模式是如何影响开关蓝牙的。

在Android手机等设备上，点击状态栏上的飞行模式按钮时，会作用到Sy...]]></description><category></category></item><item><title><![CDATA[Android -- Bluetooth framework启动过程简析]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/103965577</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/103965577</guid><author>csdn_of_coder</author><pubDate>Tue, 14 Jan 2020 23:40:40 +0800</pubDate><description><![CDATA[Android -- Bluetooth framework启动过程简析



 蓝牙是Android设备中非常常见的一个feature，设备厂家可以用BT来做RC、连接音箱、设备本身做Sink等常见功能。如果一些设备不需要BT功能，Android也可以通过配置来disable此模块，方便厂家为自己的设备做客制化。APP操作设备的蓝牙功能，一...]]></description><category></category></item><item><title><![CDATA[Git——Git基本概念进阶介绍（四）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/81837522</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/81837522</guid><author>csdn_of_coder</author><pubDate>Sun, 19 Aug 2018 15:21:44 +0800</pubDate><description><![CDATA[Git——Git基本概念进阶介绍（四）



我们在上一篇文章中已经介绍了Git的一个典型应用，但我们忽略了其中的某些问题与Git的内部机制。下面就在介绍一些Git实现中的基本概念，它主要来自于《Git版本控制管理》第四章节。意料之中的，掌握典型使用总是比掌握设计原理简单的多~~~

1.版本库

Git版本库（repository）只是一个简单的数据库，其中包含所有用来维护与管理项目的修订版本...]]></description><category></category></item><item><title><![CDATA[Git——常用基本操作（三）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/81586916</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/81586916</guid><author>csdn_of_coder</author><pubDate>Sat, 11 Aug 2018 17:12:41 +0800</pubDate><description><![CDATA[Git——常用基本操作



获取仓库

Git有两种方式可以获取Git仓库（repository）：1.在本地现有目录或项目下将文件加入到Git中；2.从服务器上克隆一个已存在的Git仓库。

1.如果你想将一个本地目录或项目使用Git进行管理，需要在该根目录下使用如下命令：


git init

这条命令会生成一个名为.git的子目录；它包含了我们初始化的Git仓库中所有的必须文件，这些文...]]></description><category></category></item><item><title><![CDATA[Git——使用初次配置（二）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/81433205</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/81433205</guid><author>csdn_of_coder</author><pubDate>Sun, 05 Aug 2018 17:56:07 +0800</pubDate><description><![CDATA[Git——初配置

Git安装成功之后，我们还需要做一些配置，才能使用Git。这些配置只需要配置一次，程序升级时会保留配置信息；当然，我们也可以随时修改这些配置。

Git自带了一个Git config工具来帮助我们对Git进行配置。安装完Git之后，我们首先要做的第一件事是配置我们的用户名称和邮件地址。这很重要，因为Git的每一次提交都会使用这些信息，并会写入到你每一次的提价中（不可更改）。

...]]></description><category></category></item><item><title><![CDATA[Git —— Git基础介绍（一）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/81415709</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/81415709</guid><author>csdn_of_coder</author><pubDate>Sat, 04 Aug 2018 22:14:51 +0800</pubDate><description><![CDATA[Git —— Git基础介绍



由于工作变动，新公司使用了Git做的代码、项目版本控制（之前是SVN）。在平时自己的学习过程中，虽然也常常使用Git，但总是局限于一些简单的提交操作，对Git本身的一些设计原理、和其他常用的高级特性了解的不多，从而经常导致自己对Git有很多误解和误操作。最近在https://git-scm.com/book/zh/v2查看了一些有关Git的资料，打算较为系统的...]]></description><category></category></item><item><title><![CDATA[Algorithm——红黑树（十五）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80601734</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80601734</guid><author>csdn_of_coder</author><pubDate>Tue, 12 Jun 2018 22:47:03 +0800</pubDate><description><![CDATA[Algorithm——红黑树《算法导论》介绍了红黑树这种重要的数据结构。红黑树是一颗二叉搜索树，它在每个节点上增加了一个存储位来表示节点的颜色（RED or BLACK）。通过对任何一条从根到叶子节点的简单路径上各个节点的颜色进行约束，红黑树确保没有一条路径会比其他路径长出2倍，因而是近似平衡的。根据《导论》中的介绍，红黑树中的节点对象相比之前二叉搜索树中的节点对象多了一个表示颜色属性的color...]]></description><category></category></item><item><title><![CDATA[Algorithm——二叉搜索树（十四）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80472159</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80472159</guid><author>csdn_of_coder</author><pubDate>Sun, 27 May 2018 22:22:49 +0800</pubDate><description><![CDATA[Algorithm——二叉搜索树《算法导论》介绍了二叉搜索树的基本实现。二叉搜索树是一种常见的数据结构，它的定义是：“二叉查找树（Binary Search Tree），（又：二叉搜索树，二叉排序树）它或者是一棵空树，或者是具有下列性质的二叉树： 若它的左子树不空，则左子树上所有结点的值均小于它的根结点的值； 若它的右子树不空，则右子树上所有结点的值均大于它的根结点的值； 它的左、右子树也分别为二...]]></description><category></category></item><item><title><![CDATA[Algorithm——简单数据结构之队列和链表（十三）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80303733</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80303733</guid><author>csdn_of_coder</author><pubDate>Sun, 13 May 2018 22:34:11 +0800</pubDate><description><![CDATA[Algorithm——简单数据结构之队列和链表队列是一种先进先出策略，而链表中的各元素按线性顺序排列。数组的线性顺序是由数组的下标决定的，但链表的顺序是由各个对象里的指针决定的。队列有入队和出队操作，链表则有插入、删除、查询表中节点的操作。队列和双向链表的一种简单Java实现代码如下：/**
 * 
 * 队列是一种先进先出策略,有入队和出队操作
 * 
 * 通过数组实现的简单队列
 * 
 *...]]></description><category></category></item><item><title><![CDATA[Algorithm——简单数据结构之栈（十二）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80274647</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80274647</guid><author>csdn_of_coder</author><pubDate>Thu, 10 May 2018 22:27:11 +0800</pubDate><description><![CDATA[Algorithm——简单数据结构之栈栈（stack）又名堆栈，它是一种运算受限的线性表。其限制是仅允许在表的一端进行插入和删除运算。这一端被称为栈顶，相对地，把另一端称为栈底。向一个栈插入新元素又称作进栈、入栈或压栈，它是把新元素放到栈顶元素的上面，使之成为新的栈顶元素；从一个栈删除元素又称作出栈或退栈，它是把栈顶元素删除掉，使其相邻的元素成为新的栈顶元素。由此可知，栈实现的是一种后进先出的策略...]]></description><category></category></item><item><title><![CDATA[Algorithm——一般数组元素选择问题（十一）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80173154</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80173154</guid><author>csdn_of_coder</author><pubDate>Wed, 02 May 2018 22:42:31 +0800</pubDate><description><![CDATA[Algorithm——一般数组元素选择问题


《算法导论》中引出了一个一般性的数组元素选择问题：即在一个元素各异的数组A中，选择其中第i小的元素（即如果i=1,则表明选择最小的那个元素）。
该算法的伪代码如下，它使用了之前介绍快速排序中的随机子数组划分方法：
RANDOMIZED-SELECT(A, p, r, i)
    if p == r
        return A [p]]]></description><category></category></item><item><title><![CDATA[Algorithm——快速排序（十）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80156710</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80156710</guid><author>csdn_of_coder</author><pubDate>Tue, 01 May 2018 22:09:12 +0800</pubDate><description><![CDATA[Algorithm——快速排序



对于包含n个数的输入数组来说，快速排序是一种最坏情况实际复杂度为O(n^2)的排序算法。虽然最坏情况时间复杂度很差，但是快速排序通常是实际排序应用中最好的选择，因为它的平均性能非常好：它的期望时间复杂度是O(nlgn)。
（原址排序：在排序算法中，如果输入数组中仅有常数个元素需要在排序过程中存储在数组之外，则称排序算法是原址的）

与归并排序一样]]></description><category></category></item><item><title><![CDATA[Algorithm——优先队列（九）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80154143</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80154143</guid><author>csdn_of_coder</author><pubDate>Tue, 01 May 2018 11:43:16 +0800</pubDate><description><![CDATA[Algorithm——优先队列


堆除了可以实现前面所述的堆排序算法，还可以用来实现优先队列。优先队列是一种用来维护一组元素构成的集合S的数据结构，其中每一个元素都有一个相关的值，称为“关键字”。一个最大优先队列支持以下操作：

INSERT(S, x)：把元素x插入集合S中MAXIMUM(S)：返回S中具有最大关键字的元素EXTRACT-MAX(S)：去掉并返回S中具有最大关键字的元]]></description><category></category></item><item><title><![CDATA[Algorithm——堆排序算法（八）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80100664</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80100664</guid><author>csdn_of_coder</author><pubDate>Tue, 01 May 2018 09:33:31 +0800</pubDate><description><![CDATA[Algorithm——堆排序算法在分析堆排序之前，我们先来回顾一些基本概念：在计算机科学中，二叉树是每个节点最多有两个子树的树结构。通常子树被称作“左子树”（left subtree）和“右子树”（right subtree）。二叉树常被用于实现二叉查找树和二叉堆。而完全二叉树：叶节点只能出现在最下层和次下层，并且最下面一层的结点都集中在该层最左边的若干位置的二叉树（即叶子结点都是从左到右依次排布...]]></description><category></category></item><item><title><![CDATA[Algorithm ——数组打乱算法（七）]]></title><link>https://blog.csdn.net/csdn_of_coder/article/details/80087013</link><guid>https://blog.csdn.net/csdn_of_coder/article/details/80087013</guid><author>csdn_of_coder</author><pubDate>Wed, 25 Apr 2018 22:44:18 +0800</pubDate><description><![CDATA[Algorithm ——数组打乱算法


   

Fisher–Yates shuffle 算法是一个非常高效又公平的随机排序算法，它的时间复杂度为O(n)。它的实现伪代码大致是：
n = A.length;
for i = 1 to n
    swap A[i] with A[RANDOM(i, n)]
在进行第i次迭代时,元素A[i]时从元素A[i]到A[n]中随机选取的。第i]]></description><category></category></item></channel></rss>