自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Change The World

Change The World

  • 博客(157)
  • 资源 (1)
  • 收藏
  • 关注

原创 Develop All In One

crashcrash All In One

2020-05-14 12:23:28 176

原创 Multimedia All in One

Android 10 CameraAndroidd DocsOverview

2020-04-16 12:12:34 170

原创 ARM64百文学习--002--C语言和ARM汇编程序相互调用

C语言和ARM汇编程序相互调用

2022-07-20 07:51:26 502 1

原创 ARM64百文学习-004-树莓派4B烧写HuluOS

HuluOS 烧写到树莓派4B开发板

2022-07-19 07:32:04 202

原创 ARM64百文学习-003-HuluOS制作-TBD

HuluOS 初始版本

2022-07-19 07:22:48 178

原创 ARM64百文学习-001-开发环境搭建

树莓派4B系统烧录和开机串口打印登录

2022-07-15 01:00:35 297

原创 2022上行部落的学习和实践总结

2022蚂蚁私塾上行部落半年总结

2022-06-30 20:57:36 2766

原创 C++ 多态

系列文章目录 提示:这里可以添加系列文章的所有文章的目录,目录需要自己手动添加例如:第一章 Python 机器学习入门之pandas的使用提示:写完文章后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录系列文章目录前言一、多态的引入二、多态的限制二、使用步骤1.引入库2.读入数据总结前言提示:这里可以添加本文要记录的大概内容:例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。提示:以下是本篇文章正文内容,下面

2022-04-17 12:58:05 104

原创 Git 常用操作与使用场景(长期更新)

此文用来记录工作学习中常用的git操作,以及对应操作使用的场景,命令的详细说明参考 Git - Documentationgit remote show <remote>查看某个远程仓库的信息,例如仓库是否有新的提交。常用命令:git remote show origin查看origin分支是否有新的提交。决定是否要将本地仓库同步到远程仓库的状态。...

2021-04-11 14:34:28 102

原创 Windows10 WSL git error: Host key verification failed. fatal: Could not read from remote repository.

情景github上面建了个测试仓库,想在Windows10 WSL(windows subsystem linux,我安装的是ubuntu20)执行 git push -u origin master,将本地仓库与github仓库关联,操作失败。报错The authenticity of host 'github.com (192.30.255.113)' can't be established.RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGO

2020-12-06 22:29:18 757

原创 我的读书历程

【非计算机】【计算机】Operating SystemModern Operating System 4th editionOperating Systems: Three Easy Pieces

2020-09-05 12:51:29 131

原创 C++: 智能指针 sp 之 Android强弱指针的实现与使用

回顾下前面提到的Android 轻量级智能指针 LightRefBase:class Person : public LightRefBase<Person>{}sp<Person>{.Person *mptr;sp(){incStrong;}~sp(){decStrong;}}类比,强弱指针可能会有如下统一实现:class RefBase{private: int mStrong; int mWeak;Public: voi

2020-08-02 23:51:57 715

原创 C++:抽象类

test

2020-07-31 23:39:54 1016

原创 C++: 构造函数

test

2020-07-31 23:33:31 108

原创 C++: 智能指针 sp 之 Android弱指针的引入

test

2020-07-31 23:30:03 378

原创 C++: 智能指针 sp 之 Android轻量级智能指针

testtest

2020-07-31 23:28:31 610

原创 C++:智能指针 sp 之手动实现智能指针

自己实现智能指针指针导致的内存泄漏#include <iostream>#include <string.h>#include <unistd.h>using namespace std;class Person {public: Person() { cout <<"Pserson()"<<endl; } ~Person() { cout <<

2020-07-31 08:29:12 1403

原创 C++: 类型转换

###【C】隐式类型转换double d = 10.1;int i = d; // double 转为 intchar *str = "hello world";int *p = str; // char * 转为 int *隐式类型转换在编译阶段完成,经常会有各种警告(编译器不一定能够猜测出我们的真实意图)。隐式类型转换存在风险。比如,double被转为int,存在数据精度的丢失(10.1变成了10);指针类型的转换前后同一个指针所能访问的范围是不一样的,比如char *一次

2020-07-30 01:43:28 174

原创 C++ :Polymorphism 多态

什么是多态?基类**方法用virtual关键词修饰(虚函数)**,基类对象和子类对象对该方法使用相同的调用方式会分别调用各自类里面实现的函数。多态的底层机制:动态联编和静态联编。静态联编:非虚函数,在编译时就确定好了调用关系。动态联编:在运行时才去确定调用关系。包含虚函数的类,其对象中存在一个指针,该指针指向一个虚函数表,调用虚函数时会通过指针找到虚函数表去调用对应的虚函数。多态的限制☆函数调用通过指针传递和引用传递时多态才会生效,值传递时不会有多态(此时才用的是静态联编,使用的是基类的方法)

2020-07-25 22:29:39 161

原创 Android Architecture All In One

HALLegacy HALsHAL TypesFramework TestingDynamic LifecycleHIDLGeneralOverviewInterfaces & PackagesInterface HashingServices & Data TransferFast Message Queue

2020-06-05 17:29:11 134

翻译 Androd Sensor -- Sensor types

转自Android sensor待进一步整理Sensor typesThis section describes sensor axes, base sensors, and composite sensors (activity, attitude, uncalibrated, and interaction).Sensor axesSensor event values from many sensors are expressed in a specific frame that is s

2020-06-03 14:28:51 517

原创 Issues:Frequency out of range: (expecting between 112.50Hz and 275.00Hz, measured 99.85Hz)

1. 分析 CTS log junit.framework.AssertionFailedError: VerifySensorOperation | sensor='SL SC7A20 3-axis Accelerometer', samplingPeriod=0us, maxReportLatency=10000000us | Frequency out of range: Requested "SL SC7A20 3-axis Accelerometer" at fastest (expecti

2020-05-17 22:14:54 871

原创 crash:dis命令

更多内容:Debug All In Onecrash_arm64> help disNAME dis - disassembleSYNOPSIS dis [-rfludxs][-b [num]] [address | symbol | (expression)] [count]DESCRIPTION This command disassembles source code instructions starting (or ending) at a text addr

2020-05-14 18:16:14 1711

原创 效率 :tools:Android tapas, croot, m, mm, mmm, mma...cgrep, ggrep, jgrep, godir

在Android源码根目录执行完 source build/envsetup.sh 命令后,在当前目录在执行hmm命令可查看到该source命令新增的一系列命令工具,这些工具可以大大提高我们在Android代码上的开发效率,强烈推荐~calm.xia@shand09[17:53:11]:~/10_automotive$ hmmRun "m help" for help with the build system itself.Invoke ". build/envsetup.sh" from yo

2020-05-14 17:59:01 557

原创 crash:ps 命令

crash_arm64> help psNAME ps - display process status informationSYNOPSIS ps [-k|-u|-G|-y policy] [-s] [-p|-c|-t|-[l|m][-C cpu]|-a|-g|-r|-S|-A] [pid | task | command] ...DESCRIPTION This command displays process status for selected, or a

2020-05-14 15:31:35 1134

原创 crash:overview

工具平台Android10代码中包含crash工具,路径和内容如下:calm.xia@shand20[12:15:30]:~/10_automotive/vendor/sprd/tools/crash$ tree -L 3.├── pycrash│ ├── bin│ │ ├── crash -> crash_arm64│ │ ├── crash_arm│ │ ├── crash_arm64│ │ ├── crash_vmm│ │ ├──

2020-05-14 12:19:27 1212

原创 crash: mod命令

说明:文章基于arm64分析,使用的工具是crash_arm64.mod 命令介绍进入crash调试窗口后,输入 help mod 即可查看mod工具的使用帮助信息。crash_arm64> help modNAME mod - module information and loading of symbols and debugging dataSYNOPSIS mod -s module [objfile] | -d module | -S [directory] [-D|

2020-05-14 11:50:54 1644

原创 mipi payload 转 frame

这几天在调试camera,sensor 出图怀疑有问题,请硬件同事用示波器抓去一些sensor端输出的数据–Payload,由于示波器抓的mipi数据保存成csv表格,pyaload数据是字符串形式16进制数据,遂写了python脚本将其转换成2进制frame bin文件,分析图像数据,话不多说,上代码:#!/usr/bin/python# -*- coding: UTF-8 -*-import os, sys, getoptimport string'''Usage: phyon3 mip

2020-05-12 23:10:03 597

原创 Ubuntu 20.04 安装 Oracle Javase-JDK

说明:本文介绍的是Oracle 版本的Java JDK的安装,关于Open JDK的安装可参考另外篇博文 Ubuntu 20.04 安装 Java OpenJDK。下载从 Oracle 官网下载 javase-jdkXXhttps://www.oracle.com/java/technologies/javase-downloads.html当前下载的是最新版本:jdk-14.0.1_linux-x64_bin.deb (2020/05/10)安装sudo dpkg -i Downl

2020-05-10 14:11:32 5648

原创 Ubuntu 20.04 安装 Java OpenJDK

Step1: 查看可用的 OpenJDK 版本apt search openjdkcalm@u20:~$ apt search openjdk...openjdk-11-jdk/focal 11.0.7+10-3ubuntu1 amd64 OpenJDK Development Kit (JDK)...openjdk-13-jdk/focal-updates 13.0.3+3-1ubuntu2 amd64 OpenJDK Development Kit (JDK)...openjdk

2020-05-10 11:37:38 12514 2

原创 Android 各版本关闭 Selinux 的方法

运行时调试开关 Selinux CmdDiscriptionOtheradb shell getenforce查看当前 Selinux 功能是 permissive(关闭)还是 enforce(打开)的adb shell setenforce 0开Selinux:设置成模式permissiveadb shell setenforce 1关Selinux:设置成模式enforce说明:setenforce 修改的状态在设备重启后会失效,需要重新执行命令重

2020-05-09 16:32:07 16732 4

原创 Editor -- Notepad++ All In One

Ctrl + D复制鼠标光标所在行并粘贴到其下一行

2020-05-09 14:07:58 266

原创 Daily mood 0427 -- There is no shortcuts for learning

There’s no shortcuts to learning.Every moments you paied will gain back some day,as well as everymoments you waste today.If you want to learn something professional,you should better read the origin...

2020-04-28 00:11:54 178

原创 Daily mood 0426 -- Basketball

Basketball is my favorite sport when i first go to high school. I love it. Here are some funny time in my life.At high school. Watching games the Hudson Rockets played,especially play-offs,the most i...

2020-04-27 00:03:18 99

原创 Input -- Android input 调试手段

adb命令模拟按键事件 KeyCode//这条命令相当于按了设备的Home键adb shell input keyevent 3//这条命令相当于按了设备的Back键adb shell input keyevent 4//可以解锁屏幕adb shell input keyevent 82//在屏幕上做划屏操作,前四个数为坐标点,后面是滑动的时间(单位毫秒)adb shell in...

2020-04-26 16:52:57 307

原创 Daily mood 0425 -- About talking and writing

I have writing a lot these years so far, like blogs, notes, emails and so on. In my opinion, if you want to be efficient, the writing should be structural which conform to the habits of mind:Theme ...

2020-04-26 00:45:40 127

原创 英语实用 短语 + 句式

Up to this point 到目前为止;到此

2020-04-25 23:56:40 237

原创 BookNotes_《CSAPP_3e》_chp07_Linking 链接

上周末到这周六,花了一周的时间看完了《CSAPP_3e》 chp07 Linking,疫情还在持续也不好出门运动,呆在家里把这周的学习做个梳理和总结。不得不说,CSAPP这本书真的是非常之经典,不光是他的内容–计算机的底层基础知识,是每个从事计算机软件工作必须修炼的内功,对于身边的人特别是刚毕业的新人我总是不遗余力的推荐;还有就是这本书的行文结构非常符合结构化思维:为什么?是什么?怎么做?。每...

2020-04-25 16:46:42 885 3

原创 Daily mood 0424 -- Look into things and make choise

Add time to everything, the long the betterOnce you add time to things, say, 5 years, 10 years, you think the maybe results that time, then it is no hard to make a decision.Eliminate noise, many ...

2020-04-25 00:10:16 154

原创 Daily mood 0423 -- a we-chat voice call from my youngest sister tonight

Tonight i received a we-chat voice call form my youngest sister, hq. HQ is a senior student yet,will graduate this summer, has meet with COVID-19 unfortunately.Nowdays, she is busy with applying for ...

2020-04-24 00:57:08 155

Python 3.7.3 文档 官方中文版

包含版本:PDF,Html,Text和Epub。 最新的官方文档,更新与2019年04月09日。

2019-04-09

空空如也

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

TA关注的人

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