Commit Graph

3302 Commits

Author SHA1 Message Date
Robert Greenwalt 78f6bcf853 Merge "New NativeDaemonConnector protocol adds a seqnum." 2012-03-06 11:30:13 -08:00
Mathias Agopian 397cf19864 remove obsolete code
Change-Id: I65692beb620c35b0d0679939405183626a82bd8c
2012-03-05 17:08:19 -08:00
Mathias Agopian b7286aa02e remove dependency on utils/List.h
Change-Id: I9a1e996be645520d1d5a056337303a6e5ed646e9
2012-03-05 17:08:19 -08:00
Jean-Michel Trivi f1b244c3fa Merge "Add function to derive a channel mask from a channel count" 2012-03-05 14:51:42 -08:00
Jean-Michel Trivi 4ab051ab46 Add function to derive a channel mask from a channel count
Change-Id: I22523ded9cd8e5283a285a9db21d819bbbc1b6c3
2012-03-05 13:59:09 -08:00
Jeff Brown ab556e27a1 Merge "Use #define value of 1 to indicate presence of headers." 2012-03-05 13:39:29 -08:00
Robert Greenwalt 8702bb17f4 New NativeDaemonConnector protocol adds a seqnum.
Allows for one socket to be multiplexed for multiple requests.
Doesn't use command sequence numbers for broadcasts - would make no sense.
Doesn't alter current default behavior so OEM's using these classes
won't notice a difference.
bug:5864209

Change-Id: Ie3b19c4f81eea868569229a365c8cb7de249c2dd
2012-03-05 11:44:43 -08:00
Jeff Brown 3817a79ded Use #define value of 1 to indicate presence of headers.
strace tests the value of HAVE_TERMIO_H and HAVE_SYS_UIO_H using

Change-Id: If899845503547410cf17d005733d1c0c6741e939
2012-03-02 17:33:52 -08:00
Jeff Sharkey 0afee8b668 Merge "Change "chown" to coreutils syntax." 2012-03-02 16:10:50 -08:00
Jeff Sharkey 474cea824f Change "chown" to coreutils syntax.
Change-Id: I7d997b3254354908317feee54b6df9b2419718a6
2012-03-02 15:11:53 -08:00
Colin Cross 9c38e14299 am 1a2f32c4: am d39f9d93: am 9cec99ba: Merge "Fix typo in queue_property_triggers ident"
* commit '1a2f32c4828380ca8590cf664725650ef35f1e37':
  Fix typo in queue_property_triggers ident
2012-03-01 23:57:11 -08:00
Colin Cross 1a2f32c482 am d39f9d93: am 9cec99ba: Merge "Fix typo in queue_property_triggers ident"
* commit 'd39f9d93788ed08f8e90d04bdac798e3f3595889':
  Fix typo in queue_property_triggers ident
2012-03-01 22:55:17 -08:00
Colin Cross d39f9d9378 am 9cec99ba: Merge "Fix typo in queue_property_triggers ident"
* commit '9cec99ba9c64d26e2fa34f310cba13ff119b4c55':
  Fix typo in queue_property_triggers ident
2012-03-01 22:48:45 -08:00
Colin Cross 9cec99ba9c Merge "Fix typo in queue_property_triggers ident" 2012-03-01 16:31:08 -08:00
Chris Dearman 469b7b2da8 Fix typo in queue_property_triggers ident
Signed-off-by: Chris Dearman <chris@mips.com>
Change-Id: I5f18ccb0912b9bb89c9f5104f9505c610c109af8
2012-03-01 15:29:20 -08:00
Eric Laurent cef6db21fd Merge "renamed audio policy output flag." 2012-03-01 10:17:15 -08:00
Eric Laurent 2e9d845850 renamed audio policy output flag.
Renamed AUDIO_POLICY_OUTPUT_FLAG_INDIRECT to AUDIO_POLICY_OUTPUT_FLAG_NONE
which is more appropriate.

Change-Id: Ie898ddc2279db55a65ece96e09232163c2e78024
2012-03-01 09:43:07 -08:00
Andrew Hsieh 977fc4e915 Merge "Fixed two 64-bit porting issues; Make pid/tid type consistent" 2012-02-29 17:46:26 -08:00
Andrew Hsieh d2c8f52189 Fixed two 64-bit porting issues; Make pid/tid type consistent
1. In printf, use "%zu" for variable of type size_t
2. Print tid in %5d
3. Make type of pid/tid in AndroidLogEntry and logger_entry consistent

Change-Id: I3e3d9536ee58823f349a4734ae093d30eabe1bfe
2012-02-29 17:00:46 -08:00
Jean-Baptiste Queru ca3bf25570 am 25443f80: am 1e28088f: am 5cc398ef: Merge "Toolbox implementation of chown has a bad print"
* commit '25443f80a27c6153c3406b4443fd07442e410a57':
  Toolbox implementation of chown has a bad print
2012-02-28 15:19:17 -08:00
Jean-Baptiste Queru cd21d2144f am 72249325: am 428a6e3f: am 13438a93: Merge "logwrapper: reduce verbosity and fix usage"
* commit '72249325df812575d13d44016482a4ac0e7fbe84':
  logwrapper: reduce verbosity and fix usage
2012-02-28 15:19:15 -08:00
Jean-Baptiste Queru 25443f80a2 am 1e28088f: am 5cc398ef: Merge "Toolbox implementation of chown has a bad print"
* commit '1e28088f42f9d04e4ab3abf080f956774b1e78d5':
  Toolbox implementation of chown has a bad print
2012-02-28 15:16:22 -08:00
Jean-Baptiste Queru 72249325df am 428a6e3f: am 13438a93: Merge "logwrapper: reduce verbosity and fix usage"
* commit '428a6e3f562b043f74390806c49686d1f16fe99e':
  logwrapper: reduce verbosity and fix usage
2012-02-28 15:16:21 -08:00
Jean-Baptiste Queru 1e28088f42 am 5cc398ef: Merge "Toolbox implementation of chown has a bad print"
* commit '5cc398ef00b439bcf85b65c894433dd52362dff7':
  Toolbox implementation of chown has a bad print
2012-02-28 15:06:10 -08:00
Jean-Baptiste Queru 428a6e3f56 am 13438a93: Merge "logwrapper: reduce verbosity and fix usage"
* commit '13438a93a8904ae712655533ce63aa0d5b486aba':
  logwrapper: reduce verbosity and fix usage
2012-02-28 15:06:09 -08:00
Jean-Baptiste Queru 5cc398ef00 Merge "Toolbox implementation of chown has a bad print" 2012-02-28 14:59:56 -08:00
Jean-Baptiste Queru 13438a93a8 Merge "logwrapper: reduce verbosity and fix usage" 2012-02-28 14:14:12 -08:00
Tanguy Pruvot 1f28b775cf logwrapper: reduce verbosity and fix usage
- no info on normal process exit (0)
 - basename as tag, not the full path
 - fix usage, bad "-x" parameter vs "-d" in code

Change-Id: Ife72729eaee2a366bd4226f3fbe3ba074219c974
2012-02-28 13:55:57 -08:00
Anatol Pomazau 5ae3f93f3b Remove trailing whitespaces
Change-Id: I6f83333a6ee0fbc562a12bb9555c43a44c98768e
2012-02-28 07:21:08 -08:00
Vladimir Chtchetkine 9427df10e9 Merge "Enables ADBD tracing in the emulator." 2012-02-28 07:01:38 -08:00
Dima Zavin 830e19731d ion: fix header for including in C++ code
Change-Id: I8fc10ac397e60d329a6887f0590d4dba6cbc7545
Signed-off-by: Dima Zavin <dima@android.com>
2012-02-27 16:33:03 -08:00
Dima Zavin e92b158de7 libion: use correct build vars in makefile
Change-Id: I74c8e723e4f15d3806c1834b069bcb1fd56ac4fa
Signed-off-by: Dima Zavin <dima@android.com>
2012-02-27 16:32:15 -08:00
Ramanan Rajeswaran c4ddca25e0 am f1ab88c2: am 73c019b3: Add asus vendor id
* commit 'f1ab88c23460a608cd6d6f6492fb2b039405c0f2':
  Add asus vendor id
2012-02-27 12:00:45 -08:00
Ramanan Rajeswaran f1ab88c234 am 73c019b3: Add asus vendor id
* commit '73c019b30a7c70c50d2a854982143d5eb8c74f8c':
  Add asus vendor id
2012-02-27 11:59:20 -08:00
Vladimir Chtchetkine 28781b0a52 Enables ADBD tracing in the emulator.
When running inside the emulator, guest's adbd can connect to 'adb-debug' qemud
service that can display adb trace messages on condition that emulator has been
started with '-debug adb' option.

This CL enables that functionality in ADB code.

Change-Id: I59b4a76d3c887ad28b8aa8e2a01dfa814e75faa1
2012-02-27 10:41:53 -08:00
Mathias Agopian c958a7f498 add missing include
Change-Id: Id93278c59cfdf72a62a4fe26178bd5c3e43b089e
2012-02-25 21:13:36 -08:00
Ramanan Rajeswaran 73c019b30a Add asus vendor id
Change-Id: I6d10b1788903aba526af7f654b12c302c3e9fc89
2012-02-24 13:00:34 -08:00
Jean-Baptiste Queru 1ae8d4eaa3 resolved conflicts for merge of 44898072 to master
Change-Id: Ib77a4d9161261306253a174727801526e7149621
2012-02-24 12:05:31 -08:00
Jean-Baptiste Queru 448980724d am 7c02a327: am 1ea9fce4: Merge "Extend toolbox with SE Android support."
* commit '7c02a327563bd0be2d5b7c6cb07f0c48ce87771e':
  Extend toolbox with SE Android support.
2012-02-24 11:38:42 -08:00
Jean-Baptiste Queru 7c02a32756 am 1ea9fce4: Merge "Extend toolbox with SE Android support."
* commit '1ea9fce46f9782a21071b683b183226cb3468a0f':
  Extend toolbox with SE Android support.
2012-02-24 11:33:38 -08:00
Jean-Baptiste Queru 6439693eff am 3b04bde9: am ee79b455: am 93553073: Merge "Extend init and ueventd for SE Android."
* commit '3b04bde991d57765a830e06c6f5bb094722583bd':
  Extend init and ueventd for SE Android.
2012-02-24 11:17:43 -08:00
Jean-Baptiste Queru 3b04bde991 am ee79b455: am 93553073: Merge "Extend init and ueventd for SE Android."
* commit 'ee79b455a904558f74d63a99ade8f3f1197a5de5':
  Extend init and ueventd for SE Android.
2012-02-24 11:15:22 -08:00
Jean-Baptiste Queru ee79b455a9 am 93553073: Merge "Extend init and ueventd for SE Android."
* commit '935530736d6849c37c0e5c5e01b7e02245481f16':
  Extend init and ueventd for SE Android.
2012-02-24 11:11:48 -08:00
Jean-Baptiste Queru 1ea9fce46f Merge "Extend toolbox with SE Android support." 2012-02-24 11:10:56 -08:00
Jean-Baptiste Queru 935530736d Merge "Extend init and ueventd for SE Android." 2012-02-24 10:29:40 -08:00
Nick Kralevich 274c31ab6b fix "logcat -c ; logcat -d" hang.
Change-Id: I1dc3633fc7228a6ff8ed0da4572f40055a28ceb2
2012-02-23 14:48:51 -08:00
Rebecca Schultz Zavin afd9123946 Add ion helper library
This library contains helper functions for using ion

Change-Id: I7d7f76d6d3f36cd94d67797a38099a94214392b1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2012-02-23 12:18:31 -08:00
Anatol Pomazau c8ba5366da Implement 'fastboot format' command
Some filesystems (e.g. ext4) require flushing an initial
fs image, right after erasing it the partition is unusable.

Doing erase,flush emptyfs is a little bit scaring so we have a
separate command that performs it as atomic step:

 - get size of partition
 - create an empty filesystem image
 - erase the partition
 - flush empty fs to the partition

This command applicable only for ext4 filesystem and checks the
partition type before formatting it.

Change-Id: I8529bc3485739487f0d91312f7c0ab1a6e5d8b44
2012-02-17 16:29:58 -08:00
Anatol Pomazau fc656103db Fix 'extra tokens at end of #endif directive' warning
Change-Id: I464ede415e64cf7db845bb441754120974bcf855
2012-02-13 18:12:18 -08:00
Mike Lockwood ca2074b78d Revert "Implement 'fastboot format' command"
until Windows support is done

This reverts commit 452e11885a.
2012-02-13 09:57:19 -08:00