/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 211 const addrinfo hints = { in TEST_F() local 222 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F() 237 const addrinfo hints = { in TEST_F() local 241 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F() 253 const addrinfo hints = { in TEST_F() local 269 int rv = resolv_getaddrinfo("localhost", service, &hints, &mNetcontext, &result, in TEST_F() 312 const addrinfo hints = { in TEST_F() local 318 int rv = resolv_getaddrinfo("localhost", nullptr /*servname*/, &hints, &mNetcontext, in TEST_F() 386 const addrinfo hints = { in TEST_F() local 394 int rv = resolv_getaddrinfo("localhost", config.servname, &hints, &mNetcontext, &result, in TEST_F() [all …]
|
D | resolv_integration_test.cpp | 98 const addrinfo* hints, unsigned netid, unsigned mark, 135 const addrinfo& hints) { in safe_getaddrinfo_time_taken() argument 137 ScopedAddrinfo result = safe_getaddrinfo(node, service, &hints); in safe_getaddrinfo_time_taken() 774 const addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local 775 ScopedAddrinfo result = safe_getaddrinfo("hello", nullptr, &hints); in TEST_F() 825 const addrinfo hints = { in TEST_F() local 832 EXPECT_EQ(EAI_NODATA, getaddrinfo("hello", nullptr, &hints, &result)); in TEST_F() 868 addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local 880 ScopedAddrinfo result = safe_getaddrinfo(host_name_deferred, nullptr, &hints); in TEST_F() 897 ScopedAddrinfo result = safe_getaddrinfo(host_name_deferred, nullptr, &hints); in TEST_F() [all …]
|
D | resolv_gold_test.cpp | 186 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()
|
D | resolv_callback_unit_test.cpp | 156 const addrinfo hints = {.ai_family = AF_INET}; in TEST_F() local 159 const int rv = resolv_getaddrinfo("hello", nullptr, &hints, &mNetcontext, &result, &event); in TEST_F()
|
D | resolv_test_utils.cpp | 154 const struct addrinfo* hints) { in safe_getaddrinfo() argument 156 if (getaddrinfo(node, service, hints, &result) != 0) { in safe_getaddrinfo()
|
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 246 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints, in getaddrinfo_numeric() argument 248 hints.ai_flags = AI_NUMERICHOST; in getaddrinfo_numeric() 258 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result, in getaddrinfo_numeric() 264 int validateHints(const addrinfo* _Nonnull hints) { in validateHints() argument 265 if (!hints) return EAI_BADHINTS; in validateHints() 268 if (hints->ai_addrlen || hints->ai_canonname || hints->ai_addr || hints->ai_next) { in validateHints() 271 if (hints->ai_flags & ~AI_MASK) { in validateHints() 274 if (!(hints->ai_family == PF_UNSPEC || hints->ai_family == PF_INET || in validateHints() 275 hints->ai_family == PF_INET6)) { in validateHints() 280 switch (hints->ai_socktype) { in validateHints() [all …]
|
D | getaddrinfo.h | 25 const addrinfo* hints, const android_net_context* netcontext, 29 int resolv_getaddrinfo(const char* hostname, const char* servname, const addrinfo* hints,
|
D | DnsProxyListener.cpp | 759 std::unique_ptr<addrinfo> hints, in GetAddrInfoHandler() argument 764 mHints(std::move(hints)), in GetAddrInfoHandler() 1033 std::unique_ptr<addrinfo> hints; in runCommand() local 1035 hints.reset((addrinfo*)calloc(1, sizeof(addrinfo))); in runCommand() 1036 hints->ai_flags = ai_flags; in runCommand() 1037 hints->ai_family = ai_family; in runCommand() 1038 hints->ai_socktype = ai_socktype; in runCommand() 1039 hints->ai_protocol = ai_protocol; in runCommand() 1042 (new GetAddrInfoHandler(cli, name, service, std::move(hints), netcontext))->spawn(); in runCommand()
|
D | Dns64Configuration.cpp | 153 const struct addrinfo hints = { in doRfc7050PrefixDiscovery() local 164 resolv_getaddrinfo(kIPv4OnlyHost, nullptr, &hints, &netcontext, &res, &event); in doRfc7050PrefixDiscovery()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperColorHints.kt | 35 var hints: Int = 0 in <lambda>() variable in com.android.launcher3.util.WallpaperColorHints 44 hints = wallpaperManager.getWallpaperColors(FLAG_SYSTEM)?.colorHints ?: 0 in <lambda>() 68 if (newHints != hints) { in <lambda>() 69 hints = newHints in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RingerModeAffectedVolumePreferenceController.java | 70 final int hints; in updateEffectsSuppressor() local 72 hints = mNoMan.getHintsFromListenerNoToken(); in updateEffectsSuppressor() 78 if (hintsMatch(hints)) { in updateEffectsSuppressor() 173 protected abstract boolean hintsMatch(int hints); in hintsMatch() argument
|
D | SeparateRingVolumePreferenceController.java | 98 protected boolean hintsMatch(int hints) { in hintsMatch() argument 99 return (hints & NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS) != 0 in hintsMatch() 100 || (hints & NotificationListenerService.HINT_HOST_DISABLE_EFFECTS) != 0; in hintsMatch()
|
D | RingVolumePreferenceController.java | 97 protected boolean hintsMatch(int hints) { in hintsMatch() argument 98 return (hints & NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS) != 0 in hintsMatch() 99 || (hints & NotificationListenerService.HINT_HOST_DISABLE_EFFECTS) != 0; in hintsMatch()
|
D | NotificationVolumePreferenceController.java | 115 protected boolean hintsMatch(int hints) { in hintsMatch() argument 117 (hints & NotificationListenerService.HINT_HOST_DISABLE_EFFECTS) != 0; in hintsMatch() 119 (hints & NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS) != 0; in hintsMatch()
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | IPreparedModel.h | 95 const std::vector<nn::TokenValuePair>& hints, 159 const std::vector<nn::TokenValuePair>& hints, 191 const std::vector<nn::TokenValuePair>& hints,
|
D | IBurst.h | 120 const std::vector<nn::TokenValuePair>& hints, 149 const std::vector<nn::TokenValuePair>& hints,
|
D | IDevice.h | 256 const std::vector<nn::TokenValuePair>& hints,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | QrCodeGenerator.java | 47 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/modules/NeuralNetworks/driver/sample/ |
D | CanonicalPreparedModel.h | 44 const OptionalDuration& loopTimeoutDuration, const std::vector<TokenValuePair>& hints, 51 const std::vector<TokenValuePair>& hints, 56 const OptionalDuration& loopTimeoutDuration, const std::vector<TokenValuePair>& hints,
|
D | CanonicalBurst.h | 44 const std::vector<TokenValuePair>& hints, 50 const std::vector<TokenValuePair>& hints,
|
D | CanonicalDevice.h | 58 const std::vector<TokenValuePair>& hints,
|
D | LimitedSupportDevice.h | 65 const std::vector<TokenValuePair>& hints,
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/ |
D | PreferenceSliceBuilderImpl.java | 403 ArrayList<String> hints = new ArrayList<>(); in setTitleItem() local 405 hints.add(HINT_NO_TINT); in setTitleItem() 408 hints.add(HINT_LARGE); in setTitleItem() 411 hints.add(HINT_PARTIAL); in setTitleItem() 414 .addIcon(icon, null /* subType */, hints); in setTitleItem() 614 ArrayList<String> hints = new ArrayList<>(); in addEndItem() local 616 hints.add(HINT_NO_TINT); in addEndItem() 619 hints.add(HINT_LARGE); in addEndItem() 622 hints.add(HINT_PARTIAL); in addEndItem() 625 .addIcon(icon, null /* subType */, hints); in addEndItem()
|
/packages/modules/DnsResolver/tests/fuzzer/ |
D | resolv_getaddrinfo_fuzzer.cpp | 18 addrinfo hints = {.ai_family = af, .ai_socktype = socktype}; in TestResolvGetaddrinfo() local 23 fdp.ConsumeBool() ? &hints : nullptr, &mNetContext, &result, &event); in TestResolvGetaddrinfo()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | InternetAddresses.cpp | 62 const addrinfo hints = { in forString() local 66 const int ret = getaddrinfo(repr.c_str(), nullptr, &hints, &res); in forString()
|