Home
last modified time | relevance | path

Searched refs:FindInt (Results 1 – 25 of 36) sorted by relevance

12

/external/cronet/components/metrics/
Ddata_use_tracker_unittest.cc99 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 …]
Dclean_exit_beacon.cc94 beacon_file_contents->GetDict().FindInt(kVariationsCrashStreak); in MaybeIncrementCrashStreak()
195 if (!beacon_dict.FindInt(kVariationsCrashStreak)) { in MaybeGetFileContents()
Dunsent_log_store.cc514 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()
Ddata_use_tracker.cc109 int todays_traffic = user_pref_dict.FindInt(todays_key).value_or(0); in UpdateUsagePref()
/external/cronet/components/cronet/
Durl_request_context_config.cc486 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/
Dsparse_histogram_unittest.cc470 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()
Dhistogram_unittest.cc1000 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/
Duser_demographics.cc154 return demographics.FindInt(kSyncDemographicsBirthYearPath); in GetUserBirthYear()
163 demographics.FindInt(kSyncDemographicsGenderPath); in GetUserGender()
/external/cronet/base/trace_event/
Dtrace_event_unittest.cc613 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 …]
Dtrace_config.cc401 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/
Dhost_cache.cc95 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()
Dhost_resolver.cc224 dict.FindInt(kUseDnsHttpsSvcbInsecureExtraTimePercent) in FromDict()
233 dict.FindInt(kUseDnsHttpsSvcbSecureExtraTimePercent) in FromDict()
Dhost_resolver_internal_result.cc81 absl::optional<int> weight = dict->FindInt(kValueMetadataWeightKey); in EndpointMetadataPairFromValue()
501 absl::optional<int> error = dict->FindInt(kValueErrorKey); in FromValue()
/external/cronet/net/http/
Dhttp_server_properties_manager.cc236 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()
Dtransport_security_persister.cc273 absl::optional<int> version = dict.FindInt(kVersionKey); in Deserialize()
/external/cronet/base/json/
Djson_reader_unittest.cc475 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()
Djson_value_serializer_unittest.cc234 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/
Dcrl_set.cc229 if (header_dict.FindInt("Version") != kCurrentFileVersion) in Parse()
232 absl::optional<int> sequence = header_dict.FindInt("Sequence"); in Parse()
/external/cronet/base/test/
Dgtest_util.cc104 absl::optional<int> line = dict.FindInt("line"); in ReadTestNamesFromFile()
/external/cronet/net/base/
Dhost_port_pair.cc96 absl::optional<int> port = dict->FindInt(kValuePortKey); in FromValue()
Dip_endpoint.cc57 absl::optional<int> port = dict->FindInt(kValuePortKey); in FromValue()
/external/cronet/base/
Dvalues_unittest.cc851 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/
Dtest_launcher_test_utils.cc56 int actual_value = dict.FindInt(key).value_or(0); in ValidateKeyValue()
/external/cronet/net/log/
Dnet_log_unittest.cc422 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/
Dreporting_header_parser.cc142 int ttl_sec = dict->FindInt(kMaxAgeKey).value_or(-1); in ProcessEndpointGroup()

12