Keyguard
来源:互联网 发布:医疗网络咨询培训 编辑:程序博客网 时间:2024/05/22 06:38
frameworks\base\core\java\com\android\internal\policy\IKeyguardService.aidl
frameworks\base\core\java\com\android\internal\policy\IKeyguardDrawnCallback.aidl
oneway interface IKeyguardDrawnCallback { void onDrawn();}
frameworks\base\packages\SystemUI\src\com\android\systemui\keyguard\KeyguardViewMediator.java
* Mediates requests related to the keyguard. This includes queries about the* state of the keyguard, power management events that effect whether the keyguard* should be shown or reset, callbacks to the phone window manager to notify* it of when the keyguard is showing, and events from the keyguard view itself* stating that the keyguard was succesfully unlocked.
.....
frameworks\base\packages\Keyguard\src\com\android\keyguard\KeyguardUpdateMonitorCallback.java
/** * Callback for general information relevant to lock screen. */public class KeyguardUpdateMonitorCallback {
frameworks\base\packages\SystemUI\src\com\android\systemui\keyguard\KeyguardService.java
public class KeyguardService extends Service { static final String TAG = "KeyguardService"; static final String PERMISSION = android.Manifest.permission.CONTROL_KEYGUARD; private KeyguardViewMediator mKeyguardViewMediator;
private final IKeyguardService.Stub mBinder = new IKeyguardService.Stub() {}
private IKeyguardDrawnCallback mDrawnCallback;private boolean mIsPerUserLock;KeyguardUpdateMonitorCallback mUpdateCallback = new KeyguardUpdateMonitorCallback() {
/** * Used to keep the device awake while to ensure the keyguard finishes opening before * we sleep. */private PowerManager.WakeLock mShowKeyguardWakeLock;private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager;
KeyguardService 实现了IKeyguardService 客户端接口,其实是通过 mKeyguardViewMediator 对应接口实现的。frameworks\base\packages\SystemUI\AndroidManifest.xml<service android:name=".keyguard.KeyguardService" android:exported="true" android:enabled="@bool/config_enableKeyguardService" />frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\StatusBarKeyguardViewManager.java
/** * Manages creating, showing, hiding and resetting the keyguard within the status bar. Calls back * via {@link ViewMediatorCallback} to poke the wake lock and report that the keyguard is done, * which is in turn, reported to this class by the current * {@link com.android.keyguard.KeyguardViewBase}. */public class StatusBarKeyguardViewManager implements RemoteInputController.Callback {
阅读全文
0 0
- keyguard
- Keyguard
- 键盘守卫(keyguard) 下载
- android的KeyGuard
- Android JellyBean Keyguard锁屏
- android Keyguard分析
- 4.2 Keyguard 流程分析
- Android4.4之Keyguard
- Andorid SystemUI, StatusBar, Keyguard
- Keyguard之LockPatternView学习
- android4.2 keyguard流程
- Keyguard 透视效果
- Android 4.4 keyguard类图
- Android 5.1 Keyguard初识
- Android JellyBean Keyguard锁屏
- Keyguard显示流程介绍
- Keyguard 和 SystemUI
- android keyguard uml
- 分享一个下拉刷新的开源框架
- DB2命令
- tomcat的server.xml文件的connect标签作用
- Linux 常用命令之alias
- 前端实现伪分页
- Keyguard
- 2.3 Thread Communication -- Android Message Passing
- CodesForces 831C Round #424 Div2C:Set乱搞
- [转]oracle中exp,imp的使用详解
- Canvas drawImage 宽度和高度失效
- Echarts3 主题设置
- Linux使用nfs映射远程服务器磁盘目录
- Python目录下中没有Script文件夹
- cos中的文件结构(DF/EF/MF/FID/AID/SFI..)