Home
last modified time | relevance | path

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

12

/system/vold/
DVolumeBase.cpp38 State::kUnmounted), mSilent(false) { in VolumeBase()
45 void VolumeBase::setState(State state) { in setState()
71 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountFlags()
81 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountUserId()
111 if (mState != State::kChecking) { in setPath()
122 if (mState != State::kChecking) { in setInternalPath()
168 setState(State::kUnmounted); in create()
179 if (mState == State::kMounted) { in destroy()
181 setState(State::kBadRemoval); in destroy()
183 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/core/logcat/tests/
Dexec_benchmark.cpp25 static void logcat_popen_libc(benchmark::State& state, const char* cmd) { in logcat_popen_libc()
34 static void BM_logcat_stat_popen_libc(benchmark::State& state) { in BM_logcat_stat_popen_libc()
39 static void logcat_popen_liblogcat(benchmark::State& state, const char* cmd) { in logcat_popen_liblogcat()
49 static void BM_logcat_stat_popen_liblogcat(benchmark::State& state) { in BM_logcat_stat_popen_liblogcat()
54 static void logcat_system_libc(benchmark::State& state, const char* cmd) { in logcat_system_libc()
60 static void BM_logcat_stat_system_libc(benchmark::State& state) { in BM_logcat_stat_system_libc()
65 static void logcat_system_liblogcat(benchmark::State& state, const char* cmd) { in logcat_system_liblogcat()
71 static void BM_logcat_stat_system_liblogcat(benchmark::State& state) { in BM_logcat_stat_system_liblogcat()
78 static void BM_logcat_dump_popen_libc(benchmark::State& state) { in BM_logcat_dump_popen_libc()
83 static void BM_logcat_dump_popen_liblogcat(benchmark::State& state) { in BM_logcat_dump_popen_liblogcat()
[all …]
/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.h34 State* DefaultStateFactory(
Dupdate_manager.cc26 base::TimeDelta expiration_timeout, State* state) in UpdateManager()
Dchromeos_policy.cc192 EvaluationContext* ec, State* state, string* error, in UpdateCheckAllowed()
328 State* state, in UpdateCanStart()
497 State* state, in UpdateDownloadAllowed()
572 State* state, in P2PEnabled()
608 State* state, in P2PEnabledChanged()
619 State* state, string* error, in NextUpdateCheckTime()
705 EvaluationContext* ec, State* state, string* error, in UpdateBackoffAndDownloadUrl()
896 State* state, in UpdateScattering()
Dfake_state.h41 class FakeState : public State {
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp121 static void ipv4_loopback(benchmark::State& state, const bool waitBetweenRuns) { in ipv4_loopback()
178 static void ipv6_loopback(benchmark::State& state, const bool waitBetweenRuns) { in ipv6_loopback()
236 ::benchmark::State& state, const int reportingLevel, in run_at_reporting_level()
290 static void ipv4_metrics_reporting_no_fwmark(::benchmark::State& state) { in ipv4_metrics_reporting_no_fwmark()
296 static void ipv4_metrics_reporting_no_load(::benchmark::State& state) { in ipv4_metrics_reporting_no_load()
301 static void ipv4_full_reporting_no_load(::benchmark::State& state) { in ipv4_full_reporting_no_load()
307 static void ipv4_metrics_reporting_high_load(::benchmark::State& state) { in ipv4_metrics_reporting_high_load()
314 static void ipv4_full_reporting_high_load(::benchmark::State& state) { in ipv4_full_reporting_high_load()
321 static void ipv6_metrics_reporting_no_fwmark(::benchmark::State& state) { in ipv6_metrics_reporting_no_fwmark()
327 static void ipv6_metrics_reporting_no_load(::benchmark::State& state) { in ipv6_metrics_reporting_no_load()
[all …]
Ddns_benchmark.cpp90 void SetUp(const ::benchmark::State& state) override { in SetUp()
105 void TearDown(const ::benchmark::State& state) override { in TearDown()
120 void getaddrinfo_until_done(benchmark::State &state) { in getaddrinfo_until_done()
137 void benchmark_at_reporting_level(benchmark::State &state, int metricsLevel) { in benchmark_at_reporting_level()
173 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_nothing)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
181 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_metrics)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
189 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_everything)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
/system/core/libziparchive/
Dzip_writer.cc89 state_(State::kWritingZip), z_stream_(nullptr, DeleteZStream), in ZipWriter()
107 writer.state_ = State::kError; in ZipWriter()
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()
319 if (state_ != State::kWritingEntry) { in WriteBytes()
341 CHECK(state_ == State::kWritingEntry); in StoreBytes()
[all …]
/system/security/keystore/
Duser_state.h42 void setState(State state);
43 State getState() const { return mState; } in getState()
80 State mState;
Dblob.h111 ResponseCode writeBlob(const char* filename, AES_KEY* aes_key, State state, Entropy* entropy);
112 ResponseCode readBlob(const char* filename, AES_KEY* aes_key, State state);
/system/libhwbinder/vts/performance/
DBenchmark.cpp70 static void BM_sendVec(benchmark::State& state, sp<IBenchmark> service) { in BM_sendVec()
84 static void BM_sendVec_passthrough(benchmark::State& state) { in BM_sendVec_passthrough()
96 static void BM_sendVec_binderize(benchmark::State& state) { in BM_sendVec_binderize()
/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.h168 enum class State { enum
178 State state_;
/system/core/logwrapper/
Dandroid_fork_execvp_ext_benchmark.cpp22 static void BM_android_fork_execvp_ext(benchmark::State& state) { in BM_android_fork_execvp_ext()
/system/security/keystore/include/keystore/
Dkeystore.h23 enum State { enum

12