Home
last modified time | relevance | path

Searched refs:service (Results 1 – 25 of 38) sorted by relevance

12

/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DNsdHelper.java63 public void onServiceFound(NsdServiceInfo service) { in initializeDiscoveryListener()
64 Log.d(TAG, "Service discovery success" + service); in initializeDiscoveryListener()
65 if (!service.getServiceType().equals(SERVICE_TYPE)) { in initializeDiscoveryListener()
66 Log.d(TAG, "Unknown Service Type: " + service.getServiceType()); in initializeDiscoveryListener()
67 } else if (service.getServiceName().equals(mServiceName)) { in initializeDiscoveryListener()
69 } else if (service.getServiceName().contains(mServiceName)){ in initializeDiscoveryListener()
70 mNsdManager.resolveService(service, mResolveListener); in initializeDiscoveryListener()
75 public void onServiceLost(NsdServiceInfo service) { in initializeDiscoveryListener()
76 Log.e(TAG, "service lost" + service); in initializeDiscoveryListener()
77 if (mService == service) { in initializeDiscoveryListener()
DNsdChatActivity.java78 NsdServiceInfo service = mNsdHelper.getChosenServiceInfo(); in clickConnect() local
79 if (service != null) { in clickConnect()
81 mConnection.connectToServer(service.getHost(), in clickConnect()
82 service.getPort()); in clickConnect()
/development/samples/Support4Demos/src/com/example/android/supportv4/accessibility/
DAccessibilityManagerSupportActivity.java114 AccessibilityServiceInfo service = enabledServices.get(i); in updateAccessibilityStateView() local
117 ResolveInfo resolveInfo = AccessibilityServiceInfoCompat.getResolveInfo(service); in updateAccessibilityStateView()
121 AccessibilityServiceInfoCompat.feedbackTypeToString(service.feedbackType), in updateAccessibilityStateView()
122 AccessibilityServiceInfoCompat.getDescription(service), in updateAccessibilityStateView()
123 AccessibilityServiceInfoCompat.getSettingsActivityName(service)); in updateAccessibilityStateView()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiDirectServicesList.java72 WiFiP2pService service = items.get(position); in getView() local
73 if (service != null) { in getView()
78 nameText.setText(service.device.deviceName + " - " + service.instanceName); in getView()
82 statusText.setText(getDeviceStatus(service.device.status)); in getView()
DWiFiServiceDiscoveryActivity.java142 WifiP2pDnsSdServiceInfo service = WifiP2pDnsSdServiceInfo.newInstance( in startRegistrationAndDiscovery() local
144 manager.addLocalService(channel, service, new ActionListener() { in startRegistrationAndDiscovery()
186 WiFiP2pService service = new WiFiP2pService(); in discoverService()
187 service.device = srcDevice; in discoverService()
188 service.instanceName = instanceName; in discoverService()
189 service.serviceRegistrationType = registrationType; in discoverService()
190 adapter.add(service); in discoverService()
246 public void connectP2p(WiFiP2pService service) { in connectP2p() argument
248 config.deviceAddress = service.device.deviceAddress; in connectP2p()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLocalServiceActivities.java97 public void onServiceConnected(ComponentName className, IBinder service) {
103 mBoundService = ((LocalService.LocalBinder)service).getService();
DMessengerServiceActivities.java67 IBinder service) {
73 mService = new Messenger(service);
DRemoteService.java301 IBinder service) {
307 mService = IRemoteService.Stub.asInterface(service);
345 IBinder service) {
348 mSecondaryService = ISecondary.Stub.asInterface(service);
487 IBinder service) { in onServiceConnected() argument
DIsolatedService.java166 IBinder service) {
167 mService = IRemoteService.Stub.asInterface(service);
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/
DLocalServiceTest.java77 IBinder service = bindService(startIntent); in testBindable() local
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSampleSpellCheckerService.java20 import android.service.textservice.SpellCheckerService;
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/
DBluetoothHDPActivity.java203 public void onServiceConnected(ComponentName name, IBinder service) {
207 mHealthService = new Messenger(service);
/development/samples/BrowserPlugin/
DREADME60 must contain the "uses-permission" and "service"
61 elements that are plugin specific. The "service" element
63 the service.
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java24 import android.service.wallpaper.WallpaperService;
/development/apps/Development/src/com/android/development/
DSyncAdapterDriver.java232 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
233 mBoundSyncAdapter = ISyncAdapter.Stub.asInterface(service); in onServiceConnected()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java25 import android.service.wallpaper.WallpaperService;
/development/tools/emulator/system/qemud/
Dqemud.c1541 multiplexer_open_channel( Multiplexer* mult, Packet* service ) in multiplexer_open_channel() argument
1558 …len = snprintf((char*)p->data, sizeof p->data, "connect:%.*s:%02x", service->len, service->data, c… in multiplexer_open_channel()
/development/apps/NinePatchLab/
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,
/development/samples/Home/
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,
/development/apps/GestureBuilder/
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,
/development/samples/CubeLiveWallpaper/
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,
/development/apps/FontLab/
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,
/development/samples/AccelerometerPlay/
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,
/development/samples/VoicemailProviderDemo/
DNOTICE152 names, trademarks, service marks, or product names of the Licensor,

12