/frameworks/base/media/java/android/media/ |
D | AudioManager.java | 377 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/ |
D | AccessibilityManagerService.java | 117 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/ |
D | ServiceTest.java | 120 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/ |
D | ServiceManager.java | 51 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()
|
D | ServiceManagerNative.java | 57 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/ |
D | service.cpp | 33 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 …]
|
D | Android.mk | 5 service.cpp 14 LOCAL_MODULE:= service
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Tethering.java | 120 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/ |
D | NotificationManager.java | 107 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()
|
D | LoadedApk.java | 920 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/ |
D | service-element.jd | 1 page.title=<service> 6 <dd><pre class="stx"><service android:<a href="#enabled">enabled</a>=["true" | "false"] 14 </service></pre></dd> 24 <dd>Declares a service (a {@link android.app.Service} subclass) as one 31 All services must be represented by {@code <service>} elements in 39 <dd>Whether or not the service can be instantiated by the system — 47 …pics/manifest/application-element.html"><application></a></code> and {@code <service>} 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 — "{@code true}" if they can, and [all …]
|
/frameworks/base/cmds/dumpsys/ |
D | dumpsys.cpp | 59 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/ |
D | AppBindRecord.java | 27 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()
|
D | UriPermissionOwner.java | 28 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()
|
D | ActivityRecord.java | 49 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 …]
|
D | IntentBindRecord.java | 31 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/ |
D | OMXClient.cpp | 34 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/ |
D | UrlRenderer.java | 17 package android.service.urlrenderer; 56 public UrlRenderer(IBinder service) { in UrlRenderer() argument 57 mService = IUrlRendererService.Stub.asInterface(service); in UrlRenderer()
|
D | IUrlRendererService.aidl | 17 package android.service.urlrenderer; 19 import android.service.urlrenderer.IUrlRendererCallback;
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | IWallpaperService.aidl | 17 package android.service.wallpaper; 19 import android.service.wallpaper.IWallpaperConnection;
|
D | IWallpaperConnection.aidl | 17 package android.service.wallpaper; 20 import android.service.wallpaper.IWallpaperEngine;
|
/frameworks/base/cmds/runtime/ |
D | ServiceManager.cpp | 49 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/ |
D | UsbResolverActivity.java | 87 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/ |
D | ThrottleManager.java | 207 public ThrottleManager(IThrottleManager service) { in ThrottleManager() argument 208 if (service == null) { in ThrottleManager() 212 mService = service; in ThrottleManager()
|
/frameworks/base/media/libmedia/ |
D | mediaplayer.cpp | 139 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 …]
|