/system/apex/apexd/ |
D | apexd_session.cpp | 55 ApexSession::ApexSession(SessionState state) : state_(std::move(state)) {} in ApexSession() 156 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState() 158 int ApexSession::GetId() const { return state_.id(); } in GetId() 161 return state_.expected_build_fingerprint(); in GetBuildFingerprint() 177 return state_.rollback_enabled(); in HasRollbackEnabled() 180 bool ApexSession::IsRollback() const { return state_.is_rollback(); } in IsRollback() 182 int ApexSession::GetRollbackId() const { return state_.rollback_id(); } in GetRollbackId() 185 return state_.crashing_native_process(); in GetCrashingNativeProcess() 189 return state_.error_message(); in GetErrorMessage() 194 return state_.child_session_ids(); in GetChildSessionIds() [all …]
|
/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 118 state_(BluetoothStreamState::DISABLED), in BluetoothAudioPort() 124 state_ = BluetoothStreamState::STANDBY; in SetUp() 226 BluetoothStreamState previous_state = state_; in ControlResultHandler() 234 state_ = BluetoothStreamState::STARTED; in ControlResultHandler() 240 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler() 245 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler() 252 state_ = BluetoothStreamState::DISABLED; in ControlResultHandler() 271 BluetoothStreamState previous_state = state_; in SessionChangedHandler() 275 state_ = BluetoothStreamState::DISABLED; in SessionChangedHandler() 277 state_ = BluetoothStreamState::STANDBY; in SessionChangedHandler() [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/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | h4_packetizer.cc | 120 switch (state_) { in OnDataReady() 151 state_ == HCI_TYPE in OnDataReady() 153 : state_ == HCI_PREAMBLE ? "HCI_PREAMBLE" : "HCI_PAYLOAD", in OnDataReady() 162 switch (state_) { in OnDataReady() 172 state_ = HCI_PREAMBLE; in OnDataReady() 183 state_ = HCI_TYPE; in OnDataReady() 186 state_ = HCI_PAYLOAD; in OnDataReady() 194 state_ = HCI_TYPE; in OnDataReady()
|
D | h4_packetizer.h | 90 State state_{HCI_TYPE};
|
/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/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/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 | 199 : state_(ADAPTER_STATE_OFF), in AdapterImpl() 230 AdapterState GetState() const override { return state_.load(); } in GetState() 232 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled() 244 state_ = ADAPTER_STATE_TURNING_ON; in Enable() 245 NotifyAdapterStateChanged(current_state, state_); in Enable() 251 state_ = ADAPTER_STATE_OFF; in Enable() 252 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_ON, state_); in Enable() 269 state_ = ADAPTER_STATE_TURNING_OFF; in Disable() 270 NotifyAdapterStateChanged(current_state, state_); in Disable() 276 state_ = current_state; in Disable() [all …]
|
/system/bt/stack/eatt/ |
D | eatt.h | 44 EattChannelState state_; variable 62 state_(EattChannelState::EATT_CHANNEL_PENDING), in EattChannel() 78 if (state_ == EattChannelState::EATT_CHANNEL_PENDING) { in EattChannelSetState() 92 state_ = state; in EattChannelSetState()
|
/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/core/debuggerd/libdebuggerd/ |
D | gwp_asan.cpp | 72 if (!retrieve_gwp_asan_state(process_memory, process_info.gwp_asan_state, &state_)) return; in GwpAsanCrashData() 73 …metadata_.reset(retrieve_gwp_asan_metadata(process_memory, state_, process_info.gwp_asan_metadata)… in GwpAsanCrashData() 83 if (!__gwp_asan_error_is_mine(&state_, crash_address_)) return; in GwpAsanCrashData() 89 uintptr_t internal_crash_address = __gwp_asan_get_internal_crash_address(&state_); in GwpAsanCrashData() 95 error_ = __gwp_asan_diagnose_error(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData() 97 responsible_allocation_ = __gwp_asan_get_metadata(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData()
|
/system/bt/stack/test/eatt/ |
D | eatt_test.cc | 86 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_PENDING); in ConnectDeviceEattSupported() 93 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in ConnectDeviceEattSupported() 279 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F() 307 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F() 335 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F() 363 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F() 391 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F() 409 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F() 429 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F()
|
/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/bt/gd/l2cap/classic/internal/ |
D | channel_configuration_state.h | 50 State state_ = State::WAIT_CONFIG_REQ_RSP; member
|
D | signalling_manager.cc | 367 if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ) { in OnConfigurationRequest() 374 configuration_state.state_ = ChannelConfigurationState::State::CONFIGURED; in OnConfigurationRequest() 377 } else if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ_RSP) { in OnConfigurationRequest() 378 configuration_state.state_ = ChannelConfigurationState::State::WAIT_CONFIG_RSP; in OnConfigurationRequest() 572 if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_RSP) { in OnConfigurationResponse() 579 configuration_state.state_ = ChannelConfigurationState::State::CONFIGURED; in OnConfigurationResponse() 582 } else if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ_RSP) { in OnConfigurationResponse() 583 configuration_state.state_ = ChannelConfigurationState::State::WAIT_CONFIG_REQ; in OnConfigurationResponse() 601 if (configuration_state.state_ == configuration_state.CONFIGURED) { in OnDisconnectionRequest() 628 if (configuration_state.state_ == configuration_state.CONFIGURED) { in OnDisconnectionResponse()
|
/system/update_engine/update_manager/ |
D | update_manager.h | 115 State* state() { return state_.get(); } in state() 162 std::unique_ptr<State> state_; variable
|
D | update_manager.cc | 26 state_(state), in UpdateManager()
|
D | update_manager-inl.h | 56 ec, state_.get(), &error, result, args...); in EvaluatePolicy() 63 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | gwp_asan.h | 98 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};
|