Lines Matching refs:SensorService
28 SensorService::SensorEventConnection::SensorEventConnection(
29 const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode,
41 SensorService::SensorEventConnection::~SensorEventConnection() {
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(
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*/) {
531 // and remove the fd from Looper. Call checkWakeLockState to know if SensorService
541 // If the Looper has encountered some error in data injection mode, reset SensorService
594 // Check if wakelock can be released by sensorservice. mConnectionLock needs to be released
610 int SensorService::SensorEventConnection::computeMaxCacheSizeLocked() const {