Searched refs:addSensor (Results 1 – 6 of 6) 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 | SensorEventConnection.h | 59 bool addSensor(int32_t handle);
|
D | SensorEventConnection.cpp | 90 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor() function in android::SensorService::SensorEventConnection
|
D | SensorService.cpp | 1043 if (connection->addSensor(handle)) { in enable()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 159 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
|