Searched refs:g_subscribeMap (Results 1 – 1 of 1) sorted by relevance
37 static std::map<int32_t, const MedicalSensorUser *> g_subscribeMap; variable50 if (eventStream.data == nullptr || g_subscribeMap[eventStream.sensorTypeId] == nullptr) { in HandleSensorData()54 if (g_subscribeMap.find(eventStream.sensorTypeId) == g_subscribeMap.end()) { in HandleSensorData()58 g_subscribeMap[eventStream.sensorTypeId]->callback(&eventStream); in HandleSensorData()174 …if ((g_subscribeMap.find(sensorId) == g_subscribeMap.end()) || (g_subscribeMap.at(sensorId) != use… in ActivateSensor()184 g_subscribeMap.erase(sensorId); in ActivateSensor()198 …if ((g_subscribeMap.find(sensorId) == g_subscribeMap.end()) || (g_subscribeMap[sensorId] != user))… in DeactivateSensor()202 g_subscribeMap.erase(sensorId); in DeactivateSensor()225 …if ((g_subscribeMap.find(sensorId) == g_subscribeMap.end()) || (g_subscribeMap.at(sensorId) != use… in SetBatch()247 g_subscribeMap[sensorId] = user; in SubscribeSensor()[all …]