Home
last modified time | relevance | path

Searched refs:service (Results 1 – 25 of 234) sorted by relevance

12345678910

/frameworks/base/media/java/android/media/
DAudioManager.java377 IAudioService service = getService(); in adjustStreamVolume() local
379 service.adjustStreamVolume(streamType, direction, flags); in adjustStreamVolume()
403 IAudioService service = getService(); in adjustVolume() local
405 service.adjustVolume(direction, flags); in adjustVolume()
429 IAudioService service = getService(); in adjustSuggestedStreamVolume() local
431 service.adjustSuggestedStreamVolume(direction, suggestedStreamType, flags); in adjustSuggestedStreamVolume()
445 IAudioService service = getService(); in getRingerMode() local
447 return service.getRingerMode(); in getRingerMode()
462 IAudioService service = getService(); in getStreamMaxVolume() local
464 return service.getStreamMaxVolume(streamType); in getStreamMaxVolume()
[all …]
/frameworks/base/services/java/com/android/server/
DAccessibilityManagerService.java117 Service service = (Service) message.obj;
121 notifyEventListenerLocked(service, eventType);
122 AccessibilityEvent oldEvent = service.mPendingEvents.get(eventType);
123 service.mPendingEvents.remove(eventType);
307 Service service = mServices.get(i); in interrupt() local
309 service.mServiceInterface.onInterrupt(); in interrupt()
312 Slog.w(LOG_TAG, "Dead " + service.mService + ". Cleaning up."); in interrupt()
313 if (removeDeadServiceLocked(service)) { in interrupt()
319 + service.mService, re); in interrupt()
332 Service service = (Service) arguments.arg2; in executeMessage() local
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java120 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
143 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
149 service.transact(SET_REPORTER_CODE, data, null, 0); in onServiceConnected()
191 void startExpectResult(Intent service) { in startExpectResult() argument
192 startExpectResult(service, new Bundle()); in startExpectResult()
195 void startExpectResult(Intent service, Bundle bundle) { in startExpectResult() argument
201 getContext().startService(new Intent(service).putExtras(bundle)); in startExpectResult()
205 getContext().startService(new Intent(service).putExtras(bundle)); in startExpectResult()
211 getContext().stopService(service); in startExpectResult()
219 getContext().stopService(service); in startExpectResult()
[all …]
/frameworks/base/core/java/android/os/
DServiceManager.java51 IBinder service = sCache.get(name); in getService() local
52 if (service != null) { in getService()
53 return service; in getService()
70 public static void addService(String name, IBinder service) { in addService() argument
72 getIServiceManager().addService(name, service); in addService()
84 IBinder service = sCache.get(name); in checkService() local
85 if (service != null) { in checkService()
86 return service; in checkService()
DServiceManagerNative.java57 IBinder service = getService(name); in onTransact() local
58 reply.writeStrongBinder(service); in onTransact()
65 IBinder service = checkService(name); in onTransact() local
66 reply.writeStrongBinder(service); in onTransact()
73 IBinder service = data.readStrongBinder(); in onTransact() local
74 addService(name, service); in onTransact()
139 public void addService(String name, IBinder service) in addService() argument
145 data.writeStrongBinder(service); in addService()
/frameworks/base/cmds/service/
Dservice.cpp33 static String16 get_interface_name(sp<IBinder> service) in get_interface_name() argument
35 if (service != NULL) { in get_interface_name()
37 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply); in get_interface_name()
94 sp<IBinder> service = sm->checkService(String16(argv[optind])); in main() local
96 (service == NULL ? ": not found" : ": found") << endl; in main()
108 sp<IBinder> service = sm->checkService(name); in main() local
111 << ": [" << good_old_string(get_interface_name(service)) << "]" in main()
118 sp<IBinder> service = sm->checkService(String16(argv[optind++])); in main() local
119 String16 ifName = get_interface_name(service); in main()
121 if (service != NULL && ifName.size() > 0) { in main()
[all …]
DAndroid.mk5 service.cpp
14 LOCAL_MODULE:= service
/frameworks/base/services/java/com/android/server/connectivity/
DTethering.java120 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b); in Tethering() local
122 service.registerObserver(this); in Tethering()
221 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b); in interfaceAdded() local
311 IConnectivityManager service = IConnectivityManager.Stub.asInterface(b); in sendTetherStateChangedBroadcast() local
313 if (!service.isTetheringSupported()) return; in sendTetherStateChangedBroadcast()
449 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b); in enableUsbIfaces() local
452 ifaces = service.listInterfaces(); in enableUsbIfaces()
472 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b); in enableUsbRndis() local
477 if (!service.isUsbRNDISStarted()) { in enableUsbRndis()
478 service.startUsbRNDIS(); in enableUsbRndis()
[all …]
/frameworks/base/core/java/android/app/
DNotificationManager.java107 INotificationManager service = getService(); in notify() local
111 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut); in notify()
136 INotificationManager service = getService(); in cancel() local
140 service.cancelNotificationWithTag(pkg, tag, id); in cancel()
151 INotificationManager service = getService(); in cancelAll() local
155 service.cancelAllNotifications(pkg); in cancelAll()
DLoadedApk.java920 public void connected(ComponentName name, IBinder service) throws RemoteException { in connected() argument
923 sd.connected(name, service); in connected()
992 public void connected(ComponentName name, IBinder service) { in connected() argument
994 mActivityThread.post(new RunConnection(name, service, 0)); in connected()
996 doConnected(name, service); in connected()
1000 public void death(ComponentName name, IBinder service) { in death() argument
1006 if (old == null || old.binder != service) { in death()
1015 mActivityThread.post(new RunConnection(name, service, 1)); in death()
1017 doDeath(name, service); in death()
1021 public void doConnected(ComponentName name, IBinder service) { in doConnected() argument
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Dservice-element.jd1 page.title=&lt;service&gt;
6 <dd><pre class="stx">&lt;service android:<a href="#enabled">enabled</a>=["true" | "false"]
14 &lt;/service&gt;</pre></dd>
24 <dd>Declares a service (a {@link android.app.Service} subclass) as one
31 All services must be represented by {@code &lt;service&gt;} elements in
39 <dd>Whether or not the service can be instantiated by the system &mdash;
47 …pics/manifest/application-element.html">&lt;application&gt;</a></code> and {@code &lt;service&gt;}
49 are by default) for the service to be enabled. If either is
50 "{@code false}", the service is disabled; it cannot be instantiated.
55 the service or interact with it &mdash; "{@code true}" if they can, and
[all …]
/frameworks/base/cmds/dumpsys/
Ddumpsys.cpp59 sp<IBinder> service = sm->checkService(services[i]); in main() local
60 if (service != NULL) { in main()
67 sp<IBinder> service = sm->checkService(services[i]); in main() local
68 if (service != NULL) { in main()
74 int err = service->dump(STDOUT_FILENO, args); in main()
/frameworks/base/services/java/com/android/server/am/
DAppBindRecord.java27 final ServiceRecord service; // The running service. field in AppBindRecord
35 pw.println(prefix + "service=" + service); in dump()
53 service = _service; in AppBindRecord()
61 + " " + service.shortName + ":" + client.processName + "}"; in toString()
DUriPermissionOwner.java28 final ActivityManagerService service; field in UriPermissionOwner
43 service = _service; in UriPermissionOwner()
74 service.removeUriPermissionIfNeededLocked(perm); in removeUriPermissionsLocked()
86 service.removeUriPermissionIfNeededLocked(perm); in removeUriPermissionsLocked()
104 service.removeUriPermissionIfNeededLocked(perm); in removeUriPermissionLocked()
123 service.removeUriPermissionIfNeededLocked(perm); in removeUriPermissionLocked()
DActivityRecord.java49 final ActivityManagerService service; // owner field in ActivityRecord
192 service = _service; in ActivityRecord()
308 uriPermissions = new UriPermissionOwner(service, this); in getUriPermissionsLocked()
361 service.grantUriPermissionFromIntentLocked(callingUid, packageName, in deliverNewIntentLocked()
388 service.mWindowManager.pauseKeyDispatching(this); in pauseKeyDispatchingLocked()
395 service.mWindowManager.resumeKeyDispatching(this); in resumeKeyDispatchingLocked()
411 service.mWindowManager.startAppFreezingScreen(this, configChanges); in startFreezingScreenLocked()
418 service.mWindowManager.stopAppFreezingScreen(this, force); in stopFreezingScreenLocked()
423 synchronized(service) { in windowsVisible()
433 StringBuilder sb = service.mStringBuilder; in windowsVisible()
[all …]
DIntentBindRecord.java31 final ServiceRecord service; field in IntentBindRecord
51 pw.print(prefix); pw.print("service="); pw.println(service); in dump()
77 service = _service; in IntentBindRecord()
89 sb.append(service.shortName); in toString()
/frameworks/base/media/libstagefright/
DOMXClient.cpp34 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); in connect() local
36 CHECK(service.get() != NULL); in connect()
38 mOMX = service->getOMX(); in connect()
/frameworks/base/core/java/android/service/urlrenderer/
DUrlRenderer.java17 package android.service.urlrenderer;
56 public UrlRenderer(IBinder service) { in UrlRenderer() argument
57 mService = IUrlRendererService.Stub.asInterface(service); in UrlRenderer()
DIUrlRendererService.aidl17 package android.service.urlrenderer;
19 import android.service.urlrenderer.IUrlRendererCallback;
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl17 package android.service.wallpaper;
19 import android.service.wallpaper.IWallpaperConnection;
DIWallpaperConnection.aidl17 package android.service.wallpaper;
20 import android.service.wallpaper.IWallpaperEngine;
/frameworks/base/cmds/runtime/
DServiceManager.cpp49 status_t BServiceManager::addService(const String16& name, const sp<IBinder>& service) in addService() argument
52 LOGI("ServiceManager: addService(%s, %p)\n", String8(name).string(), service.get()); in addService()
53 const ssize_t res = mServices.add(name, service); in addService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbResolverActivity.java87 IUsbManager service = IUsbManager.Stub.asInterface(b); in onIntentSelected() local
91 service.grantAccessoryPermission(mAccessory, uid); in onIntentSelected()
94 service.setAccessoryPackage(mAccessory, ri.activityInfo.packageName); in onIntentSelected()
96 service.setAccessoryPackage(mAccessory, null); in onIntentSelected()
/frameworks/base/core/java/android/net/
DThrottleManager.java207 public ThrottleManager(IThrottleManager service) { in ThrottleManager() argument
208 if (service == null) { in ThrottleManager()
212 mService = service; in ThrottleManager()
/frameworks/base/media/libmedia/
Dmediaplayer.cpp139 const sp<IMediaPlayerService>& service(getMediaPlayerService()); in setDataSource() local
140 if (service != 0) { in setDataSource()
142 service->create(getpid(), this, url, headers, mAudioSessionId)); in setDataSource()
153 const sp<IMediaPlayerService>& service(getMediaPlayerService()); in setDataSource() local
154 if (service != 0) { in setDataSource()
155 … sp<IMediaPlayer> player(service->create(getpid(), this, fd, offset, length, mAudioSessionId)); in setDataSource()
662 const sp<IMediaPlayerService>& service = getMediaPlayerService(); in decode() local
663 if (service != 0) { in decode()
664 p = service->decode(url, pSampleRate, pNumChannels, pFormat); in decode()
682 const sp<IMediaPlayerService>& service = getMediaPlayerService(); in decode() local
[all …]

12345678910