Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3056558
  • 博文数量: 396
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4209
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-04 13:04
文章分类

全部博文(396)

文章存档

2022年(1)

2021年(2)

2020年(8)

2019年(24)

2018年(135)

2017年(158)

2016年(68)

我的朋友

发布时间:2022-02-25 08:58:37

转发 ......【阅读全文】

阅读(389) | 评论(0) | 转发(0)

发布时间:2021-08-24 13:18:11

通过如下方法dump camera service信息到dump.txt:adb shell dumpsys media.camera > dump.txt 1. 查看相机支持的preview size和picture size在dump结果中,搜索android.scaler.availableStreamConfigurations,出来的结果列表形式如下:    [34 4032 3024 OUT.........【阅读全文】

阅读(2298) | 评论(0) | 转发(0)

发布时间:2021-05-19 13:35:58

camera HAL层数据结构非常多,看代码的时候常常为了了解这些数据结构找半天,为了方便大家学习,特地总结了一些数据结构以及这些数据结构的位置: 1.hardware/libhardware/include/hardware/camera_common.h: 1.1 camera_info_t : camera_infotypedef struct camera_info {.........【阅读全文】

阅读(15556) | 评论(0) | 转发(0)

发布时间:2020-11-14 11:15:02

上幅图来至:Linux Security Module Framework一文,很清晰的描述了LSM的逻辑,从用户空间到系统调用再到selinux模块接口。 \linux-4.5-rc1\security 11)selinux文件节点的创建:static struct tree_descr selinux_files[] = {[SEL_LOAD] = {"load", &sel_load_ops, S_IRUSR|S_IWUSR},[SEL_E.........【阅读全文】

阅读(2403) | 评论(0) | 转发(0)

发布时间:2020-09-30 14:04:30

#include <cutils/memory.h>#include <unistd.h>#include <utils/Log.h>#include <binder/IPCThreadState.h>#include <binder/ProcessState.h>#include <binder/IServiceManager.h>.........【阅读全文】

阅读(2569) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册