- 博客(20)
- 收藏
- 关注
原创 ODM和OEM
ODM(原始设计制造商)主设计,OEM(原始设备制造商)主制造。 例如,闻泰是ODM, 华为是OEM,闻泰提供设计给华为,华为按照设计去生产手机。 https://www.sohu.com/a/150372580_392936
2021-08-13 15:00:01
1074
原创 Telephony模块中的Log使用
一、Android原生android.util.Log类 Android原生的Log类是http://androidxref.com/9.0.0_r3/xref/frameworks/base/core/java/android/util/Log.java#144 最终会调用native方法,传递的参数有:bufID(对应不同的MAIN/RADIO/EVENTS/SYSTEM/CRASH buffer), priority(VERBOSE < DEBUG < INFO < WARN &
2021-01-04 22:43:57
740
原创 adb调试命令
adb shell dumpsys 打印系统信息 adb shell dumpsys activity activities adb shell dumpsys activity activities | sed -En -e '/Running activities/,/Run #0/p' adb shell dumpsys activity | grep -i run adb sh...
2020-03-29 16:38:34
533
原创 android studio gradle异常处理
知识点和问题解决 1. Gradle插件和Gradle的区别 Gradle是开源的自动化构建工具,而Gradle插件是google开发的在Android Studio中使用Gradle的插件。 build.gradle(Project: My Application) gradle插件 buildscript { repositories { google() ...
2020-03-24 13:53:52
640
原创 [Tele]APN
https://blog.csdn.net/lyl0530/article/details/81086961 https://blog.csdn.net/qinjuning/article/details/6710003 https://blog.csdn.net/iteye_13864/article/details/82543353
2019-05-07 22:15:33
338
原创 CTS问题集锦
Case1 fail log 10-17 14:45:54 I/ConsoleReporter: [2/4 arm64-v8a CtsVideoTestCases c6cf96f4] android.video.cts.VideoEncoderDecoderTest#testHevcOther0Qual3840x2160 fail: junit.framework.AssertionFail...
2019-04-25 15:33:44
624
1
原创 【Android】ANR
分析模板 /home/ts/WORK/Projects/Razer/Tasks/Bugs/第32周/50/log分析.patch
2019-02-21 10:55:29
132
原创 Camera源码解析
1.常用来创建CaptureRequest的方法 final CaptureRequest.Builder captureBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); captureBuilder.addTarget(mCa...
2019-01-30 10:44:25
749
原创 【Camera】Face Identification
References 一、Matrix Android 自定义View学习(八)——Matrix知识学习 Android Matrix图像变换处理 二、坐标系 【立体视觉】世界坐标系、相机坐标系、图像坐标系、像素坐标系之间的关系 仔细看,不要浮躁,原来没有那么难!! 所谓的像素坐标系:就是我们Android里绘制View常用的坐标系,圆点O在左上角; 而图像坐标系...
2018-12-28 10:09:31
283
原创 【Android】Matrix
Translate——平移变换 preTranslate setTranslate x = x1 + x0 y = y1 + y0 postTranslate Rotate——旋转变换 preRotate setRotate x = cosβ * x0- sinβ * y0 y = sinβ * x0 + cosβ * y0 postRotate ...
2018-12-25 10:47:58
153
原创 【Android】线程
1.背景 processor处理器 task任务 Concurrency并发 one task in your program If one task in your program is unable to continue because some condition outside of the control of the program Block阻塞 The other t...
2018-12-04 19:04:12
259
原创 Camera API比较
API1 Camera Parameters CameraInfo API2 主要类 CameraManager CameraDevice CameraCharacteristics CameraCaptureSession CaptureRequest CaptureResult 补充 CameraDevice里说明:API的选择和当前device的等...
2018-11-28 19:04:17
689
原创 使用Android Studio导入源码
步骤 1.全局编译源码,生成out等文件,编译idegen模块 mmm development/tools/idegen/ 检查:是否生成idegen.jar文件,编译成功显示“make completed successfully” 2.编译脚本 development/tools/idegen/idegen.sh 检查:是否在根目录生成对应的android.ipr、androi...
2018-10-12 13:48:53
521
转载 自定义View和Animator
https://github.com/codepath/android-custom-view-demos/blob/master/README.md http://www.vogella.com/tutorials/AndroidCustomViews/article.html https://github.com/codepath/android_guides/wiki/Basic-Pai...
2018-09-20 14:34:57
191
原创 crash
出现crash,我们首先找到crash log(源于system log) 通过filter key——“类似AndroidRuntime: Process: com.android.settings”可以快速定位。 通常,crash的原因有很多,包括error/exception(属于uncheckd Throwable),如图: Error 1.ArrayIndexOutOf...
2018-09-20 11:37:32
587
原创 Git常见问题
Git常见问题 1.1 Conflicts 情形一:repo sync后从服务器上cherry-pick某笔提交出现conflict如何解决冲突? From ssh://g3.razerzone.com:29418/platform/packages/apps/Settings * branch refs/changes/38/15038/1 -> FETCH_...
2018-09-20 11:36:50
854
原创 x86,x86_64,ARM是什么?
http://in.ali213.net/news/201603/1057.html 它们都是处理器CPU. 处理器(CPU) x86 x86_64 ARM 位数 32 64 性能(速度/功耗) 常用设备 台式机 台式机 手机 ...
2018-09-20 11:36:02
6455
原创 git理解
1. git的安装和配置 1.1 安装git apt-get install git 1.2 配置git 1.适用的配置分为所有用户和该用户。 /etc/gitconfig 文件——针对所有用户的配置 ~/.gitconfig 文件——针对该用户的配置 2.配置内容:用户信息、文本编辑器、差异分析工具等等。 3.查看配置信息 git config --list ...
2018-09-20 11:34:57
236
转载 使用FileProvider解决file:// URI引起的FileUriExposedException
References http://gelitenight.github.io/android/2017/01/29/solve-FileUriExposedException-caused-by-file-uri-with-FileProvider.html#section-1 https://developer.android.com/about/versions/nougat...
2018-09-20 11:33:08
225
原创 Comparator
/** * Data items are compared to the same mimetype based off of three qualities: * 1. Super primary * 2. Primary * 3. Times used */ private final Comparator<DataIt...
2018-09-07 18:50:09
618
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅