Searched refs:SensorInterface (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorList.h | 33 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()
|
D | SensorService.h | 60 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);
|
D | SensorInterface.h | 30 class SensorInterface : public VirtualLightRefBase { 32 virtual ~SensorInterface() {} in ~SensorInterface() 48 class BaseSensor : public SensorInterface {
|
D | SensorList.cpp | 30 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()
|
D | SensorService.cpp | 268 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 …]
|
D | SensorEventConnection.cpp | 92 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()
|
D | Android.mk | 16 SensorInterface.cpp \
|