Commit graph

4704 commits

Author SHA1 Message Date
jp abgrall
3f8d6cded8 am d084ec96: Merge "ueventd: Increase uevent buffer size"
* commit 'd084ec96b6b9cde311a4283a5f9121a1034de166':
  ueventd: Increase uevent buffer size
2013-01-04 15:49:11 -08:00
jp abgrall
d084ec96b6 Merge "ueventd: Increase uevent buffer size" 2013-01-04 15:30:50 -08:00
jp abgrall
03873ce495 am 77eccafe: Merge "Support adb client connect to remote server"
* commit '77eccafe55e019089c18273c1062df262220ab83':
  Support adb client connect to remote server
2013-01-04 12:03:55 -08:00
Andrew Boie
d562ca78aa ueventd: Increase uevent buffer size
As it turns out, no, 64K is not enough. A device provisioning
tool was generating many uevents as it manipulated the GPT,
causing events near the end of the process (including events
as a result of the final BLKRRPART ioctl()) to get lost.

It's not clear what the best value for this should be, but
increasing to 256K fixed the problem in this case.

Change-Id: I4883b34e96c89e8a6fa581bc9cd121bb021b5694
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2013-01-04 11:37:34 -08:00
jp abgrall
77eccafe55 Merge "Support adb client connect to remote server" 2013-01-04 11:27:20 -08:00
Matt Gumbel
d7b3308511 Support adb client connect to remote server
ADB client: allow user to specify hostname and port number of remote
adb server.
ADB server: bind server to all network interfaces instead of just
localhost when user gives -a flag.

Primary use-case for this change is to support remote testing of USB
devices. HostA is running some test automation software which invokes adb
client. HostB has USB-only device attached and is running adb server. adb
client on HostA makes connection to adb server on HostB to talk to the
USB device.

Change-Id: I845cc8c00350b400317f8c18f813e6fd79bd5470
Signed-off-by: Dean Kwon <daex.i.kwon@intel.com>
Signed-off-by: Jim Bride <jim.bride@intel.com>
Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>
2013-01-04 11:00:38 -08:00
Elliott Hughes
a82985b668 am 7cd45071: Merge "Include page protections in the debuggerd map output."
* commit '7cd450719a78b6079d30608473cb36d7e4be2cb9':
  Include page protections in the debuggerd map output.
2013-01-03 15:15:47 -08:00
Elliott Hughes
7cd450719a Merge "Include page protections in the debuggerd map output." 2013-01-03 14:52:35 -08:00
Elliott Hughes
d1420be613 Include page protections in the debuggerd map output.
Bug: 7941716
Change-Id: I3bf475425c628c06f7799340c8a6132aab741742
2013-01-03 13:39:57 -08:00
Elliott Hughes
e2aab2cce8 am 38219ee6: Merge "Track the setsebool change in the emulator init.rc."
* commit '38219ee6116943269b0501a1a0210c76e2ba69c3':
  Track the setsebool change in the emulator init.rc.
2012-12-21 18:15:01 -08:00
Elliott Hughes
38219ee611 Merge "Track the setsebool change in the emulator init.rc." 2012-12-21 17:19:37 -08:00
Elliott Hughes
334ad0ed49 Track the setsebool change in the emulator init.rc.
setsebool's syntax changed in November. This is the sole
caller in AOSP.

Change-Id: I0da608ee974bc3a9060372ef68a71c52726a44a6
2012-12-21 14:45:27 -08:00
Colin Cross
4600545fbb am b8e86c5a: Merge "android_filesystem_config: allow absolute paths"
* commit 'b8e86c5aba4d160d1d356883a6a9a85056c5fa47':
  android_filesystem_config: allow absolute paths
2012-12-21 14:44:23 -08:00
Colin Cross
b8e86c5aba Merge "android_filesystem_config: allow absolute paths" 2012-12-21 13:35:05 -08:00
Colin Cross
04aaf5a424 android_filesystem_config: allow absolute paths
SELinux policies use absolute paths, allow absolute paths in fs_config
as well.

Change-Id: Ic97ee0b4eb4df9eac965a8e819fde01df473de7e
2012-12-21 12:51:17 -08:00
Todd Poynor
191af2f2c3 am 367f1e4b: am 4f247d75: rootdir: init.rc: set perms for cpufreq governor boostpulse_duration
* commit '367f1e4b0aaaf7f725e686b5b40845cbb5c07a42':
  rootdir: init.rc: set perms for cpufreq governor boostpulse_duration
2012-12-20 15:42:59 -08:00
Todd Poynor
367f1e4b0a am 4f247d75: rootdir: init.rc: set perms for cpufreq governor boostpulse_duration
* commit '4f247d753a8865cd16292ff0b720b72c28049786':
  rootdir: init.rc: set perms for cpufreq governor boostpulse_duration
2012-12-20 15:40:34 -08:00
Todd Poynor
4f247d753a rootdir: init.rc: set perms for cpufreq governor boostpulse_duration
Change-Id: I09b9a1ed548e4ffe1232f583e8ff5f026760f616
2012-12-19 18:15:03 -08:00
Dima Zavin
7ec62dbd9d am 82ea44f8: Merge "Change setsebool syntax to be consistent with other init built-ins."
* commit '82ea44f88fed158fd807ef5b79100295b1163941':
  Change setsebool syntax to be consistent with other init built-ins.
2012-12-19 09:46:39 -08:00
Dima Zavin
82ea44f88f Merge "Change setsebool syntax to be consistent with other init built-ins." 2012-12-18 23:42:09 -08:00
Jean-Baptiste Queru
22e9136661 Merge from AOSP staging branch
Change-Id: I28f72f7c361eaa4a0fae671e988b52708cb9e3af
2012-12-18 15:18:00 -08:00
Mike Lockwood
516943c0e9 Merge "libusbhost: generates a static library" 2012-12-17 14:34:53 -08:00
Mike Lockwood
dea9a93ddd Merge "libusbhost: permits client polling on inotify wd" 2012-12-17 14:34:20 -08:00
David 'Digit' Turner
abf7cc977e am 13306d95: Merge "adb: Improve ADB\'s forward redirection management."
* commit '13306d95f6b70b58bfdd3e1c6d9b1d2a49e6f175':
  adb: Improve ADB's forward redirection management.
2012-12-13 18:08:58 -08:00
Stephen Smalley
0e23fee505 Change setsebool syntax to be consistent with other init built-ins.
Change setsebool syntax from name=value to name value.
This is to make it consistent with setprop and similar commands.
Update both the init built-in command and the toolbox command
for consistency.

Change-Id: I2c8e016ba26731c4a2ad4a49ae3b89362bf8f8a8
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2012-12-13 15:41:53 -05:00
David 'Digit' Turner
13306d95f6 Merge "adb: Improve ADB's forward redirection management." 2012-12-13 03:40:24 -08:00
Wink Saville
0c47c68258 am 81077e5f: Merge "Use Rlog instead of Log"
* commit '81077e5faeaa064478495ce0924e8249b04899fd':
  Use Rlog instead of Log
2012-12-12 08:48:13 -08:00
Wink Saville
0c457c0fff am bf866aed: Merge "Add RLOGx"
* commit 'bf866aeda1d01a8adbcbf186f9ff08418e45b836':
  Add RLOGx
2012-12-12 08:48:12 -08:00
Wink Saville
81077e5fae Merge "Use Rlog instead of Log" 2012-12-12 08:23:15 -08:00
Wink Saville
bf866aeda1 Merge "Add RLOGx" 2012-12-12 08:22:02 -08:00
Robert Greenwalt
8bc848d9b2 am abce9e85: Merge "libsysutils: Increase command buffersize and command args"
* commit 'abce9e85e406b7a6e4c8c36b8eaaac049a7e11a9':
  libsysutils: Increase command buffersize and command args
2012-12-11 16:54:14 -08:00
Robert Greenwalt
abce9e85e4 Merge "libsysutils: Increase command buffersize and command args" 2012-12-11 15:50:50 -08:00
Ben Cheng
dc34f38312 am 2353a44e: am becea6e0: Merge "Fix ELF header parser bug." into jb-mr1.1-dev
* commit '2353a44eee2b97f9efca81103dac007db7129000':
  Fix ELF header parser bug.
2012-12-11 10:58:16 -08:00
Ben Cheng
2353a44eee am becea6e0: Merge "Fix ELF header parser bug." into jb-mr1.1-dev
* commit 'becea6e04e7f7cca3eaa514d5749d315c6213b25':
  Fix ELF header parser bug.
2012-12-11 10:56:32 -08:00
Ben Cheng
becea6e04e Merge "Fix ELF header parser bug." into jb-mr1.1-dev 2012-12-11 10:55:11 -08:00
Ben Cheng
37af40c46c am b0f8c70a: Merge "Fix ELF header parser bug."
* commit 'b0f8c70aa3ae2851dabb6a73debd2011ddf95bcb':
  Fix ELF header parser bug.
2012-12-10 21:43:55 -08:00
Ben Cheng
c076030eaa Fix ELF header parser bug.
[cherry-picked from AOSP]
Program header size should be 32 instead of 40.

Bug: 7696928
Change-Id: I48e411837ff8a571544b55ccc37e20202dca424c
2012-12-10 20:49:43 -08:00
Ben Cheng
b0f8c70aa3 Merge "Fix ELF header parser bug." 2012-12-10 18:06:38 -08:00
Elliott Hughes
3de7fe9f40 am 5fb042dd: Merge "Expand crasher with a "thread-" prefix to crash on another thread."
* commit '5fb042dd3a04086c340801bc4fa0e3a0ed493e82':
  Expand crasher with a "thread-" prefix to crash on another thread.
2012-12-10 15:57:25 -08:00
Elliott Hughes
5fb042dd3a Merge "Expand crasher with a "thread-" prefix to crash on another thread." 2012-12-10 15:04:16 -08:00
Ben Cheng
0015a42942 Fix ELF header parser bug.
Program header size should be 32 instead of 40.

Bug: 7696928

Change-Id: I8298a030790e9c28e8e8a0d2ad4e9ef294708eb6
2012-12-10 14:53:03 -08:00
Elliott Hughes
aa4213057b Expand crasher with a "thread-" prefix to crash on another thread.
So "thread-nostack" runs the "nostack" code on a new thread, and
"thread-abort" runs the "abort" code on a new thread, and so on.

Bug: http://code.google.com/p/android/issues/detail?id=16672
Change-Id: I026a0e43eea147f1a7a74243846954599bcf4238
2012-12-10 14:15:42 -08:00
Elliott Hughes
435c223d48 am 5144fa28: Merge "Add missing signal codes to get_sigcode."
* commit '5144fa28c59825118c8f6e6bee832708f9748b89':
  Add missing signal codes to get_sigcode.
2012-12-10 11:41:31 -08:00
Elliott Hughes
5144fa28c5 Merge "Add missing signal codes to get_sigcode." 2012-12-10 11:18:37 -08:00
Elliott Hughes
8f7d4430f3 Add missing signal codes to get_sigcode.
The only common one we were missing is SI_TKILL, but we've had the full
set on the dalvik-dev branch for some time now.

Change-Id: I7cf52d352b8624e0adb17a2ed440e7a10f490dfd
2012-12-10 10:35:11 -08:00
Guillaume Ranquet
08c119910a libusbhost: generates a static library
due to limitations of the droidboot OS used for POS,
there's a need for a static libusbhost library.

this permits to include libusbhost in droidboot

Change-Id: I0f0c07817ad19b773b466b69fd6e997877d41b34
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
2012-12-10 11:12:44 +01:00
Guillaume Ranquet
dea46b6657 libusbhost: permits client polling on inotify wd
Modify libusbhost to expose the inotify watch descriptor to clients

This modification permits clients to add the watch descriptor to
their polling loop so that they don't have to use a dedicated
thread only for libusbhost.

Change-Id: I615bfcd56beab978135034b228d4d93337351eab
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
Signed-off-by: Luc Piguet-Lacroix <lucx.piguet-lacroix@intel.com>
2012-12-10 11:12:35 +01:00
Ben Cheng
7f692fe644 am 523e21d3: Merge "Fail-proof the inline directives for SMP atomic operations."
* commit '523e21d366523604576b85960d7aba6062fd5605':
  Fail-proof the inline directives for SMP atomic operations.
2012-12-07 14:35:24 -08:00
Ben Cheng
523e21d366 Merge "Fail-proof the inline directives for SMP atomic operations." 2012-12-07 13:32:28 -08:00
Devin Kim
deb8e39ede am e1f0bd83: am fd8e6504: charger: Do not suspend when disconnecting from charger
* commit 'e1f0bd83244e1ac96c6b023cfe12286cda8571c1':
  charger: Do not suspend when disconnecting from charger
2012-12-07 12:11:37 -08:00