summaryrefslogtreecommitdiffstats
path: root/cmds/servicemanager
Commit message (Collapse)AuthorAgeFilesLines
* Upintegrate the common_time service from ics-aah.Mike J. Chen2012-02-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Move the common_time service developed in the ics-aah branch back into master. The common_time service is a small service build to synchronize an arbitrary timeline amongst peers on a local sub-net. While running and configured, the service will elect a master from the set of available devices within the subnet, define a relationship between the common_time timeline the local time timeline (provided by the local time HAL), and then attempt to maintain synchronization between common and local time by controlling the frequency of the local time clock via the HAL, or by disciplining local time in the digital domain if the local time HAL implementation does not support HW slewing. On its own, the native common time service will do nothing until it is configured. The CommonTimeManagementService (running out of the system server process) is responsible for implementing policy regarding configuration and operation of the common_time service and will be added in a subsequent CL. Change-Id: I71292f9b9b1797665865689c4572c9d3a0552f64 Signed-off-by: John Grossman <johngro@google.com>
* Some hardening of isolated processes by restricting access to services.Dianne Hackborn2012-02-091-5/+18
| | | | | | | | | | | | | | | Services now must explicitly opt in to being accessed by isolated processes. Currently only the activity manager and surface flinger allow this. Activity manager is needed so that we can actually bring up the process; SurfaceFlinger is needed to be able to get the display information for creating the Configuration. The SurfaceFlinger should be safe because the app doesn't have access to the window manager so can't actually get a surface to do anything with. The activity manager now protects most of its entry points against isolated processes. Change-Id: I0dad8cb2c873575c4c7659c3c2a7eda8e98f46b0
* Remove optional LVMX serviceGlenn Kasten2012-01-272-6/+0
| | | | Change-Id: I64121d320b756e46869b82b79e49aebacbac3a48
* Fix build warning for void * arithmeticGlenn Kasten2012-01-191-1/+1
| | | | | | | binder.c: In function 'bio_init': binder.c:415: warning: pointer of type 'void *' used in arithmetic Change-Id: I6926ad05e6dc7362331dffb6e8eca130955f25df
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-082-12/+12
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-5/+5
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-2/+0
| | | | | | Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
* 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