博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Interaction
阅读量:6821 次
发布时间:2019-06-26

本文共 1485 字,大约阅读时间需要 4 分钟。

Interaction

From the perspective of Android applications, every Android sensor is an independent entity, meaning there is no interaction between the different sensors.

  • This is true even though several Android sensors might share the same underlying physical sensor
  • For example: step counter, significant motion and accelerometer, all relying on the same physical accelerometer, must be able to work concurrently
  • This is also true for wake-up and non-wake-up versions of the same sensor

Android sensors must be able to work simultaneously and independently of one another. That is, any action on one Android sensor must not impact the behavior of the other sensors.

Specifically, at the HAL level:

  • activating a sensor
  • deactivating a sensor
  • changing the sampling frequency of a sensor
  • changing the maximum reporting latency of a sensor

cannot cause:

  • another activated sensor to stop working
  • another activated sensor to change sampling rate
  • another activated sensor to decrease the quality of its measurements
  • another non-activated sensor to start delivering events

Nor can any of the actions above prevent actions (activation, deactivation, and parameter changes) on another sensor from succeeding. For instance, whether we can activate the step counter must be independent of whether the accelerometer is currently activated.

As another important example, a wake-up sensor activated at 5Hz must generate events at around 5Hz, even if its non-wake-up variant is being activated at 100Hz.

转载地址:http://thozl.baihongyu.com/

你可能感兴趣的文章
windows 2008的安装
查看>>
Unity3D研究院之手游开发中所有特殊的文件夹(assetbundle与Application.persistentDataPath)...
查看>>
[DeviceOne开发]-手势动画示例分享
查看>>
《Activiti实战》读书笔记——5.1.4
查看>>
Linux文件管理类命令
查看>>
Kuerbernetes 1.11 二进制安装
查看>>
SpringMVC异步处理之@Async(附源代码 - 单元测试通过)
查看>>
undefined reference to 'pthread_setspecific '
查看>>
MediaBrowserService 音乐播放项目--IT蓝豹
查看>>
我的友情链接
查看>>
我的友情链接
查看>>
路由器的密码恢复
查看>>
linux yum命令详解
查看>>
2015.12.7 Objective-c CoreGraphic
查看>>
春节将至,观众人归心似箭,作酸诗一首
查看>>
java 多线程暂停与恢复:suspend,resume
查看>>
Jquery 获得<input type="text" id="test">中的value
查看>>
《Android开发从零开始》——38.WebView控件学习
查看>>
Windows Server 2012 Hyper-V PK VMware 性能
查看>>
IOS 手写控件 简单播放器 AVFoundation音乐播放
查看>>