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

123456789

/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/tools/layoutlib/bridge/src/android/view/
H A DWindowManagerGlobal_Delegate.java40 public static void setWindowManagerService(IWindowManager service) { argument
41 sService = service;
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperService.aidl17 package android.service.wallpaper;
19 import android.service.wallpaper.IWallpaperConnection;
H A DIWallpaperConnection.aidl17 package android.service.wallpaper;
20 import android.service.wallpaper.IWallpaperEngine;
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/os/
H A DSystemService.java36 * State of a known {@code init} service.
62 /** Request that the init daemon start a named service. */
67 /** Request that the init daemon stop a named service. */
72 /** Request that the init daemon restart a named service. */
78 * Return current state of given service.
80 public static State getState(String service) { argument
81 final String rawState = SystemProperties.get("init.svc." + service);
91 * Check if given service is {@link State#STOPPED}.
93 public static boolean isStopped(String service) { argument
94 return State.STOPPED.equals(getState(service));
100 isRunning(String service) argument
107 waitForState(String service, State state, long timeoutMillis) argument
[all...]
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/core/java/android/app/
H A DIServiceConnection.aidl24 void connected(in ComponentName name, IBinder service);
H A DNotificationManager.java125 INotificationManager service = getService();
132 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut,
147 INotificationManager service = getService();
154 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut,
180 INotificationManager service = getService();
184 service.cancelNotificationWithTag(pkg, tag, id, UserHandle.myUserId());
194 INotificationManager service = getService();
198 service.cancelNotificationWithTag(pkg, tag, id, user.getIdentifier());
209 INotificationManager service = getService();
213 service
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DIRemoteViewsAdapterConnection.aidl23 void onServiceConnected(IBinder service);
/frameworks/base/media/java/android/media/
H A DAudioManager.java549 IAudioService service = getService();
552 service.adjustMasterVolume(direction, flags);
554 service.adjustStreamVolume(streamType, direction, flags);
579 IAudioService service = getService();
582 service.adjustMasterVolume(direction, flags);
584 service.adjustVolume(direction, flags);
609 IAudioService service = getService();
612 service.adjustMasterVolume(direction, flags);
614 service.adjustSuggestedStreamVolume(direction, suggestedStreamType, flags);
631 IAudioService service
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderProxy.java90 * Remember we can switch the service that implements a providers
96 if (D) Log.d(TAG, "applying state to connected service");
102 ILocationProvider service;
107 service = getService();
110 if (service == null) return;
114 properties = service.getProperties();
120 // apply current state to new service
122 service.enable();
124 service.setRequest(request, source);
130 // never let remote service cras
[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/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/opt/telephony/src/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/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.java41 * service. The service itself is interacting with the platform. Note: Testing
42 * the service in full isolation would require significant amount of work for
60 * Timeout used for testing that a service is notified only upon a
66 * The interface used to talk to the tested service.
177 assertTrue("First mock service must be installed", firstMockServiceInstalled);
178 assertTrue("Second mock service must be installed", secondMockServiceInstalled);
187 // enable the mock accessibility service
190 // configure the mock service
191 MockAccessibilityService service
663 assertMockServiceVerifiedWithinTimeout(MockAccessibilityService service) argument
[all...]
/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);

Completed in 250 milliseconds

123456789