summaryrefslogtreecommitdiffstats
path: root/cmds/servicemanager
Commit message (Collapse)AuthorAgeFilesLines
* Bug 3361124 Remove drmioserverGlenn Kasten2011-01-201-1/+0
| | | | Change-Id: I64cba4be8a38b60bf3873836b4cd0d1039e19706
* service_manager: duplicate registrations override previous onesIliyan Malchev2010-12-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | When a process that has registered one or several binder services with the service manager crashes, that process will usually be restarted by init (see init.rc). When the process comes back up, it will attempt to re-register itself with the service manager. However, the binder driver may not deliver the death notification to the service manager before the the new service-registation request, in which case the service manager will reject the request as a duplicate. The same may occur if a process takes a while to actually exit. Since the init language's restart command does not wait for a process to exit before restarting it, there may be for a brief instant two processes. The new one will attempt to register before the old one has exited, causing the same problem. This patch does not treat duplicate registrations as an error. Instead, the service manager force-releases the old instance and proceeds with registering the new instance of a service. Change-Id: Ib70640ab13f5e22460fff6af2f9520b8a9ac9713 Signed-off-by: Iliyan Malchev <malchev@google.com>
* NFC: Move NFC service implementation out of system_server.Nick Pelly2010-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | NFC service is now an application service in packages/apps/Nfc. NFC service is registered through ServiceManager.addService(), and the proxy object NfcAdapter obtains a handle to it through ServiceManager.getService(). **Important** Had to add new symbols AID_NFC / NFC_UID / android.uid.nfc and modify service_manager.c, Process.java and PackageManagerService.java in order to force the com.android.nfc process to take a fixed uid, so that it can use ServiceManager.addService(). Most of the JNI has moved to packages/apps/Nfc/jni. However NdefRecord and NdefMessage require some in-process native code, so android_com_NdefMessage.cpp and android_com_NdefRecord.cpp stay in frameworks/base/core/jni. They link to a very small library libnfc_ndef.so that implements NDEF message parsing. This has been added to core.mk so all devices (even without NFC hardware) can work with NDEF data. Bug: 3041259 Bug: 3097445 Change-Id: If7f00cd8f2053acfc9319ca366d4a9c02bd396e6 Signed-off-by: Nick Pelly <npelly@google.com>
* am 68ef7f3c: Merge "Move SipService out of SystemServer to phone process." ↵Hung-ying Tyan2010-09-271-0/+1
|\ | | | | | | | | | | | | | | | | into gingerbread Merge commit '68ef7f3c3a8deb0e14b0b6325876b23cecc191b3' into gingerbread-plus-aosp * commit '68ef7f3c3a8deb0e14b0b6325876b23cecc191b3': Move SipService out of SystemServer to phone process.
| * Move SipService out of SystemServer to phone process.Hung-ying Tyan2010-09-281-0/+1
| | | | | | | | | | | | | | Companion CL: https://android-git/g/#change,70187 http://b/issue?id=2998069 Change-Id: I90923ac522ef363a4e04292f652d413c5a1526ad
* | resolved conflicts for merge of 56aa3c76 to gingerbread-plus-aospJean-Baptiste Queru2010-09-101-0/+2
|\ \ | |/ |/| | | Change-Id: I3d36a665f93f976824592edf35f6d6a205cc7617
| * Initial contribution from Sony Corporation.aimitakeshi2010-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRM Framework to support DRM content playback together with StageFright. - DRM Framework code is added - include/drm - drm - api/current.xml is updated to include DRM Framework Java APIs - cmds/servicemanager/service_manager.c is modified to add drmManager and drmIOService. Change-Id: I6d7bc9c7067362b500e530988a9ce241761866fb
* | Start of work on passing around StrictMode policy over Binder calls.Brad Fitzpatrick2010-06-212-2/+8
|/ | | | | | | | | | | | This is (intendend to be) a no-op change. At this stage, Binder RPCs just have an additional uint32 passed around in the header, right before the interface name. But nothing is actually done with them yet. That value should right now always be 0. This now boots and seems to work. Change-Id: I135b7c84f07575e6b9717fef2424d301a450df7b
* Use proper config to enable LVMX.Glenn Kasten2010-03-091-3/+1
| | | | Change-Id: Ic8792e2b48110b2e91903e2e407b828a97d6e531
* Initial version of LifeVibes integration.Glenn Kasten2010-03-092-0/+8
| | | | Also changed tabs to spaces in other audioflinger files.
* Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-231-0/+1
| | | | | | | Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-0/+1111
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-1111/+0
|
* Initial ContributionThe Android Open Source Project2008-10-215-0/+1111