Searched refs:service (Results 26 - 50 of 132) sorted by relevance

123456

/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java120 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b);
122 service.registerObserver(this);
221 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b);
311 IConnectivityManager service = IConnectivityManager.Stub.asInterface(b);
313 if (!service.isTetheringSupported()) return;
449 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b);
452 ifaces = service.listInterfaces();
472 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b);
477 if (!service.isUsbRNDISStarted()) {
478 service
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DUriPermissionOwner.java28 final ActivityManagerService service; field in class:UriPermissionOwner
43 service = _service;
74 service.removeUriPermissionIfNeededLocked(perm);
86 service.removeUriPermissionIfNeededLocked(perm);
104 service.removeUriPermissionIfNeededLocked(perm);
123 service.removeUriPermissionIfNeededLocked(perm);
H A DIntentBindRecord.java30 /** 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);
H A DAppWaitingForDebuggerDialog.java28 public AppWaitingForDebuggerDialog(ActivityManagerService service, argument
31 mService = service;
H A DActivityRecord.java49 final ActivityManagerService service; // owner field in class:ActivityRecord
192 service = _service;
308 uriPermissions = new UriPermissionOwner(service, this);
361 service.grantUriPermissionFromIntentLocked(callingUid, packageName,
388 service.mWindowManager.pauseKeyDispatching(this);
395 service.mWindowManager.resumeKeyDispatching(this);
411 service.mWindowManager.startAppFreezingScreen(this, configChanges);
418 service.mWindowManager.stopAppFreezingScreen(this, force);
423 synchronized(service) {
433 StringBuilder sb = service
[all...]
/frameworks/base/cmds/runtime/
H A DServiceManager.cpp49 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);
H A DServiceManager.h23 const sp<IBinder>& service);
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java105 * <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/os/
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) throws RemoteException; argument
56 * Assign a permission controller to the service manager. After set, this
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java17 package android.service.wallpaper;
35 = "android.service.wallpaper.PREVIEW_MODE";
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbResolverActivity.java87 IUsbManager service = IUsbManager.Stub.asInterface(b);
91 service.grantAccessoryPermission(mAccessory, uid);
94 service.setAccessoryPackage(mAccessory, ri.activityInfo.packageName);
96 service.setAccessoryPackage(mAccessory, null);
H A DUsbConfirmActivity.java107 IUsbManager service = IUsbManager.Stub.asInterface(b);
118 service.grantAccessoryPermission(mAccessory, uid);
121 service.setAccessoryPackage(mAccessory,
124 service.setAccessoryPackage(mAccessory, null);
/frameworks/base/core/java/android/app/
H A DAlarmManager.java39 * 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 DLoadedApk.java920 public void connected(ComponentName name, IBinder service) throws RemoteException { argument
923 sd.connected(name, service);
992 public void connected(ComponentName name, IBinder service) { argument
994 mActivityThread.post(new RunConnection(name, service, 0));
996 doConnected(name, service);
1000 public void death(ComponentName name, IBinder service) { argument
1006 if (old == null || old.binder != service) {
1015 mActivityThread.post(new RunConnection(name, service, 1));
1017 doDeath(name, service);
1021 public void doConnected(ComponentName name, IBinder service) { argument
1068 doDeath(ComponentName name, IBinder service) argument
1073 RunConnection(ComponentName name, IBinder service, int command) argument
1094 DeathMonitor(ComponentName name, IBinder service) argument
[all...]
/frameworks/base/core/java/com/android/internal/nfc/
H A DLlcpConnectionlessSocket.java31 * The handle returned by the NFC service and used to identify the LLCP connectionless socket in
46 * @param service The entry point to the Nfc Service for LLCP Connectionless socket class.
47 * @param handle The handle returned by the NFC service and used to identify
50 LlcpConnectionlessSocket(ILlcpConnectionlessSocket service, int handle) { argument
51 this.mService = service;
H A DLlcpServiceSocket.java36 * The handle returned by the NFC service and used to identify the LLCP
75 * @param service
79 * The handle returned by the NFC service and used to identify
83 public LlcpServiceSocket(ILlcpServiceSocket service, ILlcpSocket socketService, int handle) { argument
84 this.mService = service;
H A DP2pTarget.java65 * @param handle The handle returned by the NFC service and used to identify
68 P2pTarget(IP2pTarget service, int handle) { argument
69 this.mService = service;
/frameworks/base/location/java/com/android/internal/location/
H A DDummyLocationProvider.java45 public DummyLocationProvider(String name, ILocationManager service) { argument
46 super(name, service);
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerTest.java35 public void onServiceConnected(ComponentName name, IBinder service) {
37 mServiceMessenger = new Messenger(service);
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java422 public ConnectivityManager(IConnectivityManager service) { argument
423 if (service == null) {
425 "ConnectivityManager() cannot be constructed with null service");
427 mService = service;
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java31 * and media container service transports.
50 IBinder service = ServiceManager.getService("mount");
51 if (service != null) {
52 return IMountService.Stub.asInterface(service);
54 Log.e(TAG, "Can't get mount service");
/frameworks/base/media/libmedia/
H A Dmediametadataretriever.cpp30 // client singleton for binder interface to service
62 const sp<IMediaPlayerService>& service(getService());
63 if (service == 0) {
67 sp<IMediaMetadataRetriever> retriever(service->createMetadataRetriever(getpid()));
H A Dmediaplayer.cpp139 const sp<IMediaPlayerService>& service(getMediaPlayerService());
140 if (service != 0) {
142 service->create(getpid(), this, url, headers, mAudioSessionId));
153 const sp<IMediaPlayerService>& service(getMediaPlayerService());
154 if (service != 0) {
155 sp<IMediaPlayer> player(service->create(getpid(), this, fd, offset, length, mAudioSessionId));
662 const sp<IMediaPlayerService>& service = getMediaPlayerService(); local
663 if (service != 0) {
664 p = service->decode(url, pSampleRate, pNumChannels, pFormat);
666 LOGE("Unable to locate media service");
682 const sp<IMediaPlayerService>& service = getMediaPlayerService(); local
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java164 public UsbManager(Context context, IUsbManager service) { argument
166 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 371 milliseconds

123456