Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp208 const addrinfo hints = { in TEST_F() local
219 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F()
234 const addrinfo hints = { in TEST_F() local
238 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F()
250 const addrinfo hints = { in TEST_F() local
266 int rv = resolv_getaddrinfo("localhost", service, &hints, &mNetcontext, &result, in TEST_F()
309 const addrinfo hints = { in TEST_F() local
315 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F()
383 const addrinfo hints = { in TEST_F() local
391 int rv = resolv_getaddrinfo("localhost", config.servname, &hints, &mNetcontext, &result, in TEST_F()
[all …]
Dresolv_integration_test.cpp98 const addrinfo* hints, unsigned netid, unsigned mark,
133 const struct addrinfo* hints) { in safe_getaddrinfo() argument
135 if (getaddrinfo(node, service, hints, &result) != 0) { in safe_getaddrinfo()
142 const addrinfo& hints) { in safe_getaddrinfo_time_taken() argument
144 ScopedAddrinfo result = safe_getaddrinfo(node, service, &hints); in safe_getaddrinfo_time_taken()
776 const addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local
777 ScopedAddrinfo result = safe_getaddrinfo("hello", nullptr, &hints); in TEST_F()
808 const addrinfo hints = { in TEST_F() local
815 EXPECT_EQ(EAI_NODATA, getaddrinfo("hello", nullptr, &hints, &result)); in TEST_F()
851 addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local
[all …]
Dresolv_gold_test.cpp186 const addrinfo hints = { in VerifyGetAddrInfo() local
202 resolv_getaddrinfo(args.host().c_str(), nullptr, &hints, &netcontext, &res, &event); in VerifyGetAddrInfo()
292 const addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local
294 int rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
304 rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
320 const addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local
322 int rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
354 rv = resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontext, &res, &event); in TEST_F()
379 const addrinfo hints = {.ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM}; in TEST_F() local
382 resolv_getaddrinfo(kHelloExampleCom, nullptr, &hints, &kNetcontextTls, &res, &event); in TEST_F()
Dresolv_callback_unit_test.cpp153 const addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local
156 const int rv = resolv_getaddrinfo("hello", nullptr, &hints, &mNetcontext, &result, &event); in TEST_F()
Ddnsresolver_binder_test.cpp397 addrinfo hints = {.ai_family = AF_INET, .ai_socktype = SOCK_DGRAM}; in TEST_F() local
398 int status = getaddrinfo(config.hostname.c_str(), nullptr, &hints, &result); in TEST_F()
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp261 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints, in getaddrinfo_numeric() argument
263 hints.ai_flags = AI_NUMERICHOST; in getaddrinfo_numeric()
273 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result, in getaddrinfo_numeric()
279 int validateHints(const addrinfo* _Nonnull hints) { in validateHints() argument
280 if (!hints) return EAI_BADHINTS; in validateHints()
283 if (hints->ai_addrlen || hints->ai_canonname || hints->ai_addr || hints->ai_next) { in validateHints()
286 if (hints->ai_flags & ~AI_MASK) { in validateHints()
289 if (!(hints->ai_family == PF_UNSPEC || hints->ai_family == PF_INET || in validateHints()
290 hints->ai_family == PF_INET6)) { in validateHints()
295 switch (hints->ai_socktype) { in validateHints()
[all …]
Dgetaddrinfo.h25 const addrinfo* hints, const android_net_context* netcontext,
29 int resolv_getaddrinfo(const char* hostname, const char* servname, const addrinfo* hints,
DDnsProxyListener.cpp591 std::unique_ptr<addrinfo> hints, in GetAddrInfoHandler() argument
596 mHints(move(hints)), in GetAddrInfoHandler()
838 std::unique_ptr<addrinfo> hints; in runCommand() local
840 hints.reset((addrinfo*)calloc(1, sizeof(addrinfo))); in runCommand()
841 hints->ai_flags = ai_flags; in runCommand()
842 hints->ai_family = ai_family; in runCommand()
843 hints->ai_socktype = ai_socktype; in runCommand()
844 hints->ai_protocol = ai_protocol; in runCommand()
847 (new GetAddrInfoHandler(cli, name, service, move(hints), netcontext))->spawn(); in runCommand()
DDns64Configuration.cpp154 const struct addrinfo hints = { in doRfc7050PrefixDiscovery() local
165 resolv_getaddrinfo(kIPv4OnlyHost, nullptr, &hints, &netcontext, &res, &event); in doRfc7050PrefixDiscovery()
DPrivateDnsConfiguration.cpp42 addrinfo hints = { in parseServer() local
48 int err = getaddrinfo(server, "853", &hints, &res); in parseServer()
DDnsProxyListener.h69 std::unique_ptr<addrinfo> hints, const android_net_context& netcontext);
Dresolv_private.h180 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints,
Dres_cache.cpp1588 const addrinfo hints = { in isValidServer() local
1593 if (int err = getaddrinfo_numeric(server.c_str(), "53", hints, &result); err != 0) { in isValidServer()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilderImpl.java391 ArrayList<String> hints = new ArrayList<>(); in setTitleItem() local
393 hints.add(HINT_NO_TINT); in setTitleItem()
396 hints.add(HINT_LARGE); in setTitleItem()
399 hints.add(HINT_PARTIAL); in setTitleItem()
402 .addIcon(icon, null /* subType */, hints); in setTitleItem()
597 ArrayList<String> hints = new ArrayList<>(); in addEndItem() local
599 hints.add(HINT_NO_TINT); in addEndItem()
602 hints.add(HINT_LARGE); in addEndItem()
605 hints.add(HINT_PARTIAL); in addEndItem()
608 .addIcon(icon, null /* subType */, hints); in addEndItem()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCodeGenerator.java43 final Map<EncodeHintType, Object> hints = new HashMap<>(); in encodeQrCode() local
45 hints.put(EncodeHintType.CHARACTER_SET, StandardCharsets.UTF_8.name()); in encodeQrCode()
49 size, size, hints); in encodeQrCode()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DQrCodeGenerator.java47 final Map<EncodeHintType, Object> hints = new HashMap<>(); in encodeQrCode() local
49 hints.put(EncodeHintType.CHARACTER_SET, StandardCharsets.UTF_8.name()); in encodeQrCode()
53 size, size, hints); in encodeQrCode()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java272 private static boolean hasText(List<SliceItem> sliceItems, String text, String hints) { in hasText() argument
275 List<SliceItem> textItems = SliceQuery.findAll(item, FORMAT_TEXT, hints, in hasText()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DSliceTester.java271 private static boolean hasText(List<SliceItem> sliceItems, String text, String hints) { in hasText() argument
274 List<SliceItem> textItems = SliceQuery.findAll(item, FORMAT_TEXT, hints, in hasText()
/packages/modules/adb/
Dsysdeps_win32.cpp1134 struct addrinfo hints; in network_connect() local
1135 memset(&hints, 0, sizeof(hints)); in network_connect()
1136 hints.ai_family = AF_UNSPEC; in network_connect()
1137 hints.ai_socktype = type; in network_connect()
1138 hints.ai_protocol = GetSocketProtocolFromSocketType(type); in network_connect()
1152 if (getaddrinfo(host.c_str(), port_str, &hints, &addrinfo_ptr) != 0) { in network_connect()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java1495 StatusHints hints = new StatusHints( in updateStatusHints() local
1500 setStatusHints(hints); in updateStatusHints()
1504 c.setStatusHints(hints); in updateStatusHints()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...