Lines Matching defs:SensorService
50 #include "SensorService.h"
64 const char* SensorService::WAKE_LOCK_NAME = "SensorService";
66 SensorService::SensorService()
71 void SensorService::onFirstRef()
166 run("SensorService", PRIORITY_URGENT_DISPLAY);
172 Sensor SensorService::registerSensor(SensorInterface* s)
188 Sensor SensorService::registerVirtualSensor(SensorInterface* s)
195 SensorService::~SensorService()
203 status_t SensorService::dump(int fd, const Vector<String16>& args)
297 void SensorService::cleanupAutoDisabledSensor(const sp<SensorEventConnection>& connection,
316 bool SensorService::threadLoop()
423 ALOGW("Exiting SensorService::threadLoop => aborting...");
428 void SensorService::recordLastValue(
445 void SensorService::sortEventBuffer(sensors_event_t* buffer, size_t count)
457 SortedVector< wp<SensorService::SensorEventConnection> >
458 SensorService::getActiveConnections() const
465 SensorService::getActiveVirtualSensors() const
471 String8 SensorService::getSensorName(int handle) const {
483 Vector<Sensor> SensorService::getSensorList()
493 sp<ISensorEventConnection> SensorService::createSensorEventConnection()
500 void SensorService::cleanupConnection(SensorEventConnection* c)
536 status_t SensorService::enable(const sp<SensorEventConnection>& connection,
614 status_t SensorService::disable(const sp<SensorEventConnection>& connection,
629 status_t SensorService::cleanupWithoutDisable(
635 status_t SensorService::cleanupWithoutDisableLocked(
657 status_t SensorService::setEventRate(const sp<SensorEventConnection>& connection,
678 status_t SensorService::flushSensor(const sp<SensorEventConnection>& connection,
693 SensorService::SensorRecord::SensorRecord(
699 bool SensorService::SensorRecord::addConnection(
709 bool SensorService::SensorRecord::removeConnection(
721 SensorService::SensorEventConnection::SensorEventConnection(
722 const sp<SensorService>& service, uid_t uid)
734 SensorService::SensorEventConnection::~SensorEventConnection()
740 void SensorService::SensorEventConnection::onFirstRef()
744 void SensorService::SensorEventConnection::dump(String8& result) {
756 bool SensorService::SensorEventConnection::addSensor(int32_t handle) {
765 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) {
773 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const {
778 bool SensorService::SensorEventConnection::hasAnySensor() const {
783 void SensorService::SensorEventConnection::setFirstFlushPending(int32_t handle,
793 status_t SensorService::SensorEventConnection::sendEvents(
876 void SensorService::SensorEventConnection::countFlushCompleteEventsLocked(
892 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const
897 status_t SensorService::SensorEventConnection::enableDisable(
911 status_t SensorService::SensorEventConnection::setEventRate(
917 status_t SensorService::SensorEventConnection::flush() {