Home
last modified time | relevance | path

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

123

/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DNsdHelper.java61 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()
DNsdChatActivity.java74 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/InlineFillService/src/com/example/android/inlinefillservice/
DInlineFillService.java21 import android.service.autofill.AutofillService;
22 import android.service.autofill.FillCallback;
23 import android.service.autofill.FillRequest;
24 import android.service.autofill.FillResponse;
25 import android.service.autofill.InlinePresentation;
26 import android.service.autofill.SaveCallback;
27 import android.service.autofill.SaveInfo;
28 import android.service.autofill.SaveRequest;
DInlineRequestHelper.java24 import android.service.autofill.Dataset;
25 import android.service.autofill.FillRequest;
26 import android.service.autofill.InlinePresentation;
DHelper.java23 import android.service.autofill.FillContext;
24 import android.service.autofill.FillRequest;
DResponseHelper.java23 import android.service.autofill.Dataset;
24 import android.service.autofill.InlinePresentation;
DAuthActivity.java28 import android.service.autofill.Dataset;
29 import android.service.autofill.FillResponse;
/development/tools/winscope/
Dtrace.sh56 adb shell su root service call SurfaceFlinger 1020 i32 1 >/dev/null
57 adb shell su root service call SurfaceFlinger 1025 i32 1 >/dev/null
65 adb shell su root service call SurfaceFlinger 1020 i32 0 >/dev/null
66 adb shell su root service call SurfaceFlinger 1025 i32 0 >/dev/null
/development/ide/clion/frameworks/ml/
DCMakeLists.txt6 add_subdirectory(nn/driver/sample/[email protected]service-sample-minimal-arm-an…
7 add_subdirectory(nn/driver/sample/[email protected]service-sample-float-slow-arm…
8 add_subdirectory(nn/driver/sample/[email protected]service-sample-all-arm-androi…
9 add_subdirectory(nn/driver/sample/[email protected]service-sample-float-fast-arm…
10 add_subdirectory(nn/driver/sample/[email protected]service-sample-quant-arm-andr…
/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.java173 WifiP2pDnsSdServiceInfo service = WifiP2pDnsSdServiceInfo.newInstance( in startRegistrationAndDiscovery() local
175 manager.addLocalService(channel, service, new ActionListener() { in startRegistrationAndDiscovery()
217 WiFiP2pService service = new WiFiP2pService(); in discoverService()
218 service.device = srcDevice; in discoverService()
219 service.instanceName = instanceName; in discoverService()
220 service.serviceRegistrationType = registrationType; in discoverService()
221 adapter.add(service); in discoverService()
277 public void connectP2p(WiFiP2pService service) { in connectP2p() argument
279 config.deviceAddress = service.device.deviceAddress; in connectP2p()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessagingService.java159 IncomingHandler(MessagingService service) { in IncomingHandler() argument
160 mReference = new WeakReference<>(service); in IncomingHandler()
165 MessagingService service = mReference.get(); in handleMessage() local
170 if (service != null) { in handleMessage()
171 service.sendNotification(howManyConversations, messagesPerConversation); in handleMessage()
DMessagingFragment.java56 public void onServiceConnected(ComponentName componentName, IBinder service) {
57 mService = new Messenger(service);
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DSampleChooserTargetService.java23 import android.service.chooser.ChooserTarget;
24 import android.service.chooser.ChooserTargetService;
/development/samples/browseable/MediaBrowserService/
D_index.jd10 service. It exposes a simple music library through the new
15 connected to Android Auto, the same service provides data and callback
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityReceiver.java17 package com.example.android.xyztouristattractions.service;
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java33 import android.service.media.MediaBrowserService;
722 private DelayedStopHandler(MusicService service) { in DelayedStopHandler() argument
723 mWeakReference = new WeakReference<>(service); in DelayedStopHandler()
728 MusicService service = mWeakReference.get(); in handleMessage() local
729 if (service != null && service.mPlayback != null) { in handleMessage()
730 if (service.mPlayback.isPlaying()) { in handleMessage()
735 service.stopSelf(); in handleMessage()
736 service.mServiceStarted = false; in handleMessage()
DPlayback.java96 public Playback(MusicService service, MusicProvider musicProvider) { in Playback() argument
97 this.mService = service; in Playback()
99 this.mAudioManager = (AudioManager) service.getSystemService(Context.AUDIO_SERVICE); in Playback()
101 this.mWifiLock = ((WifiManager) service.getSystemService(Context.WIFI_SERVICE)) in Playback()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/service/
DRespondService.java17 package com.example.android.smssample.service;
DMessagingService.java17 package com.example.android.smssample.service;
/development/tools/repo_diff/service/repodiff/
DMakefile123 --service-account $(SERVICE_ACCOUNT) \
129 gcloud iam service-accounts keys create $(TMP_CREDENTIAL_FNAME) --iam-account $(SERVICE_ACCOUNT)
191 kubectl get service
197 kubectl delete service
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLocalServiceActivities.java103 public void onServiceConnected(ComponentName className, IBinder service) {
109 mBoundService = ((LocalService.LocalBinder)service).getService();
DMessengerServiceActivities.java68 IBinder service) {
74 mService = new Messenger(service);
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/
DLocalServiceTest.java77 IBinder service = bindService(startIntent); in testBindable() local
/development/samples/browseable/MessagingService/
D_index.jd8 This sample shows a simple service that sends notifications using

123