summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* am 867dc18e: am 9405746d: Merge "Rename --include-cfi to --generate-debug-info."David Srbecky2015-05-281-4/+4
|\ | | | | | | | | * commit '867dc18e6f48c56cb7fd545c3d2e96c6abb9895b': Rename --include-cfi to --generate-debug-info.
| * Rename --include-cfi to --generate-debug-info.David Srbecky2015-05-281-4/+4
| | | | | | | | | | | | This follows a change in dex2oat. Change-Id: I6b2df1668fdd09d82cfe86e6e51360b954b6c8a9
* | am b8e6cb08: am e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in ↵Elliott Hughes2015-05-162-2/+2
|\ \ | |/ | | | | | | | | | | frameworks/native." * commit 'b8e6cb08ebcf7b55fd8d94f3ecf29f73a7886fa8': Don't use TEMP_FAILURE_RETRY on close in frameworks/native.
| * Don't use TEMP_FAILURE_RETRY on close in frameworks/native.Elliott Hughes2015-05-152-2/+2
| | | | | | | | | | Bug: http://b/20501816 Change-Id: Id13a62f02243c6c4831e2f47944dc34fa822f5b6
* | am 2c237ee1: Fix async_stopJohn Reck2015-05-151-1/+1
|\ \ | | | | | | | | | | | | * commit '2c237ee1d5961b9d11618e0c5a97b3bb7fb694b2': Fix async_stop
| * | Fix async_stopJohn Reck2015-05-151-1/+1
| | | | | | | | | | | | Change-Id: I68a258cf71cfcd999bbd568ab3c96255c11bec41
| * | Added Voltage and Current regulator ftrace events to atraceAaron Schulman2015-05-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick of c2c6ecd1195481f5813a721a7d20a73c0795c135 from AOSP Tracing the state of the voltage and current regulators enables a developer to attribute power consumption measurements to specific perhipherals and cores. Unlike other indirect methods of tracing when peripherals and cores are toggled, the regulator ftrace event indicates the exact point in time when the kernel switches on or off the device. For example, in the following trace, a developer can see exactly when the krait2 core starts receiving power, and and when the voltage is set for voltage scaling. mpdecision-2172 [000] ...1 1566.665481: regulator_enable: name=krait2 mpdecision-2172 [000] ...1 1566.665493: regulator_enable_delay: name=krait2 mpdecision-2172 [000] ...1 1566.665495: regulator_enable_complete: name=krait2 <...>-4133 [002] ...1 1566.666891: regulator_set_voltage: name=krait2 (1075000-1100000) Change-Id: Ia322206ef74496daf1d9baa03545d8e89e398487 Signed-off-by: Aaron Schulman <aschulman@google.com>
* | | am 9a104951: am 05815996: Merge "Added Voltage and Current regulator ftrace ↵Chris Craik2015-05-071-0/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | events to atrace" * commit '9a104951a387a84709705405732a69f690d2c9f0': Added Voltage and Current regulator ftrace events to atrace
| * | Merge "Added Voltage and Current regulator ftrace events to atrace"Chris Craik2015-05-071-0/+3
| |\ \
| | * | Added Voltage and Current regulator ftrace events to atraceAaron Schulman2015-02-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tracing the state of the voltage and current regulators enables a developer to attribute power consumption measurements to specific perhipherals and cores. Unlike other indirect methods of tracing when peripherals and cores are toggled, the regulator ftrace event indicates the exact point in time when the kernel switches on or off the device. For example, in the following trace, a developer can see exactly when the krait2 core starts receiving power, and and when the voltage is set for voltage scaling. mpdecision-2172 [000] ...1 1566.665481: regulator_enable: name=krait2 mpdecision-2172 [000] ...1 1566.665493: regulator_enable_delay: name=krait2 mpdecision-2172 [000] ...1 1566.665495: regulator_enable_complete: name=krait2 <...>-4133 [002] ...1 1566.666891: regulator_set_voltage: name=krait2 (1075000-1100000) Change-Id: I964d50be89bbfc554d2ab3e32a18514d1b1e70f4 Signed-off-by: Aaron Schulman <aschulman@google.com>
| * | | dumpstate: report per-partition MMC performanceMark Salyzyn2015-04-303-1/+141
| | | | | | | | | | | | | | | | Change-Id: If5cabe186d8377056effa1c0672a90e277cd7221
* | | | am 326842fc: dumpstate: report per-partition MMC performanceMark Salyzyn2015-05-013-1/+141
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * commit '326842fca4883f1256aa9ed019bb3206ee76fca7': dumpstate: report per-partition MMC performance
| * | | dumpstate: report per-partition MMC performanceMark Salyzyn2015-05-013-1/+141
| | | | | | | | | | | | | | | | | | | | | | | | (Cherry pick from commit 540e3de99fa1baa5eaf3eb3d49f4e98fd9f5bd91) Change-Id: If5cabe186d8377056effa1c0672a90e277cd7221
* | | | am 61a3c8de: Merge "Offer to move both code and data together." into mnc-devJeff Sharkey2015-05-015-98/+201
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '61a3c8dec90acebef15ef56cae14efea69279f69': Offer to move both code and data together.
| * | | Offer to move both code and data together.Jeff Sharkey2015-04-305-98/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now move code under /data/app/com.example when a complete move is requested. This really only works for new cluster-style installs that also have native libraries and OAT contained inside. Teach measuring code about cluster-style installs when measuring app footprint. Also offer to measure private data space for all users. Bug: 19993667, 20275578 Change-Id: I6df7b947cb5cc8a4552f56f4b64a661e8512389f
* | | | am c31b850e: Merge "Inclide checkin format of dumpsys package in bugreport." ↵Ashish Sharma2015-04-291-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit 'c31b850ee6994394fea1448f244db867817465ed': Inclide checkin format of dumpsys package in bugreport.
| * | | Inclide checkin format of dumpsys package in bugreport.Ashish Sharma2015-04-281-0/+1
| | | | | | | | | | | | | | | | Change-Id: I809377f80e314b358eba22fa916e53c81cac2c47
* | | | am f4c64bb7: am bec3de4a: Merge "Installd: Add debug.gencfi to run_dex2oat"Andreas Gampe2015-04-271-3/+15
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit 'f4c64bb7bd5069238e65e71968a841314fc9f8cb': Installd: Add debug.gencfi to run_dex2oat
| * | Installd: Add debug.gencfi to run_dex2oatAndreas Gampe2015-04-271-3/+15
| | | | | | | | | | | | | | | | | | | | | Add the debug.gencfi system property that forces generation of CFI data. Change-Id: Ida66f8c1567634d05cfdbba1a982be3684e94369
* | | am a36a43b3: am c200d20e: am dfc30ae3: Merge "Command to move private app ↵Jeff Sharkey2015-04-105-55/+149
|\ \ \ | |/ / | | | | | | | | | | | | | | | data between volumes." * commit 'a36a43b354b248cef9407de42fb6b87e1c7085f6': Command to move private app data between volumes.
| * | Command to move private app data between volumes.Jeff Sharkey2015-04-105-55/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New "mvuserdata" command will move all private app data from one volume UUID to another. It leverages the existing "cp" toybox command to do the heavy lifting for all known users, preserving details like timestamps and permissions. It invokes restorecon() to correctly label the new location when the copy is finished. Changes installd to no longer drop capabilities, so we run as root again. This also allows us to exec "cp" with CAP_DAC_OVERRIDE and CAP_FOWNER still in effect. Bug: 19993667 Change-Id: I1f407a7c4a1af97ca5afc27b04eb16b4936cbdef
* | | am 8571e647: am 997eb5dd: am 44a38d93: Merge "Start accepting volume UUIDs ↵Jeff Sharkey2015-04-093-31/+38
|\ \ \ | |/ / | | | | | | | | | | | | | | | from framework." * commit '8571e647da1e9c2227d22034ba6462235273cb02': Start accepting volume UUIDs from framework.
| * | Start accepting volume UUIDs from framework.Jeff Sharkey2015-04-093-31/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | We're now parsing and passing through volume UUIDs sent across the command socket. The "!" argument value is treated as null, which means internal storage. Bug: 19993667 Change-Id: I17729a769ce687a2e94e85991a6338c77ded0b66
* | | am ad6f4996: am 25327881: am 066fadb9: Merge "More volume UUID awareness."Jeff Sharkey2015-04-097-148/+115
|\ \ \ | |/ / | | | | | | | | | * commit 'ad6f4996dc909dcb8e6e369bf41be514077fb142': More volume UUID awareness.
| * | More volume UUID awareness.Jeff Sharkey2015-04-097-148/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach free_cache() and restorecon_data() about building per-volume paths. Also clean up restorecon_data() by using std::string when building paths. Clearer names for path building utility methods, and tests to verify. Bug: 19993667 Change-Id: Iacfbcdaa5b901cc2490bc8eba366dfdeb44f1d93
* | | am 6930a29a: am cae83eca: am f9ab2ad2: Merge "Installd: Fix Clang build"Andreas Gampe2015-04-091-5/+2
|\ \ \ | |/ / | | | | | | | | | * commit '6930a29af13f4a958fa7cba544233d2febe4040b': Installd: Fix Clang build
| * | Installd: Fix Clang buildAndreas Gampe2015-04-091-5/+2
| | | | | | | | | | | | | | | | | | Remove some unused parameters and variables. Change-Id: I507ae48fe1744b800ceb29192d463fd26c2ccda7
* | | am 65fe5dfd: am cbde9b92: am d107c305: Merge "Plumb through volume UUID when ↵Jeff Sharkey2015-04-097-243/+132
|\ \ \ | |/ / | | | | | | | | | | | | | | | building paths." * commit '65fe5dfdcd08650e0dfbb39f4a716567fb910cab': Plumb through volume UUID when building paths.
| * | Merge "Plumb through volume UUID when building paths."Jeff Sharkey2015-04-097-243/+132
| |\ \
| | * | Plumb through volume UUID when building paths.Jeff Sharkey2015-04-077-243/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since app data paths can live on expanded storage devices, accept the target volume UUID when building paths. The null UUID indicates the default internal storage. To improve readability, start using std::string in several places, which throws when allocations fail. For now, perform last-second sanity checks on incoming path arguments, but we'll eventually want to check arguments as they come through installd.cpp, instead of crashing the entire daemon. Also remove "lib" symlink code from install() and make_user_data(), since we're no longer supporting /data/app-lib. The framework already uses linklib() to create the right symlink for the selected ISA-specific library dir. Bug: 19993667 Change-Id: Ib9343575ffb62bf3981e19375de8f3822fc31e28
* | | | am b8d1ee37: am 19db8c88: am ab91d03b: Merge "installd: Add support for ↵Richard Uhler2015-04-093-26/+40
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | SELF_PATCHOAT_NEEDED." * commit 'b8d1ee37c4a6897442f5d381d5eb7162e04fcebd': installd: Add support for SELF_PATCHOAT_NEEDED.
| * | | Merge "installd: Add support for SELF_PATCHOAT_NEEDED."Richard Uhler2015-04-093-26/+40
| |\ \ \
| | * | | installd: Add support for SELF_PATCHOAT_NEEDED.Richard Uhler2015-04-073-26/+40
| | |/ / | | | | | | | | | | | | Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5
* | | | am d029e95a: am 1b0a8702: am ad436ab5: Merge "dumpstate: scrub APANIC"Mark Salyzyn2015-04-081-3/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'd029e95a58ea0927ebd3431d9991cd316e568002': dumpstate: scrub APANIC
| * | | dumpstate: scrub APANICMark Salyzyn2015-04-081-3/+0
| |/ / | | | | | | | | | | | | Bug: 19525200 Change-Id: Ia2d2857cac953fb4ceafb66ddf775d89d7a777b1
* | | am eb3704a5: am 9e99fce8: am 1cd030be: Merge "Switch installd to compile as ↵Jeff Sharkey2015-04-076-41/+43
|\ \ \ | |/ / | | | | | | | | | | | | | | | C++." * commit 'eb3704a58e62c0f85cfea776df1040b677263c80': Switch installd to compile as C++.
| * | Switch installd to compile as C++.Jeff Sharkey2015-04-076-41/+43
| | | | | | | | | | | | | | | | | | | | | This is the minimal change needed to switch it over to C++, which paves the way for using more robust utilities like std::string. Change-Id: I80ed6280146875eb6ddbbb340c05450388ca13f0
| * | Valid APK paths now include expanded storage.Jeff Sharkey2015-04-074-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | Apps on expanded storage live at /mnt/expand/<uuid>/app/com.example, so we need to relax one more directory level. Bug: 19993667 Change-Id: I347ec7b92435ea69e632ed5d5fdfabe38ce0b56e
* | | am b58e6cbf: am 4914f85f: am 8f43f77d: Merge "Use AID_SYSTEM as uid when ↵Fyodor Kupolov2015-04-071-12/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | creating oat dir" * commit 'b58e6cbfa726add05bbe5e31e8ca13815ccf2049': Use AID_SYSTEM as uid when creating oat dir
| * | Use AID_SYSTEM as uid when creating oat dirFyodor Kupolov2015-04-071-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously AID_INSTALL was used, which was causing permission denied errors when PackageManager was trying to recursively rename staging directory Bug: 19550105 Bug: 20087446 Change-Id: I3a9e3056c1fbc1ce0077a3ce52cf77ea6b5085ee
* | | Merge "Valid APK paths now include expanded storage."Jeff Sharkey2015-04-074-5/+16
|\ \ \
| * | | Valid APK paths now include expanded storage.Jeff Sharkey2015-04-064-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apps on expanded storage live at /mnt/expand/<uuid>/app/com.example, so we need to relax one more directory level. Bug: 19993667 Change-Id: I347ec7b92435ea69e632ed5d5fdfabe38ce0b56e
* | | | Merge "Add support for int64, float, double types to service command."Jeff Brown2015-04-071-2/+32
|\ \ \ \
| * | | | Add support for int64, float, double types to service command.Jeff Brown2015-04-061-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comes in handy for invoking transactions that require these types. Change-Id: I8f14519a2531ab2ec7f3218ecda6d1868f6dd7b3
* | | | | am 7b5f82d8: am 46072d58: am a60ff367: Merge "Remove useless ↵Elliott Hughes2015-04-061-6/+4
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | \'svcmgr_handle\' (which had wrong type)." * commit '7b5f82d8d726e4bcd21c19340c0743a728bc0253': Remove useless 'svcmgr_handle' (which had wrong type).
| * | | Merge "Remove useless 'svcmgr_handle' (which had wrong type)."Elliott Hughes2015-04-061-6/+4
| |\ \ \
| | * | | Remove useless 'svcmgr_handle' (which had wrong type).Elliott Hughes2015-04-031-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also use the 'ptr' union member rather than 'handle'. Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com> Change-Id: I68e5336cd3af3bc61dbddd2b33d7e1512c0c329c
* | | | | am 2d4cf62a: am 8d9f899a: am 031fec0b: Merge "ServiceManager: Print ↵Elliott Hughes2015-04-041-1/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | kernel/userspace binder version" * commit '2d4cf62a2cdfbfbbca5757eb7dd1498d118bf7c9': ServiceManager: Print kernel/userspace binder version
| * | | | ServiceManager: Print kernel/userspace binder versionSerban Constantinescu2015-04-031-1/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds extra logging for the binder version in case the userspace and kernel versions differ. Change-Id: I9859b29099726cfcfe5ca23d88ed2e101a06af1a Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* | | | am bce77997: am ebca76c2: am 9cad1985: Merge "Fix errors caused by unused ↵Fyodor Kupolov2015-04-031-2/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | variables" * commit 'bce7799786ae712bba9b58f1f99cd12ee05b5cf3': Fix errors caused by unused variables