Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics_event.cc292 int64_t StatusToProfileConnectionState(uint32_t status, StateChangeType type) { in StatusToProfileConnectionState()
294 if (StateChangeType::STATE_CHANGE_TYPE_CONNECT == type) { in StatusToProfileConnectionState()
490 static std::map<std::pair<std::string, uint32_t>, StateChangeType> pending_type; in ToProfileConnectionEvent()
498 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()
503 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()
505 pending_type[key] = StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()
510 : (int64_t)StateChangeType::STATE_CHANGE_TYPE_DISCONNECT; in ToProfileConnectionEvent()
513 if (StateChangeType::STATE_CHANGE_TYPE_CONNECT == (StateChangeType)event.type && in ToProfileConnectionEvent()
517 event.state = StatusToProfileConnectionState(status, (StateChangeType)event.type); in ToProfileConnectionEvent()
522 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_DISCONNECT; in ToProfileConnectionEvent()
[all …]
Dmetrics_event.h171 enum class StateChangeType : int64_t { STATE_CHANGE_TYPE_DISCONNECT = 0, STATE_CHANGE_TYPE_CONNECT … enum