Lines Matching defs:SensorEventConnection
23 #include "SensorEventConnection.h"
30 SensorService::SensorEventConnection::SensorEventConnection(
43 SensorService::SensorEventConnection::~SensorEventConnection() {
44 ALOGD_IF(DEBUG_CONNECTIONS, "~SensorEventConnection(%p)", this);
51 void SensorService::SensorEventConnection::onFirstRef() {
55 bool SensorService::SensorEventConnection::needsWakeLock() {
60 void SensorService::SensorEventConnection::resetWakeLockRefCount() {
65 void SensorService::SensorEventConnection::dump(String8& result) {
92 bool SensorService::SensorEventConnection::addSensor(int32_t handle) {
104 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) {
112 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const {
117 bool SensorService::SensorEventConnection::hasAnySensor() const {
122 bool SensorService::SensorEventConnection::hasOneShotSensors() const {
134 String8 SensorService::SensorEventConnection::getPackageName() const {
138 void SensorService::SensorEventConnection::setFirstFlushPending(int32_t handle,
148 void SensorService::SensorEventConnection::updateLooperRegistration(const sp<Looper>& looper) {
153 void SensorService::SensorEventConnection::updateLooperRegistrationLocked(
199 void SensorService::SensorEventConnection::incrementPendingFlushCount(int32_t handle) {
208 status_t SensorService::SensorEventConnection::sendEvents(
211 wp<const SensorEventConnection> const * mapFlushEventsToConnections) {
366 void SensorService::SensorEventConnection::reAllocateCacheLocked(sensors_event_t const* scratch,
384 void SensorService::SensorEventConnection::sendPendingFlushEventsLocked() {
417 void SensorService::SensorEventConnection::writeToSocketFromCache() {
473 void SensorService::SensorEventConnection::countFlushCompleteEventsLocked(
489 int SensorService::SensorEventConnection::findWakeUpSensorEventLocked(
499 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const
504 status_t SensorService::SensorEventConnection::enableDisable(
519 status_t SensorService::SensorEventConnection::setEventRate(
525 status_t SensorService::SensorEventConnection::flush() {
529 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) {
530 // SensorEventConnection does not support configureChannel, parameters not used
536 int SensorService::SensorEventConnection::handleEvent(int fd, int events, void* /*data*/) {
619 int SensorService::SensorEventConnection::computeMaxCacheSizeLocked() const {