Searched refs:SensorInterface (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorList.h | 33 class SensorInterface; variable 40 std::shared_ptr<SensorInterface> si; 44 Entry(std::shared_ptr<SensorInterface> si_, bool debug_, bool virtual_, int deviceId_) : in Entry() 50 bool add(int handle, std::shared_ptr<SensorInterface> si, bool isForDebug = false, 66 std::shared_ptr<SensorInterface> getInterface(int handle) const;
|
D | SensorInterface.h | 31 class SensorInterface : public VirtualLightRefBase { 33 virtual ~SensorInterface() {} in ~SensorInterface() 49 class BaseSensor : public SensorInterface {
|
D | SensorList.cpp | 31 bool SensorList::add(int handle, std::shared_ptr<SensorInterface> si, bool isForDebug, in add() 66 std::shared_ptr<SensorInterface> SensorList::getInterface(int handle) const { in getInterface() 67 return getOne<std::shared_ptr<SensorInterface>>( in getInterface() 68 handle, [] (const Entry& e) -> std::shared_ptr<SensorInterface> {return e.si;}, in getInterface()
|
D | SensorEventConnection.cpp | 163 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in addSensor() 205 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in hasOneShotSensors() 248 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in updateLooperRegistrationLocked() 562 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in sendPendingFlushEventsLocked() 696 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in enableDisable() 736 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in setEventRate() 864 std::shared_ptr<SensorInterface> si = in handleEvent() 915 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(it.first); in computeMaxCacheSizeLocked()
|
D | SensorService.h | 78 class SensorInterface; variable 415 std::shared_ptr<SensorInterface> getSensorInterfaceFromHandle(int handle) const; 420 bool registerSensor(std::shared_ptr<SensorInterface> sensor, bool isDebug = false, 422 bool registerVirtualSensor(std::shared_ptr<SensorInterface> sensor, bool isDebug = false); 423 bool registerDynamicSensorLocked(std::shared_ptr<SensorInterface> sensor, bool isDebug = false);
|
D | SensorService.cpp | 538 bool SensorService::registerSensor(std::shared_ptr<SensorInterface> s, bool isDebug, bool isVirtual, in registerSensor() 551 bool SensorService::registerDynamicSensorLocked(std::shared_ptr<SensorInterface> s, bool isDebug) { in registerDynamicSensorLocked() 566 bool SensorService::registerVirtualSensor(std::shared_ptr<SensorInterface> s, bool isDebug) { in registerVirtualSensor() 629 std::shared_ptr<SensorInterface> s = getSensorInterfaceFromHandle(i.first); in dump() 759 std::shared_ptr<SensorInterface> s = getSensorInterfaceFromHandle(i.first); in dumpProtoLocked() 1050 std::shared_ptr<SensorInterface> si = getSensorInterfaceFromHandle(handle); in cleanupAutoDisabledSensorLocked() 1196 std::shared_ptr<SensorInterface> si = getSensorInterfaceFromHandle(handle); in threadLoop() 1425 std::shared_ptr<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isVirtualSensor() 1434 std::shared_ptr<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isWakeUpSensorEvent() 1880 std::shared_ptr<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in cleanupConnection() [all …]
|
D | SensorDirectConnection.cpp | 154 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in configureChannel() 229 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in capRates()
|
D | Android.bp | 43 "SensorInterface.cpp",
|