Home
last modified time | relevance | path

Searched refs:addSensor (Results 1 – 6 of 6) 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);
DSensorEventConnection.h59 bool addSensor(int32_t handle);
DSensorEventConnection.cpp90 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor() function in android::SensorService::SensorEventConnection
DSensorService.cpp1043 if (connection->addSensor(handle)) { in enable()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java159 if (!queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs)) { in registerListenerImpl()
166 return queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs); in registerListenerImpl()
212 if (!queue.addSensor(sensor, 0, 0)) { in requestTriggerSensorImpl()
219 return queue.addSensor(sensor, 0, 0); in requestTriggerSensorImpl()
529 public boolean addSensor( in addSensor() method in SystemSensorManager.BaseEventQueue