Searched refs:SensorInterface (Results 1 – 8 of 8) 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 | 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.h | 64 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);
|
D | SensorService.cpp | 314 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 …]
|
D | SensorEventConnection.cpp | 115 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()
|
D | Android.bp | 21 "SensorInterface.cpp",
|
D | SensorDirectConnection.cpp | 107 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in configureChannel()
|