Commit Graph

4363 Commits

Author SHA1 Message Date
Jean-Baptiste Queru a8b832a897 am 42900c30: am 0874aa0e: Merge "adb: Pick desired product value from command line it follows -p"
* commit '42900c30cf39ea4cdc41cc3671584b7f4f39b8bc':
  adb: Pick desired product value from command line it follows -p
2012-08-20 14:51:53 -07:00
Jean-Baptiste Queru 2ab69388cb am 76080925: am 52d5dfc8: Merge "vmstat: Fix -n flag"
* commit '76080925410db41cfa5c70ffcffaa2b3b4d59aad':
  vmstat: Fix -n flag
2012-08-20 14:51:52 -07:00
Jean-Baptiste Queru 9305892464 am 1bcced2b: am c57689fc: Merge "add command-line arguments to mkbootimg to move kernel, ramdisk, etc."
* commit '1bcced2bb67a4024035d5303d953c793b857f275':
  add command-line arguments to mkbootimg to move kernel, ramdisk, etc.
2012-08-20 14:51:51 -07:00
Jean-Baptiste Queru 42900c30cf am 0874aa0e: Merge "adb: Pick desired product value from command line it follows -p"
* commit '0874aa0ec4f413a77a610133c904c2590a2e3ccd':
  adb: Pick desired product value from command line it follows -p
2012-08-20 14:50:36 -07:00
Jean-Baptiste Queru 7608092541 am 52d5dfc8: Merge "vmstat: Fix -n flag"
* commit '52d5dfc8d30890734ee7122c3139f8637e196a1c':
  vmstat: Fix -n flag
2012-08-20 14:50:35 -07:00
Jean-Baptiste Queru 1bcced2bb6 am c57689fc: Merge "add command-line arguments to mkbootimg to move kernel, ramdisk, etc."
* commit 'c57689fc7ccadee4f852ad62ac1010e53382a67c':
  add command-line arguments to mkbootimg to move kernel, ramdisk, etc.
2012-08-20 14:50:34 -07:00
Jean-Baptiste Queru 0874aa0ec4 Merge "adb: Pick desired product value from command line it follows -p" 2012-08-20 14:41:25 -07:00
Jeff Sharkey 61f1359486 Remove sdcard groups from services.
Even with the groups, services no longer have access.

Change-Id: I2b4871b276ffd309c08c404b1211b33406dbebd5
2012-08-20 14:31:47 -07:00
Jean-Baptiste Queru 52d5dfc8d3 Merge "vmstat: Fix -n flag" 2012-08-20 14:25:13 -07:00
Jean-Baptiste Queru c57689fc7c Merge "add command-line arguments to mkbootimg to move kernel, ramdisk, etc." 2012-08-20 14:24:56 -07:00
Ariel Bernal 62188564fa Fixed warnings test_zipfile
Fixed implicit declaration of strcmp warning
Fixed switch case of enumeration not handled

Change-Id: Ic3f3690a2e749235b1b0dffd252b119855ad36c0
Author: Ariel Bernal <ariel.j.bernal@intel.com>
Reviewed-by: Tareq A Siraj <tareq.a.siraj@intel.com>
2012-08-20 16:38:37 -04:00
Jeff Brown a8c2112be6 Merge "Migrate sdcard0 to shell-accessible location." into jb-mr1-dev 2012-08-20 13:15:39 -07:00
Jeff Sharkey 5dd0f86fbf Migrate sdcard0 to shell-accessible location.
Also remove mount() from adb, since it can come online long before
data partition is ready.  Set EXTERNAL_STORAGE environment variable
to point to owner for backwards compatibility.

Bug: 7005701
Change-Id: I63444f6636624eb7ad89f053daa289663424639e
2012-08-20 13:11:11 -07:00
Doug Zongker ed95159056 add command-line arguments to mkbootimg to move kernel, ramdisk, etc.
Bug: 6918260
Change-Id: I5d4af6314fded027952941110a520dc9aa234a14
2012-08-20 10:46:10 -07:00
Jean-Baptiste Queru bb0d0721e6 am 94938c9d: am ed2e672f: Merge "Print strerror for file read errors during flashing"
* commit '94938c9d60d6467ec40df4254beadc50bb787934':
  Print strerror for file read errors during flashing
2012-08-20 10:29:39 -07:00
Jean-Baptiste Queru c3a4a054a9 am 3af04b71: am 7c386a61: Merge "Extend and document the "wait" command"
* commit '3af04b71e51e89af02a1fe526e4fc32dce0100d3':
  Extend and document the "wait" command
2012-08-20 10:29:38 -07:00
Jean-Baptiste Queru 80da83ac31 am cd82a6fe: am 36b1399d: Merge "diskconfig: Add missing include for loff_t"
* commit 'cd82a6fea05d1fa06cb0ac56d2dbb27b013b8eaa':
  diskconfig: Add missing include for loff_t
2012-08-20 10:29:37 -07:00
Jean-Baptiste Queru 94938c9d60 am ed2e672f: Merge "Print strerror for file read errors during flashing"
* commit 'ed2e672f3b929ac49617de11e6530c812b082eb6':
  Print strerror for file read errors during flashing
2012-08-20 09:41:54 -07:00
Jean-Baptiste Queru 3af04b71e5 am 7c386a61: Merge "Extend and document the "wait" command"
* commit '7c386a610d9164c12932452d1ff671e070956ec1':
  Extend and document the "wait" command
2012-08-20 09:41:53 -07:00
Jean-Baptiste Queru cd82a6fea0 am 36b1399d: Merge "diskconfig: Add missing include for loff_t"
* commit '36b1399d8cee09d4ffde3bf958322ab9556b8ebe':
  diskconfig: Add missing include for loff_t
2012-08-20 09:41:52 -07:00
Jean-Baptiste Queru ed2e672f3b Merge "Print strerror for file read errors during flashing" 2012-08-20 09:19:09 -07:00
Jean-Baptiste Queru 7c386a610d Merge "Extend and document the "wait" command" 2012-08-20 09:18:38 -07:00
Jean-Baptiste Queru 36b1399d8c Merge "diskconfig: Add missing include for loff_t" 2012-08-20 09:18:06 -07:00
The Android Automerger 2a83864745 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-08-20 06:36:06 -07:00
Joe Onorato ab163a9a17 am c56f4285: am a11f4bcf: Merge changes I5006b467,I0118cebf,Ibc792367
* commit 'c56f428530a307c850dc99024d23f7e5ebbf92d3':
  Support for multiple modules with the same name is going away.
  Fix build by removing TAGS from host module
  libext4_utils on host is now called libext4_utils_host so there is no name conflict
2012-08-17 00:53:14 -07:00
Joe Onorato c56f428530 am a11f4bcf: Merge changes I5006b467,I0118cebf,Ibc792367
* commit 'a11f4bcfd4d40673bc97d81eb80e201359ade1e6':
  Support for multiple modules with the same name is going away.
  Fix build by removing TAGS from host module
  libext4_utils on host is now called libext4_utils_host so there is no name conflict
2012-08-17 00:51:12 -07:00
Joe Onorato a11f4bcfd4 Merge changes I5006b467,I0118cebf,Ibc792367
* changes:
  Support for multiple modules with the same name is going away.
  Fix build by removing TAGS from host module
  libext4_utils on host is now called libext4_utils_host so there is no name conflict
2012-08-17 00:38:58 -07:00
Benoit Goby f4ed516643 adb: Add public key authentification
Secure adb using a public key authentication, to allow USB debugging
only from authorized hosts.

When a device is connected to an unauthorized host, the adb daemon sends
the user public key to the device. A popup is shown to ask the user to
allow debugging once or permanantly from the host. The public key is
installed on the device in the later case. Other keys may be installed
at build time.

On the host, the user public/private key pair is automatically generated,
if it does not exist, when the adb daemon starts and is stored in
$HOME/.android/adb_key(.pub) or in $ANDROID_SDK_HOME on windows. If needed,
the ADB_KEYS_PATH env variable may be set to a ;-separated list of private
keys, e.g. company-wide or vendor keys.

On the device, vendors public keys are installed at build time in
/adb_keys. User-installed keys are stored in /data/misc/adb/adb_keys.

ADB Protocol change:
If the device needs to authenticate the host, it replies to CNXN
packets with an AUTH packet. The AUTH packet payload is a random token.
The host signs the token with one of its private keys and sends an AUTH(0)
packet. If the signature verification succeeds, the device replies with
a CNXN packet. Otherwise, it sends a new AUTH packet with a new token so
that the host can retry with another private key. Once the host has tried
all its keys, it can send an AUTH(1) packet with a public key as
payload. adbd then sends the public key to the framework (if it has been
started) for confirmation.

Change-Id: Idce931a7bfe4ce878428eaa47838e5184ac6073f
2012-08-16 21:36:26 -07:00
Jeff Sharkey de980f27a7 Omit multiuser.c from Windows builds.
Change-Id: I0cee35373e33084e4fc65a1d5c0b611c6fa82346
2012-08-16 17:16:43 -07:00
Jeff Sharkey 2be5338a84 Merge "Multi-user external storage support." into jb-mr1-dev 2012-08-16 14:33:00 -07:00
Scott Anderson edb2d634b3 Merge "ueventd.rc: Add /dev/uhid for bluedroid" into jb-mr1-dev 2012-08-16 12:22:51 -07:00
The Android Automerger 60e5cd66bb merge in jb-mr1-release history after reset to jb-mr1-dev 2012-08-16 06:35:01 -07:00
Jeff Sharkey 885342a0f2 Multi-user external storage support.
Remount rootfs as recursively shared, so that mount changes are
propagated into child namespaces.  Mount external storage for access
from adb.

Clean multi-user dependencies for use in Dalvik.  Also define
external storage paths.

Bug: 6925012
Change-Id: I375de581a63f4f36667894c56a34a9dd45361e8f
2012-08-15 21:10:07 -07:00
Joe Onorato 5069b01e21 Support for multiple modules with the same name is going away.
Change-Id: I5006b467978071f9107babe532efa71d05061580
2012-08-15 19:52:52 -07:00
Mike J. Chen 1926c15a12 Fix build by removing TAGS from host module
Change-Id: I0118cebff021b435baea0b46dd3c43250ef96632
Signed-off-by: Mike J. Chen <mjchen@google.com>
2012-08-15 19:52:52 -07:00
Joe Onorato 2ffe3c8ac4 libext4_utils on host is now called libext4_utils_host so there is no name conflict
Change-Id: Ibc7923676925ed6942b3f672ee764cfaa98ee96e
2012-08-15 19:52:52 -07:00
Alex Yakavenka 091c21c92c Export flags needed for ifc_reset_connections API in netutils
Code using ifc_reset_connections api needs to have access to
predefined masks for reset_mask parameter

Change-Id: I90bc5e1b62ae4a88501c8ad4e353c0d93d319579
2012-08-15 15:50:25 -07:00
Scott Anderson 3ad289dca6 ueventd.rc: Add /dev/uhid for bluedroid
Change-Id: Ica71265856fce1abc0a0ba9c0b1ca016510c61b7
Signed-off-by: Scott Anderson <saa@android.com>
2012-08-15 15:02:00 -07:00
Jeonghoon lim 81b1996827 bluetooth: bring up with bluedroid stack
- change permission of "bluetooth." property to AID_BLUETOOTH

Change-Id: Ifcd97f136cfc3372412fe500e4f800d1bbbd065c
2012-08-15 11:46:33 -07:00
Jean-Baptiste Queru e92372ba9e resolved conflicts for merge of 2237ca4c to jb-mr1-dev
Change-Id: I04982ff2b092274b940a621b238c2246349aa85e
2012-08-15 10:01:12 -07:00
Jean-Baptiste Queru d7f78e88b5 am e3bdaeb6: am 2765e4fb: Merge "Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS"
* commit 'e3bdaeb603ab7ac941b35b41856c6b8ebf47c6bb':
  Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS
2012-08-15 09:37:56 -07:00
Jean-Baptiste Queru ef1945f8e9 am 417e3041: am 8124e073: Merge "Fix unused parameter warnings"
* commit '417e3041b8b6ba9582c2e4d2003cfcd77435fc21':
  Fix unused parameter warnings
2012-08-15 09:37:55 -07:00
Jean-Baptiste Queru 5731de9620 am 83c4398b: am cc12ed32: Merge "[MIPS] debuggerd and libcorkscrew support"
* commit '83c4398b4adb5c2cfaf6487699a8b94901ce0fb1':
  [MIPS] debuggerd and libcorkscrew support
2012-08-15 09:37:54 -07:00
Jean-Baptiste Queru 2237ca4c66 am 2290dd41: Merge "Fixing signed/unsigned comparison warnings"
* commit '2290dd418b4ddcb12027fa4616affe64eb92ad1e':
  Fixing signed/unsigned comparison warnings
2012-08-15 09:31:25 -07:00
Jean-Baptiste Queru e3bdaeb603 am 2765e4fb: Merge "Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS"
* commit '2765e4fb39af2f8260de1177027e292f2a7198bd':
  Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS
2012-08-15 09:31:24 -07:00
Jean-Baptiste Queru 417e3041b8 am 8124e073: Merge "Fix unused parameter warnings"
* commit '8124e0736208c47a74767170d31e3c24e0f47504':
  Fix unused parameter warnings
2012-08-15 09:31:23 -07:00
Jean-Baptiste Queru 83c4398b4a am cc12ed32: Merge "[MIPS] debuggerd and libcorkscrew support"
* commit 'cc12ed3241a4081970cdd70f88d57cb4d3bc19f2':
  [MIPS] debuggerd and libcorkscrew support
2012-08-15 09:31:21 -07:00
Iliyan Malchev a8f1e11bcc Merge "bluetooth: bring up with bluedroid stack" into jb-mr1-dev 2012-08-15 09:20:33 -07:00
Jean-Baptiste Queru 2290dd418b Merge "Fixing signed/unsigned comparison warnings" 2012-08-15 09:15:22 -07:00
Jean-Baptiste Queru 2765e4fb39 Merge "Use sigemptyset to initialise signal mask as it is more portable. Referencing sa_restorer fails on MIPS" 2012-08-15 08:52:09 -07:00