Home
last modified time | relevance | path

Searched refs:ToString (Results 1 – 24 of 24) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_test_utils.cpp27 std::string ToString(const hostent* he) { in ToString() function
36 std::string ToString(const addrinfo* ai) { in ToString() function
46 std::string ToString(const ScopedAddrinfo& ai) { in ToString() function
47 return ToString(ai.get()); in ToString()
50 std::string ToString(const sockaddr_storage* addr) { in ToString() function
Dresolv_integration_test.cpp458 EXPECT_EQ("1.2.3.3", ToString(result)); in TEST_F()
508 EXPECT_EQ("1.2.3.3", ToString(result)); in TEST_F()
527 EXPECT_EQ("2001:db8::42", ToString(result)); in TEST_F()
565 EXPECT_EQ(kLocalHostAddr, ToString(result)); in TEST_F()
574 EXPECT_EQ(kLocalHostAddr, ToString(result)); in TEST_F()
598 EXPECT_EQ(kIp6LocalHostAddr, ToString(result)); in TEST_F()
615 EXPECT_EQ(numeric_v4, ToString(result)); in TEST_F()
632 EXPECT_EQ(numeric_v6, ToString(result)); in TEST_F()
686 EXPECT_EQ(mapping.ip4, ToString(result)); in TEST_F()
739 std::string result_str = ToString(result); in TEST_F()
[all …]
Dresolv_test_utils.h188 std::string ToString(const hostent* he);
189 std::string ToString(const addrinfo* ai);
190 std::string ToString(const android::netdutils::ScopedAddrinfo& ai);
191 std::string ToString(const sockaddr_storage* addr);
Dresolv_gold_test.cpp134 if (serverAddr == ToString(&server.ss)) return true; in WaitForPrivateDnsValidation()
298 EXPECT_EQ(ToString(result), kHelloExampleComAddrV4); in TEST_F()
326 EXPECT_EQ(ToString(result), "1.2.3.4"); in TEST_F()
358 EXPECT_EQ(ToString(result), "5.6.7.8"); in TEST_F()
Dresolv_stress_test.cpp64 std::string result_str = ToString(result); in RunGetAddrInfoStressTest()
Dresolv_unit_test.cpp574 EXPECT_EQ(config.expected_addr, ToString(result)); in TEST_F()
1140 EXPECT_EQ(ToString(result), config.expected_addr); in TEST_F()
1260 EXPECT_EQ(config.expected_addr, ToString(hp)); in TEST_F()
Dresolv_cache_unit_test.cpp229 EXPECT_EQ(ToString(&servers[i]), expected.setup.servers[i]) << msg; in expectCacheStats()
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.cpp413 ALOGI("%s", event->ToString().c_str()); in OnLogEvent()
532 VLOG("Updated configuration for key %s", key.ToString().c_str()); in OnConfigUpdatedLocked()
568 ALOGW("Config source %s does not exist", key.ToString().c_str()); in GetMetricsSize()
630 ALOGW("Config source %s does not exist", key.ToString().c_str()); in onDumpReport()
726 ALOGE("Failed to read backup config from disk for : %s", key.ToString().c_str()); in resetConfigsLocked()
796 VLOG("StatsD had to toss out metrics for %s", key.ToString().c_str()); in flushIfNecessaryLocked()
817 VLOG("StatsD triggered data fetch for %s", key.ToString().c_str()); in flushIfNecessaryLocked()
965 ALOGE("No config found for configKey %s", key.ToString().c_str()); in SetMetadataStateLocked()
968 VLOG("Setting metadata %s", key.ToString().c_str()); in SetMetadataStateLocked()
1033 ALOGE("No config found for config %s", key.ToString().c_str()); in SetConfigsActiveStateLocked()
[all …]
DStatsService.cpp131 VLOG("Could not find a broadcast receiver for %s", key.ToString().c_str()); in __anon55b448e80602()
137 VLOG("Failed to send a broadcast for receiver %s", key.ToString().c_str()); in __anon55b448e80602()
724 dprintf(out, "Config %s uses %zu bytes\n", key.ToString().c_str(), in cmd_print_stats()
831 dprintf(out, "Pull from %d: %s\n", s, it->ToString().c_str()); in cmd_print_pulled_metrics()
1145 configKey.ToString().c_str()); in setDataFetchOperation()
/packages/modules/StatsD/statsd/src/subscriber/
DSubscriberReporter.cpp63 configKey.ToString().c_str(), (long long)subscriberId); in setBroadcastSubscriber()
120 ALOGW("Cannot inform subscriber for missing config key %s ", configKey.ToString().c_str()); in alertBroadcastSubscriber()
126 configKey.ToString().c_str(), (long long)subscriberId); in alertBroadcastSubscriber()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hfp.cpp83 ALOGI("%s %d for %s", __func__, state, bd_addr->ToString().c_str()); in ConnectionStateCallback()
98 ALOGI("%s, %d for %s", __func__, state, bd_addr->ToString().c_str()); in AudioStateCallback()
520 ALOGI("%s: device %s", __func__, ((RawAddress*)addr)->ToString().c_str()); in connectHfpNative()
542 ALOGI("%s: device %s", __func__, ((RawAddress*)addr)->ToString().c_str()); in disconnectHfpNative()
564 ALOGI("%s: device %s", __func__, ((RawAddress*)addr)->ToString().c_str()); in connectAudioNative()
586 ALOGI("%s: device %s", __func__, ((RawAddress*)addr)->ToString().c_str()); in disconnectAudioNative()
Dcom_android_bluetooth_avrcp_target.cpp816 jstring j_bdaddr = sCallbackEnv->NewStringUTF(address.ToString().c_str()); in setActiveDevice()
827 jstring j_bdaddr = sCallbackEnv->NewStringUTF(address.ToString().c_str()); in volumeDeviceConnected()
842 jstring j_bdaddr = sCallbackEnv->NewStringUTF(address.ToString().c_str()); in volumeDeviceConnected()
855 jstring j_bdaddr = sCallbackEnv->NewStringUTF(address.ToString().c_str()); in volumeDeviceDisconnected()
/packages/modules/StatsD/statsd/src/config/
DConfigKey.cpp35 string ConfigKey::ToString() const { in ToString() function in android::os::statsd::ConfigKey
DConfigKey.h61 string ToString() const;
DConfigManager.cpp163 ALOGI("ConfigManager This is a duplicate config %s", key.ToString().c_str()); in UpdateConfig()
/packages/modules/StatsD/statsd/src/external/
DStatsPullerManager.cpp112 configKey.ToString().c_str()); in PullLocked()
119 configKey.ToString().c_str()); in PullLocked()
Dpuller_util.cpp84 ALOGE("Malformed log, uid not found. %s", event->ToString().c_str()); in mapAndMergeIsolatedUidsToHostUid()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp216 ALOGE("Config key %s not found!", key.ToString().c_str()); in noteBroadcastSent()
233 ALOGE("Config key %s not found!", key.ToString().c_str()); in noteActiveStatusChanged()
281 ALOGE("Config key %s not found!", key.ToString().c_str()); in noteDataDropped()
301 ALOGE("Config key %s not found!", key.ToString().c_str()); in noteMetricsReportSent()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.h114 std::string ToString() const;
DLogEvent.cpp568 string LogEvent::ToString() const { in ToString() function in android::os::statsd::LogEvent
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp388 fprintf(out, "ConfigKey %s, allowed source:", mConfigKey.ToString().c_str()); in dumpStates()
702 ALOGW("No active metric for config %s", mConfigKey.ToString().c_str()); in loadActiveConfig()
DValueMetricProducer.cpp919 VLOG("Failed to get value %d from event %s", i, event.ToString().c_str()); in onMatchedLogEventInternalLocked()
/packages/modules/DnsResolver/
DPrivateDnsConfigurationTest.cpp114 serverStateMap[ToString(&server.ss)] = validation; in checkPrivateDnsStatus()
/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp402 LOG(INFO) << "SendMessage ip=" << dest.ToString(); in JoinMulticastGroup()