Searched refs:addSensor (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | BatteryService.cpp | 41 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor() function in android::BatteryService 65 if (addSensor(uid, handle)) { in enableSensorImpl()
|
D | BatteryService.h | 50 bool addSensor(uid_t uid, int handle);
|
D | SensorService.h | 241 bool addSensor(int32_t handle);
|
D | SensorService.cpp | 891 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/ |
D | SystemSensorManager.java | 130 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
|