/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 …]
|
/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/core/libunwindstack/benchmarks/ |
D | SymbolBenchmark.cpp | 32 static void BenchmarkSymbolLookup(benchmark::State& state, std::vector<uint64_t> offsets, in BenchmarkSymbolLookup() 82 static void BenchmarkSymbolLookup(benchmark::State& state, uint64_t pc, std::string elf_file, in BenchmarkSymbolLookup() 87 void BM_symbol_not_present(benchmark::State& state) { in BM_symbol_not_present() 92 void BM_symbol_find_single(benchmark::State& state) { in BM_symbol_find_single() 97 void BM_symbol_find_single_many_times(benchmark::State& state) { in BM_symbol_find_single_many_times() 102 void BM_symbol_find_multiple(benchmark::State& state) { in BM_symbol_find_multiple() 109 void BM_symbol_not_present_from_sorted(benchmark::State& state) { in BM_symbol_not_present_from_sorted() 114 void BM_symbol_find_single_from_sorted(benchmark::State& state) { in BM_symbol_find_single_from_sorted() 119 void BM_symbol_find_single_many_times_from_sorted(benchmark::State& state) { in BM_symbol_find_single_many_times_from_sorted() 124 void BM_symbol_find_multiple_from_sorted(benchmark::State& state) { in BM_symbol_find_multiple_from_sorted()
|
D | MapsBenchmark.cpp | 56 static void ReparseBenchmark(benchmark::State& state, const char* maps1, size_t maps1_total, in ReparseBenchmark() 79 void BM_local_updatable_maps_reparse_double_initial_small(benchmark::State& state) { in BM_local_updatable_maps_reparse_double_initial_small() 90 void BM_local_updatable_maps_reparse_double_initial_large(benchmark::State& state) { in BM_local_updatable_maps_reparse_double_initial_large() 101 void BM_local_updatable_maps_reparse_same_maps_small(benchmark::State& state) { in BM_local_updatable_maps_reparse_same_maps_small() 110 void BM_local_updatable_maps_reparse_same_maps_large(benchmark::State& state) { in BM_local_updatable_maps_reparse_same_maps_large() 118 void BM_local_updatable_maps_reparse_few_extra_small(benchmark::State& state) { in BM_local_updatable_maps_reparse_few_extra_small() 129 void BM_local_updatable_maps_reparse_few_extra_large(benchmark::State& state) { in BM_local_updatable_maps_reparse_few_extra_large() 140 void BM_local_updatable_maps_reparse_few_less_small(benchmark::State& state) { in BM_local_updatable_maps_reparse_few_less_small() 151 void BM_local_updatable_maps_reparse_few_less_large(benchmark::State& state) { in BM_local_updatable_maps_reparse_few_less_large()
|
/system/extras/memory_replay/ |
D | TraceBenchmark.cpp | 152 static void RunTrace(benchmark::State& state, TraceDataType* trace_data) { in RunTrace() 252 static void BenchmarkTrace(benchmark::State& state, const char* filename, bool enable_decay_time) { in BenchmarkTrace() 280 static void BM_angry_birds2(benchmark::State& state) { in BM_angry_birds2() 286 static void BM_angry_birds2_no_decay(benchmark::State& state) { in BM_angry_birds2_no_decay() 292 static void BM_camera(benchmark::State& state) { in BM_camera() 298 static void BM_camera_no_decay(benchmark::State& state) { in BM_camera_no_decay() 304 static void BM_candy_crush_saga(benchmark::State& state) { in BM_candy_crush_saga() 310 static void BM_candy_crush_saga_no_decay(benchmark::State& state) { in BM_candy_crush_saga_no_decay() 316 void BM_gmail(benchmark::State& state) { in BM_gmail() 322 void BM_gmail_no_decay(benchmark::State& state) { in BM_gmail_no_decay() [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/benchmarks/ |
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/libbase/ |
D | format_benchmark.cpp | 27 static void BenchmarkFormatInt(benchmark::State& state) { in BenchmarkFormatInt() 36 static void BenchmarkStringPrintfInt(benchmark::State& state) { in BenchmarkStringPrintfInt() 45 static void BenchmarkFormatFloat(benchmark::State& state) { in BenchmarkFormatFloat() 54 static void BenchmarkStringPrintfFloat(benchmark::State& state) { in BenchmarkStringPrintfFloat() 63 static void BenchmarkFormatStrings(benchmark::State& state) { in BenchmarkFormatStrings() 71 static void BenchmarkStringPrintfStrings(benchmark::State& state) { in BenchmarkStringPrintfStrings()
|
/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 | update_manager.h | 49 State*, 62 State* state); 84 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 100 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 107 State*, 116 State* state() { return state_.get(); } in state() 133 EvaluationContext*, State*, std::string*, R*, Args...) const, 148 EvaluationContext*, State*, std::string*, R*, Args...) const, 163 std::unique_ptr<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 | 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 | 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 | android_things_policy.cc | 55 State* state, in UpdateCheckAllowed() 113 State* state, in UpdateCanBeApplied() 149 State* state, in UpdateCanStart() 160 State* state, in UpdateDownloadAllowed() 171 State* state, in P2PEnabled() 181 State* state, in P2PEnabledChanged()
|
/system/bt/gd/os/ |
D | thread_benchmark.cc | 26 using ::benchmark::State; 35 void SetUp(State& st) override { in SetUp() 40 void TearDown(State& st) override { in TearDown() 61 void SetUp(State& st) override { in SetUp() 66 void TearDown(State& st) override { in TearDown() 76 BENCHMARK_DEFINE_F(BM_ReactorThread, batch_enque_dequeue)(State& state) { in BENCHMARK_DEFINE_F() 98 BENCHMARK_DEFINE_F(BM_ReactorThread, sequential_execution)(State& state) { in BENCHMARK_DEFINE_F()
|
/system/core/libutils/ |
D | Vector_benchmark.cpp | 21 void BM_fill_android_vector(benchmark::State& state) { in BM_fill_android_vector() 29 void BM_fill_std_vector(benchmark::State& state) { in BM_fill_std_vector() 37 void BM_prepend_android_vector(benchmark::State& state) { in BM_prepend_android_vector() 45 void BM_prepend_std_vector(benchmark::State& state) { in BM_prepend_std_vector()
|
/system/core/adb/client/pairing/ |
D | pairing_client.cpp | 68 enum class State { enum in adbwifi::pairing::__anon35b3e0a10111::PairingClientImpl 74 State state_ = State::Ready; 92 state_ = State::Ready; in PairingClientImpl() 108 if (state_ != State::Ready) { in Start() 120 state_ = State::Stopped; in Start() 124 state_ = State::Running; in Start() 147 state_ = State::Stopped; in StartConnection()
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | ProfileSession.java | 66 enum State { enum in ProfileSession 73 private State mState = State.NOT_YET_STARTED; 126 if (mState != State.NOT_YET_STARTED) { in startRecording() 138 mState = State.STARTED; in startRecording() 145 if (mState != State.STARTED) { in pauseRecording() 153 mState = State.PAUSED; in pauseRecording() 160 if (mState != State.PAUSED) { in resumeRecording() 164 mState = State.STARTED; in resumeRecording() 171 if (mState != State.STARTED && mState != State.PAUSED) { in stopRecording() 190 mState = State.STOPPED; in stopRecording()
|
/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 58 static void BM_log_maximum_retry(benchmark::State& state) { in BM_log_maximum_retry() 71 static void BM_log_maximum(benchmark::State& state) { in BM_log_maximum() 89 static void BM_clock_overhead(benchmark::State& state) { in BM_clock_overhead() 97 static void do_clock_overhead(benchmark::State& state, clockid_t clk_id) { in do_clock_overhead() 104 static void BM_time_clock_gettime_REALTIME(benchmark::State& state) { in BM_time_clock_gettime_REALTIME() 109 static void BM_time_clock_gettime_MONOTONIC(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC() 114 static void BM_time_clock_gettime_MONOTONIC_syscall(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_syscall() 122 static void BM_time_clock_gettime_MONOTONIC_RAW(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_RAW() 127 static void BM_time_clock_gettime_BOOTTIME(benchmark::State& state) { in BM_time_clock_gettime_BOOTTIME() 132 static void BM_time_clock_getres_MONOTONIC(benchmark::State& state) { in BM_time_clock_getres_MONOTONIC() [all …]
|