/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 101 : state_(BluetoothStreamState::DISABLED), in BluetoothAudioPortOut() 108 state_ = BluetoothStreamState::STANDBY; in SetUp() 192 BluetoothStreamState previous_state = state_; in ControlResultHandler() 200 state_ = BluetoothStreamState::STARTED; in ControlResultHandler() 206 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler() 211 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler() 218 state_ = BluetoothStreamState::DISABLED; in ControlResultHandler() 237 BluetoothStreamState previous_state = state_; in SessionChangedHandler() 241 state_ = BluetoothStreamState::DISABLED; in SessionChangedHandler() 243 state_ = BluetoothStreamState::STANDBY; in SessionChangedHandler() [all …]
|
/system/apex/apexd/ |
D | apexd_session.cpp | 83 ApexSession::ApexSession(SessionState state) : state_(std::move(state)) {} in ApexSession() 164 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState() 166 int ApexSession::GetId() const { return state_.id(); } in GetId() 169 return state_.expected_build_fingerprint(); in GetBuildFingerprint() 185 return state_.rollback_enabled(); in HasRollbackEnabled() 188 bool ApexSession::IsRollback() const { return state_.is_rollback(); } in IsRollback() 190 int ApexSession::GetRollbackId() const { return state_.rollback_id(); } in GetRollbackId() 193 return state_.crashing_native_process(); in GetCrashingNativeProcess() 198 return state_.child_session_ids(); in GetChildSessionIds() 203 *(state_.mutable_child_session_ids()) = {child_session_ids.begin(), in SetChildSessionIds() [all …]
|
/system/teeui/libteeui/src/ |
D | evdev.cpp | 110 if (state_ != ThreadState::JOINED) return false; in start() 113 state_ = ThreadState::STARTING; in start() 117 state_ = ThreadState::RUNNING; in start() 121 while (state_ == ThreadState::RUNNING) { in start() 133 if (state_ != ThreadState::RUNNING) { in start() 151 state_ = ThreadState::TERMINATING; in start() 155 condVar_.wait(lock, [this]() -> bool { return state_ != ThreadState::STARTING; }); in start() 156 return state_ == ThreadState::RUNNING; in start() 161 if (state_ == ThreadState::JOINED) return; in stop() 162 if (state_ == ThreadState::RUNNING) { in stop() [all …]
|
/system/core/libappfuse/ |
D | FuseBridgeLoop.cc | 74 state_(FuseBridgeState::kWaitToReadEither), in FuseBridgeEntry() 89 last_state_ = state_; in Transfer() 99 state_ = FuseBridgeState::kClosing; in Transfer() 103 switch (state_) { in Transfer() 106 state_ = ReadFromProxy(); in Transfer() 108 state_ = ReadFromDevice(callback); in Transfer() 114 state_ = ReadFromProxy(); in Transfer() 119 state_ = WriteToProxy(); in Transfer() 127 bool IsClosing() const { return state_ == FuseBridgeState::kClosing; } in IsClosing() 246 FuseBridgeState state_; member in android::fuse::FuseBridgeEntry [all …]
|
/system/libziparchive/ |
D | zip_writer.cc | 91 state_(State::kWritingZip), in ZipWriter() 106 state_(writer.state_), in ZipWriter() 111 writer.state_ = State::kError; in ZipWriter() 118 state_ = writer.state_; in operator =() 123 writer.state_ = State::kError; in operator =() 128 state_ = State::kError; in HandleError() 203 if (state_ != State::kWritingZip) { in StartAlignedEntryWithTime() 290 state_ = State::kWritingEntry; in StartAlignedEntryWithTime() 295 if (state_ != State::kWritingZip || files_.empty()) { in DiscardLastEntry() 319 CHECK(state_ == State::kWritingZip); in PrepareDeflate() [all …]
|
/system/core/adb/client/pairing/ |
D | pairing_client.cpp | 74 State state_ = State::Ready; member in adbwifi::pairing::__anon35b3e0a10111::PairingClientImpl 92 state_ = State::Ready; in PairingClientImpl() 108 if (state_ != State::Ready) { in Start() 120 state_ = State::Stopped; in Start() 124 state_ = State::Running; in Start() 147 state_ = State::Stopped; in StartConnection()
|
/system/extras/simpleperf/app_api/cpp/ |
D | simpleperf.cpp | 187 State state_ = NOT_YET_STARTED; member in simpleperf::ProfileSessionImpl 205 if (state_ != NOT_YET_STARTED) { in StartRecording() 206 Abort("startRecording: session in wrong state %d", state_); in StartRecording() 217 state_ = STARTED; in StartRecording() 222 if (state_ != STARTED) { in PauseRecording() 223 Abort("pauseRecording: session in wrong state %d", state_); in PauseRecording() 229 state_ = PAUSED; in PauseRecording() 234 if (state_ != PAUSED) { in ResumeRecording() 235 Abort("resumeRecording: session in wrong state %d", state_); in ResumeRecording() 238 state_ = STARTED; in ResumeRecording() [all …]
|
/system/core/adb/pairing_connection/tests/ |
D | pairing_client.cpp | 76 State state_ = State::Ready; member in adb::pairing::__anonffd5a0040111::PairingClientImpl 108 state_ = State::Ready; in PairingClientImpl() 116 if (state_ != State::Ready) { in Start() 128 state_ = State::Stopped; in Start() 132 state_ = State::Running; in Start() 181 state_ = State::Stopped; in StartConnection()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | hci_packetizer.cc | 66 switch (state_) { in OnDataReady() 91 state_ = HCI_PREAMBLE; in OnDataReady() 94 state_ = HCI_PAYLOAD; in OnDataReady() 119 state_ = HCI_PREAMBLE; in OnDataReady()
|
D | h4_packetizer.cc | 131 switch (state_) { in OnDataReady() 154 state_ = HCI_PREAMBLE; in OnDataReady() 157 state_ = HCI_PAYLOAD; in OnDataReady() 183 state_ = HCI_PREAMBLE; in OnDataReady()
|
D | hci_packetizer.h | 59 State state_{HCI_PREAMBLE};
|
/system/bt/vendor_libs/linux/interface/ |
D | hci_packetizer.cc | 56 switch (state_) { in OnDataReady() 69 state_ = HCI_PAYLOAD; in OnDataReady() 85 state_ = HCI_PREAMBLE; in OnDataReady()
|
D | hci_packetizer.h | 43 State state_{HCI_PREAMBLE};
|
/system/core/debuggerd/libdebuggerd/ |
D | gwp_asan.cpp | 69 if (!retrieve_gwp_asan_state(process_memory, process_info.gwp_asan_state, &state_)) return; in GwpAsanCrashData() 70 …metadata_.reset(retrieve_gwp_asan_metadata(process_memory, state_, process_info.gwp_asan_metadata)… in GwpAsanCrashData() 80 if (!__gwp_asan_error_is_mine(&state_, crash_address_)) return; in GwpAsanCrashData() 86 uintptr_t internal_crash_address = __gwp_asan_get_internal_crash_address(&state_); in GwpAsanCrashData() 92 error_ = __gwp_asan_diagnose_error(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData() 94 responsible_allocation_ = __gwp_asan_get_metadata(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData()
|
/system/bt/service/ |
D | adapter.cc | 198 : state_(ADAPTER_STATE_OFF), in AdapterImpl() 229 AdapterState GetState() const override { return state_.load(); } in GetState() 231 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled() 243 state_ = ADAPTER_STATE_TURNING_ON; in Enable() 244 NotifyAdapterStateChanged(current_state, state_); in Enable() 250 state_ = ADAPTER_STATE_OFF; in Enable() 251 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_ON, state_); in Enable() 268 state_ = ADAPTER_STATE_TURNING_OFF; in Disable() 269 NotifyAdapterStateChanged(current_state, state_); in Disable() 275 state_ = current_state; in Disable() [all …]
|
/system/core/libprocessgroup/ |
D | cgroup_map.h | 35 : controller_(controller), state_(UNKNOWN) {} in CgroupController() 55 ControllerState state_; variable
|
D | cgroup_map.cpp | 73 if (state_ == UNKNOWN) { in IsUsable() 76 state_ = (flags & CGROUPRC_CONTROLLER_FLAG_MOUNTED) != 0 ? USABLE : MISSING; in IsUsable() 78 state_ = access(GetProcsFilePath("", 0, 0).c_str(), F_OK) == 0 ? USABLE : MISSING; in IsUsable() 82 return state_ == USABLE; in IsUsable()
|
/system/bt/test/suite/adapter/ |
D | bluetooth_test.cc | 38 state_ = BT_STATE_OFF; in SetUp() 82 bt_state_t BluetoothTest::GetState() { return state_; } in GetState() 120 state_ = new_state; in AdapterStateChangedCallback()
|
/system/bt/gd/l2cap/classic/internal/ |
D | channel_configuration_state.h | 50 State state_ = State::WAIT_CONFIG_REQ_RSP; member
|
D | signalling_manager.cc | 355 if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ) { in OnConfigurationRequest() 362 configuration_state.state_ = ChannelConfigurationState::State::CONFIGURED; in OnConfigurationRequest() 365 } else if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ_RSP) { in OnConfigurationRequest() 366 configuration_state.state_ = ChannelConfigurationState::State::WAIT_CONFIG_RSP; in OnConfigurationRequest() 564 if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_RSP) { in OnConfigurationResponse() 571 configuration_state.state_ = ChannelConfigurationState::State::CONFIGURED; in OnConfigurationResponse() 574 } else if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ_RSP) { in OnConfigurationResponse() 575 configuration_state.state_ = ChannelConfigurationState::State::WAIT_CONFIG_REQ; in OnConfigurationResponse() 593 if (configuration_state.state_ == configuration_state.CONFIGURED) { in OnDisconnectionRequest() 620 if (configuration_state.state_ == configuration_state.CONFIGURED) { in OnDisconnectionResponse()
|
/system/core/adb/pairing_connection/ |
D | pairing_connection.cpp | 134 std::atomic<State> state_{State::Ready}; member 212 state_ = State::Stopped; in WriteHeader() 274 state_ = State::Stopped; in NotifyResult() 284 if (!state_.compare_exchange_strong(expected, State::ExchangingMsgs)) { in Start() 415 switch (state_) { in StartWorker() 421 state_ = State::ExchangingPeerInfo; in StartWorker()
|
/system/update_engine/update_manager/ |
D | update_manager.h | 116 State* state() { return state_.get(); } in state() 163 std::unique_ptr<State> state_; variable
|
D | update_manager.cc | 28 state_(state), in UpdateManager()
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | gwp_asan.h | 93 gwp_asan::AllocatorState state_; variable
|
/system/update_engine/ |
D | libcurl_http_fetcher.h | 53 State GetState() { return state_; } in GetState() 78 State state_ = {State::kInit};
|