Home
last modified time | relevance | path

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

12

/packages/modules/DnsResolver/
Dresolv_unit_test.cpp225 for (int family = 0; family < AF_MAX; ++family) { in TEST_F() local
226 if (family == AF_UNSPEC || family == AF_INET || family == AF_INET6) { in TEST_F()
229 SCOPED_TRACE(StringPrintf("family: %d", family)); in TEST_F()
233 .ai_family = family, // unsupported family in TEST_F()
244 for (const auto& family : {AF_INET, AF_INET6, AF_UNSPEC}) { in TEST_F()
249 .ai_family = family, in TEST_F()
260 family, socktype, protocol, in TEST_F()
286 for (const auto& family : families) { in TEST_F() local
289 SCOPED_TRACE(StringPrintf("family: %d, socktype: %d, protocol: %d", family, in TEST_F()
297 if ((family == AF_INET6 && socktype == SOCK_DGRAM && protocol == IPPROTO_UDP) || in TEST_F()
[all …]
Dres_send.cpp243 static int random_bind(int s, int family) { in random_bind() argument
251 switch (family) { in random_bind()
253 u.sin.sin_family = family; in random_bind()
257 u.sin6.sin6_family = family; in random_bind()
269 if (family == AF_INET) in random_bind()
279 if (family == AF_INET) in random_bind()
578 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.proto309 SYS_EPFNOSUPPORT = 96; // Protocol family not supported
310 SYS_EAFNOSUPPORT = 97; // Address family not supported by protocol family
/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/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/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.java57 public static String stringForAddressFamily(int family) { in stringForAddressFamily() argument
58 if (family == OsConstants.AF_INET) { return "AF_INET"; } in stringForAddressFamily()
59 if (family == OsConstants.AF_INET6) { return "AF_INET6"; } in stringForAddressFamily()
60 if (family == OsConstants.AF_NETLINK) { return "AF_NETLINK"; } in stringForAddressFamily()
61 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()
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()
DStructNfGenMsg.java38 public StructNfGenMsg(byte family) { in StructNfGenMsg() argument
39 nfgen_family = family; in StructNfGenMsg()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java159 for (final int family : ADDRESS_FAMILIES) { in TcpSocketTracker()
161 family, in TcpSocketTracker()
165 family, in TcpSocketTracker()
201 for (final int family : ADDRESS_FAMILIES) { in pollSocketsInfo()
202 mDependencies.sendPollingRequest(fd, mSockDiagMsg.get(family)); in pollSocketsInfo()
228 Log.e(TAG, "Expect to get family " + family in pollSocketsInfo()
245 final SocketInfo info = parseSockInfo(bytes, family, nlmsgLen, time); in pollSocketsInfo()
253 Log.wtf(TAG, "Unexpected socket info parsing, family " + family in pollSocketsInfo()
294 SocketInfo parseSockInfo(@NonNull final ByteBuffer bytes, final int family, in parseSockInfo() argument
315 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/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/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DExtendedShadowTypeface.java28 protected static Typeface create(Typeface family, int weight, boolean italic) { in create() argument
32 return ShadowTypeface.create(family, style); in create()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNduseroptMessageTest.java228 private void assertMatches(int family, int optsLen, int ifindex, byte icmpType, in assertMatches() argument
231 assertEquals(family, msg.family); in assertMatches()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DNetlinkMonitor.java72 int family, int bindGroups) { in NetlinkMonitor() argument
76 mFamily = family; in NetlinkMonitor()
/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/
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/modules/DnsResolver/tests/testdata/
Dgethostbyname.topsite.youtube.pbtxt9 family: GT_AF_INET
Dgetaddrinfo.topsite.facebook.pbtxt9 family: GT_AF_UNSPEC
Dgetaddrinfo.topsite.wikipedia.pbtxt9 family: GT_AF_UNSPEC

12