Home | History | Annotate | Download | only in sensorservice

Lines Matching refs:SensorDevice

16 #include "SensorDevice.h"
37 ANDROID_SINGLETON_STATIC_INSTANCE(SensorDevice)
54 SensorDevice::SensorDevice()
89 bool SensorDevice::connectHidlService() {
90 // SensorDevice will wait for HAL service to start if HAL is declared in device manifest.
117 void SensorDevice::handleDynamicSensorConnection(int handle, bool connected) {
128 std::string SensorDevice::dump() const {
163 ssize_t SensorDevice::getSensorList(sensor_t const** list) {
169 status_t SensorDevice::initCheck() const {
173 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) {
219 void SensorDevice::autoDisable(void *ident, int handle) {
230 status_t SensorDevice::activate(void* ident, int handle, int enabled) {
245 "SensorDevice::activate: ident=%p, handle=0x%08x, enabled=%d, count=%zu",
252 ALOGE("SensorDevice::activate, isClientDisabledLocked(%p):true, handle:%d",
316 status_t SensorDevice::batch(
332 "SensorDevice::batch: ident=%p, handle=0x%08x, flags=%d, period_ns=%" PRId64 " timeout=%" PRId64,
379 status_t SensorDevice::setDelay(void* ident, int handle, int64_t samplingPeriodNs) {
383 int SensorDevice::getHalDeviceVersion() const {
388 status_t SensorDevice::flush(void* ident, int handle) {
395 bool SensorDevice::isClientDisabled(void* ident) {
400 bool SensorDevice::isClientDisabledLocked(void* ident) {
404 void SensorDevice::enableAllSensors() {
431 void SensorDevice::disableAllSensors() {
453 status_t SensorDevice::injectSensorData(
470 status_t SensorDevice::setMode(uint32_t mode) {
477 int32_t SensorDevice::registerDirectChannel(const sensors_direct_mem_t* memory) {
518 void SensorDevice::unregisterDirectChannel(int32_t channelHandle) {
524 int32_t SensorDevice::configureDirectChannel(int32_t sensorHandle,
566 int SensorDevice::Info::numActiveClients() {
567 SensorDevice& device(SensorDevice::getInstance());
577 status_t SensorDevice::Info::setBatchParamsForIdent(void* ident, int,
593 void SensorDevice::Info::selectBatchParams() {
595 SensorDevice& device(SensorDevice::getInstance());
610 ssize_t SensorDevice::Info::removeBatchParamsForIdent(void* ident) {
618 void SensorDevice::notifyConnectionDestroyed(void* ident) {
623 bool SensorDevice::isDirectReportSupported() const {
627 void SensorDevice::convertToSensorEvent(
650 void SensorDevice::convertToSensorEvents(
674 void SensorDevice::handleHidlDeath(const std::string & detail) {