Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 13 of 13) 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), in ZipWriter()
104 state_(writer.state_), in ZipWriter()
109 writer.state_ = State::kError; in ZipWriter()
116 state_ = writer.state_; in operator =()
121 writer.state_ = State::kError; in operator =()
126 state_ = State::kError; in HandleError()
200 if (state_ != State::kWritingZip) { in StartAlignedEntryWithTime()
264 state_ = State::kWritingEntry; in StartAlignedEntryWithTime()
269 if (state_ != State::kWritingZip || files_.empty()) { in DiscardLastEntry()
293 CHECK(state_ == State::kWritingZip); in PrepareDeflate()
[all …]
/system/core/libappfuse/
DFuseBridgeLoop.cc74 state_(FuseBridgeState::kWaitToReadEither), in FuseBridgeEntry()
98 state_ = FuseBridgeState::kClosing; in Transfer()
102 switch (state_) { in Transfer()
105 state_ = ReadFromProxy(); in Transfer()
107 state_ = ReadFromDevice(callback); in Transfer()
113 state_ = ReadFromProxy(); in Transfer()
118 state_ = WriteToProxy(); in Transfer()
126 bool IsClosing() const { return state_ == FuseBridgeState::kClosing; } in IsClosing()
245 FuseBridgeState state_; member in android::fuse::FuseBridgeEntry
269 bridge->state_ != FuseBridgeState::kClosing ? EPOLL_CTL_MOD : EPOLL_CTL_DEL, bridge); in UpdateOrDeleteBridgePoll()
[all …]
/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/test/suite/adapter/
Dbluetooth_test.cc35 state_ = BT_STATE_OFF; in SetUp()
76 bt_state_t BluetoothTest::GetState() { return state_; } in GetState()
114 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/libziparchive/include/ziparchive/
Dzip_writer.h179 State state_; variable
/system/bt/vendor_libs/test_vendor_lib/include/
Ddual_mode_controller.h533 State state_; variable