Home
last modified time | relevance | path

Searched refs:addSensor (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/sensorservice/
DBatteryService.cpp41 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor() function in android::BatteryService
65 if (addSensor(uid, handle)) { in enableSensorImpl()
DBatteryService.h50 bool addSensor(uid_t uid, int handle);
DSensorService.h241 bool addSensor(int32_t handle);
DSensorService.cpp891 if (connection->addSensor(handle)) { in enable()
1413 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor() function in android::SensorService::SensorEventConnection
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java130 if (!queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs)) { in registerListenerImpl()
137 return queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs); in registerListenerImpl()
183 if (!queue.addSensor(sensor, 0, 0)) { in requestTriggerSensorImpl()
190 return queue.addSensor(sensor, 0, 0); in requestTriggerSensorImpl()
321 public boolean addSensor( in addSensor() method in SystemSensorManager.BaseEventQueue