Home
last modified time | relevance | path

Searched refs:SensorInterface (Results 1 – 7 of 7) 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()
DSensorService.h60 class SensorInterface; variable
161 sp<SensorInterface> getSensorInterfaceFromHandle(int handle) const;
165 const Sensor& registerSensor(SensorInterface* sensor,
167 const Sensor& registerVirtualSensor(SensorInterface* sensor, bool isDebug = false);
168 const Sensor& registerDynamicSensorLocked(SensorInterface* sensor, bool isDebug = false);
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.cpp268 const Sensor& SensorService::registerSensor(SensorInterface* s, bool isDebug, bool isVirtual) { in registerSensor()
279 const Sensor& SensorService::registerDynamicSensorLocked(SensorInterface* s, bool isDebug) { in registerDynamicSensorLocked()
294 const Sensor& SensorService::registerVirtualSensor(SensorInterface* s, bool isDebug) { in registerVirtualSensor()
381 sp<SensorInterface> s = mSensors.getInterface(i.first); in dump()
466 sp<SensorInterface> si = getSensorInterfaceFromHandle(handle); in cleanupAutoDisabledSensorLocked()
552 sp<SensorInterface> si = mSensors.getInterface(handle); in threadLoop()
618 SensorInterface *si = new HardwareSensor(s, uuid); in threadLoop()
760 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isVirtualSensor()
769 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isWakeUpSensorEvent()
949 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in cleanupConnection()
[all …]
DSensorEventConnection.cpp92 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in addSensor()
124 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in hasOneShotSensors()
168 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in updateLooperRegistrationLocked()
390 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in sendPendingFlushEventsLocked()
563 sp<SensorInterface> si = in handleEvent()
614 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(mSensorInfo.keyAt(i)); in computeMaxCacheSizeLocked()
DAndroid.mk16 SensorInterface.cpp \