Home
last modified time | relevance | path

Searched refs:family (Results 1 – 25 of 50) sorted by relevance

12

/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp227 for (int family = 0; family < AF_MAX; ++family) { in TEST_F() local
228 if (family == AF_UNSPEC || family == AF_INET || family == AF_INET6) { in TEST_F()
231 SCOPED_TRACE(StringPrintf("family: %d", family)); in TEST_F()
235 .ai_family = family, // unsupported family in TEST_F()
246 for (const auto& family : {AF_INET, AF_INET6, AF_UNSPEC}) { in TEST_F()
251 .ai_family = family, in TEST_F()
262 family, socktype, protocol, in TEST_F()
288 for (const auto& family : families) { in TEST_F() local
291 SCOPED_TRACE(StringPrintf("family: %d, socktype: %d, protocol: %d", family, in TEST_F()
299 if ((family == AF_INET6 && socktype == SOCK_DGRAM && protocol == IPPROTO_UDP) || in TEST_F()
[all …]
Dresolv_gold_test.cpp194 .ai_family = args.family(), in VerifyGetAddrInfo()
216 const int rv = resolv_gethostbyname(args.host().c_str(), args.family(), &hbuf, tmpbuf, in VerifyGetHostByName()
233 queries = goldtest.config().addrinfo().family() == AF_UNSPEC ? 2U : 1U; in VerifyResolver()
Dgolddata.proto157 AddressFamily family = 2; field
166 AddressFamily family = 2; field
/packages/apps/Contacts/src/com/android/contacts/util/
DNameConverter.java105 String family = null; in parsePhoneticName() local
113 family = strings[0]; in parsePhoneticName()
116 family = strings[0]; in parsePhoneticName()
120 family = strings[0]; in parsePhoneticName()
130 item.setPhoneticFamilyName(family); in parsePhoneticName()
139 public static String buildPhoneticName(String family, String middle, String given) { in buildPhoneticName() argument
140 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) in buildPhoneticName()
143 if (!TextUtils.isEmpty(family)) { in buildPhoneticName()
144 sb.append(family.trim()).append(' '); in buildPhoneticName()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPhonebookEntry.java29 public String family; field in PhonebookEntry.Name
44 return (Objects.equals(family, n.family) || family != null && family.equals(n.family)) in equals()
54 int result = 23 * (family == null ? 0 : family.hashCode()); in hashCode()
66 sb.append(family); in toString()
129 name.family = n.getFamily(); in PhonebookEntry()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DInetDiagMessage.java57 InetSocketAddress remote, int family, short flags) { in InetDiagReqV2() argument
58 return InetDiagReqV2(protocol, local, remote, family, flags, 0 /* pad */, in InetDiagReqV2()
84 @Nullable InetSocketAddress remote, int family, short flags, int pad, int idiagExt, in InetDiagReqV2() argument
96 new StructInetDiagReqV2(protocol, local, remote, family, pad, idiagExt, state); in InetDiagReqV2()
116 InetSocketAddress remote, int family, short flags, in lookupUidByFamily() argument
119 byte[] msg = InetDiagReqV2(protocol, local, remote, family, flags); in lookupUidByFamily()
141 for (int family : FAMILY) { in lookupUid()
148 uid = lookupUidByFamily(protocol, remote, local, family, NLM_F_REQUEST, fd); in lookupUid()
150 uid = lookupUidByFamily(protocol, local, remote, family, NLM_F_REQUEST, fd); in lookupUid()
DNetlinkConstants.java60 public static String stringForAddressFamily(int family) { in stringForAddressFamily() argument
61 if (family == OsConstants.AF_INET) { return "AF_INET"; } in stringForAddressFamily()
62 if (family == OsConstants.AF_INET6) { return "AF_INET6"; } in stringForAddressFamily()
63 if (family == OsConstants.AF_NETLINK) { return "AF_NETLINK"; } in stringForAddressFamily()
64 return String.valueOf(family); in stringForAddressFamily()
DStructInetDiagReqV2.java52 int family) { in StructInetDiagReqV2() argument
53 this(protocol, local, remote, family, 0 /* pad */, 0 /* extension */, in StructInetDiagReqV2()
58 @Nullable InetSocketAddress remote, int family, int pad, int extension, int state) in StructInetDiagReqV2() argument
60 mSdiagFamily = (byte) family; in StructInetDiagReqV2()
DStructNfGenMsg.java67 public StructNfGenMsg(byte family, byte ver, short id) { in StructNfGenMsg() argument
68 nfgen_family = family; in StructNfGenMsg()
73 public StructNfGenMsg(byte family) { in StructNfGenMsg() argument
74 nfgen_family = family; in StructNfGenMsg()
DNduseroptMessage.java39 public final byte family; field in NduseroptMessage
71 family = buf.get(); in NduseroptMessage()
103 if (family == AF_INET6) { in NduseroptMessage()
138 family, opts_len, ifindex, Byte.toUnsignedInt(icmp_type), in toString()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java160 for (final int family : ADDRESS_FAMILIES) { in TcpSocketTracker()
162 family, in TcpSocketTracker()
166 family, in TcpSocketTracker()
202 for (final int family : ADDRESS_FAMILIES) { in pollSocketsInfo()
203 mDependencies.sendPollingRequest(fd, mSockDiagMsg.get(family)); in pollSocketsInfo()
229 Log.e(TAG, "Expect to get family " + family in pollSocketsInfo()
246 final SocketInfo info = parseSockInfo(bytes, family, nlmsgLen, time); in pollSocketsInfo()
254 Log.wtf(TAG, "Unexpected socket info parsing, family " + family in pollSocketsInfo()
295 SocketInfo parseSockInfo(@NonNull final ByteBuffer bytes, final int family, in parseSockInfo() argument
316 final SocketInfo info = new SocketInfo(tcpInfo, family, mark, time); in parseSockInfo()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/
Ddoxygenextra.css19 font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
52 font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
60 font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
106 font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
137 font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
146 font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
168 font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
178 font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
206 font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowOs.java43 protected static InetAddress inet_pton(int family, String address) { in inet_pton() argument
44 if ((AF_INET == family && IPV4_PATTERN.matcher(address).find()) || in inet_pton()
45 (AF_INET6 == family && IPV6_PATTERN.matcher(address).find())) { in inet_pton()
47 return InetAddress.getByAddress((AF_INET == family) ? IPV4_BYTES : IPV6_BYTES); in inet_pton()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkConstantsTest.java116 for (int family : new int[]{NETLINK_ROUTE, NETLINK_INET_DIAG, NETLINK_NETFILTER}) { in testStringForNlMsgType_ControlMessage()
117 assertEquals("NLMSG_NOOP", stringForNlMsgType(NLMSG_NOOP, family)); in testStringForNlMsgType_ControlMessage()
118 assertEquals("NLMSG_ERROR", stringForNlMsgType(NLMSG_ERROR, family)); in testStringForNlMsgType_ControlMessage()
119 assertEquals("NLMSG_DONE", stringForNlMsgType(NLMSG_DONE, family)); in testStringForNlMsgType_ControlMessage()
120 assertEquals("NLMSG_OVERRUN", stringForNlMsgType(NLMSG_OVERRUN, family)); in testStringForNlMsgType_ControlMessage()
DNduseroptMessageTest.java229 private void assertMatches(int family, int optsLen, int ifindex, byte icmpType, in assertMatches() argument
232 assertEquals(family, msg.family); in assertMatches()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/
DShadowTypeface.java31 public static Typeface create(Typeface family, int weight, boolean italic) { in create() argument
32 return create(family, 0); in create()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTypeface.java30 public static Typeface create(Typeface family, int weight, boolean italic) { in create() argument
31 return create(family, 0); in create()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp96 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() argument
115 if (inet_ntop(family, (const char*) rdata, buffer, sizeof(buffer)) == NULL) { in extractIpAddressAnswers()
123 int expectAnswersValid(JNIEnv* env, int fd, int family, int expectedRcode) { in expectAnswersValid() argument
134 return extractIpAddressAnswers(buf, res, family); in expectAnswersValid()
/packages/modules/DnsResolver/
Dres_send.cpp240 static int random_bind(int s, int family) { in random_bind() argument
248 switch (family) { in random_bind()
250 u.sin.sin_family = family; in random_bind()
254 u.sin6.sin6_family = family; in random_bind()
266 if (family == AF_INET) in random_bind()
276 if (family == AF_INET) in random_bind()
575 dnsQueryEvent->set_ip_version(ipFamilyToIPVersion(receivedServerAddr.family())); in res_nsend()
DDns64Configuration.cpp203 if (pfx.ip().family() != AF_INET6 || pfx.ip().scope_id() != 0) { in reportNat64PrefixStatus()
242 if (pfx.isUninitialized() || pfx.family() != AF_INET6 || pfx.length() != 96) { in setPrefix64()
Dstats.proto310 SYS_EPFNOSUPPORT = 96; // Protocol family not supported
311 SYS_EAFNOSUPPORT = 97; // Address family not supported by protocol family
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DNetlinkMonitor.java73 int family, int bindGroups) { in NetlinkMonitor() argument
77 mFamily = family; in NetlinkMonitor()
/packages/modules/Connectivity/tests/cts/net/native/src/
DNativeQtaguidTest.cpp75 void checkNoSocketPointerLeaks(int family) { in checkNoSocketPointerLeaks() argument
76 int sockfd = socket(family, SOCK_STREAM, 0); in checkNoSocketPointerLeaks()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java462 for (int family : new Integer[]{INetd.IPV4, INetd.IPV6}) {
463 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "retrans_time_ms",
465 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "ucast_solicit",
/packages/modules/DnsResolver/tests/testdata/
Dgetaddrinfo.topsite.facebook.pbtxt9 family: GT_AF_UNSPEC

12