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.cc312 int64_t StatusToProfileConnectionState(uint32_t status, StateChangeType type) { in StatusToProfileConnectionState()
314 if (StateChangeType::STATE_CHANGE_TYPE_CONNECT == type) { in StatusToProfileConnectionState()
514 static std::map<std::pair<std::string, uint32_t>, StateChangeType> pending_type; in ToProfileConnectionEvent()
522 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()
527 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()
529 pending_type[key] = StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()
534 : (int64_t)StateChangeType::STATE_CHANGE_TYPE_DISCONNECT; in ToProfileConnectionEvent()
537 if (StateChangeType::STATE_CHANGE_TYPE_CONNECT == (StateChangeType)event.type && in ToProfileConnectionEvent()
541 event.state = StatusToProfileConnectionState(status, (StateChangeType)event.type); in ToProfileConnectionEvent()
546 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_DISCONNECT; in ToProfileConnectionEvent()
[all …]
Dmetrics_event.h171 enum class StateChangeType : int64_t { enum