Lines Matching defs:service

89  * service discovery is meant to address this issue of filtering the peers based on the running
92 * <p>With pre-association service discovery, an application can advertise a service for a
94 * Currently, DNS based service discovery (Bonjour) and Upnp are the higher layer protocols
99 * <p> An application can advertise a Upnp or a Bonjour service with a call to
100 * {@link #addLocalService}. After a local service is added,
101 * the framework automatically responds to a peer application discovering the service prior
103 * service and {@link #clearLocalServices} can be used to clear all local services.
107 * application can add service discovery request with a call to {@link #addServiceRequest},
108 * remove a service discovery request with a call to {@link #removeServiceRequest} or clear
109 * all requests with a call to {@link #clearServiceRequests}. When no service requests remain,
110 * a previously running service discovery will stop.
112 * The application is notified of a result of service discovery request through listener callbacks
476 * @param service the Binder interface
480 public WifiP2pManager(IWifiP2pManager service) {
481 mService = service;
499 * unable to service the request
505 * Indicates that the {@link #discoverServices} failed because no service
506 * requests are added. Use {@link #addServiceRequest} to add a service
560 * Interface for callback invocation when service discovery response other than
566 * The requested service response is available.
570 * @param responseData service discovery response data based on the requested
571 * service protocol type. The format depends on the service type.
579 * Interface for callback invocation when Bonjour service discovery response
585 * The requested Bonjour service response is available.
602 * for a service
606 * The requested Bonjour service response is available.
609 * service domain service returned TXT record.
622 * Interface for callback invocation when upnp service discovery response
628 * The requested upnp service response is available.
630 * <p>This function is invoked when the specified device or service is found.
632 * @param uniqueServiceNames The list of unique service names.<br>
862 if (info == null) throw new IllegalArgumentException("service info is null");
866 if (req == null) throw new IllegalArgumentException("service request is null");
1068 * Register a local service for service discovery. If a local service is registered,
1069 * the framework automatically responds to a service discovery request from a peer.
1072 * service to the framework. The application is notified of a success or failure to
1073 * add service through listener callbacks {@link ActionListener#onSuccess} or
1076 * <p>The service information is set through {@link WifiP2pServiceInfo}.<br>
1078 * {@link WifiP2pDnsSdServiceInfo#newInstance} for a Upnp or Bonjour service
1081 * <p>The service information can be cleared with calls to
1085 * @param servInfo is a local service information.
1095 * Remove a registered local service added with {@link #addLocalService}
1098 * local service to the framework. The application is notified of a success or failure to
1099 * add service through listener callbacks {@link ActionListener#onSuccess} or
1103 * @param servInfo is the local service information.
1114 * Clear all registered local services of service discovery.
1118 * add service through listener callbacks {@link ActionListener#onSuccess} or
1130 * Register a callback to be invoked on receiving service discovery response.
1138 * @param listener for callbacks on receiving service discovery response.
1147 * Register a callback to be invoked on receiving Bonjour service discovery
1153 * @param servListener is for listening to a Bonjour service response
1164 * Register a callback to be invoked on receiving upnp service discovery
1170 * @param listener for callbacks on receiving service discovery response.
1179 * Initiate service discovery. A discovery process involves scanning for
1181 * that supports an available service.
1183 * <p> The function call immediately returns after sending a request to start service
1190 * <p>The application is notified of the response against the service discovery request
1203 * Add a service discovery request.
1205 * <p> The function call immediately returns after sending a request to add service
1207 * add service through listener callbacks {@link ActionListener#onSuccess} or
1210 * <p>After service discovery request is added, you can initiate service discovery by
1213 * <p>The added service requests can be cleared with calls to
1218 * @param req is the service discovery request.
1230 * Remove a specified service discovery request added with {@link #addServiceRequest}
1232 * <p> The function call immediately returns after sending a request to remove service
1234 * add service through listener callbacks {@link ActionListener#onSuccess} or
1238 * @param req is the service discovery request.
1250 * Clear all registered service discovery requests.
1253 * service discovery requests to the framework. The application is notified of a success
1254 * or failure to add service through listener callbacks {@link ActionListener#onSuccess} or