Lines Matching refs:SensorEventConnection
23 #include "SensorEventConnection.h"
28 SensorService::SensorEventConnection::SensorEventConnection(
41 SensorService::SensorEventConnection::~SensorEventConnection() {
42 ALOGD_IF(DEBUG_CONNECTIONS, "~SensorEventConnection(%p)", this);
49 void SensorService::SensorEventConnection::onFirstRef() {
53 bool SensorService::SensorEventConnection::needsWakeLock() {
58 void SensorService::SensorEventConnection::resetWakeLockRefCount() {
63 void SensorService::SensorEventConnection::dump(String8& result) {
90 bool SensorService::SensorEventConnection::addSensor(int32_t handle) {
102 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) {
110 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const {
115 bool SensorService::SensorEventConnection::hasAnySensor() const {
120 bool SensorService::SensorEventConnection::hasOneShotSensors() const {
132 String8 SensorService::SensorEventConnection::getPackageName() const {
136 void SensorService::SensorEventConnection::setFirstFlushPending(int32_t handle,
146 void SensorService::SensorEventConnection::updateLooperRegistration(const sp<Looper>& looper) {
151 void SensorService::SensorEventConnection::updateLooperRegistrationLocked(
197 void SensorService::SensorEventConnection::incrementPendingFlushCount(int32_t handle) {
206 status_t SensorService::SensorEventConnection::sendEvents(
209 SensorEventConnection const * const * mapFlushEventsToConnections) {
364 void SensorService::SensorEventConnection::reAllocateCacheLocked(sensors_event_t const* scratch,
382 void SensorService::SensorEventConnection::sendPendingFlushEventsLocked() {
415 void SensorService::SensorEventConnection::writeToSocketFromCache() {
471 void SensorService::SensorEventConnection::countFlushCompleteEventsLocked(
487 int SensorService::SensorEventConnection::findWakeUpSensorEventLocked(
497 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const
502 status_t SensorService::SensorEventConnection::enableDisable(
517 status_t SensorService::SensorEventConnection::setEventRate(
523 status_t SensorService::SensorEventConnection::flush() {
527 int SensorService::SensorEventConnection::handleEvent(int fd, int events, void* /*data*/) {
610 int SensorService::SensorEventConnection::computeMaxCacheSizeLocked() const {