Home
last modified time | relevance | path

Searched refs:PairingState (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics_event.cc113 static PairingState StatusToPairingState(uint32_t status) { in StatusToPairingState()
116 return PairingState::PAIR_SUCCEED; in StatusToPairingState()
118 return PairingState::PAIR_FAIL_FAILED; in StatusToPairingState()
120 return PairingState::PAIR_FAIL_NO_RESOURCES; in StatusToPairingState()
122 return PairingState::PAIR_FAIL_BUSY; in StatusToPairingState()
124 return PairingState::PAIR_FAIL_NOT_SUPPORTED; in StatusToPairingState()
126 return PairingState::PAIR_FAIL_INVALID_PARAMS; in StatusToPairingState()
128 return PairingState::PAIR_FAIL_AUTH_FAILED; in StatusToPairingState()
130 return PairingState::PAIR_FAIL_ESTABLISH_CONN; in StatusToPairingState()
132 return PairingState::PAIR_FAIL_AUTH_FAILED; in StatusToPairingState()
[all …]
Dmetrics.cc77 (int)PairingState::PAIR_STARTING); in LogMetricsBondCreateAttempt()
84 .SetPairingState((int64_t)PairingState::PAIR_STARTING) in LogMetricsBondCreateAttempt()
92 PairingState pairing_state; in LogMetricsBondStateChanged()
104 if (pairing_state == PairingState::PAIR_STARTING) return; in LogMetricsBondStateChanged()
107 if (pairing_state == PairingState::PAIR_FAIL_END) return; in LogMetricsBondStateChanged()
Dmetrics_event.h41 enum class PairingState : int64_t { enum
219 PairingState ToPairingState(uint32_t status, uint32_t bond_state, int32_t fail_reason);