上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 39 下一页
摘要: frameworks/av/services/mediacodec/main_codecservice.cpp omxall.cpp registerAsService() --> servicemanagerall.cpp BpHwServiceManager::_hidl_add() 关键是上面 阅读全文
posted @ 2019-09-20 17:40 aspirs 阅读(1152) 评论(0) 推荐(1)
摘要: system/libhidl/transport/ServiceManagement.cpp out\soong\.intermediates\system\libhidl\transport\manager\1.0\android.hidl.manager@1.0_genc++\gen\andro 阅读全文
posted @ 2019-09-19 12:46 aspirs 阅读(1000) 评论(0) 推荐(1)
摘要: 1. adb shell kill -9 pid_of_app AMS定义了AppDeathRecipient APP 在 attachApplication -> attachApplicationLockedAMS里会注册 App 进程的 BinderDeath通知 当App进程被杀了后bind 阅读全文
posted @ 2019-09-16 21:06 aspirs 阅读(1337) 评论(0) 推荐(0)
摘要: android9.0 framewrok.jar push到system/framework不起作用,解决方式: adb push out/target/product/xxx/system/framework/boot-framework.vdex /system/framework/ adb p 阅读全文
posted @ 2019-09-16 11:05 aspirs 阅读(1449) 评论(0) 推荐(0)
摘要: add system services 1. add ACTIVITY_SERVICE frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java 2. add TV_INPUT_SERVI 阅读全文
posted @ 2019-09-13 19:18 aspirs 阅读(339) 评论(0) 推荐(0)
摘要: java layer调用native层的android_media_AudioTrack_get_min_buff_size()确定audio track buffer的min size,再根据这个size创建AudioTrack 阅读全文
posted @ 2019-09-07 17:32 aspirs 阅读(546) 评论(0) 推荐(0)
摘要: from: http://blog.chinaunix.net/uid-28414100-id-5753227.html 内核源码中#ifndef _ARM_ERRNO_H#define _ARM_ERRNO_H#define EPERM 1 /* Operation not permitted * 阅读全文
posted @ 2019-09-07 13:14 aspirs 阅读(389) 评论(0) 推荐(0)
摘要: java static final泛型类对象 运行结果: tc.t: 101 tc.t: 102 tc.t: 103 阅读全文
posted @ 2019-09-02 15:08 aspirs 阅读(580) 评论(0) 推荐(0)
摘要: from: https://www.cnblogs.com/kex1n/p/8296623.html 1. sigprocmask函数提供屏蔽和解除屏蔽信号的功能。 从而实现关键代码的运行不被打断。 函数声明如下: int sigprocmask(int how, const sigset_t *s 阅读全文
posted @ 2019-08-25 19:22 aspirs 阅读(299) 评论(0) 推荐(0)
摘要: from: https://www.cnblogs.com/subo_peng/p/5325326.html 【摘要】本文分析了Linux内核对于信号的实现机制和应用层 的相关处理。首先介绍了软中断信号的本质及信号的两种不同分类方法尤其是不可靠信号的原理。接着分析了内核对于信号的处理流程包括信号的触 阅读全文
posted @ 2019-08-25 15:48 aspirs 阅读(457) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 39 下一页