Searched refs:service (Results 1 - 25 of 132) sorted by relevance

123456

/frameworks/base/core/java/android/service/urlrenderer/
H A DIUrlRendererService.aidl17 package android.service.urlrenderer;
19 import android.service.urlrenderer.IUrlRendererCallback;
H A DIUrlRendererCallback.aidl17 package android.service.urlrenderer;
H A DUrlRenderer.java17 package android.service.urlrenderer;
53 * @param service An IBinder service usually obtained through
56 public UrlRenderer(IBinder service) { argument
57 mService = IUrlRendererService.Stub.asInterface(service);
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperConnection.aidl17 package android.service.wallpaper;
20 import android.service.wallpaper.IWallpaperEngine;
H A DIWallpaperService.aidl17 package android.service.wallpaper;
19 import android.service.wallpaper.IWallpaperConnection;
H A DIWallpaperEngine.aidl17 package android.service.wallpaper;
/frameworks/base/cmds/service/
H A DAndroid.mk5 service.cpp
14 LOCAL_MODULE:= service
H A Dservice.cpp33 static String16 get_interface_name(sp<IBinder> service) argument
35 if (service != NULL) {
37 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply);
63 aerr << "service: Unable to get default service manager!" << endl;
81 aerr << "service: Unknown option -" << ic << endl;
94 sp<IBinder> service = sm->checkService(String16(argv[optind])); local
96 (service == NULL ? ": not found" : ": found") << endl;
98 aerr << "service: No service specifie
108 sp<IBinder> service = sm->checkService(name); local
118 sp<IBinder> service = sm->checkService(String16(argv[optind++])); local
[all...]
/frameworks/base/core/java/android/content/
H A DServiceConnection.java22 * Interface for monitoring the state of an application service. See
34 * @param name The concrete component name of the service that has
37 * @param service The IBinder of the Service's communication channel,
40 public void onServiceConnected(ComponentName name, IBinder service); argument
44 * happens when the process hosting the service has crashed or been killed.
46 * binding to the service will remain active, and you will receive a call
49 * @param name The concrete component name of the service whose
/frameworks/base/core/java/android/app/
H A DIServiceConnection.aidl24 void connected(in ComponentName name, IBinder service);
H A DNotificationManager.java107 INotificationManager service = getService();
111 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut);
136 INotificationManager service = getService();
140 service.cancelNotificationWithTag(pkg, tag, id);
151 INotificationManager service = getService();
155 service.cancelAllNotifications(pkg);
/frameworks/base/core/java/android/os/
H A DServiceManager.java38 // Find the service manager
44 * Returns a reference to a service with the given name.
46 * @param name the name of the service to get
47 * @return a reference to the service, or <code>null</code> if the service doesn't exist
51 IBinder service = sCache.get(name);
52 if (service != null) {
53 return service;
64 * Place a new @a service called @a name into the service
70 addService(String name, IBinder service) argument
[all...]
H A DServiceManagerNative.java21 * Native implementation of the service manager. Most clients will only
28 * Cast a Binder object into a service manager interface, generating
57 IBinder service = getService(name);
58 reply.writeStrongBinder(service);
65 IBinder service = checkService(name);
66 reply.writeStrongBinder(service);
73 IBinder service = data.readStrongBinder();
74 addService(name, service);
139 public void addService(String name, IBinder service) argument
145 data.writeStrongBinder(service);
[all...]
/frameworks/base/media/libstagefright/
H A DOMXClient.cpp34 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
36 CHECK(service.get() != NULL);
38 mOMX = service->getOMX();
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java120 public void onServiceConnected(ComponentName name, IBinder service) { argument
143 public void onServiceConnected(ComponentName name, IBinder service) { argument
149 service.transact(SET_REPORTER_CODE, data, null, 0);
191 void startExpectResult(Intent service) { argument
192 startExpectResult(service, new Bundle());
195 void startExpectResult(Intent service, Bundle bundle) { argument
201 getContext().startService(new Intent(service).putExtras(bundle));
202 waitForResultOrThrow(5 * 1000, "service to start first time");
205 getContext().startService(new Intent(service).putExtras(bundle));
206 waitForResultOrThrow(5 * 1000, "service t
223 startExpectNoPermission(Intent service) argument
232 bindExpectResult(Intent service) argument
339 bindAutoExpectResult(Intent service) argument
363 bindExpectNoPermission(Intent service) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java377 IAudioService service = getService();
379 service.adjustStreamVolume(streamType, direction, flags);
403 IAudioService service = getService();
405 service.adjustVolume(direction, flags);
429 IAudioService service = getService();
431 service.adjustSuggestedStreamVolume(direction, suggestedStreamType, flags);
445 IAudioService service = getService();
447 return service.getRingerMode();
462 IAudioService service = getService();
464 return service
[all...]
/frameworks/base/services/java/com/android/server/
H A DAccessibilityManagerService.java66 * This class is instantiated by the system as a system level service and can be
67 * accessed only by the system. The task of this service is to be a centralized
117 Service service = (Service) message.obj;
121 notifyEventListenerLocked(service, eventType);
122 AccessibilityEvent oldEvent = service.mPendingEvents.get(eventType);
123 service.mPendingEvents.remove(eventType);
307 Service service = mServices.get(i);
309 service.mServiceInterface.onInterrupt();
312 Slog.w(LOG_TAG, "Dead " + service.mService + ". Cleaning up.");
313 if (removeDeadServiceLocked(service)) {
399 notifyAccessibilityServiceDelayedLocked(Service service, AccessibilityEvent event) argument
447 notifyEventListenerLocked(Service service, int eventType) argument
474 removeDeadServiceLocked(Service service) argument
503 canDispathEventLocked(Service service, AccessibilityEvent event, int handledFeedbackTypes) argument
712 onServiceConnected(ComponentName componentName, IBinder service) argument
[all...]
/frameworks/base/cmds/dumpstate/
H A Ddumpstate.h32 /* redirect output to a service control socket */
33 void redirect_to_socket(FILE *redirect, const char *service);
/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java42 public CacheResult service(String url, Map<String, String> headers); method in interface:UrlInterceptHandler
/frameworks/base/services/java/com/android/server/am/
H A DAppBindRecord.java24 * An association between a service and one of its client applications.
27 final ServiceRecord service; // The running service. field in class:AppBindRecord
29 final ProcessRecord client; // Who has started/bound the service.
35 pw.println(prefix + "service=" + service);
53 service = _service;
61 + " " + service.shortName + ":" + client.processName + "}";
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DServiceManager.java24 * Returns a reference to a service with the given name.
26 * @param name the name of the service to get
27 * @return a reference to the service, or <code>null</code> if the service doesn't exist
34 * Place a new @a service called @a name into the service
37 * @param name the name of the new service
38 * @param service the service object
40 public static void addService(String name, IBinder service) { argument
[all...]
/frameworks/base/cmds/dumpsys/
H A Ddumpsys.cpp34 LOGE("Unable to get default service manager!");
35 aerr << "dumpsys: Unable to get default service manager!" << endl;
59 sp<IBinder> service = sm->checkService(services[i]); local
60 if (service != NULL) {
67 sp<IBinder> service = sm->checkService(services[i]); local
68 if (service != NULL) {
74 int err = service->dump(STDOUT_FILENO, args);
76 aerr << "Error dumping service info: (" << strerror(err)
80 aerr << "Can't find service: " << services[i] << endl;
/frameworks/base/core/java/com/android/internal/nfc/
H A DP2pInitiator.java43 * @param handle The handle returned by the NFC service and used to identify
46 P2pInitiator(IP2pInitiator service, int handle) { argument
47 this.mService = service;
/frameworks/base/location/java/android/location/
H A DLocationProvider.java57 public LocationProvider(String name, ILocationManager service) { argument
63 mService = service;
/frameworks/base/core/java/android/net/
H A DThrottleManager.java207 public ThrottleManager(IThrottleManager service) { argument
208 if (service == null) {
210 "ThrottleManager() cannot be constructed with null service");
212 mService = service;

Completed in 328 milliseconds

123456