Home
last modified time | relevance | path

Searched refs:interfaceIdx (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DMDnsManager.java83 int interfaceIdx) { in registerService() argument
85 registrationType, port, txtRecord, interfaceIdx); in registerService()
103 public boolean discover(int id, @NonNull String registrationType, int interfaceIdx) { in discover() argument
105 registrationType, "" /* domainName */, interfaceIdx, NETID_UNSET); in discover()
126 @NonNull String domain, int interfaceIdx) { in resolve() argument
129 new byte[0] /* txtRecord */, interfaceIdx); in resolve()
147 public boolean getServiceAddress(int id, @NonNull String hostname, int interfaceIdx) { in getServiceAddress() argument
149 "" /* address */, interfaceIdx, NETID_UNSET); in getServiceAddress()
/packages/modules/Connectivity/staticlibs/netd/aidl_api/mdns_aidl_interface/1/android/net/mdns/aidl/
DGetAddressInfo.aidl42 int interfaceIdx;
DRegistrationInfo.aidl44 int interfaceIdx;
DDiscoveryInfo.aidl43 int interfaceIdx;
DResolutionInfo.aidl47 int interfaceIdx;
/packages/modules/Connectivity/staticlibs/netd/aidl_api/mdns_aidl_interface/2/android/net/mdns/aidl/
DGetAddressInfo.aidl42 int interfaceIdx;
DRegistrationInfo.aidl44 int interfaceIdx;
DDiscoveryInfo.aidl43 int interfaceIdx;
DResolutionInfo.aidl47 int interfaceIdx;
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/mdns/aidl/
DGetAddressInfo.aidl63 int interfaceIdx;
DRegistrationInfo.aidl77 int interfaceIdx;
DDiscoveryInfo.aidl73 int interfaceIdx;
DResolutionInfo.aidl91 int interfaceIdx;
/packages/modules/Connectivity/staticlibs/netd/aidl_api/mdns_aidl_interface/current/android/net/mdns/aidl/
DGetAddressInfo.aidl42 int interfaceIdx;
DRegistrationInfo.aidl44 int interfaceIdx;
DDiscoveryInfo.aidl43 int interfaceIdx;
DResolutionInfo.aidl47 int interfaceIdx;
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java431 final int interfaceIdx = 123; in testDiscoverOnTetheringDownstream() local
452 interfaceIdx, in testDiscoverOnTetheringDownstream()
465 assertEquals(interfaceIdx, foundInfo.getInterfaceIndex()); in testDiscoverOnTetheringDownstream()
474 eq("local.") /* domain */, eq(interfaceIdx)); in testDiscoverOnTetheringDownstream()
487 interfaceIdx); in testDiscoverOnTetheringDownstream()
495 eq(interfaceIdx)); in testDiscoverOnTetheringDownstream()
504 interfaceIdx, in testDiscoverOnTetheringDownstream()
522 assertEquals(interfaceIdx, resolvedService.getInterfaceIndex()); in testDiscoverOnTetheringDownstream()
540 final int interfaceIdx = 123; in testDiscoverOnTetheringDownstream_DiscoveryManager() local
551 interfaceIdx, /* interfaceIndex */ in testDiscoverOnTetheringDownstream_DiscoveryManager()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java1420 setServiceNetworkForCallback(servInfo, info.netId, info.interfaceIdx); in handleMDnsServiceEvent()
1435 setServiceNetworkForCallback(servInfo, lostNetId, info.interfaceIdx); in handleMDnsServiceEvent()
1488 if (getAddrInfo(transactionId2, info.hostname, info.interfaceIdx)) { in handleMDnsServiceEvent()
1538 netId, info.interfaceIdx); in handleMDnsServiceEvent()
2606 private boolean getAddrInfo(int transactionId, String hostname, int interfaceIdx) { in getAddrInfo() argument
2611 return mMDnsManager.getServiceAddress(transactionId, hostname, interfaceIdx); in getAddrInfo()