Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 4 of 4) sorted by relevance

/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp97 addrinfo *ai, hints = {.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV}; in checkReachability() local
98 int ret = getaddrinfo(addrStr, "53", &hints, &ai); in checkReachability()
103 int sock = socket(ai->ai_family, SOCK_DGRAM, 0); in checkReachability()
106 freeaddrinfo(ai); in checkReachability()
110 ret = connect(sock, ai->ai_addr, ai->ai_addrlen); in checkReachability()
115 freeaddrinfo(ai); in checkReachability()
/system/apex/tests/src/com/android/tests/apex/
DApexdHostTest.java228 .collect(Collectors.toMap(ApexInfo::getModulePath, ai -> ai)); in testApexInfoListIsValid()
231 for (ITestDevice.ApexInfo ai : fromApexd) { in testApexInfoListIsValid()
232 ApexInfo apexFromXml = fromXml.get(ai.sourceDir); in testApexInfoListIsValid()
233 assertWithMessage("APEX (" + ai.toString() + ") is not found in the list") in testApexInfoListIsValid()
235 assertWithMessage("Version mismatch for APEX (" + ai.toString() + ")") in testApexInfoListIsValid()
236 .that(ai.versionCode).isEqualTo(apexFromXml.getVersionCode()); in testApexInfoListIsValid()
237 assertWithMessage("APEX (" + ai.toString() + ") is not active") in testApexInfoListIsValid()
/system/core/libnetutils/
Difc_utils.c100 struct addrinfo hints, *ai; in string_to_ip() local
112 ret = getaddrinfo(string, NULL, &hints, &ai); in string_to_ip()
114 memcpy(ss, ai->ai_addr, ai->ai_addrlen); in string_to_ip()
115 freeaddrinfo(ai); in string_to_ip()
/system/timezone/input_data/android/
Dcountryzones.txt178 isoCode:"ai"