Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 25 of 37) sorted by relevance

12

/system/bt/audio_bluetooth_hw/
Ddevice_port_proxy.cc101 : 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/
Dapexd_session.cpp83 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/
Devdev.cpp110 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/
DFuseBridgeLoop.cc74 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/
Dzip_writer.cc91 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/
Dpairing_client.cpp74 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/
Dsimpleperf.cpp187 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/
Dpairing_client.cpp76 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/
Dhci_packetizer.cc66 switch (state_) { in OnDataReady()
91 state_ = HCI_PREAMBLE; in OnDataReady()
94 state_ = HCI_PAYLOAD; in OnDataReady()
119 state_ = HCI_PREAMBLE; in OnDataReady()
Dh4_packetizer.cc131 switch (state_) { in OnDataReady()
154 state_ = HCI_PREAMBLE; in OnDataReady()
157 state_ = HCI_PAYLOAD; in OnDataReady()
183 state_ = HCI_PREAMBLE; in OnDataReady()
Dhci_packetizer.h59 State state_{HCI_PREAMBLE};
/system/bt/vendor_libs/linux/interface/
Dhci_packetizer.cc56 switch (state_) { in OnDataReady()
69 state_ = HCI_PAYLOAD; in OnDataReady()
85 state_ = HCI_PREAMBLE; in OnDataReady()
Dhci_packetizer.h43 State state_{HCI_PREAMBLE};
/system/core/debuggerd/libdebuggerd/
Dgwp_asan.cpp69 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/
Dadapter.cc198 : 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/
Dcgroup_map.h35 : controller_(controller), state_(UNKNOWN) {} in CgroupController()
55 ControllerState state_; variable
Dcgroup_map.cpp73 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/
Dbluetooth_test.cc38 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/
Dchannel_configuration_state.h50 State state_ = State::WAIT_CONFIG_REQ_RSP; member
Dsignalling_manager.cc355 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/
Dpairing_connection.cpp134 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/
Dupdate_manager.h116 State* state() { return state_.get(); } in state()
163 std::unique_ptr<State> state_; variable
Dupdate_manager.cc28 state_(state), in UpdateManager()
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dgwp_asan.h93 gwp_asan::AllocatorState state_; variable
/system/update_engine/
Dlibcurl_http_fetcher.h53 State GetState() { return state_; } in GetState()
78 State state_ = {State::kInit};

12