Home
last modified time | relevance | path

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

123

/system/vold/
DVolumeBase.cpp40 State::kUnmounted), mSilent(false) { in VolumeBase()
47 void VolumeBase::setState(State state) { in setState()
73 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountFlags()
83 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountUserId()
113 if (mState != State::kChecking) { in setPath()
124 if (mState != State::kChecking) { in setInternalPath()
170 setState(State::kUnmounted); in create()
181 if (mState == State::kMounted) { in destroy()
183 setState(State::kBadRemoval); in destroy()
185 setState(State::kRemoved); in destroy()
[all …]
DVolumeBase.h65 enum class State { enum
83 State getState() { return mState; } in getState()
136 State mState;
147 void setState(State state);
/system/update_engine/update_manager/
Dchromeos_policy.h59 EvaluationContext* ec, State* state, std::string* error,
64 State* state,
71 State* state,
77 State* state,
83 State* state,
144 EvalStatus NextUpdateCheckTime(EvaluationContext* ec, State* state,
177 EvaluationContext* ec, State* state, std::string* error,
193 EvalStatus UpdateScattering(EvaluationContext* ec, State* state,
Dstate.h32 class State {
34 virtual ~State() {} in ~State()
46 State() {} in State() function
49 DISALLOW_COPY_AND_ASSIGN(State);
Dupdate_manager.h52 base::TimeDelta expiration_timeout, State* state);
73 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
89 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
101 State* state() { return state_.get(); } in state()
117 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
132 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
149 std::unique_ptr<State> state_;
Ddefault_policy.h69 EvaluationContext* ec, State* state, std::string* error,
73 EvaluationContext* ec, State* state, std::string* error,
78 EvaluationContext* ec, State* state, std::string* error,
82 EvaluationContext* ec, State* state, std::string* error,
86 EvaluationContext* ec, State* state, std::string* error,
Ddefault_policy.cc35 EvaluationContext* ec, State* state, std::string* error, in UpdateCheckAllowed()
58 State* state, in UpdateCanStart()
78 State* state, in UpdateDownloadAllowed()
87 State* state, in P2PEnabled()
96 State* state, in P2PEnabledChanged()
Dmock_policy.h61 EvalStatus(EvaluationContext*, State*, std::string*,
65 EvalStatus(EvaluationContext*, State*, std::string*,
69 EvalStatus(EvaluationContext*, State*, std::string*,
73 EvalStatus(EvaluationContext*, State*, std::string*,
77 EvalStatus(EvaluationContext*, State*, std::string*,
Dpolicy.h199 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in PolicyRequestName() argument
235 EvaluationContext* ec, State* state, std::string* error,
246 State* state,
259 State* state,
266 EvaluationContext* ec, State* state, std::string* error,
275 EvaluationContext* ec, State* state, std::string* error,
Dupdate_manager-inl.h34 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in EvaluatePolicy() argument
83 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in OnPolicyReadyToEvaluate() argument
116 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in PolicyRequest() argument
139 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in AsyncPolicyRequest() argument
Dstate_factory.h33 State* DefaultStateFactory(
/system/weaved/libweaved/
Dcommand.cc84 Command::State Command::GetState() const { in GetState()
90 return Command::State::kQueued; in GetState()
92 return Command::State::kInProgress; in GetState()
94 return Command::State::kPaused; in GetState()
96 return Command::State::kError; in GetState()
98 return Command::State::kDone; in GetState()
100 return Command::State::kCancelled; in GetState()
102 return Command::State::kAborted; in GetState()
104 return Command::State::kExpired; in GetState()
106 return Command::State::kQueued; in GetState()
Dcommand.h39 enum class State { enum
64 Command::State GetState() const;
/system/core/libziparchive/
Dzip_writer.cc85 ZipWriter::ZipWriter(FILE* f) : file_(f), current_offset_(0), state_(State::kWritingZip), in ZipWriter()
96 writer.state_ = State::kError; in ZipWriter()
107 writer.state_ = State::kError; in operator =()
112 state_ = State::kError; in HandleError()
162 if (state_ != State::kWritingZip) { in StartAlignedEntryWithTime()
236 state_ = State::kWritingEntry; in StartAlignedEntryWithTime()
241 assert(state_ == State::kWritingZip); in PrepareDeflate()
264 if (state_ != State::kWritingEntry) { in WriteBytes()
286 assert(state_ == State::kWritingEntry); in StoreBytes()
297 assert(state_ == State::kWritingEntry); in CompressBytes()
[all …]
/system/weaved/buffet/
Dshill_client.cc70 Network::State ShillServiceStateToNetworkState(const string& state) { in ShillServiceStateToNetworkState()
77 return Network::State::kOnline; in ShillServiceStateToNetworkState()
81 return Network::State::kConnecting; in ShillServiceStateToNetworkState()
86 return Network::State::kError; in ShillServiceStateToNetworkState()
91 return Network::State::kOffline; in ShillServiceStateToNetworkState()
94 return Network::State::kOffline; in ShillServiceStateToNetworkState()
126 connectivity_state_ = Network::State::kOffline; in Init()
200 Network::State ShillClient::GetConnectionState() const { in GetConnectionState()
242 connectivity_state_ = Network::State::kOffline; in OnShillServiceOwnerChange()
364 device_state.service_state = Network::State::kOffline; in OnDevicePropertyChange()
[all …]
Dshill_client.h48 State GetConnectionState() const override;
72 State service_state{State::kOffline};
130 State connectivity_state_{State::kOffline};
Dbinder_command_proxy_unittest.cc70 .WillRepeatedly(Return(weave::Command::State::kQueued)); in SetUp()
86 weave::Command::State GetCommandState() const { in GetCommandState()
87 weave::Command::State state; in GetCommandState()
111 EXPECT_EQ(weave::Command::State::kQueued, GetCommandState()); in TEST_F()
/system/connectivity/shill/
Dpending_activation_store.h38 enum State { enum
76 virtual State GetActivationState(IdentifierType type,
84 State state);
Dpending_activation_store.cc50 string StateToString(PendingActivationStore::State state) { in StateToString()
120 PendingActivationStore::State PendingActivationStore::GetActivationState( in GetActivationState()
139 return static_cast<State>(state); in GetActivationState()
145 State state) { in SetActivationState()
Dmock_pending_activation_store.h36 State(IdentifierType type, const std::string& iccid));
40 State state));
/system/security/keystore/
Duser_state.h42 void setState(State state);
43 State getState() const { return mState; } in getState()
80 State mState;
Dblob.h104 ResponseCode writeBlob(const char* filename, AES_KEY* aes_key, State state, Entropy* entropy);
105 ResponseCode readBlob(const char* filename, AES_KEY* aes_key, State state);
/system/extras/mmap-perf/
DmmapPerf.cpp113 static void benchRandomRead(benchmark::State& state) { in benchRandomRead()
123 static void benchRandomWrite(benchmark::State& state) { in benchRandomWrite()
133 static void benchLinearRead(benchmark::State& state) { in benchLinearRead()
144 static void benchLinearWrite(benchmark::State& state) { in benchLinearWrite()
/system/core/include/ziparchive/
Dzip_writer.h150 enum class State { enum
159 State state_;
/system/connectivity/dhcp_client/
Ddhcp.h34 enum class State { enum

123