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
40 sp<SensorInterface> si;
43 Entry(SensorInterface* si_, bool debug_, bool virtual_) : in Entry()
50 bool add(int handle, SensorInterface* si, bool isForDebug = false, bool isVirtual = false);
67 sp<SensorInterface> getInterface(int handle) const;
DSensorInterface.h31 class SensorInterface : public VirtualLightRefBase {
33 virtual ~SensorInterface() {} in ~SensorInterface()
52 class BaseSensor : public SensorInterface {
DSensorService.h75 class SensorInterface; variable
349 sp<SensorInterface> getSensorInterfaceFromHandle(int handle) const;
353 const Sensor& registerSensor(SensorInterface* sensor,
355 const Sensor& registerVirtualSensor(SensorInterface* sensor, bool isDebug = false);
356 const Sensor& registerDynamicSensorLocked(SensorInterface* sensor, bool isDebug = false);
DSensorList.cpp32 int handle, SensorInterface* si, bool isForDebug, bool isVirtual) { in add()
66 sp<SensorInterface> SensorList::getInterface(int handle) const { in getInterface()
67 return getOne<sp<SensorInterface>>( in getInterface()
68 handle, [] (const Entry& e) -> sp<SensorInterface> {return e.si;}, nullptr); in getInterface()
DSensorEventConnection.cpp164 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in addSensor()
205 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in hasOneShotSensors()
248 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in updateLooperRegistrationLocked()
558 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in sendPendingFlushEventsLocked()
692 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in enableDisable()
732 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in setEventRate()
855 sp<SensorInterface> si = in handleEvent()
906 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(it.first); in computeMaxCacheSizeLocked()
DSensorService.cpp346 const Sensor& SensorService::registerSensor(SensorInterface* s, bool isDebug, bool isVirtual) { in registerSensor()
357 const Sensor& SensorService::registerDynamicSensorLocked(SensorInterface* s, bool isDebug) { in registerDynamicSensorLocked()
372 const Sensor& SensorService::registerVirtualSensor(SensorInterface* s, bool isDebug) { in registerVirtualSensor()
470 sp<SensorInterface> s = mSensors.getInterface(i.first); in dump()
588 sp<SensorInterface> s = mSensors.getInterface(i.first); in dumpProtoLocked()
887 sp<SensorInterface> si = getSensorInterfaceFromHandle(handle); in cleanupAutoDisabledSensorLocked()
971 sp<SensorInterface> si = mSensors.getInterface(handle); in threadLoop()
1041 SensorInterface *si = new HardwareSensor(s, uuid); in threadLoop()
1173 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isVirtualSensor()
1182 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isWakeUpSensorEvent()
[all …]
DAndroid.bp27 "SensorInterface.cpp",
DSensorDirectConnection.cpp155 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in configureChannel()
232 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in capRates()