Searched refs:service (Results 51 - 75 of 132) sorted by relevance

123456

/frameworks/base/services/java/com/android/server/location/
H A DGeocoderProxy.java69 public void onServiceConnected(ComponentName className, IBinder service) { argument
72 mProvider = IGeocodeProvider.Stub.asInterface(service);
/frameworks/base/core/java/android/app/
H A DWallpaperInfo.java36 import android.service.wallpaper.WallpaperService;
44 * This class is used to specify meta information of a wallpaper service.
79 * @param service The ResolveInfo returned from the package manager about
82 public WallpaperInfo(Context context, ResolveInfo service) argument
84 mService = service;
85 ServiceInfo si = service.serviceInfo;
161 * Return the class name of the service component that implements
177 * Return the component of the service that implements this wallpaper.
H A DContextImpl.java153 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument
158 //return mContext.bindService(service, interfaceName, conn, flags);
835 public ComponentName startService(Intent service) { argument
838 mMainThread.getApplicationThread(), service,
839 service.resolveTypeIfNeeded(getContentResolver()));
842 "Not allowed to start service " + service
852 public boolean stopService(Intent service) { argument
855 mMainThread.getApplicationThread(), service,
856 service
868 bindService(Intent service, ServiceConnection conn, int flags) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java280 Log.e(TAG, "could not retrieve NFC service");
286 Log.e(TAG, "could not retrieve NFC Tag service");
293 /** get handle to NFC service interface */
295 /* get a handle to NFC service */
346 * Returns the binder interface to the service.
355 * Returns the binder interface to the tag service.
364 * NFC service dead - attempt best effort recovery
368 Log.e(TAG, "NFC service dead - attempting to recover", e);
369 INfcAdapter service = getServiceInterface();
370 if (service
[all...]
/frameworks/base/core/java/android/service/urlrenderer/
H A DUrlRendererService.java17 package android.service.urlrenderer;
33 * The {@link Intent} that must be declared as handled by the service.
37 "android.service.urlrenderer.UrlRendererService";
66 * service interface. Subclasses should not override.
74 * When all clients unbind from the service, stop the service. Subclasses
/frameworks/base/core/java/android/webkit/
H A DUrlInterceptRegistry.java126 CacheResult result = handler.service(url, headers);
/frameworks/base/core/tests/coretests/src/android/webkit/
H A DUrlInterceptRegistryTest.java47 public CacheResult service(String url, Map<String, String> headers) { method in class:UrlInterceptRegistryTest.MockUrlInterceptHandler
/frameworks/base/include/binder/
H A DIServiceManager.h36 * Retrieve an existing service, blocking for a few seconds
42 * Retrieve an existing service, non-blocking.
47 * Register a service.
50 const sp<IBinder>& service) = 0;
/frameworks/base/media/libmediaplayerservice/
H A DMetadataRetrieverClient.h39 MetadataRetrieverClient(const sp<IMediaPlayerService>& service, pid_t pid, int32_t connId);
H A DMediaRecorderClient.h57 MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid);
/frameworks/base/services/java/com/android/server/am/
H A DConnectionRecord.java25 * Description of a single binding to a service.
28 final AppBindRecord binding; // The application/service binding.
64 sb.append(binding.service.shortName);
H A DAppNotRespondingDialog.java42 public AppNotRespondingDialog(ActivityManagerService service, Context context, argument
46 mService = service;
/frameworks/base/cmds/stagefright/
H A Dstagefright.cpp585 sp<IMediaPlayerService> service = local
588 CHECK(service.get() != NULL);
591 service->createMetadataRetriever(getpid());
623 sp<IMediaPlayerService> service = local
626 CHECK(service.get() != NULL);
628 sp<IOMX> omx = service->getOMX();
672 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
674 CHECK(service.get() != NULL);
676 sp<IOMX> omx = service->getOMX();
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java178 * to bind to the service.
262 Log.w(TAG, "Unable to load service info " + resolveInfo.toString());
267 Log.w(TAG, "Unable to load service info " + resolveInfo.toString(), e);
269 Log.w(TAG, "Unable to load service info " + resolveInfo.toString(), e);
380 private ServiceInfo<V> parseServiceInfo(ResolveInfo service) argument
382 android.content.pm.ServiceInfo si = service.serviceInfo;
412 final android.content.pm.ServiceInfo serviceInfo = service.serviceInfo;
451 if ("service".equals(tagName)) {
452 V service = mSerializerAndParser.createFromXml(parser);
453 if (service
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java28 * <p>Every Bluetooth class is composed of zero or more service classes, and
35 * service discovery is done through SDP requests, which are automatically
102 * Defines all service class constants.
103 * <p>Each {@link BluetoothClass} encodes zero or more service classes.
120 * Return true if the specified service class is supported by this
122 * <p>Valid service classes are the public constants in
126 * @param service valid service class
127 * @return true if the service class is supported
129 public boolean hasService(int service) { argument
[all...]
H A DBluetoothPbap.java38 * BluetoothPbap service. Users of this object should call close() when they
40 * from the service.
43 * BluetoothPbap service. Use the ServiceListener interface to obtain a
90 * been connected to the BluetoothPbap service.
95 * connected to the BluetoothPbap service. Clients must wait for
97 * service.
103 * disconnected from the BluetoothPbap service. Clients must not
104 * make IPC calls on the BluetoothPbap service after this callback.
106 * the BluetoothPbap service, but may be called more often in future.
131 * Close the connection to the backing service
[all...]
H A DBluetoothSocket.java189 * but is run as a system service, so an application should always call
343 private final IBluetooth service; field in class:BluetoothSocket.SdpHelper
349 service = BluetoothDevice.getService();
364 inProgress = service.fetchRemoteUuids(device.getAddress(), uuid, this);
/frameworks/base/core/java/android/os/
H A DPowerManager.java522 public PowerManager(IPowerManager service, Handler handler) argument
524 mService = service;
/frameworks/base/core/java/com/android/internal/nfc/
H A DLlcpSocket.java35 * The handle returned by the NFC service and used to identify the LLCP
75 * @param service
79 * The handle returned by the NFC service and used to identify
83 public LlcpSocket(ILlcpSocket service, int handle) { argument
84 this.mService = service;
/frameworks/base/core/java/com/android/internal/service/wallpaper/
H A DImageWallpaper.java17 package com.android.internal.service.wallpaper;
29 import android.service.wallpaper.WallpaperService;
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderThreadPriorityTest.java39 public void onServiceConnected(ComponentName name, IBinder service) {
41 mService = IBinderThreadPriorityService.Stub.asInterface(service);
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java34 * newly created or downloaded media file to the media scanner service.
35 * The media scanner service will read metadata from the file and add
38 * media scanner service to return the Uri for a newly scanned file
76 * when a connection to the MediaScanner service has been established
82 * MediaScanner service has been established.
99 * the media scanner service.
109 * Initiates a connection to the media scanner service.
124 * Releases the connection to the media scanner service.
145 * Returns whether we are connected to the media scanner service
220 * the media scanner service
242 onServiceConnected(ComponentName className, IBinder service) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalReceiver.java46 resultString = "Successfully bound to service, but expected it to fail";
49 public void onServiceConnected(ComponentName name, IBinder service) {
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java199 DropBoxManagerService service = new DropBoxManagerService(getContext(), dir);
200 DropBoxManager dropbox = new DropBoxManager(service);
246 service.stop();
282 DropBoxManagerService service = new DropBoxManagerService(getContext(), dir);
283 DropBoxManager dropbox = new DropBoxManager(service);
323 service.stop();
345 DropBoxManagerService service = new DropBoxManagerService(getContext(), dir);
346 DropBoxManager dropbox = new DropBoxManager(service);
425 service.stop();
440 DropBoxManagerService service
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java76 * @param service The ResolveInfo returned from the package manager about
79 public InputMethodInfo(Context context, ResolveInfo service) argument
81 mService = service;
82 ServiceInfo si = service.serviceInfo;
176 * Return the class name of the service component that implements
192 * Return the component of the service that implements this input

Completed in 519 milliseconds

123456