Home
last modified time | relevance | path

Searched refs:data_source (Results 1 – 25 of 26) sorted by relevance

12

/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source_unittest.cc70 auto data_source = GetProcessStatsDataSource(DataSourceConfig()); in TEST_F() local
71 EXPECT_CALL(*data_source, ReadProcPidFile(42, "status")) in TEST_F()
73 EXPECT_CALL(*data_source, ReadProcPidFile(42, "cmdline")) in TEST_F()
76 data_source->OnPids({42}); in TEST_F()
105 auto data_source = GetProcessStatsDataSource(config); in TEST_F() local
107 EXPECT_CALL(*data_source, ReadProcPidFile(p, "status")) in TEST_F()
117 EXPECT_CALL(*data_source, ReadProcPidFile(p, "cmdline")) in TEST_F()
122 data_source->OnPids({10, 11, 12, 20, 21, 22, 10, 20, 11, 21}); in TEST_F()
123 data_source->OnPids({30}); in TEST_F()
124 data_source->OnPids({10, 30, 10, 31, 32}); in TEST_F()
[all …]
DBUILD.gn20 "..:data_source",
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller_unittest.cc247 std::unique_ptr<FtraceDataSource> data_source(new FtraceDataSource( in AddFakeDataSource() local
249 if (!AddDataSource(data_source.get())) in AddFakeDataSource()
251 return data_source; in AddFakeDataSource()
328 auto data_source = controller->AddFakeDataSource(config); in TEST() local
329 ASSERT_TRUE(data_source); in TEST()
332 ASSERT_TRUE(controller->StartDataSource(data_source.get())); in TEST()
345 data_source.reset(); in TEST()
387 auto data_source = controller->AddFakeDataSource(config); in TEST() local
390 ASSERT_TRUE(controller->StartDataSource(data_source.get())); in TEST()
402 data_source.reset(); in TEST()
[all …]
Dftrace_controller.cc148 for (const auto* data_source : data_sources_) in ~FtraceController() local
149 ftrace_config_muxer_->RemoveConfig(data_source->config_id()); in ~FtraceController()
321 for (const FtraceDataSource* data_source : data_sources_) { in GetDrainPeriodMs() local
322 if (data_source->config().drain_period_ms() < min_drain_period_ms) in GetDrainPeriodMs()
323 min_drain_period_ms = data_source->config().drain_period_ms(); in GetDrainPeriodMs()
397 bool FtraceController::AddDataSource(FtraceDataSource* data_source) { in AddDataSource() argument
399 if (!ValidConfig(data_source->config())) in AddDataSource()
402 auto config_id = ftrace_config_muxer_->SetupConfig(data_source->config()); in AddDataSource()
407 auto it_and_inserted = data_sources_.insert(data_source); in AddDataSource()
409 data_source->Initialize(config_id, filter); in AddDataSource()
[all …]
Dcpu_reader.cc410 for (FtraceDataSource* data_source : data_sources) { in Drain()
411 auto packet = data_source->trace_writer()->NewTracePacket(); in Drain()
413 auto* metadata = data_source->mutable_metadata(); in Drain()
414 auto* filter = data_source->event_filter(); in Drain()
DBUILD.gn114 "..:data_source",
/external/perfetto/src/traced/probes/
Dprobes_producer.cc171 std::unique_ptr<ProbesDataSource> data_source; in SetupDataSource() local
173 data_source = CreateFtraceDataSource(session_id, config); in SetupDataSource()
175 data_source = CreateInodeFileDataSource(session_id, config); in SetupDataSource()
177 data_source = CreateProcessStatsDataSource(session_id, config); in SetupDataSource()
179 data_source = CreateSysStatsDataSource(session_id, config); in SetupDataSource()
181 data_source = CreateAndroidPowerDataSource(session_id, config); in SetupDataSource()
183 data_source = CreateAndroidLogDataSource(session_id, config); in SetupDataSource()
185 data_source = CreatePackagesListDataSource(session_id, config); in SetupDataSource()
188 if (!data_source) { in SetupDataSource()
193 session_data_sources_.emplace(session_id, data_source.get()); in SetupDataSource()
[all …]
DBUILD.gn34 ":data_source",
56 source_set("data_source") {
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc377 DataSource data_source; in SetupDataSource() local
378 data_source.id = id; in SetupDataSource()
379 data_source.client_configuration = MakeClientConfiguration(cfg); in SetupDataSource()
380 data_source.config = heapprofd_config; in SetupDataSource()
382 data_source.trace_writer = endpoint_->CreateTraceWriter(buffer_id); in SetupDataSource()
383 data_source.normalized_cmdlines = std::move(normalized_cmdlines); in SetupDataSource()
385 data_sources_.emplace(id, std::move(data_source)); in SetupDataSource()
416 DataSource& data_source = it->second; in StartDataSource() local
422 data_source.properties.emplace_back(properties_.SetAll()); in StartDataSource()
424 for (std::string cmdline : data_source.normalized_cmdlines) in StartDataSource()
[all …]
/external/perfetto/src/traced/probes/filesystem/
Dinode_file_data_source_unittest.cc84 auto data_source = GetInodeFileDataSource(config); in TEST_F() local
93 EXPECT_CALL(*data_source, FillInodeEntry(_, buf.st_ino, Eq(value))) in TEST_F()
96 data_source->OnInodes({{buf.st_ino, buf.st_dev}}); in TEST_F()
106 auto data_source = GetInodeFileDataSource(config); in TEST_F() local
116 EXPECT_CALL(*data_source, FillInodeEntry(_, buf.st_ino, Eq(value))); in TEST_F()
118 data_source->OnInodes({{buf.st_ino, buf.st_dev}}); in TEST_F()
125 auto data_source = GetInodeFileDataSource(config); in TEST_F() local
137 EXPECT_CALL(*data_source, FillInodeEntry(_, buf.st_ino, Eq(value))); in TEST_F()
139 data_source->OnInodes({{buf.st_ino, buf.st_dev}}); in TEST_F()
DBUILD.gn21 "..:data_source",
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source_unittest.cc224 void WaitTick(SysStatsDataSource* data_source) { in WaitTick() argument
226 Poller(data_source, checkpoint); in WaitTick()
247 auto data_source = GetSysStatsDataSource(config_obj); in TEST_F() local
249 WaitTick(data_source.get()); in TEST_F()
281 auto data_source = GetSysStatsDataSource(config_obj); in TEST_F() local
283 WaitTick(data_source.get()); in TEST_F()
311 auto data_source = GetSysStatsDataSource(config_obj); in TEST_F() local
313 WaitTick(data_source.get()); in TEST_F()
353 auto data_source = GetSysStatsDataSource(config_obj); in TEST_F() local
355 WaitTick(data_source.get()); in TEST_F()
DBUILD.gn20 "..:data_source",
/external/image_io/src/gcontainer/
Dgcontainer.cc54 IStreamRefDataSource data_source(input_jpeg_stream); in ExtractFirstImageInJpeg() local
58 jpeg_scanner.Run(&data_source, &jpeg_info_builder); in ExtractFirstImageInJpeg()
59 data_source.Reset(); in ExtractFirstImageInJpeg()
103 IStreamDataSource data_source( in WriteImageAndFiles() local
105 data_source.TransferData(image_range, image_range.GetLength(), in WriteImageAndFiles()
/external/image_io/src/jpeg/
Djpeg_apple_depth_builder.cc50 bool GetJpegInfo(int image_limit, DataSource* data_source, JpegInfo* info, in GetJpegInfo() argument
56 scanner.Run(data_source, &info_builder); in GetJpegInfo()
238 bool JpegAppleDepthBuilder::TransferData(DataSource* data_source, in TransferData() argument
242 data_source->TransferData(data_range, kBestDataSize, data_destination_); in TransferData()
Djpeg_scanner.cc18 void JpegScanner::Run(DataSource* data_source, in Run() argument
24 data_source_ = data_source; in Run()
/external/image_io/includes/image_io/jpeg/
Djpeg_image_extractor.h20 JpegImageExtractor(const JpegInfo& jpeg_info, DataSource* data_source, in JpegImageExtractor() argument
23 data_source_(data_source), in JpegImageExtractor()
Djpeg_apple_depth_builder.h72 bool TransferData(DataSource *data_source, const DataRange& data_range);
Djpeg_scanner.h31 void Run(DataSource* data_source, JpegSegmentProcessor* segment_processor);
/external/google-breakpad/src/common/windows/
Dpdb_source_line_writer.cc151 CComPtr<IDiaDataSource> data_source; in Open() local
152 if (FAILED(data_source.CoCreateInstance(CLSID_DiaSource))) { in Open()
166 if (FAILED(data_source->loadDataFromPdb(file.c_str()))) { in Open()
172 if (FAILED(data_source->loadDataForExe(file.c_str(), NULL, NULL))) { in Open()
179 if (FAILED(data_source->loadDataFromPdb(file.c_str()))) { in Open()
180 if (FAILED(data_source->loadDataForExe(file.c_str(), NULL, NULL))) { in Open()
193 if (FAILED(data_source->openSession(&session_))) { in Open()
/external/perfetto/src/traced/probes/power/
DBUILD.gn21 "..:data_source",
/external/perfetto/src/traced/probes/android_log/
DBUILD.gn20 "..:data_source",
/external/perfetto/src/traced/probes/packages_list/
DBUILD.gn20 "..:data_source",
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc727 DataSourceInstance& data_source = kv.second; in StartTracing() local
733 StartDataSourceInstance(producer, tracing_session, &data_source); in StartTracing()
1358 const DataSourceInstance& data_source = kv.second; in PeriodicClearIncrementalStateTask() local
1359 if (data_source.handles_incremental_state_clear) in PeriodicClearIncrementalStateTask()
1360 clear_map[producer_id].push_back(data_source.instance_id); in PeriodicClearIncrementalStateTask()
1761 const RegisteredDataSource& data_source, in SetupDataSource() argument
1764 ProducerEndpointImpl* producer = GetProducer(data_source.producer_id); in SetupDataSource()
1811 data_source.descriptor.name(), in SetupDataSource()
1812 data_source.descriptor.will_notify_on_start(), in SetupDataSource()
1813 data_source.descriptor.will_notify_on_stop(), in SetupDataSource()
[all …]
/external/wayland/
DTODO9 - mime-type guidelines for data_source (ie, both dnd and selection):

12