Lines Matching defs:TestDataSourceHandle
278 struct TestDataSourceHandle { struct
279 WaitableTestEvent on_create;
280 WaitableTestEvent on_setup;
281 WaitableTestEvent on_start;
282 WaitableTestEvent on_stop;
283 WaitableTestEvent on_flush;
284 MockDataSource* instance;
285 perfetto::DataSourceConfig config;
286 bool is_datasource_started = false;
287 bool handle_stop_asynchronously = false;
288 bool handle_flush_asynchronously = false;
289 std::function<void()> on_start_callback;
290 std::function<void()> on_stop_callback;
291 std::function<void(perfetto::FlushFlags)> on_flush_callback;
292 std::function<void()> async_stop_closure;
293 std::function<void()> async_flush_closure;