Home
last modified time | relevance | path

Searched refs:SensorInterface (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorList.h33 class SensorInterface; variable
41 bool add(int handle, SensorInterface* si, bool isForDebug = false, bool isVirtual = false);
56 sp<SensorInterface> getInterface(int handle) const;
78 sp<SensorInterface> si;
81 Entry(SensorInterface* si_, bool debug_, bool virtual_) : in Entry()
DSensorInterface.h30 class SensorInterface : public VirtualLightRefBase {
32 virtual ~SensorInterface() {} in ~SensorInterface()
48 class BaseSensor : public SensorInterface {
DSensorList.cpp30 int handle, SensorInterface* si, bool isForDebug, bool isVirtual) { in add()
58 sp<SensorInterface> SensorList::getInterface(int handle) const { in getInterface()
59 return getOne<sp<SensorInterface>>( in getInterface()
60 handle, [] (const Entry& e) -> sp<SensorInterface> {return e.si;}, nullptr); in getInterface()
DSensorService.h64 class SensorInterface; variable
232 sp<SensorInterface> getSensorInterfaceFromHandle(int handle) const;
236 const Sensor& registerSensor(SensorInterface* sensor,
238 const Sensor& registerVirtualSensor(SensorInterface* sensor, bool isDebug = false);
239 const Sensor& registerDynamicSensorLocked(SensorInterface* sensor, bool isDebug = false);
DSensorService.cpp314 const Sensor& SensorService::registerSensor(SensorInterface* s, bool isDebug, bool isVirtual) { in registerSensor()
325 const Sensor& SensorService::registerDynamicSensorLocked(SensorInterface* s, bool isDebug) { in registerDynamicSensorLocked()
340 const Sensor& SensorService::registerVirtualSensor(SensorInterface* s, bool isDebug) { in registerVirtualSensor()
433 sp<SensorInterface> s = mSensors.getInterface(i.first); in dump()
695 sp<SensorInterface> si = getSensorInterfaceFromHandle(handle); in cleanupAutoDisabledSensorLocked()
788 sp<SensorInterface> si = mSensors.getInterface(handle); in threadLoop()
854 SensorInterface *si = new HardwareSensor(s, uuid); in threadLoop()
995 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isVirtualSensor()
1004 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isWakeUpSensorEvent()
1369 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in cleanupConnection()
[all …]
DSensorEventConnection.cpp115 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in addSensor()
147 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in hasOneShotSensors()
191 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in updateLooperRegistrationLocked()
480 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in sendPendingFlushEventsLocked()
670 sp<SensorInterface> si = in handleEvent()
721 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(mSensorInfo.keyAt(i)); in computeMaxCacheSizeLocked()
DAndroid.bp21 "SensorInterface.cpp",
DSensorDirectConnection.cpp107 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in configureChannel()