Searched defs:service (Results 1 - 3 of 3) sorted by relevance

/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
H A DWiFiServiceDiscoveryActivity.java37 * The main activity for the sample. This activity registers a local service and
40 * chat service and also tries to discover services published by other peers. On
41 * selecting a peer published service, the app initiates a Wi-Fi P2P (Direct)
43 * the same service, the app opens up sockets to initiate a chat.
136 * Registers a local service and then initiates a service discovery
142 WifiP2pDnsSdServiceInfo service = WifiP2pDnsSdServiceInfo.newInstance(
144 manager.addLocalService(channel, service, new ActionListener() {
153 appendStatus("Failed to add a service");
165 * by the system when a service i
246 connectP2p(WiFiP2pService service) argument
[all...]
/development/apps/Development/src/com/android/development/
H A DSyncAdapterDriver.java232 public void onServiceConnected(ComponentName name, IBinder service) { argument
233 mBoundSyncAdapter = ISyncAdapter.Stub.asInterface(service);
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DRemoteService.java46 * This is an example of implementing an application service that runs in a
50 * show how to interact with the service.
53 * the complexity shown here. If your application simply has a service
60 * service. Note that this is package scoped (instead of private) so
76 // While this service is running, it will continually increment a
101 // Select the interface to return. If your service only implements
126 * A secondary interface to the service.
180 * Show a notification while this service is running.
206 * <p>Example of explicitly starting and stopping the remove service.
207 * This demonstrates the implementation of a service tha
486 onServiceConnected(ComponentName className, IBinder service) argument
[all...]

Completed in 73 milliseconds