/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | NsdHelper.java | 61 public void onServiceFound(NsdServiceInfo service) { in initializeDiscoveryListener() 62 Log.d(TAG, "Service discovery success" + service); in initializeDiscoveryListener() 63 if (!service.getServiceType().equals(SERVICE_TYPE)) { in initializeDiscoveryListener() 64 Log.d(TAG, "Unknown Service Type: " + service.getServiceType()); in initializeDiscoveryListener() 65 } else if (service.getServiceName().equals(mServiceName)) { in initializeDiscoveryListener() 67 } else if (service.getServiceName().contains(mServiceName)){ in initializeDiscoveryListener() 68 mNsdManager.resolveService(service, mResolveListener); in initializeDiscoveryListener() 73 public void onServiceLost(NsdServiceInfo service) { in initializeDiscoveryListener() 74 Log.e(TAG, "service lost" + service); in initializeDiscoveryListener() 75 if (mService == service) { in initializeDiscoveryListener()
|
D | NsdChatActivity.java | 74 NsdServiceInfo service = mNsdHelper.getChosenServiceInfo(); in clickConnect() local 75 if (service != null) { in clickConnect() 77 mConnection.connectToServer(service.getHost(), in clickConnect() 78 service.getPort()); in clickConnect()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/accessibility/ |
D | AccessibilityManagerSupportActivity.java | 114 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/ |
D | WiFiDirectServicesList.java | 72 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()
|
D | WiFiServiceDiscoveryActivity.java | 142 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/Support4Demos/src/com/example/android/supportv4/content/ |
D | SimpleWakefulReceiver.java | 30 Intent service = new Intent(context, SimpleWakefulService.class); in onReceive() local 34 startWakefulService(context, service); in onReceive()
|
/development/ndk/platforms/android-L/include/linux/caif/ |
D | caif_socket.h | 74 char service[16]; member 89 __u8 service; member
|
/development/samples/browseable/MediaBrowserService/ |
D | _index.jd | 9 service. It exposes a simple music library through the new 14 connected to Android Auto, the same service provides data and callback
|
/development/ndk/sources/android/libportable/arch-mips64/ |
D | socket.c | 179 int WRAP(getaddrinfo)(const char *node, const char *service, in WRAP() 190 node, service, portable_hints, portable_results); in WRAP() 207 rv = REAL(getaddrinfo)(node, service, native_hints, native_results); in WRAP()
|
/development/ndk/sources/android/libportable/arch-mips/ |
D | socket.c | 179 int WRAP(getaddrinfo)(const char *node, const char *service, in WRAP() 190 node, service, portable_hints, portable_results); in WRAP() 207 rv = REAL(getaddrinfo)(node, service, native_hints, native_results); in WRAP()
|
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/service/ |
D | RespondService.java | 17 package com.example.android.smssample.service;
|
D | MessagingService.java | 17 package com.example.android.smssample.service;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LocalServiceActivities.java | 97 public void onServiceConnected(ComponentName className, IBinder service) { 103 mBoundService = ((LocalService.LocalBinder)service).getService();
|
D | MessengerServiceActivities.java | 67 IBinder service) { 73 mService = new Messenger(service);
|
D | RemoteService.java | 301 IBinder service) { 307 mService = IRemoteService.Stub.asInterface(service); 345 IBinder service) { 348 mSecondaryService = ISecondary.Stub.asInterface(service); 487 IBinder service) { in onServiceConnected() argument
|
D | IsolatedService.java | 166 IBinder service) { 167 mService = IRemoteService.Stub.asInterface(service);
|
/development/samples/browseable/MessagingService/ |
D | _index.jd | 7 This sample shows a simple service that sends notifications using
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
D | LocalServiceTest.java | 77 IBinder service = bindService(startIntent); in testBindable() local
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessagingFragment.java | 56 public void onServiceConnected(ComponentName componentName, IBinder service) { 57 mService = new Messenger(service);
|
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/receiver/ |
D | MessagingReceiver.java | 24 import com.example.android.smssample.service.MessagingService;
|
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/ |
D | TestJobService.java | 17 package com.example.android.jobscheduler.service;
|
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/ |
D | SampleSpellCheckerService.java | 20 import android.service.textservice.SpellCheckerService;
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | DeviceControlActivity.java | 72 public void onServiceConnected(ComponentName componentName, IBinder service) { 73 mBluetoothLeService = ((BluetoothLeService.LocalBinder) service).getService();
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
D | BluetoothHDPActivity.java | 203 public void onServiceConnected(ComponentName name, IBinder service) { 207 mHealthService = new Messenger(service);
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MediaNotification.java | 83 public MediaNotification(MusicService service) { in MediaNotification() argument 84 mService = service; in MediaNotification()
|