Home
last modified time | relevance | path

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

/system/bt/audio_bluetooth_hw/
Ddevice_port_proxy.cc102 : state_(BluetoothStreamState::DISABLED), in BluetoothAudioPortOut()
109 state_ = BluetoothStreamState::STANDBY; in SetUp()
193 BluetoothStreamState previous_state = state_; in ControlResultHandler()
201 state_ = BluetoothStreamState::STARTED; in ControlResultHandler()
207 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
212 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
219 state_ = BluetoothStreamState::DISABLED; in ControlResultHandler()
238 BluetoothStreamState previous_state = state_; in SessionChangedHandler()
242 state_ = BluetoothStreamState::DISABLED; in SessionChangedHandler()
244 state_ = BluetoothStreamState::STANDBY; in SessionChangedHandler()
[all …]
Ddevice_port_proxy.h88 BluetoothStreamState state_;
/system/core/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()
202 if (state_ != State::kWritingZip) { in StartAlignedEntryWithTime()
266 state_ = State::kWritingEntry; in StartAlignedEntryWithTime()
271 if (state_ != State::kWritingZip || files_.empty()) { in DiscardLastEntry()
295 CHECK(state_ == State::kWritingZip); in PrepareDeflate()
[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/apex/apexd/
Dapexd_session.cpp81 ApexSession::ApexSession(const SessionState& state) : state_(state) {} in ApexSession()
167 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState()
169 int ApexSession::GetId() const { return state_.id(); } in GetId()
188 return state_.child_session_ids(); in GetChildSessionIds()
193 *(state_.mutable_child_session_ids()) = {child_session_ids.begin(), in SetChildSessionIds()
199 state_.set_state(session_state); in UpdateStateAndCommit()
201 auto stateFilePath = getSessionStateFilePath(state_.id()); in UpdateStateAndCommit()
205 if (!state_.SerializeToOstream(&stateFile)) { in UpdateStateAndCommit()
Dapexd_session.h55 ::apex::proto::SessionState state_;
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp187 State state_ = NOT_YET_STARTED; member in simpleperf::ProfileSessionImpl
204 if (state_ != NOT_YET_STARTED) { in StartRecording()
205 Abort("startRecording: session in wrong state %d", state_); in StartRecording()
211 state_ = STARTED; in StartRecording()
216 if (state_ != STARTED) { in PauseRecording()
217 Abort("pauseRecording: session in wrong state %d", state_); in PauseRecording()
220 state_ = PAUSED; in PauseRecording()
225 if (state_ != PAUSED) { in ResumeRecording()
226 Abort("resumeRecording: session in wrong state %d", state_); in ResumeRecording()
229 state_ = STARTED; in ResumeRecording()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dhci_packetizer.cc67 switch (state_) { in OnDataReady()
92 state_ = HCI_PREAMBLE; in OnDataReady()
95 state_ = HCI_PAYLOAD; in OnDataReady()
120 state_ = HCI_PREAMBLE; in OnDataReady()
Dh4_packetizer.cc130 switch (state_) { in OnDataReady()
155 state_ = HCI_PREAMBLE; in OnDataReady()
158 state_ = HCI_PAYLOAD; in OnDataReady()
184 state_ = HCI_PREAMBLE; in OnDataReady()
Dhci_packetizer.h59 State state_{HCI_PREAMBLE};
Dh4_packetizer.h73 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/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()
74 state_ = access(GetProcsFilePath("", 0, 0).c_str(), F_OK) == 0 ? USABLE : MISSING; in IsUsable()
77 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()
Dbluetooth_test.h106 bt_state_t state_; variable
/system/update_engine/update_manager/
Dupdate_manager.h99 State* state() { return state_.get(); } in state()
146 std::unique_ptr<State> state_; variable
Dupdate_manager.cc33 state_(state), in UpdateManager()
Dupdate_manager-inl.h57 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
64 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
/system/core/libziparchive/include/ziparchive/
Dzip_writer.h178 State state_; variable
/system/bt/btif/src/
Dbtif_a2dp_source.cc183 state_(kStateOff) {} in BtifA2dpSource()
195 state_ = kStateOff; in Reset()
198 BtifA2dpSource::RunState State() const { return state_; } in State()
200 switch (state_) { in StateStr()
212 void SetState(BtifA2dpSource::RunState state) { state_ = state; } in SetState()
223 BtifA2dpSource::RunState state_; member in BtifA2dpSource
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc2467 CHECK(!state_.open_); in opendir()
2471 state_ = State::Open(name_str, std::move(children)); in opendir()
2473 FS_LOG_DEBUG << "opendir - success, state address: " << &state_; in opendir()
2586 return reinterpret_cast<DIR*>(reinterpret_cast<void*>(&state_)); in get_state_as_dir()
2593 State state_; member in FakeSystemCall