/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | INsdManagerCallback.aidl | 28 void onDiscoverServicesStarted(int listenerKey, in DiscoveryRequest discoveryRequest); in onDiscoverServicesStarted() argument 29 void onDiscoverServicesFailed(int listenerKey, int error); in onDiscoverServicesFailed() argument 30 void onServiceFound(int listenerKey, in NsdServiceInfo info); in onServiceFound() argument 31 void onServiceLost(int listenerKey, in NsdServiceInfo info); in onServiceLost() argument 32 void onStopDiscoveryFailed(int listenerKey, int error); in onStopDiscoveryFailed() argument 33 void onStopDiscoverySucceeded(int listenerKey); in onStopDiscoverySucceeded() argument 34 void onRegisterServiceFailed(int listenerKey, int error); in onRegisterServiceFailed() argument 35 void onRegisterServiceSucceeded(int listenerKey, in NsdServiceInfo info); in onRegisterServiceSucceeded() argument 36 void onUnregisterServiceFailed(int listenerKey, int error); in onUnregisterServiceFailed() argument 37 void onUnregisterServiceSucceeded(int listenerKey); in onUnregisterServiceSucceeded() argument [all …]
|
D | INsdServiceConnector.aidl | 32 void registerService(int listenerKey, in AdvertisingRequest advertisingRequest); in registerService() argument 33 void unregisterService(int listenerKey); in unregisterService() argument 34 void discoverServices(int listenerKey, in DiscoveryRequest discoveryRequest); in discoverServices() argument 35 void stopDiscovery(int listenerKey); in stopDiscovery() argument 36 void resolveService(int listenerKey, in NsdServiceInfo serviceInfo); in resolveService() argument 38 void stopResolution(int listenerKey); in stopResolution() argument 39 void registerServiceInfoCallback(int listenerKey, in NsdServiceInfo serviceInfo); in registerServiceInfoCallback() argument 40 void unregisterServiceInfoCallback(int listenerKey); in unregisterServiceInfoCallback() argument
|
D | NsdManager.java | 756 private void sendInfo(int message, int listenerKey, NsdServiceInfo info) { in sendInfo() argument 757 mServHandler.sendMessage(mServHandler.obtainMessage(message, 0, listenerKey, info)); in sendInfo() 761 int message, int listenerKey, DiscoveryRequest discoveryRequest) { in sendDiscoveryRequest() argument 763 mServHandler.obtainMessage(message, 0, listenerKey, discoveryRequest)); in sendDiscoveryRequest() 766 private void sendError(int message, int listenerKey, int error) { in sendError() argument 767 mServHandler.sendMessage(mServHandler.obtainMessage(message, error, listenerKey)); in sendError() 770 private void sendNoArg(int message, int listenerKey) { in sendNoArg() argument 771 mServHandler.sendMessage(mServHandler.obtainMessage(message, 0, listenerKey)); in sendNoArg() 775 public void onDiscoverServicesStarted(int listenerKey, DiscoveryRequest discoveryRequest) { in onDiscoverServicesStarted() argument 776 sendDiscoveryRequest(DISCOVER_SERVICES_STARTED, listenerKey, discoveryRequest); in onDiscoverServicesStarted() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | NsdService.java | 2320 public void registerService(int listenerKey, AdvertisingRequest advertisingRequest) in registerService() argument 2324 NsdManager.REGISTER_SERVICE, 0, listenerKey, in registerService() 2330 public void unregisterService(int listenerKey) { in unregisterService() argument 2332 NsdManager.UNREGISTER_SERVICE, 0, listenerKey, in unregisterService() 2337 public void discoverServices(int listenerKey, DiscoveryRequest discoveryRequest) { in discoverServices() argument 2339 NsdManager.DISCOVER_SERVICES, 0, listenerKey, in discoverServices() 2344 public void stopDiscovery(int listenerKey) { in stopDiscovery() argument 2346 0, listenerKey, new ListenerArgs(this, (NsdServiceInfo) null))); in stopDiscovery() 2350 public void resolveService(int listenerKey, NsdServiceInfo serviceInfo) { in resolveService() argument 2352 NsdManager.RESOLVE_SERVICE, 0, listenerKey, in resolveService() [all …]
|