/system/iorap/src/perfetto/ |
D | rx_producer.cc | 36 std::ostream& operator<<(std::ostream& os, State state) { in operator <<() 38 case State::kTraceFailed: in operator <<() 41 case State::kConnectionError: in operator <<() 44 case State::kSessionNotFound: in operator <<() 47 case State::kIdle: in operator <<() 50 case State::kConnecting: in operator <<() 53 case State::kConfigured: in operator <<() 56 case State::kTracing: in operator <<() 59 case State::kTraceEnded: in operator <<() 161 using State = ::perfetto::consumer::State; typedef [all …]
|
D | perfetto_consumer.h | 29 using State = ::perfetto::consumer::State; member 45 virtual State PollState(Handle) = 0; 76 virtual State PollState(Handle handle) override { in PollState()
|
/system/vold/model/ |
D | VolumeBase.cpp | 40 mState(State::kUnmounted), in VolumeBase() 47 void VolumeBase::setState(State state) { in setState() 77 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountFlags() 87 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountUserId() 117 if (mState != State::kChecking) { in setPath() 131 if (mState != State::kChecking) { in setInternalPath() 182 setState(State::kUnmounted); in create() 193 if (mState == State::kMounted) { in destroy() 195 setState(State::kBadRemoval); in destroy() 197 setState(State::kRemoved); in destroy() [all …]
|
/system/bt/common/ |
D | state_machine.h | 38 class State { 48 State(StateMachine& sm, int state_id) : sm_(sm), state_id_(state_id) {} in State() function 50 virtual ~State() = default; 94 void TransitionTo(StateMachine::State* dest_state) { in TransitionTo() 169 State* dest_state = it->second; in TransitionTo() 178 void TransitionTo(StateMachine::State* dest_state) { in TransitionTo() 194 void AddState(State* state) { in AddState() 203 void SetInitialState(State* initial_state) { initial_state_ = initial_state; } in SetInitialState() 206 State* initial_state_; 207 State* previous_state_; [all …]
|
/system/chre/apps/chqts/src/general_test/ |
D | basic_sensor_test_base.cc | 75 mState(State::kPreStart), in BasicSensorTestBase() 145 mState = State::kPreConfigure; in startTest() 228 mState = State::kExpectingLastDataEvent; in startTest() 234 mState = State::kExpectingInitialDataEvent; in startTest() 265 mState = State::kFinished; in finishTest() 284 if (mState == State::kExpectingInitialDataEvent) { in sanityCheckHeader() 287 } else if (mState == State::kExpectingLastDataEvent) { in sanityCheckHeader() 312 if ((mState == State::kFinished) && in sanityCheckHeader() 367 if (mState == State::kFinished) { in handleSamplingChangeEvent() 388 if ((mState == State::kPreStart) || (mState == State::kPreConfigure)) { in handleSensorDataEvent() [all …]
|
/system/bt/common/benchmark/ |
D | thread_performance_benchmark.cc | 30 using ::benchmark::State; 67 void SetUp(State& st) override { in SetUp() 73 void TearDown(State& st) override { in TearDown() 115 void SetUp(State& st) override { in SetUp() 123 void TearDown(State& st) override { in TearDown() 134 BENCHMARK_F(BM_MessageLoopOsiThread, batch_enque_dequeue)(State& state) { in BENCHMARK_F() 148 BENCHMARK_F(BM_MessageLoopOsiThread, sequential_execution)(State& state) { in BENCHMARK_F() 162 void SetUp(State& st) override { in SetUp() 169 void TearDown(State& st) override { in TearDown() 181 BENCHMARK_F(BM_MessageLoopStlThread, batch_enque_dequeue)(State& state) { in BENCHMARK_F() [all …]
|
D | timer_performance_benchmark.cc | 29 using ::benchmark::State; 64 void SetUp(State& st) override { in SetUp() 70 void TearDown(State& st) override { in TearDown() 79 BENCHMARK_DEFINE_F(BM_OsiAlarmTimer, timer_performance_ms)(State& state) { in BENCHMARK_DEFINE_F() 104 void SetUp(State& st) override { in SetUp() 114 void TearDown(State& st) override { in TearDown() 131 BENCHMARK_DEFINE_F(BM_AlarmTaskTimer, timer_performance_ms)(State& state) { in BENCHMARK_DEFINE_F() 159 void SetUp(State& st) override { in SetUp() 170 void TearDown(State& st) override { in TearDown() 179 BENCHMARK_DEFINE_F(BM_OsiPeriodicAlarmTimer, periodic_accuracy)(State& state) { in BENCHMARK_DEFINE_F() [all …]
|
/system/media/audio_utils/tests/ |
D | statistics_benchmark.cpp | 36 static void BM_MeanVariance(benchmark::State& state, int iterlimit, int alphalimit) { in BM_MeanVariance() 72 static void BM_MeanVariance_float_float_float(benchmark::State &state) { in BM_MeanVariance_float_float_float() 80 static void BM_RefMeanVariance_float_float(benchmark::State &state) { in BM_RefMeanVariance_float_float() 88 static auto BM_MeanVariance_float_double_double(benchmark::State &state) { in BM_MeanVariance_float_double_double() 96 static auto BM_RefMeanVariance_float_double(benchmark::State &state) { in BM_RefMeanVariance_float_double() 104 static auto BM_MeanVariance_float_float_Kahan(benchmark::State &state) { in BM_MeanVariance_float_float_Kahan() 113 static auto BM_MeanVariance_float_float_Neumaier(benchmark::State &state) { in BM_MeanVariance_float_float_Neumaier() 133 static auto BM_MeanVariance_float_float_float_alpha(benchmark::State &state) { in BM_MeanVariance_float_float_float_alpha() 141 static auto BM_MeanVariance_float_double_double_alpha(benchmark::State &state) { in BM_MeanVariance_float_double_double_alpha()
|
/system/update_engine/update_manager/ |
D | chromeos_policy.h | 58 State* state, 64 State* state, 70 State* state, 76 State* state, 81 State* state, 86 State* state, 152 State* state, 170 State* state,
|
D | android_things_policy.h | 36 State* state, 44 State* state, 51 State* state, 58 State* state, 65 State* state, 72 State* state,
|
D | state.h | 32 class State { 34 virtual ~State() {} in ~State() 46 State() {} in State() function 49 DISALLOW_COPY_AND_ASSIGN(State);
|
D | policy_utils.h | 50 State* state, in ConsultPolicies() 73 State* state, in UpdateCheckAllowed() 81 State* state, in UpdateCanBeApplied() 89 State* state, in UpdateCanStart() 97 State* state, in UpdateDownloadAllowed() 104 State* state, in P2PEnabled() 111 State* state, in P2PEnabledChanged()
|
D | default_policy.h | 69 State* state, 75 State* state, 81 State* state, 87 State* state, 92 State* state, 97 State* state,
|
D | update_manager.h | 53 State* state); 75 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 91 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 99 State* state() { return state_.get(); } in state() 116 EvaluationContext*, State*, std::string*, R*, Args...) const, 131 EvaluationContext*, State*, std::string*, R*, Args...) const, 146 std::unique_ptr<State> state_;
|
D | default_policy.cc | 38 State* state, in UpdateCheckAllowed() 63 State* state, in UpdateCanBeApplied() 72 State* state, in UpdateCanStart() 91 State* state, in UpdateDownloadAllowed() 99 State* state, in P2PEnabled() 107 State* state, in P2PEnabledChanged()
|
D | android_things_policy.cc | 49 State* state, in UpdateCheckAllowed() 106 State* state, in UpdateCanBeApplied() 142 State* state, in UpdateCanStart() 153 State* state, in UpdateDownloadAllowed() 164 State* state, in P2PEnabled() 174 State* state, in P2PEnabledChanged()
|
D | mock_policy.h | 70 EvalStatus(EvaluationContext*, State*, std::string*, UpdateCheckParams*)); 74 State*, 81 State*, 88 EvalStatus(EvaluationContext*, State*, std::string*, bool*)); 91 P2PEnabled, EvalStatus(EvaluationContext*, State*, std::string*, bool*)); 95 EvalStatus(EvaluationContext*, State*, std::string*, bool*, bool));
|
D | policy.h | 209 EvaluationContext*, State*, std::string*, R*, Args...) const) const { in PolicyRequestName() argument 245 State* state, 255 State* state, 267 State* state, 279 State* state, 286 State* state, 296 State* state,
|
/system/bt/gd/os/ |
D | thread_benchmark.cc | 26 using ::benchmark::State; 34 void SetUp(State& st) override { in SetUp() 39 void TearDown(State& st) override { in TearDown() 60 void SetUp(State& st) override { in SetUp() 65 void TearDown(State& st) override { in TearDown() 75 BENCHMARK_DEFINE_F(BM_ReactorThread, batch_enque_dequeue)(State& state) { in BENCHMARK_DEFINE_F() 96 BENCHMARK_DEFINE_F(BM_ReactorThread, sequential_execution)(State& state) { in BENCHMARK_DEFINE_F()
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | ProfileSession.java | 57 enum State { enum in ProfileSession 64 private State state = State.NOT_YET_STARTED; 115 if (state != State.NOT_YET_STARTED) { in startRecording() 122 state = State.STARTED; in startRecording() 129 if (state != State.STARTED) { in pauseRecording() 133 state = State.PAUSED; in pauseRecording() 140 if (state != State.PAUSED) { in resumeRecording() 144 state = State.STARTED; in resumeRecording() 151 if (state != State.STARTED && state != State.PAUSED) { in stopRecording() 163 state = State.STOPPED; in stopRecording()
|
/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 57 static void BM_log_maximum_retry(benchmark::State& state) { in BM_log_maximum_retry() 70 static void BM_log_maximum(benchmark::State& state) { in BM_log_maximum() 86 static void BM_log_maximum_null(benchmark::State& state) { in BM_log_maximum_null() 104 static void BM_clock_overhead(benchmark::State& state) { in BM_clock_overhead() 112 static void do_clock_overhead(benchmark::State& state, clockid_t clk_id) { in do_clock_overhead() 119 static void BM_time_clock_gettime_REALTIME(benchmark::State& state) { in BM_time_clock_gettime_REALTIME() 124 static void BM_time_clock_gettime_MONOTONIC(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC() 129 static void BM_time_clock_gettime_MONOTONIC_syscall(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_syscall() 137 static void BM_time_clock_gettime_MONOTONIC_RAW(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_RAW() 142 static void BM_time_clock_gettime_BOOTTIME(benchmark::State& state) { in BM_time_clock_gettime_BOOTTIME() [all …]
|
/system/core/libprocinfo/ |
D | process_map_benchmark.cpp | 31 static void BM_ReadMapFile(benchmark::State& state) { in BM_ReadMapFile() 44 static void BM_unwindstack_FileMaps(benchmark::State& state) { in BM_unwindstack_FileMaps() 54 static void BM_unwindstack_BufferMaps(benchmark::State& state) { in BM_unwindstack_BufferMaps() 66 static void BM_backtrace_BacktraceMap(benchmark::State& state) { in BM_backtrace_BacktraceMap()
|
/system/netd/tests/benchmarks/ |
D | dns_benchmark.cpp | 62 void SetUp(const ::benchmark::State& state) override { in SetUp() 77 void TearDown(const ::benchmark::State& state) override { in TearDown() 87 void benchmark(benchmark::State& state) { in benchmark() 105 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
|
D | bpf_benchmark.cpp | 34 BENCHMARK_DEFINE_F(BpfBenchMark, MapWriteNewEntry)(benchmark::State& state) { in BENCHMARK_DEFINE_F() 40 BENCHMARK_DEFINE_F(BpfBenchMark, MapUpdateEntry)(benchmark::State& state) { in BENCHMARK_DEFINE_F() 49 BENCHMARK_DEFINE_F(BpfBenchMark, MapDeleteAddEntry)(benchmark::State& state) { in BENCHMARK_DEFINE_F() 59 BENCHMARK_DEFINE_F(BpfBenchMark, WaitForRcu)(benchmark::State& state) { in BENCHMARK_DEFINE_F()
|
D | connect_benchmark.cpp | 99 static void ipv4_loopback(benchmark::State& state, const bool waitBetweenRuns) { in ipv4_loopback() 156 static void ipv6_loopback(benchmark::State& state, const bool waitBetweenRuns) { in ipv6_loopback() 213 static void run(decltype(ipv4_loopback) benchmarkFunction, ::benchmark::State& state, in run() 223 static void ipv4_no_load(::benchmark::State& state) { in ipv4_no_load() 229 static void ipv4_high_load(::benchmark::State& state) { in ipv4_high_load() 235 static void ipv6_no_load(::benchmark::State& state) { in ipv6_no_load() 241 static void ipv6_high_load(::benchmark::State& state) { in ipv6_high_load()
|