Lines Matching refs:SensorService
39 SensorService::SensorEventConnection::SensorEventConnection( in SensorEventConnection()
40 const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode, in SensorEventConnection()
56 SensorService::SensorEventConnection::~SensorEventConnection() { in ~SensorEventConnection()
65 void SensorService::SensorEventConnection::destroy() { in destroy()
69 void SensorService::SensorEventConnection::onFirstRef() { in onFirstRef()
73 bool SensorService::SensorEventConnection::needsWakeLock() { in needsWakeLock()
78 void SensorService::SensorEventConnection::resetWakeLockRefCount() { in resetWakeLockRefCount()
83 void SensorService::SensorEventConnection::dump(String8& result) { in dump()
124 void SensorService::SensorEventConnection::dump(util::ProtoOutputStream* proto) const { in dump()
162 bool SensorService::SensorEventConnection::addSensor(int32_t handle) { in addSensor()
174 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) { in removeSensor()
182 std::vector<int32_t> SensorService::SensorEventConnection::getActiveSensorHandles() const { in getActiveSensorHandles()
191 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const { in hasSensor()
196 bool SensorService::SensorEventConnection::hasAnySensor() const { in hasAnySensor()
201 bool SensorService::SensorEventConnection::hasOneShotSensors() const { in hasOneShotSensors()
213 String8 SensorService::SensorEventConnection::getPackageName() const { in getPackageName()
217 void SensorService::SensorEventConnection::setFirstFlushPending(int32_t handle, in setFirstFlushPending()
226 void SensorService::SensorEventConnection::updateLooperRegistration(const sp<Looper>& looper) { in updateLooperRegistration()
231 void SensorService::SensorEventConnection::updateLooperRegistrationLocked( in updateLooperRegistrationLocked()
277 bool SensorService::SensorEventConnection::incrementPendingFlushCountIfHasAccess(int32_t handle) { in incrementPendingFlushCountIfHasAccess()
290 status_t SensorService::SensorEventConnection::sendEvents( in sendEvents()
441 bool SensorService::SensorEventConnection::hasSensorAccess() { in hasSensorAccess()
446 bool SensorService::SensorEventConnection::noteOpIfRequired(const sensors_event_t& event) { in noteOpIfRequired()
455 mTargetSdk = SensorService::getTargetSdkVersion(mOpPackageName); in noteOpIfRequired()
478 void SensorService::SensorEventConnection::reAllocateCacheLocked(sensors_event_t const* scratch, in reAllocateCacheLocked()
496 void SensorService::SensorEventConnection::appendEventsToCacheLocked(sensors_event_t const* events, in appendEventsToCacheLocked()
550 void SensorService::SensorEventConnection::sendPendingFlushEventsLocked() { in sendPendingFlushEventsLocked()
583 void SensorService::SensorEventConnection::writeToSocketFromCache() { in writeToSocketFromCache()
642 void SensorService::SensorEventConnection::countFlushCompleteEventsLocked( in countFlushCompleteEventsLocked()
664 int SensorService::SensorEventConnection::findWakeUpSensorEventLocked( in findWakeUpSensorEventLocked()
674 sp<BitTube> SensorService::SensorEventConnection::getSensorChannel() const in getSensorChannel()
679 status_t SensorService::SensorEventConnection::enableDisable( in enableDisable()
724 status_t SensorService::SensorEventConnection::setEventRate(int handle, nsecs_t samplingPeriodNs) { in setEventRate()
758 void SensorService::SensorEventConnection::onMicSensorAccessChanged(bool isMicToggleOn) { in onMicSensorAccessChanged()
766 void SensorService::SensorEventConnection::capRates() { in capRates()
786 void SensorService::SensorEventConnection::uncapRates() { in uncapRates()
804 status_t SensorService::SensorEventConnection::flush() { in flush()
812 int32_t SensorService::SensorEventConnection::configureChannel(int handle, int rateLevel) { in configureChannel()
819 int SensorService::SensorEventConnection::handleEvent(int fd, int events, void* /*data*/) { in handleEvent()
902 int SensorService::SensorEventConnection::computeMaxCacheSizeLocked() const { in computeMaxCacheSizeLocked()