/frameworks/support/slices/view/src/main/java/androidx/slice/ |
SliceXml.java | 69 private static final String ATTR_HINTS = "hints"; 112 String[] hints = hints(parser.getAttributeValue(NAMESPACE, ATTR_HINTS)); local 113 b.addHints(hints); 136 @Slice.SliceHint String[] hints = hints(hintStr); local 156 hints); local 169 b.addIcon(IconCompat.createWithContentUri(v), subtype, hints); local 175 b.addIcon(IconCompat.createWithBitmap(image), subtype, hints); local 181 b.addInt(Integer.parseInt(v), subtype, hints); local 189 b.addText(Html.fromHtml(v), subtype, hints); local 193 b.addLong(Long.parseLong(v), subtype, hints); local 212 private static String[] hints(String hintStr) { method in class:SliceXml [all...] |
/external/iptables/extensions/ |
libxt_mangle.c | 78 struct addrinfo hints; local 83 memset(&hints, 0, sizeof(hints)); 84 hints.ai_flags = AI_CANONNAME; 85 hints.ai_family = AF_INET; 86 hints.ai_socktype = SOCK_RAW; 89 err = getaddrinfo(name, NULL, &hints, &res);
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-tcpserver.c | 207 struct addrinfo hints; /* hints for getaddrinfo() */ local 210 /* Set the hints to addrinfo() */ 211 memset(&hints, '\0', sizeof(struct addrinfo)); 212 hints.ai_family = info_p->family; 213 hints.ai_socktype = SOCK_STREAM; 214 hints.ai_protocol = IPPROTO_TCP; 215 hints.ai_flags = AI_PASSIVE; 218 err = getaddrinfo(NULL, info_p->portnum, &hints, &res);
|
/frameworks/base/core/java/android/view/textclassifier/ |
TextClassifier.java | 113 @interface Hints {} 404 private EntityConfig(boolean useHints, Collection<String> hints, 406 mHints = hints == null 408 : Collections.unmodifiableCollection(new ArraySet<>(hints)); 419 * @param hints Hints for the TextClassifier to determine what types of entities to find. 421 public static EntityConfig createWithHints(@Nullable Collection<String> hints) { 422 return new EntityConfig(/* useHints */ true, hints, 428 public static EntityConfig create(@Nullable Collection<String> hints) { 429 return createWithHints(hints); [all...] |
/libcore/ojluni/src/main/java/java/net/ |
Inet6AddressImpl.java | 130 StructAddrinfo hints = new StructAddrinfo(); local 131 hints.ai_flags = AI_ADDRCONFIG; 132 hints.ai_family = AF_UNSPEC; 136 hints.ai_socktype = SOCK_STREAM; 137 InetAddress[] addresses = Libcore.os.android_getaddrinfo(host, hints, netId);
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CustomVirtualView.kt | 103 setAutofillHints(item.hints) 168 private fun addLine(idEntry: String, label: String, hints: Array<String>, text: String, 169 sanitized: Boolean) = Line(idEntry, label, hints, text, sanitized).also { 180 val hints: Array<String>?, 196 private inner class Line constructor(val idEntry: String, label: String, hints: Array<String>, 202 var fieldTextItem: Item = Item(this, ++nextId, hints, View.AUTOFILL_TYPE_TEXT, text, true, sanitized)
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CustomVirtualView.kt | 103 setAutofillHints(item.hints) 168 private fun addLine(idEntry: String, label: String, hints: Array<String>, text: String, 169 sanitized: Boolean) = Line(idEntry, label, hints, text, sanitized).also { 180 val hints: Array<String>?, 196 private inner class Line constructor(val idEntry: String, label: String, hints: Array<String>, 202 var fieldTextItem: Item = Item(this, ++nextId, hints, View.AUTOFILL_TYPE_TEXT, text, true, sanitized)
|
/external/libvncserver/libvncclient/ |
sockets.c | 364 struct addrinfo hints, *res, *ressave; local 372 memset(&hints, 0, sizeof(struct addrinfo)); 373 hints.ai_family = AF_UNSPEC; 374 hints.ai_socktype = SOCK_STREAM; 375 if ((n = getaddrinfo(hostname, port_s, &hints, &res))) 543 struct addrinfo hints, *servinfo, *p; local 548 memset(&hints, 0, sizeof(hints)); 549 hints.ai_family = AF_UNSPEC; 550 hints.ai_socktype = SOCK_STREAM [all...] |
/external/toybox/toys/pending/ |
arp.c | 108 struct addrinfo hints, *res = NULL; local 111 memset(&hints, 0, sizeof hints); 112 hints.ai_family = AF_INET; 113 hints.ai_socktype = SOCK_STREAM; 114 if ((ret = getaddrinfo(host, NULL, &hints, &res)))
|
/frameworks/base/core/java/android/app/ |
WallpaperColors.java | 196 int hints = calculateDarkHints(bitmap); local 202 return new WallpaperColors(primary, secondary, tertiary, HINT_FROM_BITMAP | hints); 220 * Constructs a new object from three colors, where hints can be specified. 225 * @param colorHints A combination of WallpaperColor hints. 339 * Combination of WallpaperColor hints. 350 * @param colorHints Combination of WallpaperColors hints. 391 int hints = 0; local 394 hints |= HINT_SUPPORTS_DARK_TEXT; 397 hints |= HINT_SUPPORTS_DARK_THEME; 400 return hints; [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/ |
FilledAutofillField.java | 49 public FilledAutofillField(String... hints) { 50 mAutofillHints = filterForSupportedHints(hints);
|
/development/tools/winscope/ |
webpack.config.js | 80 hints: false
|
/external/iputils/ |
tracepath6.c | 382 struct addrinfo hints, *ai, *ai0; local 436 memset(&hints, 0, sizeof(hints)); 437 hints.ai_family = family; 438 hints.ai_socktype = SOCK_DGRAM; 439 hints.ai_protocol = IPPROTO_UDP; 441 hints.ai_flags = AI_IDN; 443 gai = getaddrinfo(argv[0], pbuf, &hints, &ai0);
|
ping6.c | 451 struct addrinfo hints, *ai0, *ai; local 460 memset(&hints, 0, sizeof(hints)); 466 hints.ai_family = AF_INET6; 471 hints.ai_family = AF_INET; 478 hints.ai_socktype = SOCK_DGRAM; 480 hints.ai_flags = AI_IDN; 483 gai = getaddrinfo(arg, 0, &hints, &ai0); 700 struct addrinfo hints, *ai; local 861 memset(&hints, 0, sizeof(hints)) [all...] |
/external/libpcap/ |
pcap-new.c | 92 struct addrinfo hints; /* temp variable needed to resolve hostnames into to socket representation */ local 368 memset(&hints, 0, sizeof(struct addrinfo)); 369 hints.ai_family = PF_UNSPEC; 370 hints.ai_socktype = SOCK_STREAM; 375 if (sock_initaddress(host, RPCAP_DEFAULT_NETPORT, &hints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1) 380 if (sock_initaddress(host, port, &hints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1) 1004 struct addrinfo hints; /* temporary struct to keep settings needed to open the new socket */ local 1014 memset(&hints, 0, sizeof(struct addrinfo)); 1016 hints.ai_family = AF_INET; /* PF_UNSPEC to have both IPv4 and IPv6 server */ 1017 hints.ai_flags = AI_PASSIVE; /* Ready to a bind() socket * 1137 struct addrinfo hints, *addrinfo, *ai_next; \/* temp var needed to translate between hostname to its address *\/ local [all...] |
pcap-rpcap.c | 711 struct addrinfo hints; /* temp, needed to open a socket connection */ local 757 memset(&hints, 0, sizeof(struct addrinfo)); 758 hints.ai_family = PF_UNSPEC; 759 hints.ai_socktype = SOCK_STREAM; 764 if (sock_initaddress(host, RPCAP_DEFAULT_NETPORT, &hints, &addrinfo, fp->errbuf, PCAP_ERRBUF_SIZE) == -1) 770 if (sock_initaddress(host, ctrlport, &hints, &addrinfo, fp->errbuf, PCAP_ERRBUF_SIZE) == -1) 918 struct addrinfo hints; \/* temp, needed to open a socket connection *\/ local 2084 struct addrinfo hints, *addrinfo, *ai_next; \/* temp var needed to translate between hostname to its address *\/ local [all...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
DecodeHandler.java | 42 DecodeHandler(CaptureActivity activity, Hashtable<DecodeHintType,Object> hints) { 44 multiFormatReader.setHints(hints);
|
/frameworks/base/core/java/android/service/notification/ |
INotificationListener.aidl | 38 void onListenerHintsChanged(int hints);
|
/system/extras/libperfmgr/tests/ |
HintManagerTest.cc | 165 std::vector<std::string> hints = hm.GetHints(); local 167 EXPECT_EQ(2u, hints.size()); 168 EXPECT_NE(std::find(hints.begin(), hints.end(), "INTERACTION"), hints.end()); 169 EXPECT_NE(std::find(hints.begin(), hints.end(), "LAUNCH"), hints.end());
|
/system/hardware/interfaces/net/netd/testutils/ |
VtsHalNetNetdTestUtils.cpp | 97 addrinfo *ai, hints = {.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV}; local 98 int ret = getaddrinfo(addrStr, "53", &hints, &ai);
|
/system/netd/tests/ |
netd_test.cpp | 92 AddrInfo(const char* node, const char* service, const addrinfo& hints) : ai_(nullptr) { 93 init(node, service, hints); 102 int init(const char* node, const char* service, const addrinfo& hints) { 104 error_ = getaddrinfo(node, service, &hints, &ai_); 463 addrinfo hints; local 464 memset(&hints, 0, sizeof(hints)); 465 hints.ai_family = AF_INET; 466 EXPECT_EQ(0, getaddrinfo("hola", nullptr, &hints, &result)); 512 addrinfo hints; local 572 addrinfo hints; local 697 addrinfo hints; local [all...] |
/external/syslinux/core/lwip/src/api/ |
netdb.c | 261 * @param hints structure containing input values that set socktype and protocol 267 const struct addrinfo *hints, struct addrinfo **res) 328 if (hints != NULL) { 329 /* copy socktype & protocol from hints if specified */ 330 ai->ai_socktype = hints->ai_socktype; 331 ai->ai_protocol = hints->ai_protocol;
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/ |
ListBuilderV1Impl.java | 393 ArrayList<String> hints = new ArrayList<>(); local 395 hints.add(HINT_NO_TINT); 398 hints.add(HINT_LARGE); 401 hints.add(HINT_PARTIAL); 404 .addIcon(icon, null /* subType */, hints); 496 ArrayList<String> hints = new ArrayList<>(); local 498 hints.add(HINT_NO_TINT); 501 hints.add(HINT_LARGE); 504 hints.add(HINT_PARTIAL); 507 .addIcon(icon, null /* subType */, hints); [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | 266 "Invalid value for hints", /* EAI_BADHINTS */ 408 const struct addrinfo *hints, struct addrinfo **res, unsigned netid) 436 hints == NULL ? -1 : hints->ai_flags, 437 hints == NULL ? -1 : hints->ai_family, 438 hints == NULL ? -1 : hints->ai_socktype, 439 hints == NULL ? -1 : hints->ai_protocol 2055 struct addrinfo hints, *res0, *res; local [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/ |
Emitter.java | 1289 StringBuilder hints = new StringBuilder(); local 1303 String hints = determineBlockHints(text); local 1368 String hints = determineBlockHints(text); local [all...] |