Home
last modified time | relevance | path

Searched refs:tracker_ (Results 1 – 15 of 15) sorted by relevance

/external/openscreen/cast/sender/
Dcast_app_availability_tracker_unittest.cc38 CastAppAvailabilityTracker tracker_; member in openscreen::cast::CastAppAvailabilityTrackerTest
46 EXPECT_EQ(expected_app_ids, tracker_.RegisterSource(source1)); in TEST_F()
48 EXPECT_EQ(std::vector<std::string>{}, tracker_.RegisterSource(source1)); in TEST_F()
49 EXPECT_EQ(std::vector<std::string>{}, tracker_.RegisterSource(source2)); in TEST_F()
51 tracker_.UnregisterSource(source1); in TEST_F()
52 tracker_.UnregisterSource(source2); in TEST_F()
54 EXPECT_EQ(expected_app_ids, tracker_.RegisterSource(source1)); in TEST_F()
55 EXPECT_EQ(expected_app_ids, tracker_.GetRegisteredApps()); in TEST_F()
64 EXPECT_THAT(tracker_.RegisterSource(source1), in TEST_F()
66 EXPECT_THAT(tracker_.GetRegisteredApps(), in TEST_F()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dasync_track_set_tracker_unittest.cc38 tracker_ = context_.async_track_set_tracker.get(); in AsyncTrackSetTrackerUnittest()
40 unnestable_id_ = tracker_->CreateUnnestableTrackSetForTesting( in AsyncTrackSetTrackerUnittest()
43 tracker_->InternAndroidSet(2, storage_->InternString("test")); in AsyncTrackSetTrackerUnittest()
48 AsyncTrackSetTracker* tracker_ = nullptr; member in perfetto::trace_processor::AsyncTrackSetTrackerUnittest
60 auto set_id = tracker_->InternAndroidSet(1, storage_->InternString("test")); in TEST_F()
62 auto begin = tracker_->Begin(set_id, 1); in TEST_F()
63 auto end = tracker_->End(set_id, 1); in TEST_F()
74 auto end = tracker_->End(unnestable_id_, 1); in TEST_F()
83 auto begin = tracker_->Begin(legacy_unnestable_id_, 1); in TEST_F()
84 auto begin_2 = tracker_->Begin(legacy_unnestable_id_, 1); in TEST_F()
[all …]
Dproto_trace_parser_unittest.cc174 : ArgsTracker::BoundInserter(&tracker_, nullptr, 0u), tracker_(nullptr) { in MockBoundInserter()
186 ArgsTracker tracker_; member in perfetto::trace_processor::__anonde9b72fc0111::MockBoundInserter
/external/webrtc/video/
Dquality_limitation_reason_tracker_unittest.cc22 : fake_clock_(1234), tracker_(&fake_clock_) {} in QualityLimitationReasonTrackerTest()
26 QualityLimitationReasonTracker tracker_; member in webrtc::QualityLimitationReasonTrackerTest
30 EXPECT_EQ(QualityLimitationReason::kNone, tracker_.current_reason()); in TEST_F()
31 auto durations_ms = tracker_.DurationsMs(); in TEST_F()
41 tracker_.DurationsMs()[QualityLimitationReason::kNone]; in TEST_F()
44 tracker_.DurationsMs()[QualityLimitationReason::kNone]); in TEST_F()
49 tracker_.SetReason(QualityLimitationReason::kCpu); in TEST_F()
51 tracker_.DurationsMs()[QualityLimitationReason::kCpu]; in TEST_F()
53 tracker_.SetReason(QualityLimitationReason::kOther); in TEST_F()
56 tracker_.DurationsMs()[QualityLimitationReason::kCpu]); in TEST_F()
[all …]
Drtp_video_stream_receiver2.h326 video_coding::H264SpsPpsTracker tracker_ RTC_GUARDED_BY(worker_task_checker_);
Drtp_video_stream_receiver.h363 video_coding::H264SpsPpsTracker tracker_; variable
Drtp_video_stream_receiver2.cc579 tracker_.CopyAndFixBitstream( in OnReceivedPayloadData()
1150 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), in InsertSpsPpsIntoTracker()
Drtp_video_stream_receiver.cc611 tracker_.CopyAndFixBitstream( in OnReceivedPayloadData()
1177 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), in InsertSpsPpsIntoTracker()
/external/libchrome/base/task_scheduler/
Dtask_tracker_unittest.cc94 tracker_(tracker), in ThreadPostingAndRunningTask()
111 tracker_(tracker), in ThreadPostingAndRunningTask()
123 post_succeeded = tracker_->WillPostTask(task_); in Run()
132 auto sequence = tracker_->WillScheduleSequence( in Run()
138 EXPECT_FALSE(tracker_->RunAndPopNextTask(std::move(sequence), in Run()
143 TaskTracker* const tracker_; member in base::internal::__anonfe92a6570111::ThreadPostingAndRunningTask
179 auto sequence = tracker_.WillScheduleSequence( in DispatchAndRunTaskWithTracker()
183 tracker_.RunAndPopNextTask(std::move(sequence), &never_notified_observer_); in DispatchAndRunTaskWithTracker()
192 Bind(&TaskTracker::Shutdown, Unretained(&tracker_)))); in CallShutdownAsync()
194 while (!tracker_.HasShutdownStarted()) in CallShutdownAsync()
[all …]
Dtask_tracker_posix_unittest.cc40 tracker_.set_watch_file_descriptor_message_loop( in TaskSchedulerTaskTrackerPosixTest()
46 TaskTrackerPosix tracker_ = {"Test"}; member in base::internal::__anon3764fdc90111::TaskSchedulerTaskTrackerPosixTest
61 EXPECT_TRUE(tracker_.WillPostTask(&task)); in TEST_F()
64 EXPECT_EQ(sequence, tracker_.WillScheduleSequence(sequence, nullptr)); in TEST_F()
67 EXPECT_FALSE(tracker_.RunAndPopNextTask(sequence, nullptr)); in TEST_F()
84 EXPECT_TRUE(tracker_.WillPostTask(&task)); in TEST_F()
87 EXPECT_EQ(sequence, tracker_.WillScheduleSequence(sequence, nullptr)); in TEST_F()
90 EXPECT_FALSE(tracker_.RunAndPopNextTask(sequence, nullptr)); in TEST_F()
/external/webrtc/modules/video_coding/
Dh264_sps_pps_tracker_unittest.cc118 H264SpsPpsTracker tracker_; member in webrtc::video_coding::TestH264SpsPpsTracker
127 tracker_.CopyAndFixBitstream(data, &header); in TEST_F()
141 tracker_.CopyAndFixBitstream(data, &header); in TEST_F()
156 EXPECT_EQ(tracker_.CopyAndFixBitstream(data, &header).action, in TEST_F()
166 tracker_.CopyAndFixBitstream(data, &header); in TEST_F()
183 tracker_.CopyAndFixBitstream(data, &header); in TEST_F()
195 EXPECT_EQ(tracker_.CopyAndFixBitstream(data, &header).action, in TEST_F()
206 EXPECT_EQ(tracker_.CopyAndFixBitstream(data, &header).action, in TEST_F()
217 EXPECT_EQ(tracker_.CopyAndFixBitstream(data, &header).action, in TEST_F()
228 EXPECT_EQ(tracker_.CopyAndFixBitstream(data, &sps_pps_header).action, in TEST_F()
[all …]
/external/libchrome/base/debug/
Dactivity_tracker.cc669 : tracker_(tracker) { in ScopedActivity()
670 if (tracker_) in ScopedActivity()
671 activity_id_ = tracker_->PushActivity(program_counter, origin, type, data); in ScopedActivity()
675 if (tracker_) in ~ScopedActivity()
676 tracker_->PopActivity(activity_id_); in ~ScopedActivity()
682 if (tracker_) in ChangeTypeAndData()
683 tracker_->ChangeActivity(activity_id_, type, data); in ChangeTypeAndData()
1204 if (tracker_ && tracker_->HasUserData(activity_id_)) { in ~ScopedThreadActivity()
1207 tracker_->ReleaseUserData(activity_id_, &global->user_data_allocator_); in ~ScopedThreadActivity()
1213 if (tracker_) { in user_data()
[all …]
Dactivity_tracker.h637 ThreadActivityTracker* const tracker_;
/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.h121 return element_ != nullptr ? *element_ : *tracker_; in location()
361 std::unique_ptr<LocationTrackerInterface> tracker_; variable
Dproto_writer.cc81 tracker_(new ObjectLocationTracker()) {} in ProtoWriter()
102 tracker_(new ObjectLocationTracker()) {} in ProtoWriter()