Lines Matching full:sensorservice
30 SensorService::SensorEventConnection::SensorEventConnection(
31 const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode,
44 SensorService::SensorEventConnection::~SensorEventConnection() {
49 void SensorService::SensorEventConnection::destroy() {
64 void SensorService::SensorEventConnection::onFirstRef() {
68 bool SensorService::SensorEventConnection::needsWakeLock() {
73 void SensorService::SensorEventConnection::resetWakeLockRefCount() {
78 void SensorService::SensorEventConnection::dump(String8& result) {
105 bool SensorService::SensorEventConnection::addSensor(int32_t handle) {
117 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) {
125 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const {
130 bool SensorService::SensorEventConnection::hasAnySensor() const {
135 bool SensorService::SensorEventConnection::hasOneShotSensors() const {
147 String8 SensorService::SensorEventConnection::getPackageName() const {
151 void SensorService::SensorEventConnection::setFirstFlushPending(int32_t handle,
161 void SensorService::SensorEventConnection::updateLooperRegistration(const sp<Looper>& looper) {
166 void SensorService::SensorEventConnection::updateLooperRegistrationLocked(
212 void SensorService::SensorEventConnection::incrementPendingFlushCount(int32_t handle) {
221 status_t SensorService::SensorEventConnection::sendEvents(
401 void SensorService::SensorEventConnection::setSensorAccess(const bool hasAccess) {
406 void SensorService::SensorEventConnection::reAllocateCacheLocked(sensors_event_t const* scratch,
424 void SensorService::SensorEventConnection::sendPendingFlushEventsLocked() {
457 void SensorService::SensorEventConnection::writeToSocketFromCache() {
516 void SensorService::SensorEventConnection::countFlushCompleteEventsLocked(
539 int SensorService::SensorEventConnection::findWakeUpSensorEventLocked(
549 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const
554 status_t SensorService::SensorEventConnection::enableDisable(
569 status_t SensorService::SensorEventConnection::setEventRate(
575 status_t SensorService::SensorEventConnection::flush() {
579 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) {
586 int SensorService::SensorEventConnection::handleEvent(int fd, int events, void* /*data*/) {
590 // and remove the fd from Looper. Call checkWakeLockState to know if SensorService
600 // If the Looper has encountered some error in data injection mode, reset SensorService
653 // Check if wakelock can be released by sensorservice. mConnectionLock needs to be released
669 int SensorService::SensorEventConnection::computeMaxCacheSizeLocked() const {