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 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;
DSensorInterface.h31 class SensorInterface : public VirtualLightRefBase {
33 virtual ~SensorInterface() {} in ~SensorInterface()
49 class BaseSensor : public SensorInterface {
DSensorList.cpp31 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()
DSensorService.h78 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);
DSensorEventConnection.cpp162 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in addSensor()
204 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in hasOneShotSensors()
247 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in updateLooperRegistrationLocked()
561 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in sendPendingFlushEventsLocked()
695 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in enableDisable()
738 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in setEventRate()
868 std::shared_ptr<SensorInterface> si = in handleEvent()
919 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(it.first); in computeMaxCacheSizeLocked()
DSensorService.cpp538 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()
1898 std::shared_ptr<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in cleanupConnection()
[all …]
DSensorDirectConnection.cpp170 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in configureChannel()
245 std::shared_ptr<SensorInterface> si = mService->getSensorInterfaceFromHandle(handle); in capRates()
DAndroid.bp43 "SensorInterface.cpp",