Commit Graph

3062 Commits

Author SHA1 Message Date
Mathias Agopian 7934d18aa6 really fix the SDK build and fix THE build
Change-Id: I994cccf01bcafedc9ea11648eafc20300c58878b
2011-08-11 19:26:39 -07:00
Mathias Agopian 05dc0c6c8d Merge "attempt to fix SDK build." 2011-08-11 19:10:52 -07:00
Mathias Agopian 33a1d43636 attempt to fix SDK build.
missing cdefs.h include

Change-Id: Ic7dfdfe74976a459f166a7576b077965cd1fda6a
2011-08-11 19:09:33 -07:00
Dmitry Shmidt 4863fc19e2 libnl_2: Fix nested attribute setting
Change-Id: I9dbf72a25e8a939ab6aa35eaf4adbf86d9ed97a1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-08-11 15:16:38 -07:00
Dmitry Shmidt 5fbf404d72 Merge "libnl_2: Fix nested attribute setting" 2011-08-11 09:31:13 -07:00
JP Abgrall a88c13bfa9 am f25e55df: Merge changes I8e33c883,I0a2d1615,I401fc0b4,Ie0fb5b59
* commit 'f25e55df1b086161ab28653b583c945df0a16615':
  libcutils: qtaguid: support socket untagging, return errors.
  Move qtaguid.c from common sources in Android.mk to fix windows build.
  Fix header file inclusion for type uid_t.
  Add communication support for xt_qtaguid(network traffic accounting) kernel module.
2011-08-10 21:22:27 -07:00
JP Abgrall f25e55df1b Merge changes I8e33c883,I0a2d1615,I401fc0b4,Ie0fb5b59
* changes:
  libcutils: qtaguid: support socket untagging, return errors.
  Move qtaguid.c from common sources in Android.mk to fix windows build.
  Fix header file inclusion for type uid_t.
  Add communication support for xt_qtaguid(network traffic accounting) kernel module.
2011-08-10 21:07:04 -07:00
Mathias Agopian 8968195b19 Merge "Add a priority constant in to the graphics HAL header" 2011-08-10 19:40:24 -07:00
Dmitry Shmidt 64f17e85b4 libnl_2: Fix nested attribute setting
Change-Id: I9dbf72a25e8a939ab6aa35eaf4adbf86d9ed97a1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-08-10 15:25:51 -07:00
Ashish Sharma fa2f985b29 libcutils: qtaguid: support socket untagging, return errors.
- Enable and rename qtaguid_tagSocket()
  - Add qtaguid_untagSocket()
  - Return kernel errors to caller

Change-Id: I8e33c8832b7f6b24ed9081f36ce1ea9ae6b099c0
Signed-off-by: Ashish Sharma <ashishsharma@google.com>
2011-08-10 12:25:11 -07:00
JP Abgrall 8699394639 Move qtaguid.c from common sources in Android.mk to fix windows build.
Change-Id: I0a2d1615108b6c10064b3635d05699748a1341a4
2011-08-10 12:24:54 -07:00
Ashish Sharma 13825eb0a3 Fix header file inclusion for type uid_t.
Change-Id: I401fc0b41b4b77114fce7240662c9dfe4509e841
2011-08-10 12:23:30 -07:00
Ashish Sharma 60daf104a1 Add communication support for xt_qtaguid(network traffic accounting) kernel module.
Change-Id: Ie0fb5b593987c53ee6f906fe6e0caab5a581d5a1
2011-08-10 12:23:25 -07:00
Ashish Sharma e4b10e9f7f Merge "libcutils: qtaguid: support socket untagging, return errors." 2011-08-09 23:21:16 -07:00
Mathias Agopian 5c9be402a4 Add a priority constant in to the graphics HAL header
this is needed if a display/gpu driver needs to create
service threads that can block the main ui thread.
to avoid priority inversions, these must run at
HAL_PRIORITY_URGENT_DISPLAY

Change-Id: I3af592e05a6d1b6f39a2b7885a7c842e54abfce2
2011-08-09 18:55:44 -07:00
Christopher Tate 5d5816c484 Merge "Change default backup filename and terminology" 2011-08-09 17:29:36 -07:00
Christopher Tate de034ec83e Change default backup filename and terminology
We now use "backup.ab" as the default backup archive filename, and no longer
refer to "tar" or "tarfiles" in the help text.  The underlying format may
be tar, but we're certainly not interoperable even with ustar/pax thanks
to our compression & encryption layers and our custom header.

Change-Id: I3e74af96cfc102e94848c969eb36af54304bfd9b
2011-08-09 17:05:29 -07:00
Jean-Baptiste Queru 20b390e971 Merge "Move libnl headers to their own project" 2011-08-08 15:59:55 -07:00
Dianne Hackborn d09196d00c Merge "Activity Manager now takes care of setting OOM values." 2011-08-08 14:55:14 -07:00
Jean-Baptiste Queru c4fcd8a68a Move libnl headers to their own project
Change-Id: If3f20575507431afa7a79aee6b99823a2d1df324
2011-08-08 12:43:25 -07:00
Chia-chi Yeh a24687197d init.rc: add inet permission to VPN daemons explicitly.
Racoon still needs it after dropping root privilege, or pure IPSec VPN
will fail. Mtpd works without it because net_raw implies inet. However
it would be better to set all of them clearly without the assumption.

Change-Id: I50762af2c25ec9cc559e528c7b14f469494fd553
2011-08-08 10:11:40 -07:00
Ashish Sharma 9b5c774369 libcutils: qtaguid: support socket untagging, return errors.
- Enable and rename qtaguid_tagSocket()
  - Add qtaguid_untagSocket()
  - Return kernel errors to caller

Change-Id: I8e33c8832b7f6b24ed9081f36ce1ea9ae6b099c0
Signed-off-by: Ashish Sharma <ashishsharma@google.com>
2011-08-07 23:22:59 -07:00
Dianne Hackborn 06787f4089 Activity Manager now takes care of setting OOM values.
All init needs to do is make these files writeable so that the
activity manager can set them.

Change-Id: Ieea43208fadc01504d813be379aecbafcadf0d34
2011-08-07 16:30:24 -07:00
Kenny Root 597ea5b63f Add install arg for verification
Allow "adb install" to transfer the file for the verification argument
to the package manager "pm install" command.

Change-Id: I4834f45019eb1387a5d2b205b53a67e91d5fa67e
2011-08-06 13:19:56 -07:00
Dmitry Shmidt 0842f08b91 Merge "libnl: Added more detailed information to README" 2011-08-05 10:57:16 -07:00
Kenny Root 9ff99f6536 Merge "Default to secure mode" 2011-08-05 10:16:21 -07:00
Frank Maker e065872503 libnl: Added more detailed information to README
Change-Id: I330a215a02535521b6bdd613eae50c34e47a8835
2011-08-04 15:41:47 -07:00
Andy McFadden 655835be2a Don't stall waiting for target to crash
This modifies debuggerd to sleep-poll while waiting for the target
process to crash, rather than block (potentially forever).

Also, add/fix some error reporting.

Bug 5035703

Change-Id: Id62ab79f53104927f8de684dff1a5734dbdb8390
2011-08-04 13:37:15 -07:00
Frank Maker 2a9050a0dc Merge "libnl: BUGFIX to support wpa_supplicant p2p_find" 2011-08-03 14:41:51 -07:00
Mathias Agopian 319f4e2793 fix a typo that prevented api_connect/api_disconnect to work
also make the original connect/disconnect inlines be no-ops.

Change-Id: Ic723e21455491c63ccbbcd01d3a47cd7ed788319
2011-08-03 11:37:27 -07:00
Frank Maker 69bc179b20 libnl: BUGFIX to support wpa_supplicant p2p_find
Close socket file descriptor when nl_msg freed
Correct nested attribute container size when closing nest
2011-08-02 15:30:44 -07:00
Wu-cheng Li a43546a874 Change CAMERA_MSG_METADATA_FACE to CAMERA_MSG_PREVIEW_METADATA.
bug:4460717

Change-Id: Icb9c54fa35a1af7c4f761d1a25061e6993cfc4af
2011-08-02 13:24:48 +08:00
Mathias Agopian ed7f9aaf76 Merge "connect/disconnect is now deprecated." 2011-08-01 16:35:51 -07:00
Wu-cheng Li d387e08788 Merge "Change int to int32_t in camera_frame_metadata and camera_face." 2011-08-01 02:38:17 -07:00
Kenny Root ff9d3484e6 Default to secure mode
If ro.secure is not set for some reason, default to secure mode.

Change-Id: Id0ce3ea5507a3f9690332fb5a2daef7d3303481d
2011-07-31 09:15:46 -07:00
Mathias Agopian 8ad545297c connect/disconnect is now deprecated.
these hooks are replaced by api_connect/api_disconnect
which serve exactly the same purpose than before.
the old hooks are deprecated because they won't be called
from the gl driver anymore, but instead will be called
by our EGL wrapper. to maintain binary compatibility
it was necessary to introduce these new hooks.

Change-Id: I11756a5d99e3ea3d6fb61b943f82037932dfa56a
2011-07-29 17:52:36 -07:00
Nick Kralevich 514b40bafa am 189de0c1: am adabe566: am 810cf41b: Merge "Fixed memory leak when using transport:serial."
* commit '189de0c1f4339abd7b938b4905775163d2a94bbe':
  Fixed memory leak when using transport:serial.
2011-07-29 16:51:35 -07:00
Nick Kralevich 189de0c1f4 am adabe566: am 810cf41b: Merge "Fixed memory leak when using transport:serial."
* commit 'adabe566906aa5e8ce791327559aeb10c139b365':
  Fixed memory leak when using transport:serial.
2011-07-29 16:47:31 -07:00
Nick Kralevich adabe56690 am 810cf41b: Merge "Fixed memory leak when using transport:serial."
* commit '810cf41b6d5b772846bbb16700f8c69f03710e60':
  Fixed memory leak when using transport:serial.
2011-07-29 16:44:22 -07:00
Nick Kralevich 810cf41b6d Merge "Fixed memory leak when using transport:serial." 2011-07-29 16:32:21 -07:00
Wu-cheng Li 3ac91d178b Change int to int32_t in camera_frame_metadata and camera_face.
bug:4460717
Change-Id: I5c7e4ed117c2b481fb0f7d9db418f98b7459adde
2011-07-30 07:04:01 +08:00
Robert Greenwalt 363725a45d Merge "Use dhcp netmask value rather than its pointer (patch from Marvell)" 2011-07-29 14:57:40 -07:00
Andy McFadden 17a5252f0e Merge "debuggerd can't handle debuggerd crashes" 2011-07-29 12:59:30 -07:00
Andy McFadden 44e12eceec debuggerd can't handle debuggerd crashes
When a process receives a fatal signal, it connects to debuggerd
and initiates a conversation over a socket.  When the crashing
process is debuggerd, the conversation stalls forever, and you
stop getting native crash details.

This resets the signal handlers to SIG_DFL, so that debuggerd
simply crashes and gets restarted.

Bug 5035703

Change-Id: Ie081d710d046f701bca7e7d8ea3e1d24766d9f61
2011-07-29 12:36:47 -07:00
Mike Lockwood 4509e482ff Merge "Move some common USB configuration logic to init.rc" 2011-07-29 12:13:12 -07:00
Tom Marlin 3175c8e9bf Fixed memory leak when using transport:serial.
Fixed memory leak when using transport:serial. Code was previously
using strdup() to make a copy of the serial number which was not
necessary. Instead, just set serial=service.

Change-Id: Ifa8fe7999c6fb88955d2c6bdfcd3cd724ec1f020
Signed-off-by: Tom Marlin <tomm@bsquare.com>
2011-07-29 13:38:56 -05:00
Mike Lockwood 7804cbf483 Move some common USB configuration logic to init.rc
Change-Id: Ib75ccfd9c4aa8aace936370c33f33a922ca3c51f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-29 12:59:32 -04:00
Mike Lockwood ea839db289 am b1cfa672: am 7d39463e: am d1015de9: Merge "adb: Add USB vendor ID for Vizio"
* commit 'b1cfa672014d197d6d4d12fca0d40cd59de436bc':
  adb: Add USB vendor ID for Vizio
2011-07-29 06:22:44 -07:00
Mike Lockwood b1cfa67201 am 7d39463e: am d1015de9: Merge "adb: Add USB vendor ID for Vizio"
* commit '7d39463eff2a9002208f34f1d2ce4d62546f6c3a':
  adb: Add USB vendor ID for Vizio
2011-07-29 06:20:10 -07:00
Mike Lockwood 7d39463eff am d1015de9: Merge "adb: Add USB vendor ID for Vizio"
* commit 'd1015de919308ec0a99643f5b2837774d7a3dc62':
  adb: Add USB vendor ID for Vizio
2011-07-29 06:17:57 -07:00