/external/webrtc/net/dcsctp/rx/ |
D | data_tracker_test.cc | 47 tracker_( 56 tracker_->Observe(TSN(tsn), AnyDataChunk::ImmediateAckFlag(false))); in Observer() 59 tracker_->Observe(TSN(tsn), AnyDataChunk::ImmediateAckFlag(false))); in Observer() 65 EXPECT_TRUE(tracker_->GetHandoverReadiness().IsReady()); in HandoverTracker() 67 tracker_->AddHandoverState(state); in HandoverTracker() 69 tracker_ = in HandoverTracker() 71 tracker_->RestoreFromState(state); in HandoverTracker() 78 std::unique_ptr<DataTracker> tracker_; member in dcsctp::__anon58bc42630111::DataTrackerTest 82 SackChunk sack = tracker_->CreateSelectiveAck(kArwnd); in TEST_F() 90 SackChunk sack = tracker_->CreateSelectiveAck(kArwnd); in TEST_F() [all …]
|
/external/cronet/net/dns/ |
D | dns_udp_tracker_unittest.cc | 18 tracker_.set_tick_clock_for_testing(&test_tick_clock_); in DnsUdpTrackerTest() 22 DnsUdpTracker tracker_; member in net::__anonb1c65a250111::DnsUdpTrackerTest 30 tracker_.RecordQuery(++port, ++id); in TEST_F() 31 tracker_.RecordResponseId(id /* query_id */, id /* response_id */); in TEST_F() 32 EXPECT_FALSE(tracker_.low_entropy()); in TEST_F() 38 tracker_.RecordQuery(123 /* port */, kOldId); in TEST_F() 43 EXPECT_FALSE(tracker_.low_entropy()); in TEST_F() 44 tracker_.RecordQuery(++port, ++id); in TEST_F() 45 tracker_.RecordResponseId(id /* query_id */, kOldId /* response_id */); in TEST_F() 48 EXPECT_TRUE(tracker_.low_entropy()); in TEST_F() [all …]
|
/external/openscreen/cast/sender/ |
D | cast_app_availability_tracker_unittest.cc | 38 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/common/ |
D | async_track_set_tracker_unittest.cc | 39 tracker_ = context_.async_track_set_tracker.get(); in AsyncTrackSetTrackerUnittest() 42 tracker_->InternProcessTrackSet(1, storage_->InternString("test")); in AsyncTrackSetTrackerUnittest() 43 legacy_unnestable_id_ = tracker_->InternAndroidLegacyUnnestableTrackSet( in AsyncTrackSetTrackerUnittest() 49 AsyncTrackSetTracker* tracker_ = nullptr; member in perfetto::trace_processor::AsyncTrackSetTrackerUnittest 61 auto set_id = tracker_->InternAndroidLegacyUnnestableTrackSet( in TEST_F() 64 auto begin = tracker_->Begin(set_id, 1); in TEST_F() 65 auto end = tracker_->End(set_id, 1); in TEST_F() 76 auto end = tracker_->End(nestable_id_, 1); in TEST_F() 85 auto begin = tracker_->Begin(legacy_unnestable_id_, 1); in TEST_F() 86 auto begin_2 = tracker_->Begin(legacy_unnestable_id_, 1); in TEST_F() [all …]
|
/external/webrtc/video/ |
D | quality_limitation_reason_tracker_unittest.cc | 22 : 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 …]
|
D | rtp_video_stream_receiver2.h | 390 video_coding::H264SpsPpsTracker tracker_
|
D | rtp_video_stream_receiver2.cc | 672 tracker_.CopyAndFixBitstream( in OnReceivedPayloadData() 1263 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), in InsertSpsPpsIntoTracker()
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | thread_state_tracker_unittest.cc | 47 tracker_.reset(new ThreadStateTracker(context_.storage.get())); in ThreadStateTrackerUnittest() 87 std::unique_ptr<ThreadStateTracker> tracker_; member in perfetto::trace_processor::__anond2230d100111::ThreadStateTrackerUnittest 95 tracker_->PushSchedSwitchEvent(10, CPU_A, THREAD_A, StringIdOf("S"), in TEST_F() 105 tracker_->PushWakingEvent(10, THREAD_A, THREAD_C); in TEST_F() 110 tracker_->PushSchedSwitchEvent(10, CPU_A, THREAD_A, StringIdOf("S"), in TEST_F() 112 tracker_->PushWakingEvent(20, THREAD_A, THREAD_C); in TEST_F() 123 tracker_->PushSchedSwitchEvent(10, CPU_A, THREAD_A, StringIdOf("S"), in TEST_F() 125 tracker_->PushBlockedReason(THREAD_A, true, StringIdOf(kBlockedFunction)); in TEST_F() 134 tracker_->PushSchedSwitchEvent(10, CPU_A, THREAD_A, StringIdOf(kRunnable), in TEST_F() 138 tracker_->PushSchedSwitchEvent(20, CPU_A, THREAD_B, StringIdOf("S"), in TEST_F() [all …]
|
/external/cronet/base/task/thread_pool/ |
D | task_tracker_unittest.cc | 89 tracker_(tracker), in ThreadPostingAndRunningTask() 103 tracker_(tracker), in ThreadPostingAndRunningTask() 122 tracker_->WillPostTask(&task_, sequence_->shutdown_behavior()); in Run() 128 task_source_ = tracker_->RegisterTaskSource(std::move(sequence_)); in Run() 141 EXPECT_FALSE(tracker_->RunAndPopNextTask(std::move(task_source_))); in Run() 145 const raw_ptr<TaskTracker> tracker_; member in base::internal::__anon3cfd122d0111::ThreadPostingAndRunningTask 174 if (!tracker_.WillPostTask(&task, traits.shutdown_behavior())) in WillPostTaskAndQueueTaskSource() 177 return tracker_.RegisterTaskSource(std::move(sequence)); in WillPostTaskAndQueueTaskSource() 181 return tracker_.RunAndPopNextTask(std::move(task_source)); in RunAndPopNextTask() 187 ASSERT_TRUE(tracker_.HasShutdownStarted()); in ExpectAsyncCompleteShutdownBlocks() [all …]
|
/external/libchrome/base/task_scheduler/ |
D | task_tracker_unittest.cc | 94 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::__anon4cab78350111::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 …]
|
D | task_tracker_posix_unittest.cc | 40 tracker_.set_watch_file_descriptor_message_loop( in TaskSchedulerTaskTrackerPosixTest() 46 TaskTrackerPosix tracker_ = {"Test"}; member in base::internal::__anonc4173e270111::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/ |
D | h264_sps_pps_tracker_unittest.cc | 118 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/cronet/net/base/ |
D | address_tracker_linux_unittest.cc | 78 tracker_ = std::make_unique<AddressTrackerLinux>( in InitializeAddressTracker() 83 tracker_->GetInitialDataAndStartRecordingDiffs(); in InitializeAddressTracker() 87 tracker_ = std::make_unique<AddressTrackerLinux>(); in InitializeAddressTracker() 89 original_get_interface_name_ = tracker_->get_interface_name_; in InitializeAddressTracker() 90 tracker_->get_interface_name_ = TestGetInterfaceName; in InitializeAddressTracker() 98 tracker_->HandleMessage(&writable_buf[0], buf.size(), &address_changed, in HandleAddressMessage() 110 tracker_->HandleMessage(&writable_buf[0], buf.size(), &address_changed, in HandleLinkMessage() 124 tracker_->HandleMessage(&writable_buf[0], buf.size(), &address_changed, in HandleTunnelMessage() 132 return tracker_->GetAddressMap(); in GetAddressMap() 136 return tracker_->GetOnlineLinks(); in GetOnlineLinks() [all …]
|
D | address_tracker_linux.cc | 678 : tracker_(tracker), lock_(lock) { in AddressTrackerAutoLock() 679 if (tracker_->tracking_) { in AddressTrackerAutoLock() 682 DCHECK_CALLED_ON_VALID_SEQUENCE(tracker_->sequence_checker_); in AddressTrackerAutoLock() 687 if (tracker_->tracking_) { in ~AddressTrackerAutoLock() 691 DCHECK_CALLED_ON_VALID_SEQUENCE(tracker_->sequence_checker_); in ~AddressTrackerAutoLock()
|
D | address_tracker_linux.h | 163 const raw_ref<const AddressTrackerLinux> tracker_;
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/ |
D | bandwidth_sampler_test.cc | 711 MaxAckHeightTrackerTest() : tracker_(/*initial_filter_window=*/10) { in MaxAckHeightTrackerTest() 712 tracker_.SetAckAggregationBandwidthThreshold(1.8); in MaxAckHeightTrackerTest() 713 tracker_.SetStartNewAggregationEpochAfterFullRound(true); in MaxAckHeightTrackerTest() 753 QuicByteCount extra_acked = tracker_.Update( in AggregationEpisode() 785 MaxAckHeightTracker tracker_; member in quic::test::MaxAckHeightTrackerTest 800 if (tracker_.ack_aggregation_bandwidth_threshold() > 1.1) { in TEST_F() 803 EXPECT_EQ(3u, tracker_.num_ack_aggregation_epochs()); in TEST_F() 807 EXPECT_EQ(2u, tracker_.num_ack_aggregation_epochs()); in TEST_F() 818 if (tracker_.ack_aggregation_bandwidth_threshold() > 1.1) { in TEST_F() 821 EXPECT_EQ(3u, tracker_.num_ack_aggregation_epochs()); in TEST_F() [all …]
|
/external/cronet/net/test/embedded_test_server/ |
D | connection_tracker.cc | 121 tracker_(tracker) {} in ConnectionListener() 134 base::Unretained(tracker_), port)); in AcceptedSocket() 152 base::Unretained(tracker_), port)); in ReadFromSocket()
|
D | connection_tracker.h | 86 raw_ptr<ConnectionTracker> tracker_; variable
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 669 : 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 …]
|
D | activity_tracker.h | 637 ThreadActivityTracker* const tracker_;
|
/external/cronet/third_party/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.h | 129 return element_ != nullptr ? *element_ : *tracker_; in location() 377 std::unique_ptr<LocationTrackerInterface> tracker_; variable
|
D | proto_writer.cc | 81 tracker_(new ObjectLocationTracker()) {} in ProtoWriter() 103 tracker_(new ObjectLocationTracker()) {} in ProtoWriter()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.h | 129 return element_ != nullptr ? *element_ : *tracker_; in location() 377 std::unique_ptr<LocationTrackerInterface> tracker_; variable
|
D | proto_writer.cc | 81 tracker_(new ObjectLocationTracker()) {} in ProtoWriter() 103 tracker_(new ObjectLocationTracker()) {} in ProtoWriter()
|
/external/perfetto/src/trace_processor/importers/fuchsia/ |
D | fuchsia_parser_unittest.cc | 152 : ArgsTracker::BoundInserter(&tracker_, nullptr, 0u), tracker_(nullptr) { in MockBoundInserter() 165 ArgsTracker tracker_; member in perfetto::trace_processor::__anon92d29aca0111::MockBoundInserter
|