Searched refs:state_ (Results 1 – 9 of 9) sorted by relevance
26 state_.region = region; in SetRegion()31 state_.pending_buffer = buffer; in Attach()36 state_.current_buffer = state_.pending_buffer; in Commit()37 state_.pending_buffer = nullptr; in Commit()41 if (callback_ && callback_->frame_number < state_.current_frame_number) { in Commit()43 wl_shm_buffer_get(state_.current_buffer); in Commit()49 CHECK(buffer_w == state_.region.w); in Commit()51 CHECK(buffer_h == state_.region.h); in Commit()56 callback_->frame_callback(state_.current_frame_number, buffer_pixels); in Commit()63 wl_buffer_send_release(state_.current_buffer); in Commit()[all …]
80 State state_; variable
31 state_ = INACTIVE; in BatteryRechargingControl()88 if ((state_ == INACTIVE) && (props->batteryLevel < kFullSoc)) in updateBatteryProperties()91 LOG(INFO) << "Entry state_: " << state_ << " charger_status: " << charger_status in updateBatteryProperties()93 switch (state_) { in updateBatteryProperties()95 state_ = WAIT_EOC; in updateBatteryProperties()99 state_ = INACTIVE; in updateBatteryProperties()102 state_ = RECHARGING_CYCLE; in updateBatteryProperties()107 state_ = NO_POWER_SOURCE; in updateBatteryProperties()125 state_ = OVER_LOADING; in updateBatteryProperties()134 state_ = NO_POWER_SOURCE; in updateBatteryProperties()[all …]
65 enum RechargeState state_; variable
32 state_ = INACTIVE; in BatteryRechargingControl()89 if ((state_ == INACTIVE) && (props->batteryLevel < kFullSoc)) in updateBatteryProperties()92 LOG(INFO) << "Entry state_: " << state_ << " charger_status: " << charger_status in updateBatteryProperties()94 switch (state_) { in updateBatteryProperties()96 state_ = WAIT_EOC; in updateBatteryProperties()100 state_ = RECHARGING_CYCLE; in updateBatteryProperties()105 state_ = NO_POWER_SOURCE; in updateBatteryProperties()123 state_ = OVER_LOADING; in updateBatteryProperties()132 state_ = NO_POWER_SOURCE; in updateBatteryProperties()142 state_ = INACTIVE; in updateBatteryProperties()[all …]
67 enum RechargeState state_; variable
51 switch (state_) { in OnDataReady()64 state_ = HCI_PAYLOAD; in OnDataReady()80 state_ = HCI_PREAMBLE; in OnDataReady()
42 State state_{HCI_PREAMBLE};
83 : fg_launcher_pipe_(fg_launcher_pipe), state_(kBootStarted) {} in CvdBootStateMachine()92 state_ |= kGuestBootFailed; in OnBootEvtReceived()95 state_ |= kGuestBootCompleted; in OnBootEvtReceived()98 state_ |= kGuestBootFailed; in OnBootEvtReceived()105 return state_ & kGuestBootCompleted; in BootCompleted()109 return state_ & kGuestBootFailed; in BootFailed()123 } else if (state_ & kGuestBootFailed) { in MaybeWriteToForegroundLauncher()136 int state_; member in __anon912325db0111::CvdBootStateMachine