/frameworks/base/core/java/android/content/ |
H A D | ServiceConnection.java | 22 * 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
|
H A D | BroadcastReceiver.java | 105 * <p>In particular, you may <i>not</i> show a dialog or bind to a service from 109 * send a command to the service. 183 * to interact with a service that is already running, you can use 200 * Provide a binder to an already-running service. This method is synchronous 201 * and will not start the target service if it is not present, so it is safe 205 * @param service The Intent indicating the service you wish to use. See {@link 208 public IBinder peekService(Context myContext, Intent service) { argument 212 binder = am.peekService(service, service [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperSettingsActivity.java | 17 package android.service.wallpaper; 35 = "android.service.wallpaper.PREVIEW_MODE";
|
/frameworks/base/core/java/android/webkit/ |
H A D | UrlInterceptHandler.java | 42 public CacheResult service(String url, Map<String, String> headers); method in interface:UrlInterceptHandler
|
/frameworks/base/media/libstagefright/ |
H A D | OMXClient.cpp | 34 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local 36 CHECK(service.get() != NULL); 38 mOMX = service->getOMX();
|
/frameworks/base/core/java/android/service/urlrenderer/ |
H A D | UrlRenderer.java | 17 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);
|
H A D | UrlRendererService.java | 17 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/cmds/dumpsys/ |
H A D | dumpsys.cpp | 34 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/cmds/runtime/ |
H A D | ServiceManager.cpp | 49 status_t BServiceManager::addService(const String16& name, const sp<IBinder>& service) argument 52 LOGI("ServiceManager: addService(%s, %p)\n", String8(name).string(), service.get()); 53 const ssize_t res = mServices.add(name, service);
|
/frameworks/base/core/java/android/os/ |
H A D | ServiceManager.java | 38 // 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 D | IServiceManager.java | 32 * 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) throws RemoteException; argument 56 * Assign a permission controller to the service manager. After set, this
|
H A D | ServiceManagerNative.java | 21 * 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...] |
H A D | DropBoxManager.java | 199 public DropBoxManager(IDropBoxManagerService service) { mService = service; } argument
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
H A D | UrlInterceptRegistryTest.java | 47 public CacheResult service(String url, Map<String, String> headers) { method in class:UrlInterceptRegistryTest.MockUrlInterceptHandler
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | AppWaitingForDebuggerDialog.java | 28 public AppWaitingForDebuggerDialog(ActivityManagerService service, argument 31 mService = service;
|
H A D | AppBindRecord.java | 24 * 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 D | AppNotRespondingDialog.java | 42 public AppNotRespondingDialog(ActivityManagerService service, Context context, argument 46 mService = service;
|
H A D | IntentBindRecord.java | 30 /** The running service. */ 31 final ServiceRecord service; field in class:IntentBindRecord 37 /** Binder published from service. */ 43 /** Set when we still need to tell the service all clients are unbound. */ 45 /** Set when the service's onUnbind() has asked to be told about new clients. */ 51 pw.print(prefix); pw.print("service="); pw.println(service); 77 service = _service; 89 sb.append(service.shortName);
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | ServiceManager.java | 24 * 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/services/java/com/android/server/status/ |
H A D | IconMerger.java | 27 StatusBarService service; field in class:IconMerger 94 int n = this.service.getIconNumberForView(child);
|
/frameworks/base/core/java/android/app/ |
H A D | AlarmManager.java | 39 * is possible that the phone will sleep before the requested service is launched. 42 * service becomes available. 90 AlarmManager(IAlarmManager service) { argument 91 mService = service;
|
H A D | WallpaperInfo.java | 36 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.
|
/frameworks/base/cmds/service/ |
H A D | service.cpp | 33 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/net/ |
H A D | ThrottleManager.java | 207 public ThrottleManager(IThrottleManager service) { argument 208 if (service == null) { 210 "ThrottleManager() cannot be constructed with null service"); 212 mService = service;
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodInfo.java | 76 * @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
|