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

12345678

/frameworks/base/core/java/android/service/dreams/
H A DIDreamService.aidl17 package android.service.dreams;
H A DIDreamManager.aidl17 package android.service.dreams;
/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/services/common_time/
H A Dmain.cpp18 * A service that exchanges time synchronization information between
33 sp<CommonTimeServer> service = new CommonTimeServer();
34 if (service == NULL)
38 service->run("CommonTimeServer", ANDROID_PRIORITY_NORMAL);
/frameworks/base/cmds/service/
H A DAndroid.mk5 service.cpp
14 LOCAL_MODULE:= service
/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.java120 INotificationManager service = getService();
124 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut);
149 INotificationManager service = getService();
153 service.cancelNotificationWithTag(pkg, tag, id);
164 INotificationManager service = getService();
168 service.cancelAllNotifications(pkg);
/frameworks/base/core/java/com/android/internal/widget/
H A DIRemoteViewsAdapterConnection.aidl23 void onServiceConnected(IBinder service);
/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
87 addService(String name, IBinder service, boolean allowIsolated) argument
[all...]
H A DServiceManagerNative.java23 * Native implementation of the service manager. Most clients will only
30 * Cast a Binder object into a service manager interface, generating
59 IBinder service = getService(name);
60 reply.writeStrongBinder(service);
67 IBinder service = checkService(name);
68 reply.writeStrongBinder(service);
75 IBinder service = data.readStrongBinder();
77 addService(name, service, allowIsolated);
142 public void addService(String name, IBinder service, boolean allowIsolated) argument
148 data.writeStrongBinder(service);
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java539 IAudioService service = getService();
542 service.adjustMasterVolume(direction, flags);
544 service.adjustStreamVolume(streamType, direction, flags);
569 IAudioService service = getService();
572 service.adjustMasterVolume(direction, flags);
574 service.adjustVolume(direction, flags);
599 IAudioService service = getService();
602 service.adjustMasterVolume(direction, flags);
604 service.adjustSuggestedStreamVolume(direction, suggestedStreamType, flags);
621 IAudioService service
[all...]
/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/core/java/android/webkit/
H A DUrlInterceptHandler.java44 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/telephony/java/com/android/internal/telephony/
H A DIccServiceTable.java38 * Returns if the specified service is available.
39 * @param service the service number as a zero-based offset (the enum ordinal)
40 * @return true if the service is available; false otherwise
42 protected boolean isAvailable(int service) { argument
43 int offset = service / 8;
45 // Note: Enums are zero-based, but the TS service numbering is one-based
46 Log.e(getTag(), "isAvailable for service " + (service + 1) + " fails, max service i
[all...]
/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/native/cmds/dumpsys/
H A Ddumpsys.cpp35 ALOGE("Unable to get default service manager!");
36 aerr << "dumpsys: Unable to get default service manager!" << endl;
60 sp<IBinder> service = sm->checkService(services[i]); local
61 if (service != NULL) {
68 sp<IBinder> service = sm->checkService(services[i]); local
69 if (service != NULL) {
75 int err = service->dump(STDOUT_FILENO, args);
77 aerr << "Error dumping service info: (" << strerror(err)
81 aerr << "Can't find service: " << services[i] << endl;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAccessibilityManagerServiceTest.java40 * service. The service itself is interacting with the platform. Note: Testing
41 * the service in full isolation would require significant amount of work for
59 * Timeout used for testing that a service is notified only upon a
65 * The interface used to talk to the tested service.
175 assertTrue("First mock service must be installed", firstMockServiceInstalled);
176 assertTrue("Second mock service must be installed", secondMockServiceInstalled);
185 // enable the mock accessibility service
188 // configure the mock service
189 MockAccessibilityService service
661 assertMockServiceVerifiedWithinTimeout(MockAccessibilityService service) argument
[all...]
/frameworks/base/location/java/android/location/
H A DLocationProvider.java57 public LocationProvider(String name, ILocationManager service) { argument
63 mService = service;
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h35 /* redirect output to a service control socket */
36 void redirect_to_socket(FILE *redirect, const char *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;
/frameworks/base/services/java/com/android/server/
H A DAppWidgetService.java51 * Redirects calls to this service to the instance of the service for the appropriate user.
102 public void onServiceConnected(ComponentName name, IBinder service) { argument
106 cb.onServiceConnected(service);
252 AppWidgetServiceImpl service = mAppWidgetServices.get(userId);
253 if (service == null) {
256 service = new AppWidgetServiceImpl(mContext, userId);
257 service.systemReady(mSafeMode);
259 service.sendInitialBroadcasts();
260 mAppWidgetServices.append(userId, service);
[all...]

Completed in 361 milliseconds

12345678