Searched refs:ChangeState (Results 1 – 4 of 4) sorted by relevance
/art/runtime/ |
D | compat_framework.cc | 40 ReportChange(change_id, enabled ? ChangeState::kEnabled : ChangeState::kDisabled); in IsChangeEnabled() 45 ReportChange(change_id, ChangeState::kLogged); in LogChange() 48 void CompatFramework::ReportChange(uint64_t change_id, ChangeState state) { in ReportChange() 60 std::string_view CompatFramework::ChangeStateToString(ChangeState state) { in ChangeStateToString() 62 case ChangeState::kUnknown: in ChangeStateToString() 64 case ChangeState::kEnabled: in ChangeStateToString() 66 case ChangeState::kDisabled: in ChangeStateToString() 68 case ChangeState::kLogged: in ChangeStateToString()
|
D | compat_framework.h | 34 enum class ChangeState { enum 63 static std::string_view ChangeStateToString(ChangeState s); 66 void ReportChange(uint64_t change_id, ChangeState state);
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 88 bool FdForwardTransport::ChangeState(TransportState old_state, TransportState new_state) { in ChangeState() function in dt_fd_forward::FdForwardTransport 123 if (!ChangeState(TransportState::kClosed, TransportState::kListenSetup)) { in SetupListen() 128 CHECK(ChangeState(TransportState::kListenSetup, TransportState::kListening)); in SetupListen() 143 if (ChangeState(TransportState::kListening, TransportState::kClosed) || in StopListening() 372 while (!ChangeState(TransportState::kListening, TransportState::kOpening)) { in Accept() 383 CHECK(ChangeState(TransportState::kOpening, TransportState::kListening)); in Accept() 398 CHECK(ChangeState(TransportState::kOpening, TransportState::kListening)); in Accept() 406 CHECK(ChangeState(TransportState::kOpening, TransportState::kListening)); in Accept() 416 CHECK(ChangeState(TransportState::kOpening, TransportState::kOpen)); in Accept() 452 ChangeState(TransportState::kOpen, TransportState::kClosed) ? OK : ERR(ILLEGAL_STATE); in Close()
|
D | dt_fd_forward.h | 106 bool ChangeState(TransportState old_state, TransportState new_state); // REQUIRES(state_mutex_);
|