Home
last modified time | relevance | path

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

/system/bt/service/
Dadapter.cc76 : state_(ADAPTER_STATE_OFF), in AdapterImpl()
103 AdapterState GetState() const override { return state_.load(); } in GetState()
105 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled()
117 state_ = ADAPTER_STATE_TURNING_ON; in Enable()
118 NotifyAdapterStateChanged(current_state, state_); in Enable()
125 state_ = ADAPTER_STATE_OFF; in Enable()
126 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_ON, state_); in Enable()
143 state_ = ADAPTER_STATE_TURNING_OFF; in Disable()
144 NotifyAdapterStateChanged(current_state, state_); in Disable()
150 state_ = current_state; in Disable()
[all …]
/system/core/libziparchive/
Dzip_writer.cc89 state_(State::kWritingZip), z_stream_(nullptr, DeleteZStream), in ZipWriter()
102 state_(writer.state_), in ZipWriter()
107 writer.state_ = State::kError; in ZipWriter()
114 state_ = writer.state_; in operator =()
119 writer.state_ = State::kError; in operator =()
124 state_ = State::kError; in HandleError()
198 if (state_ != State::kWritingZip) { in StartAlignedEntryWithTime()
263 state_ = State::kWritingEntry; in StartAlignedEntryWithTime()
268 if (state_ != State::kWritingZip || files_.empty()) { in DiscardLastEntry()
292 CHECK(state_ == State::kWritingZip); in PrepareDeflate()
[all …]
/system/core/libappfuse/
DFuseBridgeLoop.cc68 state_(FuseBridgeState::kWaitToReadEither), in FuseBridgeEntry()
92 state_ = FuseBridgeState::kClosing; in Transfer()
96 switch (state_) { in Transfer()
99 state_ = ReadFromProxy(); in Transfer()
101 state_ = ReadFromDevice(callback); in Transfer()
107 state_ = ReadFromProxy(); in Transfer()
112 state_ = WriteToProxy(); in Transfer()
120 bool IsClosing() const { return state_ == FuseBridgeState::kClosing; } in IsClosing()
228 FuseBridgeState state_; member in android::fuse::FuseBridgeEntry
252 bridge->state_ != FuseBridgeState::kClosing ? EPOLL_CTL_MOD : EPOLL_CTL_DEL, bridge); in UpdateOrDeleteBridgePoll()
[all …]
/system/bt/test/suite/adapter/
Dbluetooth_test.cc36 state_ = BT_STATE_OFF; in SetUp()
77 bt_state_t BluetoothTest::GetState() { return state_; } in GetState()
115 state_ = new_state; in AdapterStateChangedCallback()
Dbluetooth_test.h107 bt_state_t state_; variable
/system/update_engine/update_manager/
Dupdate_manager.h101 State* state() { return state_.get(); } in state()
149 std::unique_ptr<State> state_; variable
Dupdate_manager.cc27 : default_policy_(clock), state_(state), clock_(clock), in UpdateManager()
Dupdate_manager-inl.h56 EvalStatus status = (policy_.get()->*policy_method)(ec, state_.get(), &error, in EvaluatePolicy()
63 status = (default_policy_.*policy_method)(ec, state_.get(), &error, result, in EvaluatePolicy()
/system/bt/vendor_libs/test_vendor_lib/src/
Ddual_mode_controller.cc103 : state_(kStandby), in DualModeController()
280 state_ = kStandby; in HciReset()
476 state_ = kInquiry; in HciInquiry()
515 CHECK(state_ == kInquiry); in HciInquiryCancel()
516 state_ = kStandby; in HciInquiryCancel()
522 if (state_ == kInquiry) { in InquiryTimeout()
523 state_ = kStandby; in InquiryTimeout()
/system/core/include/ziparchive/
Dzip_writer.h178 State state_; variable
/system/bt/vendor_libs/test_vendor_lib/include/
Ddual_mode_controller.h533 State state_; variable