Home
last modified time | relevance | path

Searched refs:interfaceNames (Results 1 – 14 of 14) sorted by relevance

/packages/modules/DnsResolver/
DResolverController.cpp84 std::vector<std::string>* interfaceNames, int* wait_for_pending_req_timeout_count) { in getDnsInfo() argument
103 interfaceNames->clear(); in getDnsInfo()
154 *interfaceNames = resolv_get_interface_names(netId); in getDnsInfo()
240 std::vector<std::string>* interfaceNames, in getResolverInfo() argument
245 int ret = getDnsInfo(netId, servers, domains, &res_params, &res_stats, interfaceNames, in getResolverInfo()
291 std::vector<std::string> interfaceNames; in dump() local
296 int rv = getDnsInfo(netId, &servers, &domains, &params, &stats, &interfaceNames, in dump()
331 std::string ifacenames_str = Join(interfaceNames, ", "); in dump()
DDnsResolverService.cpp213 std::vector<std::string> interfaceNames; in getResolverInfo() local
217 netId, servers, domains, tlsServers, &interfaceNames, params, stats, &timeout_count); in getResolverInfo()
DResolverController.h49 std::vector<std::string>* interfaceNames, std::vector<int32_t>* params,
Dres_cache.cpp1070 std::vector<std::string> interfaceNames; member
1649 if (netconfig != nullptr) return netconfig->interfaceNames; in resolv_get_interface_names()
1729 netconfig->interfaceNames = std::move(params.interfaceNames); in resolv_set_nameservers()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java2697 @NonNull final SparseArray<String> interfaceNames) { in verifyIpv4Upstream() argument
2702 assertEquals(1, interfaceNames.size()); in verifyIpv4Upstream()
2703 assertTrue(interfaceNames.contains(UPSTREAM_IFINDEX)); in verifyIpv4Upstream()
2712 final SparseArray<String> interfaceNames = in verifyUpdateUpstreamNetworkState() local
2714 assertEquals(0, interfaceNames.size()); in verifyUpdateUpstreamNetworkState()
2751 verifyIpv4Upstream(ipv4UpstreamIndices, interfaceNames); in verifyUpdateUpstreamNetworkState()
2761 assertEquals(1, interfaceNames.size()); in verifyUpdateUpstreamNetworkState()
2762 assertTrue(interfaceNames.contains(UPSTREAM_IFINDEX)); in verifyUpdateUpstreamNetworkState()
2771 verifyIpv4Upstream(ipv4UpstreamIndices, interfaceNames); in verifyUpdateUpstreamNetworkState()
2776 assertEquals(1, interfaceNames.size()); in verifyUpdateUpstreamNetworkState()
[all …]
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DResolverParamsParcel.aidl41 @utf8InCpp String[] interfaceNames = {};
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/15/android/net/
DResolverParamsParcel.aidl41 @utf8InCpp String[] interfaceNames = {};
/packages/modules/DnsResolver/binder/android/net/
DResolverParamsParcel.aidl135 @utf8InCpp String[] interfaceNames = {};
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java239 List<String> interfaceNames = new ArrayList<>(mStackedLinks.size() + 1); in getAllInterfaceNames() local
240 if (mIfaceName != null) interfaceNames.add(mIfaceName); in getAllInterfaceNames()
242 interfaceNames.addAll(stacked.getAllInterfaceNames()); in getAllInterfaceNames()
244 return interfaceNames; in getAllInterfaceNames()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDnsManager.java393 paramsParcel.interfaceNames = lp.getAllInterfaceNames().toArray(new String[0]); in sendDnsConfigurationForNetwork()
414 Arrays.toString(paramsParcel.interfaceNames))); in sendDnsConfigurationForNetwork()
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp657 resolverParams.interfaceNames = {"myinterface0"}; in TEST_F()
666 resolverParams.interfaceNames = {"myinterface0", "myinterface1"}; in TEST_F()
Dresolv_integration_test.cpp7385 parcel.interfaceNames.push_back(mIfname); in setDnsConfiguration()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java392 chipMock.interfaceNames.get(WifiChip.IFACE_TYPE_STA).remove("wlan0"); in testCacheMismatchError()
4437 return mChipMockBase.interfaceNames.get(mIfaceType); in answer()
4511 mChipMockBase.interfaceNames.get(mType).add(ifaceName); in addInterfaceInfo()
4593 if (!mChipMockBase.interfaceNames.get(mType).remove(ifname)) { in answer()
4685 public Map<Integer, ArrayList<String>> interfaceNames = new HashMap<>(); field in HalDeviceManagerTest.ChipMockBase
4694 interfaceNames.put(WifiChip.IFACE_TYPE_STA, new ArrayList<>()); in initialize()
4695 interfaceNames.put(WifiChip.IFACE_TYPE_AP, new ArrayList<>()); in initialize()
4696 interfaceNames.put(WifiChip.IFACE_TYPE_P2P, new ArrayList<>()); in initialize()
4697 interfaceNames.put(WifiChip.IFACE_TYPE_NAN, new ArrayList<>()); in initialize()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java356 expectedParams.interfaceNames = new String[]{TEST_IFACENAME}; in testSendDnsConfiguration()