/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 102 : 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 …]
|
D | device_port_proxy.h | 88 BluetoothStreamState state_;
|
/system/core/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() 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/ |
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/apex/apexd/ |
D | apexd_session.cpp | 81 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()
|
D | apexd_session.h | 55 ::apex::proto::SessionState state_;
|
/system/extras/simpleperf/app_api/cpp/ |
D | simpleperf.cpp | 187 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/ |
D | hci_packetizer.cc | 67 switch (state_) { in OnDataReady() 92 state_ = HCI_PREAMBLE; in OnDataReady() 95 state_ = HCI_PAYLOAD; in OnDataReady() 120 state_ = HCI_PREAMBLE; in OnDataReady()
|
D | h4_packetizer.cc | 130 switch (state_) { in OnDataReady() 155 state_ = HCI_PREAMBLE; in OnDataReady() 158 state_ = HCI_PAYLOAD; in OnDataReady() 184 state_ = HCI_PREAMBLE; in OnDataReady()
|
D | hci_packetizer.h | 59 State state_{HCI_PREAMBLE};
|
D | h4_packetizer.h | 73 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/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() 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/ |
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()
|
D | bluetooth_test.h | 106 bt_state_t state_; variable
|
/system/update_engine/update_manager/ |
D | update_manager.h | 99 State* state() { return state_.get(); } in state() 146 std::unique_ptr<State> state_; variable
|
D | update_manager.cc | 33 state_(state), in UpdateManager()
|
D | update_manager-inl.h | 57 ec, state_.get(), &error, result, args...); in EvaluatePolicy() 64 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
|
/system/core/libziparchive/include/ziparchive/ |
D | zip_writer.h | 178 State state_; variable
|
/system/bt/btif/src/ |
D | btif_a2dp_source.cc | 183 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/ |
D | search_directories_test.cc | 2467 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
|