Searched defs:service (Results 1 - 25 of 124) sorted by relevance

12345

/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/service/wallpaper/
H A DWallpaperSettingsActivity.java17 package android.service.wallpaper;
35 = "android.service.wallpaper.PREVIEW_MODE";
/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/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/hardware/
H A DSerialManager.java43 public SerialManager(Context context, ISerialManager service) { argument
45 mService = 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 DIServiceManager.java32 * Retrieve an existing service called @a name from the
33 * service manager. Blocks for a few seconds waiting for it to be
39 * Retrieve an existing service called @a name from the
40 * service manager. Non-blocking.
45 * Place a new @a service called @a name into the service
48 public void addService(String name, IBinder service, boolean allowIsolated) argument
57 * Assign a permission controller to the service manager. After set, this
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...]
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...]
/frameworks/base/core/java/android/service/dreams/
H A DSandman.java17 package android.service.dreams;
32 * <code>UiModeManagerService</code> system service and the <code>Somnambulator</code> activity.
/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/services/java/com/android/server/am/
H A DAppErrorDialog.java40 public AppErrorDialog(Context context, ActivityManagerService service, argument
46 mService = service;
H A DAppWaitingForDebuggerDialog.java30 public AppWaitingForDebuggerDialog(ActivityManagerService service, argument
33 mService = service;
H A DCompatModeDialog.java39 public CompatModeDialog(ActivityManagerService service, Context context, argument
47 mService = service;
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 + "}";
H A DAppNotRespondingDialog.java42 public AppNotRespondingDialog(ActivityManagerService service, Context context, argument
46 mService = service;
H A DStrictModeViolationDialog.java43 public StrictModeViolationDialog(Context context, ActivityManagerService service, argument
49 mService = service;
H A DIntentBindRecord.java31 /** The running service. */
32 final ServiceRecord service; field in class:IntentBindRecord
38 /** Binder published from service. */
44 /** Set when we still need to tell the service all clients are unbound. */
46 /** Set when the service's onUnbind() has asked to be told about new clients. */
52 pw.print(prefix); pw.print("service="); pw.println(service);
78 service = _service;
107 sb.append(service.shortName);
/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/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/base/location/java/android/location/
H A DCountryDetector.java27 * This class provides access to the system country detector service. This
28 * service allows applications to obtain the country that the user is in.
93 public CountryDetector(ICountryDetector service) { argument
94 mService = service;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DIccServiceTableTest.java39 public boolean isAvailable(TestIccService service) { argument
40 return super.isAvailable(service.ordinal());
/frameworks/base/core/java/android/app/
H A DAlarmManager.java37 * is possible that the phone will sleep before the requested service is launched.
40 * service becomes available.
88 AlarmManager(IAlarmManager service) { argument
89 mService = service;
/frameworks/base/libs/usb/src/com/android/future/usb/
H A DUsbManager.java69 private UsbManager(Context context, IUsbManager service) { argument
71 mService = service;

Completed in 216 milliseconds

12345