Home
last modified time | relevance | path

Searched refs:State (Results 1 – 25 of 63) sorted by relevance

123

/device/generic/goldfish/fingerprint/
Dsession.cpp94 std::string state2str(const Session::State s) { in state2str()
96 case Session::State::IDLE: return "IDLE"; in state2str()
97 case Session::State::ENROLLING_START: return "ENROLLING_START"; in state2str()
98 case Session::State::ENROLLING_END: return "ENROLLING_END"; in state2str()
99 case Session::State::AUTHENTICATING: return "AUTHENTICATING"; in state2str()
100 case Session::State::DETECTING_INTERACTION: return "DETECTING_INTERACTION"; in state2str()
180 State previousState; in enroll()
185 if (previousState == State::IDLE) { in enroll()
187 mState = State::ENROLLING_START; in enroll()
214 State previousState; in authenticate()
[all …]
Dstorage.cpp211 case LockOut::State::NO: in authenticate()
214 case LockOut::State::TIMED: in authenticate()
215 case LockOut::State::TIMED_LOCKED: in authenticate()
217 mLockOut.state = LockOut::State::TIMED_LOCKED; in authenticate()
225 case LockOut::State::PERMANENT: in authenticate()
230 mLockOut.state = LockOut::State::NO; in authenticate()
237 (mLockOut.state == LockOut::State::NO) in authenticate()
241 mLockOut.state = LockOut::State::PERMANENT; in authenticate()
245 mLockOut.state = LockOut::State::TIMED; in authenticate()
262 mLockOut.state = LockOut::State::NO; in resetLockout()
[all …]
Dstorage.h56 enum class State { enum
63 State state = State::NO;
Dsession.h32 enum class State { enum
130 State mState = State::IDLE; // mMutex
/device/generic/goldfish/dhcp/client/
Ddhcpclient.cpp57 mState(State::Init), in DhcpClient()
109 case State::Init: in run()
113 setNextState(State::Selecting); in run()
115 case State::Selecting: in run()
122 case State::Requesting: in run()
128 setNextState(State::Init); in run()
134 case State::Bound: in run()
141 setNextState(State::Renewing); in run()
152 case State::Renewing: in run()
159 setNextState(State::Rebinding); in run()
[all …]
Ddhcpclient.h45 enum class State { enum
53 const char* stateToStr(State state);
63 void setNextState(State state);
102 State mState;
/device/generic/goldfish/wifi/wifi_hal/
Dhalstate.cpp19 HalState::HalState() : mState(State::Constructed) { in HalState()
26 if (mState != State::Stopped && mState != State::Constructed) { in init()
41 mState = State::Initialized; in init()
53 if (mState == State::Stopping || mState == State::Stopped) { in stop()
57 if (mState != State::Running) { in stop()
67 mState = State::Stopped; in stop()
70 mState = State::Stopping; in stop()
82 if (mState != State::Initialized || !mInfo) { in eventLoop()
85 mState = State::Running; in eventLoop()
100 mState = State::Stopped; in onStop()
Dhalstate.h45 enum class State { enum
57 State mState;
/device/google/cuttlefish/guest/commands/bt_vhci_forwarder/hci/
Dh4_parser.h48 enum State { HCI_TYPE, HCI_PREAMBLE, HCI_PAYLOAD, HCI_RECOVERY }; enum
63 State CurrentState() { return state_; }; in CurrentState()
102 State state_{HCI_TYPE};
110 H4Parser::State const& state_) {
112 case H4Parser::State::HCI_TYPE:
115 case H4Parser::State::HCI_PREAMBLE:
118 case H4Parser::State::HCI_PAYLOAD:
121 case H4Parser::State::HCI_RECOVERY:
/device/google/sunfish/vibrator/common/bench/
Dbenchmark.cpp28 using ::benchmark::State;
42 void SetUp(State & /*state*/) override { mVibrator = I::getService(); } in SetUp() argument
44 void TearDown(State & /*state*/) override { in TearDown() argument
58 auto getOtherArg(const State &state, std::size_t index) const { in getOtherArg()
102 void performBench(State *state, Return<void> (I::*performApi)(Effect, EffectStrength, in performBench()
128 auto getEffect(const State &state) const { in getEffect()
132 auto getStrength(const State &state) const { in getStrength()
140 (State & state) { \
/device/google/barbet/vibrator/drv2624/bench/
Dbenchmark.cpp51 void SetUp(::benchmark::State &state) override { in SetUp()
82 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig()
86 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg()
98 (benchmark::State & state){code} BENCHMARK_REGISTER_F(fixt, test) \
158 auto getEffect(const ::benchmark::State &state) const { in getEffect()
162 auto getStrength(const ::benchmark::State &state) const { in getStrength()
/device/google/redfin/vibrator/drv2624/bench/
Dbenchmark.cpp51 void SetUp(::benchmark::State &state) override { in SetUp()
82 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig()
86 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg()
98 (benchmark::State & state){code} BENCHMARK_REGISTER_F(fixt, test) \
158 auto getEffect(const ::benchmark::State &state) const { in getEffect()
162 auto getStrength(const ::benchmark::State &state) const { in getStrength()
/device/google/sunfish/vibrator/drv2624/bench/
Dbenchmark.cpp57 void SetUp(::benchmark::State &state) override { in SetUp()
88 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig()
92 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg()
104 (benchmark::State & state){code} BENCHMARK_REGISTER_F(fixt, test) \
168 auto getEffect(const ::benchmark::State &state) const { in getEffect()
172 auto getStrength(const ::benchmark::State &state) const { in getStrength()
/device/google/gs-common/powerstats/
DAocStateResidencyDataProvider.cpp92 std::unordered_map<std::string, std::vector<State>> AocStateResidencyDataProvider::getInfo() { in getInfo()
94 std::unordered_map<std::string, std::vector<State>> infos; in getInfo()
98 std::vector<State> stateInfos; in getInfo()
102 std::unordered_map<std::string, std::vector<State>> info = provider->getInfo(); in getInfo()
DDvfsStateResidencyDataProvider.cpp132 std::unordered_map<std::string, std::vector<State>> DvfsStateResidencyDataProvider::getInfo() { in getInfo()
133 std::unordered_map<std::string, std::vector<State>> info; in getInfo()
135 std::vector<State> stateInfo(entity.states.size()); in getInfo()
138 stateInfo[stateId] = State{ in getInfo()
DCpupmStateResidencyDataProvider.cpp159 std::unordered_map<std::string, std::vector<State>> CpupmStateResidencyDataProvider::getInfo() { in getInfo()
160 std::unordered_map<std::string, std::vector<State>> info; in getInfo()
162 std::vector<State> stateInfo(mConfig.states.size()); in getInfo()
165 stateInfo[stateId] = State{ in getInfo()
DTpuDvfsStateResidencyDataProvider.cpp90 std::unordered_map<std::string, std::vector<State>> TpuDvfsStateResidencyDataProvider::getInfo() { in getInfo()
91 std::vector<State> states; in getInfo()
93 State s = in getInfo()
DDevfreqStateResidencyDataProvider.cpp90 std::unordered_map<std::string, std::vector<State>> DevfreqStateResidencyDataProvider::getInfo() { in getInfo()
98 std::vector<State> states; in getInfo()
100 State s = {.id = id++, .name = std::to_string(frequencyHz / 1000) + "MHz"}; in getInfo()
DDisplayMrrStateResidencyDataProvider.cpp140 std::unordered_map<std::string, std::vector<State>> DisplayMrrStateResidencyDataProvider::getInfo() in getInfo()
144 std::vector<State> states; in getInfo()
158 State s = { .id = id, .name = name }; in getInfo()
DUfsStateResidencyDataProvider.cpp57 std::unordered_map<std::string, std::vector<State>> UfsStateResidencyDataProvider::getInfo() { in getInfo()
58 return {{UFS_NAME, std::vector<State>{{HIBERNATE_STATE_ID, "HIBERN8"}} }}; in getInfo()
/device/google/cuttlefish/host/libs/wayland/
Dwayland_surface.h66 struct State { struct
84 State state_; argument
/device/google/gs-common/powerstats/include/
DUfsStateResidencyDataProvider.h40 std::unordered_map<std::string, std::vector<State>> getInfo() override;
DAdaptiveDvfsStateResidencyDataProvider.h48 std::unordered_map<std::string, std::vector<State>> getInfo() override;
DTpuDvfsStateResidencyDataProvider.h41 std::unordered_map<std::string, std::vector<State>> getInfo() override;
DDevfreqStateResidencyDataProvider.h40 std::unordered_map<std::string, std::vector<State>> getInfo() override;

123