Home
last modified time | relevance | path

Searched refs:mRuntimeSensorCallbacks (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.cpp198 if (mRuntimeSensorCallbacks.find(deviceId) == mRuntimeSensorCallbacks.end()) { in registerRuntimeSensor()
199 mRuntimeSensorCallbacks.emplace(deviceId, callback); in registerRuntimeSensor()
241 mRuntimeSensorCallbacks.erase(deviceId); in unregisterRuntimeSensor()
1719 auto runtimeSensorCallback = mRuntimeSensorCallbacks.find(deviceId); in createSensorDirectConnection()
1720 if (runtimeSensorCallback == mRuntimeSensorCallbacks.end()) { in createSensorDirectConnection()
1755 auto runtimeSensorCallback = mRuntimeSensorCallbacks.find(deviceId); in configureRuntimeSensorDirectChannel()
1756 if (runtimeSensorCallback == mRuntimeSensorCallbacks.end()) { in configureRuntimeSensorDirectChannel()
1924 auto runtimeSensorCallback = mRuntimeSensorCallbacks.find(deviceId); in cleanupConnection()
1925 if (runtimeSensorCallback != mRuntimeSensorCallbacks.end()) { in cleanupConnection()
DSensorService.h573 std::unordered_map</*deviceId*/int, sp<RuntimeSensorCallback>> mRuntimeSensorCallbacks; variable