Elliott Hughes
0bfecb90f2
am e55e820e: am e13fd9aa: Merge "lsof fixes."
...
* commit 'e55e820e663ae34091d079922f99804f1c004b80':
lsof fixes.
2015-08-25 00:53:57 +00:00
Elliott Hughes
e55e820e66
am e13fd9aa: Merge "lsof fixes."
...
* commit 'e13fd9aa231b117b03be6b84b7fb0debe6cb620d':
lsof fixes.
2015-08-25 00:46:24 +00:00
Elliott Hughes
e13fd9aa23
Merge "lsof fixes."
2015-08-25 00:37:49 +00:00
Elliott Hughes
703a3f1d07
lsof fixes.
...
Change-Id: Ie3befc7c8e3540b9ebe93786e711f8445cf6f6c7
2015-08-24 17:21:31 -07:00
Tom Cherry
5ff07b2685
am 9b2bc347: am 77d634f7: Merge "remove TARGET_PROVIDES_INIT_RC"
...
* commit '9b2bc347659de454796acfc9402cbbc170efd133':
remove TARGET_PROVIDES_INIT_RC
2015-08-24 23:35:28 +00:00
Tom Cherry
9b2bc34765
am 77d634f7: Merge "remove TARGET_PROVIDES_INIT_RC"
...
* commit '77d634f7dddf983605619f83bbacbe8ff27a23bc':
remove TARGET_PROVIDES_INIT_RC
2015-08-24 23:28:36 +00:00
Tom Cherry
77d634f7dd
Merge "remove TARGET_PROVIDES_INIT_RC"
2015-08-24 23:23:36 +00:00
Elliott Hughes
9c900174de
am 6c04e9a9: am 42640e52: Merge "Add missing #include <memory> for std::unique_ptr on Windows."
...
* commit '6c04e9a9eca2903c2496ec735c359ed57467d52f':
Add missing #include <memory> for std::unique_ptr on Windows.
2015-08-24 22:03:19 +00:00
Jack Pham
98e89da68c
am 47c3ce56: adbd: enable USB SuperSpeed (again)
...
* commit '47c3ce56edec14592d08f6f157a7aa354e74a4e0':
adbd: enable USB SuperSpeed (again)
2015-08-24 22:02:44 +00:00
Elliott Hughes
6c04e9a9ec
am 42640e52: Merge "Add missing #include <memory> for std::unique_ptr on Windows."
...
* commit '42640e5224a861690de006952470451d18337256':
Add missing #include <memory> for std::unique_ptr on Windows.
2015-08-24 21:56:37 +00:00
Nick Kralevich
b37862e498
am 7ec4c228: am e80ec0c5: Merge "libutils: Enable LOCAL_SANITIZE := integer"
...
* commit '7ec4c228ee9d50d16306331abacb607bc70fadd8':
libutils: Enable LOCAL_SANITIZE := integer
2015-08-24 21:51:14 +00:00
Elliott Hughes
42640e5224
Merge "Add missing #include <memory> for std::unique_ptr on Windows."
2015-08-24 21:50:26 +00:00
Elliott Hughes
a925dba0e0
Add missing #include <memory> for std::unique_ptr on Windows.
...
Change-Id: Ic02f53003a20a646cbbf2aa08e0e10be9bd8b97f
2015-08-24 14:49:43 -07:00
Nick Kralevich
7ec4c228ee
am e80ec0c5: Merge "libutils: Enable LOCAL_SANITIZE := integer"
...
* commit 'e80ec0c5609d509b17e3e8497a0e0ec5b9caa2e4':
libutils: Enable LOCAL_SANITIZE := integer
2015-08-24 21:45:36 +00:00
Elliott Hughes
50a86d5477
am 5c027334: am 93b9e865: Merge "There are no big endian hosts, grandpa."
...
* commit '5c027334cce4f0106d5d271d7924eafc752bd584':
There are no big endian hosts, grandpa.
2015-08-24 21:44:53 +00:00
Nick Kralevich
e80ec0c560
Merge "libutils: Enable LOCAL_SANITIZE := integer"
2015-08-24 21:39:28 +00:00
Elliott Hughes
5c027334cc
am 93b9e865: Merge "There are no big endian hosts, grandpa."
...
* commit '93b9e8653e95d711b4df163febd662fc022de72a':
There are no big endian hosts, grandpa.
2015-08-24 21:36:56 +00:00
Elliott Hughes
93b9e8653e
Merge "There are no big endian hosts, grandpa."
2015-08-24 21:29:31 +00:00
Elliott Hughes
f4465203b6
There are no big endian hosts, grandpa.
...
Change-Id: I6f64f702f919fe4af10d82c5f395a051571815ed
2015-08-24 14:27:03 -07:00
Elliott Hughes
62e5712edf
am c583c511: am 186f1dee: Merge "adb sync cleanup."
...
* commit 'c583c5112bb6634114cd9759c1cfbad61a13b397':
adb sync cleanup.
2015-08-24 21:00:04 +00:00
Tom Cherry
0ea4ffdc06
remove TARGET_PROVIDES_INIT_RC
...
Change-Id: I15105a8dc11e218d95d4f5a4cee5b2a166d3d639
2015-08-24 13:56:43 -07:00
Elliott Hughes
c583c5112b
am 186f1dee: Merge "adb sync cleanup."
...
* commit '186f1dee2afc15c8941a1f78e1aa97e2ec9970ee':
adb sync cleanup.
2015-08-24 20:51:42 +00:00
Elliott Hughes
186f1dee2a
Merge "adb sync cleanup."
2015-08-24 20:48:01 +00:00
Elliott Hughes
aa24549190
adb sync cleanup.
...
We can double the speed of "adb sync" (on N9) if we increase SYNC_DATA_MAX
from 64KiB to 256KiB. This change doesn't do that, because I still haven't
managed to plumb through the information about whether we're a new adb/adbd
to file_sync_client.cpp and file_sync_service.cpp. But this is already a big
change with a lot of cleanup, so let's do the cleanup and worry about the
intended change another day...
This change does improve performance somewhat by halving the number of
lstat(2) calls made on the client side, and ensuring that most packets are
sent with a single write. This has the pleasing result of making the null
sync on an AOSP N9 go from just over 300ms to around 100ms, which means it
now seems instantaneous (https://en.wikipedia.org/wiki/Mental_chronometry ).
Change-Id: If9f6d4c1f93ec752b95f71211bbbb1c513045166
2015-08-24 11:15:01 -07:00
Jack Pham
47c3ce56ed
adbd: enable USB SuperSpeed (again)
...
The descriptors to enable USB 3.0 SuperSpeed support had previously
been added in commit d6ee9f26a5
but were removed when the v1/v2 descriptor handling was refactored
in commits ab3446dd34 and again in
c49f51c451 . Now that the dust has
settled, add back the SS descriptors to re-enable USB 3.0.
Bug: 23385314
Change-Id: I8de7c7e50d9216a7492ce7863e3aaf92ff805eff
(cherry picked from commit a190c800bf )
2015-08-24 18:03:03 +00:00
Nick Kralevich
4d587f2f9a
libutils: Enable LOCAL_SANITIZE := integer
...
Call abort() on undefined or sketchy integer behavior.
Protects against integer overflow attacks.
Change-Id: I475e5e9fb04160dd2d201e926ab2b897539f8bb6
2015-08-24 10:51:38 -07:00
Badhri Jagan Sridharan
7686f74416
am 46f24955: am e3c02883: Merge "adbd: enable USB SuperSpeed (again)"
...
* commit '46f24955c8c30992c8b885fe2c4531777223315d':
adbd: enable USB SuperSpeed (again)
2015-08-24 17:45:50 +00:00
Badhri Jagan Sridharan
46f24955c8
am e3c02883: Merge "adbd: enable USB SuperSpeed (again)"
...
* commit 'e3c028836f892e74c737c8b16ff96321cee82d25':
adbd: enable USB SuperSpeed (again)
2015-08-24 17:41:04 +00:00
Badhri Jagan Sridharan
e3c028836f
Merge "adbd: enable USB SuperSpeed (again)"
2015-08-24 17:33:20 +00:00
Mark Salyzyn
992b01c7e0
resolved conflicts for merge of 77e27d8c to mnc-dr-dev-plus-aosp
...
Change-Id: I2bc0a34356602f51a9eee5616194d05544a4a732
2015-08-24 09:24:53 -07:00
Nick Kralevich
567bb22650
am 4f0a7cb8: am 786e5e26: Merge "libutils: cleanups for -fsanitize=integer"
...
* commit '4f0a7cb8e15ce50f7da6a71c96335bd0b7394492':
libutils: cleanups for -fsanitize=integer
2015-08-24 16:02:51 +00:00
Nick Kralevich
4f0a7cb8e1
am 786e5e26: Merge "libutils: cleanups for -fsanitize=integer"
...
* commit '786e5e263bdc716f4b2d871191e64726e552acdb':
libutils: cleanups for -fsanitize=integer
2015-08-24 15:56:42 +00:00
Nick Kralevich
786e5e263b
Merge "libutils: cleanups for -fsanitize=integer"
2015-08-24 15:52:57 +00:00
Nick Kralevich
1f28698998
libutils: cleanups for -fsanitize=integer
...
* Hashing functions rely on integer overflow behavior.
Mark those functions as safe.
* abort() if a passed in size_t value is greater than
UINT32_MAX. This can occur on 64 bit builds where size_t
is larger than uint32_t.
* Special case the index lookup for an empty sorted vector.
Without the special case, size() == 0, and size()-1 underflows.
Change-Id: I343a14b589fc8f0d221c1998ae5d6f0b9e2781f8
2015-08-24 15:52:22 +00:00
Siva Velusamy
dc399aee6b
am 5b476736: am 9498fc68: Merge "Use glog for logging in the OSX USB layer"
...
* commit '5b476736da368ea679a9da8eb861c74451e4c689':
Use glog for logging in the OSX USB layer
2015-08-24 15:48:05 +00:00
Siva Velusamy
5b476736da
am 9498fc68: Merge "Use glog for logging in the OSX USB layer"
...
* commit '9498fc68ec4a6ddf29cf471225eb87dbcb908e3d':
Use glog for logging in the OSX USB layer
2015-08-24 15:43:16 +00:00
Siva Velusamy
9498fc68ec
Merge "Use glog for logging in the OSX USB layer"
2015-08-24 15:35:51 +00:00
Siva Velusamy
743883b570
Use glog for logging in the OSX USB layer
...
Change-Id: I8a3a4dfc768fdd335f03dc582c85b410c808aeb7
2015-08-24 08:22:15 -07:00
Mark Salyzyn
77e27d8c2a
Merge changes I9f21ce95,Ib0530b9d,I981d9fa6,Icc60dd06,I902ba6b4, ... into mnc-dr-dev
...
* changes:
logd: worst uid record watermark
logd: log buffer switch to std::list
logd: white and black switch to std::list
logd: logtimes switch to std::list
logd: prune 10% or 256 entries max
logd: sizes > 1M prune in smaller batches
2015-08-24 14:19:12 +00:00
Steve Fung
bc9b1723fe
am df564009: am f87f5f90: Merge "crash_reporter: Fix tmp directory location"
...
* commit 'df564009353213c71b649a8b77c25ede4817785c':
crash_reporter: Fix tmp directory location
2015-08-24 04:30:25 +00:00
Steve Fung
4e8152b237
am 7c6f3129: am ea1e07e9: Merge "crash_reporter: Relicense as Apache 2."
...
* commit '7c6f31293c7b13378671546adaa76a3ce80638cc':
crash_reporter: Relicense as Apache 2.
2015-08-24 04:30:23 +00:00
Steve Fung
df56400935
am f87f5f90: Merge "crash_reporter: Fix tmp directory location"
...
* commit 'f87f5f90c56923e88c2a6728d919dabaab0e4177':
crash_reporter: Fix tmp directory location
2015-08-24 04:21:57 +00:00
Steve Fung
7c6f31293c
am ea1e07e9: Merge "crash_reporter: Relicense as Apache 2."
...
* commit 'ea1e07e94020deca44858108e7a8d0915be36168':
crash_reporter: Relicense as Apache 2.
2015-08-24 04:21:55 +00:00
Steve Fung
f87f5f90c5
Merge "crash_reporter: Fix tmp directory location"
2015-08-24 03:26:21 +00:00
Steve Fung
ea1e07e940
Merge "crash_reporter: Relicense as Apache 2."
2015-08-24 01:03:14 +00:00
Steve Fung
da98133cc0
crash_reporter: Fix tmp directory location
...
It is unsafe to use /data/local/tmp. Use our own temporary
directory under /data/misc/crash_reporter.
Bug: 23430484
Change-Id: I186ba6b146bd884064177a3bb29b18b8edcc0b62
2015-08-23 17:57:19 -07:00
Yusuke Sato
f336c514f4
am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h"
...
* commit 'eaf04aa0986e069a2ccffb69b94f1e4d6ad6726c':
Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h
2015-08-22 02:40:46 +00:00
Yusuke Sato
eaf04aa098
am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h"
...
* commit '3b94cef1b75893f98ad3011a09582405bb32baf4':
Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h
2015-08-22 02:35:08 +00:00
Yusuke Sato
3b94cef1b7
Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h"
2015-08-22 02:27:46 +00:00
Yusuke Sato
7980426a6f
Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h
...
This allows raw popen calls in e.g. system/netd/ to be replaced
with android_fork_execvp_ext().
Change-Id: I159ece7369fa38ff8782024bef0d7cfafe74ecee
2015-08-21 17:14:59 -07:00