Home
last modified time | relevance | path

Searched refs:protocolType (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceRequest.java75 protected WifiP2pServiceRequest(int protocolType, String query) { in WifiP2pServiceRequest() argument
78 mProtocolType = protocolType; in WifiP2pServiceRequest()
195 public static WifiP2pServiceRequest newInstance(int protocolType, String queryData) { in newInstance() argument
196 return new WifiP2pServiceRequest(protocolType, queryData); in newInstance()
210 public static WifiP2pServiceRequest newInstance(int protocolType ) { in newInstance() argument
211 return new WifiP2pServiceRequest(protocolType, null); in newInstance()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java518 public void registerService(NsdServiceInfo serviceInfo, int protocolType, in registerService() argument
522 checkProtocol(protocolType); in registerService()
573 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { in discoverServices() argument
575 checkProtocol(protocolType); in discoverServices()
647 private static void checkProtocol(int protocolType) { in checkProtocol() argument
648 checkArgument(protocolType == PROTOCOL_DNS_SD, "Unsupported protocol"); in checkProtocol()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java583 public void onServiceAvailable(int protocolType, in onServiceAvailable() argument