summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* am 4e7fd950: Merge "Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER ↵Arve Hjønnevåg2014-02-041-0/+2
|\ | | | | | | | | | | | | _or_ TARGET_IS_64_BIT is set." * commit '4e7fd9506103dcc9750788caf1f94b8d1348f37b': Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT is set.
| * Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ ↵Arve Hjønnevåg2014-02-031-0/+2
| | | | | | | | | | | | TARGET_IS_64_BIT is set. Change-Id: I46a29939fa29ec9421ab6dff3285502f69a31745
* | am 58242fc2: Merge changes ↵Arve Hjønnevåg2014-02-035-236/+255
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ib0e5a037,I1bd7c38e,Icfc67c2a,I96c64312,I59528054, ... * commit '58242fc29881cf29d56ee6e5fde6d73b16d0b67c': ServiceManager: Implement PING_TRANSACTION ServiceManager: Use 32/64 bit types from new binder header Binder: Use 64 bit pointers in 32 processes if selected by the target Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true Binder: Make binder portable ServiceManager: Fix the binder interface ServiceManager: Store handles in uint32_t instead of void * ServiceManager: Generic Fixes ServiceManager: Add extra error handling ServiceManager: Fix Android.mk ServiceManager: Make use of kernel exported structures
| * ServiceManager: Implement PING_TRANSACTIONArve Hjønnevåg2014-01-312-0/+5
| | | | | | | | | | | | | | Stop printing "invalid id " to stderr every time a process tries to connect to the servicemanager. Change-Id: Ib0e5a0375bfa2dec2c2f9cd668bd5dda46ed6588
| * ServiceManager: Use 32/64 bit types from new binder headerArve Hjønnevåg2014-01-312-27/+28
| | | | | | | | Change-Id: I1bd7c38ed9f43125cf9c63aa533434ee7ca06f80
| * Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is trueArve Hjønnevåg2014-01-311-0/+4
| | | | | | | | Change-Id: I96c643123b0314c361b7f48a18d5c22c660d4ff5
| * ServiceManager: Fix the binder interfaceSerban Constantinescu2014-01-313-40/+51
| | | | | | | | | | | | | | | | | | | | | | This patch adds support for binder transactions on 64bit systems without breaking the existing 32bit ABI. It has been tested on the Android emulator and ARMv8 Model. Most of the changes in this patch just follow the binder ABI. Change-Id: I8c37b847ea65008d56554d34d4696fe3d22f7533 Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
| * ServiceManager: Store handles in uint32_t instead of void *Serban Constantinescu2014-01-314-63/+63
| | | | | | | | | | | | | | This patch corrects the types used for storing handles. Change-Id: If9c10782345f1de9e12b4b3fd6be9e02e6b568cd Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
| * ServiceManager: Generic FixesSerban Constantinescu2014-01-313-64/+66
| | | | | | | | | | | | | | | | This patch fixes some of the ServiceManager issues. The following patches of the series add fixes to the ABI. Change-Id: Ib479234c8704e12592f1b149ddec67881bc50230 Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
| * ServiceManager: Add extra error handlingSerban Constantinescu2014-01-313-2/+15
| | | | | | | | | | | | | | | | This patch extends the error handling. It also adds a check for a matching binder version - kernel/userspace. Change-Id: I43a262934b38c5711536aaa42754fed1ef04b39e Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
| * ServiceManager: Fix Android.mkSerban Constantinescu2014-01-311-4/+11
| | | | | | | | | | | | | | | | This patch fixes Android.mk and enables building bctest as an optional module without any extra hacks. Change-Id: Icaf8bf9452776db2ea4a2ba75f3abf05b4e2cdab Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
| * ServiceManager: Make use of kernel exported structuresSerban Constantinescu2014-01-313-70/+46
| | | | | | | | | | | | | | | | | | | | | | | | This patch switches ServiceManager to use the structures exported in the kernel headers rather then redefining its own. struct binder_txn is replaced with struct binder_transaction_data and struct binder_object with struct flat_binder_object, both defined in the binder driver header <linux/binder.h>. Change-Id: I3b3e97918173ea35a289e184774ae06193192da3 Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* | am af3efe8c: Merge "frameworks/native: Rename persist.sys.dalvik.vm.lib to ↵Brian Carlstrom2014-01-311-1/+1
|\ \ | |/ | | | | | | | | | | allow new default" * commit 'af3efe8ce7e2eeb7a98552af5cf38d8a9720f018': frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new default
| * frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new defaultBrian Carlstrom2014-01-301-1/+1
| | | | | | | | | | Bug: 12798969 Change-Id: I6b40317eceb3d89b0acff88238a9a9ab423c4d78
* | am e7394ba8: am c02c35fb: Merge "restorecon /data/media when re-creating it ↵Nick Kralevich2013-12-171-0/+4
|\ \ | |/ | | | | | | | | | | for multi-user upgrade." * commit 'e7394ba8bd9cd90a0fb72f6c50522a41cd7877fd': restorecon /data/media when re-creating it for multi-user upgrade.
| * restorecon /data/media when re-creating it for multi-user upgrade.Stephen Smalley2013-12-171-0/+4
| | | | | | | | | | Change-Id: I112c61863f2104d1962697c54cff25106e9b48a0 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | dumpstate: dump console-ramoops instead of last_kmsg if presentTodd Poynor2013-12-101-3/+11
|/ | | | Change-Id: I41a922b33f0b6b4e8e150a92e46032501a165e33
* Merge "Handle policy reloads within installd rather than restarting it."Nick Kralevich2013-11-271-0/+11
|\
| * Handle policy reloads within installd rather than restarting it.Stephen Smalley2013-07-261-0/+11
| | | | | | | | | | | | | | | | | | Restarting installd upon policy reloads has reportedly caused stability problems for some users. Stop restarting installd and instead handle policy reloads within it. Change-Id: I697a736d8e414cfc6cfa131ed7b97c7f7694d022 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | resolved conflicts for merge of e678897f to klp-dev-plus-aospNick Kralevich2013-09-203-5/+6
|\ \ | | | | | | | | | Change-Id: Ie2a5e7a917ab7f5a0ee98300b880d22c7a10bf70
| * | Proper security labeling of multi-user data directories.Robert Craig2013-09-183-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add seinfo paramater to appropriate make directory functions. This allows proper labeling for multi-user scenarios. Change-Id: Iaba7c40645bc7b6cc823d613da0c3782acf6ddd5 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | | am 59b1516f: Fix issue #10422349: Limit/change the battery history data in ↵Dianne Hackborn2013-09-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | batterystats * commit '59b1516f4cefcfd599f4e5e9c4a227a48d1ace65': Fix issue #10422349: Limit/change the battery history data in batterystats
| * | | Fix issue #10422349: Limit/change the battery history data in batterystatsDianne Hackborn2013-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use new compact option to include history when dumping battery stats. Change-Id: I3833a88db76d8791bd5c2e8f6ff414af65472a42
* | | | am 05f0a81a: Merge "Add libpng include path"John Reck2013-08-272-2/+2
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit '05f0a81a93f0d41fa4115c752e617849d145fe5b': Add libpng include path
| * | Add libpng include pathJohn Reck2013-08-262-2/+2
| |/ | | | | | | | | | | Forward compatibility change Change-Id: Iae792715d9a9aea34f53cd6383981371835c4a31
* | dumpstate: Fix wifi list of networks dumpDmitry Shmidt2013-08-211-1/+1
| | | | | | | | | | | | | | Bug: 9056601 Change-Id: Ia0adb67afdf3d478033d0ee34bbb95e621e2fe51 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | fix build. optional test broke.Mathias Agopian2013-08-142-0/+6
| | | | | | | | Change-Id: I0ed5e2cd4c8945ee95673ed0eec5820d9def5097
* | dumpstate: switch to HAL static librariesTodd Poynor2013-08-133-8/+28
| | | | | | | | Change-Id: I865a0b4b4a84a2d54a239e7b09874287f0c1ad56
* | dumpstate: remove libutils dependencyAlex Ray2013-07-231-1/+1
| | | | | | | | Change-Id: I9745f389402c01b90877612e060ac996eba99964
* | move services executables sources in their respective src folderMathias Agopian2013-07-226-143/+0
| | | | | | | | Change-Id: Ic65434a26c7fed1699abf0851fec6faa40e09c0c
* | BufferQueue improvements and APIs changesMathias Agopian2013-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is the first step of a series of improvements to BufferQueue. A few things happen in this change: - setSynchronousMode() goes away as well as the SynchronousModeAllowed flag - BufferQueue now defaults to (what used to be) synchronous mode - a new "controlled by app" flag is passed when creating consumers and producers those flags are used to put the BufferQueue in a mode where it will never block if both flags are set. This is achieved by: - returning an error from dequeueBuffer() if it would block - making sure a buffer is always available by replacing the previous buffer with the new one in queueBuffer() (note: this is similar to what asynchrnous mode used to be) Note: in this change EGL's swap-interval 0 is broken; this will be fixed in another change. Change-Id: I691f9507d6e2e158287e3039f2a79a4d4434211d
* | Merge "always pass the BufferQueue explicitely to consumers"Mathias Agopian2013-07-161-2/+2
|\ \
| * | always pass the BufferQueue explicitely to consumersMathias Agopian2013-07-121-2/+2
| | | | | | | | | | | | Change-Id: I883b0a7b19d8e722f9ab714ba6f49e658b02ca86
* | | Merge "Change legacy "persona" references to userid_t."Jeff Sharkey2013-07-165-67/+65
|\ \ \
| * | | Change legacy "persona" references to userid_t.Jeff Sharkey2013-07-155-67/+65
| |/ / | | | | | | | | | | | | | | | Offers stronger typing with no functional change. Change-Id: I09f0262470feec5cfdf26658f998c20550af84d4
* | | Add skeleton of input flinger.Jeff Brown2013-07-152-0/+54
| | | | | | | | | | | | Change-Id: I7f25080e446d4d3d9de9b18fe432a09bc751e0d9
* | | dumpstate: Show SELinux process labelsNick Kralevich2013-07-151-0/+1
|/ / | | | | | | Change-Id: Ie19586a3b733bd4420f6b20b5d253d42c2f165ea
* | Fix cmd line arguments for usagestats.Dianne Hackborn2013-07-121-1/+1
| | | | | | | | Change-Id: I9a1436aa1d1665924ba62a568bb4b66d67ae2814
* | Renaming dalvik.vm.lib to persist.sys.dalvik.vm.libBrian Carlstrom2013-07-101-7/+6
| | | | | | | | Change-Id: If31695e04bb813eb75b2fdd00e5d70ced4fbb0e9
* | Update to follow procstats options changes.Dianne Hackborn2013-07-091-2/+1
| | | | | | | | Change-Id: I6f016c944cfcd01bbbcf3cf37bc7ff05482f0012
* | Update to use --include-committed for procstats.Dianne Hackborn2013-07-031-1/+3
| | | | | | | | Change-Id: I5ce737b624c5617c94054d6bedebca754fbf16a9
* | Add support for mmc trace eventsKen Sumrall2013-07-031-0/+3
| | | | | | | | Change-Id: I1d9f2a85e50f8e30d418fb97c01ce7b0fbb680bd
* | Add checkin dumps to bug reports.Dianne Hackborn2013-06-261-0/+9
| | | | | | | | | | | | | | This is a duplicate of the associated human-readable dumps of these services, but much better for automated parsing. Change-Id: I902b768b03aeac1472f03f96913f9b8ada5dba9c
* | Moving dex2oat installd patches from frameworks/baseBrian Carlstrom2013-06-192-38/+69
| | | | | | | | | | | | (cherry picked from commit 3fa3a652ba9a7c5b23b6f2bc7c1851d4e23e430f) Change-Id: I2f9bb66e1b0463bef41805f2d220160880121813
* | Merge "Add a note about emulated sdcard in rawbu usage dump"Amith Yamasani2013-06-141-0/+6
|\ \
| * | Add a note about emulated sdcard in rawbu usage dumpAmith Yamasani2013-06-141-0/+6
| | | | | | | | | | | | Change-Id: I95af9175235a18716d63a863b482a323392e4fa2
* | | add dumpsys -l to list available serviceskeunyoung2013-06-131-1/+9
|/ / | | | | | | | | | | - for people with poor memory like me :) Change-Id: I60160ca333ac4864bb8328f164cc2e9eba3660fc
* | am 4b2b0a74: am 74bd799e: Merge "Exit dumpstate on SIGPIPE to avoid ↵jp abgrall2013-05-281-1/+9
|\ \ | |/ | | | | | | | | | | cascading child crashes" * commit '4b2b0a7494c872b7d545a9abe2d08ca0d0325073': Exit dumpstate on SIGPIPE to avoid cascading child crashes
| * am 74bd799e: Merge "Exit dumpstate on SIGPIPE to avoid cascading child crashes"jp abgrall2013-05-281-1/+9
| |\ | | | | | | | | | | | | * commit '74bd799ec20d2420459fa382533b1cc39ca9a54c': Exit dumpstate on SIGPIPE to avoid cascading child crashes
| | * Exit dumpstate on SIGPIPE to avoid cascading child crashesJohn Michelau2013-05-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | When dumpstate ignores SIGPIPE it can lead to a cascade of tombstones / coredumps since many of its children don't handle or ignore it. It's best to just exit dumpstate once the pipe is broken. Change-Id: Ic0c57ecf4171f0c0a07837e51c41cb1876e1350c