Dan Albert
a5e9639cf9
Merge "Update string Split API."
2015-03-23 17:57:30 +00:00
Dan Albert
47328c96d9
Update string Split API.
...
Return a new vector rather than appending to the parameter.
Delimiters are also a string rather than a character. Split on any
character in the string.
Change-Id: I039b332ace5578590df9e7ca0e8fa3db28db30a3
2015-03-23 10:23:11 -07:00
Elliott Hughes
585f1fd96f
am 201ed62c: Merge "Add a CleanSpec for grep/toolbox."
...
* commit '201ed62c4f2f9be7632afb71aef9df6df5877617':
Add a CleanSpec for grep/toolbox.
2015-03-23 16:55:27 +00:00
Elliott Hughes
201ed62c4f
Merge "Add a CleanSpec for grep/toolbox."
2015-03-23 16:51:49 +00:00
Elliott Hughes
285be5661e
am 0ffd90d2: Merge "Add missing parenthesis in init log message."
...
* commit '0ffd90d26ba5d1451e7e58cb7f62420a54701ede':
Add missing parenthesis in init log message.
2015-03-23 15:18:33 +00:00
Elliott Hughes
0ffd90d26b
Merge "Add missing parenthesis in init log message."
2015-03-23 15:13:45 +00:00
Elliott Hughes
930974cedf
Add missing parenthesis in init log message.
...
Change-Id: Iddcd8a002bfc692b1e70d59fa8c6530306c500fa
2015-03-23 08:07:19 -07:00
Narayan Kamath
a3d3144def
am fd26252d: Merge "Remove libzipfile."
...
* commit 'fd26252da2d736236bb1d80fc2e809421f9ffa4d':
Remove libzipfile.
2015-03-23 10:55:33 +00:00
Narayan Kamath
fd26252da2
Merge "Remove libzipfile."
2015-03-23 10:49:07 +00:00
Elliott Hughes
94fa67e980
Add a CleanSpec for grep/toolbox.
...
I moved grep out of toolbox a couple of months ago, so hopefully no one
else should see this. Just in case, though, remove grep and toolbox so
they both get rebuilt and any symbolic links will find themselves pointing
to the right binary.
Bug: 19878755
Change-Id: I15f63500cae3578a82a895f851c797fd324bbe02
2015-03-22 18:04:54 -07:00
Sami Tolvanen
db1c191cb1
am 1d792dd4: Merge "Fix the number of arguments for verity commands"
...
* commit '1d792dd4161728240e23f21aceaff74070b24c7e':
Fix the number of arguments for verity commands
2015-03-22 18:06:39 +00:00
Sami Tolvanen
1d792dd416
Merge "Fix the number of arguments for verity commands"
2015-03-22 18:01:13 +00:00
Sami Tolvanen
8d6ea4bed4
Fix the number of arguments for verity commands
...
Neither of the built-in verity state commands accept arguments, so
set the number of required arguments to zero.
Change-Id: Id57fe671b6b82eaf1e43b8ed7ff9d1e502ada5bd
2015-03-22 12:41:46 +00:00
Elliott Hughes
b15ef843e5
am d69a1c50: Merge "Always use strerror to report errno."
...
* commit 'd69a1c502e11d3be052d9c0bb20f0c7762428925':
Always use strerror to report errno.
2015-03-21 16:17:13 +00:00
Elliott Hughes
f58856b649
am bf684148: Merge "Ensure all init commands are documented."
...
* commit 'bf684148e2f8182079b9483e7ead30d9b93cd020':
Ensure all init commands are documented.
2015-03-21 16:17:11 +00:00
Daniel Rosenberg
6498ed382e
am 72510c56: Merge "init: refactor firmware loading locations into table"
...
* commit '72510c56ecd953c81ca4222ac0982f51c9eb7c46':
init: refactor firmware loading locations into table
2015-03-21 16:17:10 +00:00
Elliott Hughes
fc0d7812f9
am d5de25f8: Merge "Use unique_ptr to call closedir."
...
* commit 'd5de25f819c0f8e2589d786571bface3409e13ff':
Use unique_ptr to call closedir.
2015-03-21 16:17:09 +00:00
Elliott Hughes
d69a1c502e
Merge "Always use strerror to report errno."
2015-03-21 00:11:18 +00:00
Elliott Hughes
cd67f00e18
Always use strerror to report errno.
...
Change-Id: Icd18e4bd7dc093c18967f45b99cd451359457b03
2015-03-20 17:05:56 -07:00
Elliott Hughes
bf684148e2
Merge "Ensure all init commands are documented."
2015-03-21 00:01:27 +00:00
Elliott Hughes
91a3be547c
Ensure all init commands are documented.
...
Change-Id: I21ef4d88b33337093396e14d792e1ff1fe0bfa17
2015-03-20 16:59:59 -07:00
Daniel Rosenberg
72510c56ec
Merge "init: refactor firmware loading locations into table"
2015-03-20 23:55:30 +00:00
Elliott Hughes
d5de25f819
Merge "Use unique_ptr to call closedir."
2015-03-20 23:17:57 +00:00
Elliott Hughes
81399e1e0e
Use unique_ptr to call closedir.
...
Change-Id: I8f572a06ce59283e5bd444ae0491dea71b0ea304
2015-03-20 16:03:41 -07:00
Daniel Rosenberg
d1d9602f89
init: refactor firmware loading locations into table
...
Change-Id: I3ce8f9d237bf783335ae85540306aa539a8da568
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2015-03-20 15:42:01 -07:00
Dan Albert
34c7ab5693
am db7a994e: Merge "Add google3 style logging to libbase."
...
* commit 'db7a994e1687574a675ccf5d56aa76df4cd98a88':
Add google3 style logging to libbase.
2015-03-20 21:12:42 +00:00
Dan Albert
db7a994e16
Merge "Add google3 style logging to libbase."
2015-03-20 21:06:52 +00:00
Dan Albert
58310b49fc
Add google3 style logging to libbase.
...
ART already had a flavor of this, but it was specialized for their use
case a bit.
Note that the logging.* tests are currently disabled for the device
because there is no good way to capture the output of liblog. We can
make something that will execute logcat and then then scan the output,
but that's messy. Since we know it at least works on the host, we can
add better device tests later.
Change-Id: I47acd87a3312c0a5285b03f9c8dadef0c669f06a
2015-03-20 14:04:35 -07:00
Mark Salyzyn
bee0f24b45
am 48a5288e: Merge "logd: statistics: missing comma"
...
* commit '48a5288ed3bf527e68dbefc9884f3a713ef632a2':
logd: statistics: missing comma
2015-03-20 20:54:18 +00:00
Mark Salyzyn
48a5288ed3
Merge "logd: statistics: missing comma"
2015-03-20 20:47:27 +00:00
Mark Salyzyn
317843decf
logd: statistics: missing comma
...
regression from statistics rewrite series resulted in build breakage
Change-Id: I71b532b23437b9b5f3af47b18c9110f3d7dda48a
2015-03-20 13:46:00 -07:00
Elliott Hughes
a575b8503d
am 61af6530: Merge "Remove /dev/alarm cruft from uptime."
...
* commit '61af6530605e10ca99f066c851436921c0385479':
Remove /dev/alarm cruft from uptime.
2015-03-20 20:38:37 +00:00
Elliott Hughes
61af653060
Merge "Remove /dev/alarm cruft from uptime."
2015-03-20 20:32:42 +00:00
Mark Salyzyn
833b582d0d
am bbb1fab7: Merge "logd: optimize statistics"
...
* commit 'bbb1fab76d9416a12c6336a2e32b709dc88adc6d':
logd: optimize statistics
2015-03-20 20:30:42 +00:00
Mark Salyzyn
bbb1fab76d
Merge "logd: optimize statistics"
2015-03-20 20:26:42 +00:00
Dan Albert
301fb4d6c9
am ca2b67e1: Merge "Additional cleanup of start_device_log."
...
* commit 'ca2b67e1173221a2223164d977eeaf16a646e853':
Additional cleanup of start_device_log.
2015-03-20 20:24:38 +00:00
Dan Albert
ca2b67e117
Merge "Additional cleanup of start_device_log."
2015-03-20 20:18:59 +00:00
Mark Salyzyn
97c1c2beee
logd: optimize statistics
...
- Go back to basic requirements
- Simplify
- use hash tables to minimize memory impact
Bug: 19608965
Change-Id: If7becb34354d6415e5c387ecea7d4109a15259c8
2015-03-20 12:31:23 -07:00
Dan Stoza
e0f146015d
am ca87790c: (-s ours) Merge "DO NOT MERGE Add ANativeWindow dataSpace; update graphics formats, color spaces"
...
* commit 'ca87790cdccdb0ee17fb4069e6d4ed1e7b4e2ee0':
DO NOT MERGE Add ANativeWindow dataSpace; update graphics formats, color spaces
2015-03-20 18:33:33 +00:00
Dan Stoza
ca87790cdc
Merge "DO NOT MERGE Add ANativeWindow dataSpace; update graphics formats, color spaces"
2015-03-20 18:28:00 +00:00
Elliott Hughes
12235947eb
Remove /dev/alarm cruft from uptime.
...
Our uptime is very different from the regular one, and usefully so, so
this code will live on. Remove dead bits.
Also fix the annoying "1 days" bug while I'm here.
Change-Id: Ied5403ba96dcc5eddd4d386b59c6fcdea3209881
2015-03-20 11:14:50 -07:00
Narayan Kamath
766adf9f31
Remove libzipfile.
...
No longer used and superceded by libziparchive.
Change-Id: Iafbaa5affd0ffd4de02681c8bbe32b21c523ff49
2015-03-20 17:59:51 +00:00
Elliott Hughes
b721e8f4d2
Merge "Clean up property setting code."
2015-03-20 17:13:29 +00:00
Elliott Hughes
db3f267c99
Clean up property setting code.
...
In particular, ensure that all property_set failures are reported.
Change-Id: Iab94a28bcba2346868c0f39bcfe26e55a2c55562
2015-03-20 10:03:32 -07:00
Dan Albert
8743ef9841
Additional cleanup of start_device_log.
...
Addresses nnk's post commit review comments on
https://android-review.googlesource.com/#/c/139381/
Remove unneeded code for creating /data/adb.
Add an O_CLOEXEC.
Move the closing of stdin out to main().
Append the pid of the current process to the log file to avoid
clobbering the log if the process crashes and restarts within the same
second.
Change-Id: Ide0be86b4b33256486634c29ba02efaf10cf913d
2015-03-20 09:49:15 -07:00
Elliott Hughes
1b8dbe7441
Merge "Lose bootmode and console globals."
2015-03-20 16:29:37 +00:00
Sami Tolvanen
ddd0639e7e
Merge "Add init command to set verified properties"
2015-03-20 15:59:33 +00:00
Elliott Hughes
d679bc9e56
Lose bootmode and console globals.
...
Also remove some code marked "TODO: these are obsolete. We should delete
them".
Change-Id: I6255cee4cb6680bfcbc5b46366990309cba95037
2015-03-20 08:58:42 -07:00
Dan Albert
4b8b38f4e5
Merge "Use mingw on Windows."
2015-03-20 05:48:19 +00:00
Dan Albert
9c5c08be37
Use mingw on Windows.
...
LOCAL_CLANG := true is a no-op on Linux/Darwin host builds, but
apparently moves Windows binaries from mingw to clang, which is
completely untested.
Change-Id: Ibbc468d4a19a9e36bbcb93aa030fcc771af020ba
2015-03-19 22:44:50 -07:00