/external/cronet/components/metrics/ |
D | data_use_tracker_unittest.cc | 99 local_state.GetDict(prefs::kUserCellDataUse).FindInt(kTodayStr)); in TEST() 100 EXPECT_FALSE(local_state.GetDict(prefs::kUmaCellDataUse).FindInt(kTodayStr)); in TEST() 104 local_state.GetDict(prefs::kUserCellDataUse).FindInt(kTodayStr)); in TEST() 106 local_state.GetDict(prefs::kUmaCellDataUse).FindInt(kTodayStr)); in TEST() 117 local_state.GetDict(prefs::kUserCellDataUse).FindInt(kExpiredDateStr1)); in TEST() 119 local_state.GetDict(prefs::kUmaCellDataUse).FindInt(kExpiredDateStr1)); in TEST() 122 local_state.GetDict(prefs::kUserCellDataUse).FindInt(kExpiredDateStr2)); in TEST() 124 local_state.GetDict(prefs::kUmaCellDataUse).FindInt(kExpiredDateStr2)); in TEST() 127 local_state.GetDict(prefs::kUserCellDataUse).FindInt(kTodayStr)); in TEST() 129 local_state.GetDict(prefs::kUmaCellDataUse).FindInt(kTodayStr)); in TEST() [all …]
|
D | clean_exit_beacon.cc | 94 beacon_file_contents->GetDict().FindInt(kVariationsCrashStreak); in MaybeIncrementCrashStreak() 195 if (!beacon_dict.FindInt(kVariationsCrashStreak)) { in MaybeGetFileContents()
|
D | unsent_log_store.cc | 514 auto unsent_samples_count = value.FindInt(kLogUnsentCountKey); in RecordMetaDataMetrics() 515 auto sent_samples_count = value.FindInt(kLogSentCountKey); in RecordMetaDataMetrics() 516 auto unsent_persisted_size_in_kb = value.FindInt(kLogPersistedSizeInKbKey); in RecordMetaDataMetrics()
|
D | data_use_tracker.cc | 109 int todays_traffic = user_pref_dict.FindInt(todays_key).value_or(0); in UpdateUsagePref()
|
/external/cronet/components/cronet/ |
D | url_request_context_config.cc | 486 quic_args.FindInt(kQuicMaxServerConfigsStoredInProperties) in SetContextBuilderExperimentalOptions() 491 map(quic_args.FindInt(kQuicIdleConnectionTimeoutSeconds), in SetContextBuilderExperimentalOptions() 496 map(quic_args.FindInt(kQuicMaxTimeBeforeCryptoHandshakeSeconds), in SetContextBuilderExperimentalOptions() 501 map(quic_args.FindInt(kQuicMaxIdleTimeBeforeCryptoHandshakeSeconds), in SetContextBuilderExperimentalOptions() 539 map(quic_args.FindInt(kQuicMaxTimeOnNonDefaultNetworkSeconds), in SetContextBuilderExperimentalOptions() 543 quic_args.FindInt(kQuicMaxMigrationsToNonDefaultNetworkOnWriteError) in SetContextBuilderExperimentalOptions() 549 .FindInt(kQuicMaxMigrationsToNonDefaultNetworkOnPathDegrading) in SetContextBuilderExperimentalOptions() 561 map(quic_args.FindInt(kQuicIdleSessionMigrationPeriodSeconds), in SetContextBuilderExperimentalOptions() 571 map(quic_args.FindInt(kQuicRetransmittableOnWireTimeoutMilliseconds), in SetContextBuilderExperimentalOptions() 593 quic_args.FindInt(kInitialDelayForBrokenAlternativeServiceSeconds), in SetContextBuilderExperimentalOptions() [all …]
|
/external/cronet/base/metrics/ |
D | sparse_histogram_unittest.cc | 470 EXPECT_EQ(bucket1->FindInt("low"), absl::optional<int>(100)); in TEST_P() 471 EXPECT_EQ(bucket1->FindInt("high"), absl::optional<int>(101)); in TEST_P() 472 EXPECT_EQ(bucket1->FindInt("count"), absl::optional<int>(10)); in TEST_P() 477 EXPECT_EQ(bucket2->FindInt("low"), absl::optional<int>(200)); in TEST_P() 478 EXPECT_EQ(bucket2->FindInt("high"), absl::optional<int>(201)); in TEST_P() 479 EXPECT_EQ(bucket2->FindInt("count"), absl::optional<int>(15)); in TEST_P()
|
D | histogram_unittest.cc | 1000 EXPECT_EQ(bucket1->FindInt("low"), absl::optional<int>(20)); in TEST_P() 1001 EXPECT_EQ(bucket1->FindInt("high"), absl::optional<int>(21)); in TEST_P() 1002 EXPECT_EQ(bucket1->FindInt("count"), absl::optional<int>(30)); in TEST_P() 1007 EXPECT_EQ(bucket2->FindInt("low"), absl::optional<int>(30)); in TEST_P() 1008 EXPECT_EQ(bucket2->FindInt("high"), absl::optional<int>(31)); in TEST_P() 1009 EXPECT_EQ(bucket2->FindInt("count"), absl::optional<int>(28)); in TEST_P()
|
/external/cronet/components/metrics/demographics/ |
D | user_demographics.cc | 154 return demographics.FindInt(kSyncDemographicsBirthYearPath); in GetUserBirthYear() 163 demographics.FindInt(kSyncDemographicsGenderPath); in GetUserGender()
|
/external/cronet/base/trace_event/ |
D | trace_event_unittest.cc | 613 EXPECT_EQ(*item->FindInt("ts"), 42); in ValidateAllTraceMacrosCreatedData() 624 EXPECT_EQ(*item->FindInt("ts"), 42); in ValidateAllTraceMacrosCreatedData() 1464 absl::optional<int> maybe_tid = item->FindInt("tid"); in TEST_F() 1473 EXPECT_EQ(*item->FindInt("pid"), in TEST_F() 1794 EXPECT_EQ(*convertable_dict->FindInt("foo"), 1); in TEST_F() 1821 EXPECT_EQ(*convertable_dict->FindInt("foo"), 1); in TEST_F() 1834 EXPECT_EQ(*convertable_dict->FindInt("foo"), 1); in TEST_F() 1887 EXPECT_EQ(*args_dict->FindInt("int_one"), 1); in TEST_F() 1893 EXPECT_EQ(*args_dict->FindInt("int_neg_ten"), -10); in TEST_F() 1965 EXPECT_EQ(*args_dict->FindInt("time_null"), 0); in TEST_F() [all …]
|
D | trace_config.cc | 401 dict.FindInt(kTraceBufferSizeInEvents).value_or(0)); in InitializeFromConfigDict() 403 dict.FindInt(kTraceBufferSizeInKb).value_or(0)); in InitializeFromConfigDict() 535 absl::optional<int> interval = trigger_dict.FindInt(kMinTimeBetweenDumps); in SetMemoryDumpConfigFromConfigDict() 539 interval = trigger_dict.FindInt(kPeriodicIntervalLegacyParam); in SetMemoryDumpConfigFromConfigDict() 566 heap_profiler_options->FindInt(kBreakdownThresholdBytes); in SetMemoryDumpConfigFromConfigDict()
|
/external/cronet/net/dns/ |
D | host_cache.cc | 95 absl::optional<int> port = dict.FindInt(kEndpointPortKey); in IpEndpointFromValue() 123 absl::optional<int> priority = dict.FindInt(kEndpointMetadataWeightKey); in EndpointMetadataPairFromValue() 992 absl::optional<int> port = entry_dict.FindInt(kPortKey); in RestoreFromListValue() 1006 absl::optional<int> maybe_flags = entry_dict.FindInt(kFlagsKey); in RestoreFromListValue() 1013 entry_dict.FindInt(kDnsQueryTypeKey); in RestoreFromListValue() 1022 entry_dict.FindInt(kHostResolverSourceKey) in RestoreFromListValue() 1046 absl::optional<int> maybe_error = entry_dict.FindInt(kNetErrorKey); in RestoreFromListValue()
|
D | host_resolver.cc | 224 dict.FindInt(kUseDnsHttpsSvcbInsecureExtraTimePercent) in FromDict() 233 dict.FindInt(kUseDnsHttpsSvcbSecureExtraTimePercent) in FromDict()
|
D | host_resolver_internal_result.cc | 81 absl::optional<int> weight = dict->FindInt(kValueMetadataWeightKey); in EndpointMetadataPairFromValue() 501 absl::optional<int> error = dict->FindInt(kValueErrorKey); in FromValue()
|
/external/cronet/net/http/ |
D | http_server_properties_manager.cc | 236 http_server_properties_dict.FindInt(kVersionKey); in ReadPrefs() 361 broken_alt_svc_entry_dict.FindInt(kBrokenCountKey); in AddToBrokenAlternativeServices() 484 absl::optional<int> maybe_port = dict.FindInt(kPortKey); in ParseAlternativeServiceDict() 624 absl::optional<int> maybe_srtt = server_network_stats_dict->FindInt(kSrttKey); in ParseNetworkStats()
|
D | transport_security_persister.cc | 273 absl::optional<int> version = dict.FindInt(kVersionKey); in Deserialize()
|
/external/cronet/base/json/ |
D | json_reader_unittest.cc | 475 auto integer_value = root_dict->FindInt("a.b"); in TEST() 478 integer_value = root_dict->FindInt("c"); in TEST() 484 integer_value = inner_dict->FindInt("g.h.i.j"); in TEST() 495 integer_value = root_dict->FindInt("a.b"); in TEST() 506 auto integer_value = root_dict->FindInt("x"); in TEST()
|
D | json_value_serializer_unittest.cc | 234 ASSERT_EQ(42, root_dict->FindInt("int").value()); in TEST() 414 ASSERT_EQ(42, root_dict->FindInt("int").value()); in TEST_F()
|
/external/cronet/net/cert/ |
D | crl_set.cc | 229 if (header_dict.FindInt("Version") != kCurrentFileVersion) in Parse() 232 absl::optional<int> sequence = header_dict.FindInt("Sequence"); in Parse()
|
/external/cronet/base/test/ |
D | gtest_util.cc | 104 absl::optional<int> line = dict.FindInt("line"); in ReadTestNamesFromFile()
|
/external/cronet/net/base/ |
D | host_port_pair.cc | 96 absl::optional<int> port = dict->FindInt(kValuePortKey); in FromValue()
|
D | ip_endpoint.cc | 57 absl::optional<int> port = dict->FindInt(kValuePortKey); in FromValue()
|
/external/cronet/base/ |
D | values_unittest.cc | 851 EXPECT_EQ(absl::nullopt, dict.FindInt("null")); in TEST() 852 EXPECT_EQ(absl::nullopt, dict.FindInt("bool")); in TEST() 853 EXPECT_NE(absl::nullopt, dict.FindInt("int")); in TEST() 854 EXPECT_EQ(absl::nullopt, dict.FindInt("double")); in TEST() 855 EXPECT_EQ(absl::nullopt, dict.FindInt("string")); in TEST() 856 EXPECT_EQ(absl::nullopt, dict.FindInt("blob")); in TEST() 857 EXPECT_EQ(absl::nullopt, dict.FindInt("list")); in TEST() 858 EXPECT_EQ(absl::nullopt, dict.FindInt("dict")); in TEST() 1012 value = dict.FindInt("one_key"); in TEST() 1016 value = dict.FindInt("minus_one_key"); in TEST() [all …]
|
/external/cronet/base/test/launcher/ |
D | test_launcher_test_utils.cc | 56 int actual_value = dict.FindInt(key).value_or(0); in ValidateKeyValue()
|
/external/cronet/net/log/ |
D | net_log_unittest.cc | 422 param = observer[0].GetDict(0)->FindDict("params")->FindInt("capture_mode"); in TEST() 426 param = observer[1].GetDict(0)->FindDict("params")->FindInt("capture_mode"); in TEST()
|
/external/cronet/net/reporting/ |
D | reporting_header_parser.cc | 142 int ttl_sec = dict->FindInt(kMaxAgeKey).value_or(-1); in ProcessEndpointGroup()
|