Commit Graph

7919 Commits

Author SHA1 Message Date
Jesse Hall 7d2998ea18 Merge "Add NativeHandle, a refcounted C++ wrapper around a native_handle_t*" 2014-03-06 19:05:25 +00:00
Jesse Hall 29cc9ce49a Add NativeHandle, a refcounted C++ wrapper around a native_handle_t*
Change-Id: I232dfa2ad2e4a463a39e2e901e4097dffe278cc3
2014-03-05 16:12:41 -08:00
Mathieu Chartier fa810f4c4e am d8ed565f: am f27f9e10: am 51ebffd8: Merge "Add free to CloseArchive."
* commit 'd8ed565f1541ccda63254f236064fa22be9ecbf9':
  Add free to CloseArchive.
2014-03-05 19:19:01 +00:00
Mathieu Chartier d8ed565f15 am f27f9e10: am 51ebffd8: Merge "Add free to CloseArchive."
* commit 'f27f9e10f50a015ec2d76a2f3579a5d11932965e':
  Add free to CloseArchive.
2014-03-05 19:16:28 +00:00
Mathieu Chartier f27f9e10f5 am 51ebffd8: Merge "Add free to CloseArchive."
* commit '51ebffd8a5536af09b60950bf7cf6f020c962f8a':
  Add free to CloseArchive.
2014-03-05 19:13:53 +00:00
Mathieu Chartier 51ebffd8a5 Merge "Add free to CloseArchive." 2014-03-05 19:10:28 +00:00
Todd Poynor 6f26891d67 libsuspend: use wakeup count interface for system suspend
Use the wakeup count interface for requesting suspend, instead of
autosleep, to allow userspace to collect stats on suspend/resume
activity.

Change-Id: I44b5ef031b2bdc5b09c904fb2adbbe16370c2984
2014-03-04 20:02:53 -08:00
Colin Cross d030033a39 am 933f0b88: am f21b6b92: am 87a56eb6: Merge "Use the getopt function in compliance with the standard."
* commit '933f0b88e4232f58f171b8217d7871f97a927c57':
  Use the getopt function in compliance with the standard.
2014-03-05 01:50:32 +00:00
Colin Cross 933f0b88e4 am f21b6b92: am 87a56eb6: Merge "Use the getopt function in compliance with the standard."
* commit 'f21b6b9217efc86ae753e5c57a05ff05e631bd3e':
  Use the getopt function in compliance with the standard.
2014-03-05 01:47:58 +00:00
Mathieu Chartier 5f98b12640 Add free to CloseArchive.
Currently CloseArchive doesn't call free and call sites don't appear
to either. I could not find any call sites which manually freed the
archive by deleting the handle. This fixes several memory leaks.

Change-Id: I21f187dde60fd87e6e54bde06de9e76fd0791104
2014-03-04 17:44:58 -08:00
Colin Cross f21b6b9217 am 87a56eb6: Merge "Use the getopt function in compliance with the standard."
* commit '87a56eb6cc616150d536ed0e70cf8e69e1d5edf6':
  Use the getopt function in compliance with the standard.
2014-03-05 01:44:22 +00:00
Colin Cross 87a56eb6cc Merge "Use the getopt function in compliance with the standard." 2014-03-05 01:39:57 +00:00
Nick Kralevich 6e681af519 am 71ca8381: am 6783d7cf: am 93412622: am 726beb6c: am 6941a83c: don\'t load property_contexts from /data
* commit '71ca8381b880d6402e273dc1c9a10a25e5b82572':
  don't load property_contexts from /data
2014-03-04 20:46:23 +00:00
Nick Kralevich 71ca8381b8 am 6783d7cf: am 93412622: am 726beb6c: am 6941a83c: don\'t load property_contexts from /data
* commit '6783d7cf166feb943a5cdcd74c8da1f7a160fc2d':
  don't load property_contexts from /data
2014-03-04 20:42:29 +00:00
Nick Kralevich 6783d7cf16 am 93412622: am 726beb6c: am 6941a83c: don\'t load property_contexts from /data
* commit '93412622859014cc8bd39c30101096d03300845c':
  don't load property_contexts from /data
2014-03-04 20:36:57 +00:00
Dmitriy Ivanov fbbc85ea8e am 6bb6372b: am 508240c3: am 2a16a584: Merge "fix: making lsof show devies and loaded .so file names correctly"
* commit '6bb6372b3ee930e2e8517262ec7db4f057a50725':
  fix: making lsof show devies and loaded .so file names correctly
2014-03-04 20:16:46 +00:00
Dmitriy Ivanov 6bb6372b3e am 508240c3: am 2a16a584: Merge "fix: making lsof show devies and loaded .so file names correctly"
* commit '508240c3798799e5d177d03604798f38366a4a4a':
  fix: making lsof show devies and loaded .so file names correctly
2014-03-04 20:13:54 +00:00
Dmitriy Ivanov 508240c379 am 2a16a584: Merge "fix: making lsof show devies and loaded .so file names correctly"
* commit '2a16a5847a2811626a108f8cbd7606680647df86':
  fix: making lsof show devies and loaded .so file names correctly
2014-03-04 20:10:21 +00:00
Dmitriy Ivanov 2a16a5847a Merge "fix: making lsof show devies and loaded .so file names correctly" 2014-03-04 20:05:22 +00:00
Nick Kralevich da56648374 am be2dfb68: am f773d127: resolved conflicts for merge of 4bf3bb67 to klp-modular-dev-plus-aosp
* commit 'be2dfb684caf760937bae61b79c7dfe390be04d0':
  Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
2014-03-04 19:58:58 +00:00
Nick Kralevich be2dfb684c am f773d127: resolved conflicts for merge of 4bf3bb67 to klp-modular-dev-plus-aosp
* commit 'f773d127849b25838df032bced80ecf9f98a0633':
  Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
2014-03-04 19:56:37 +00:00
Nick Kralevich 9341262285 am 726beb6c: am 6941a83c: don\'t load property_contexts from /data
* commit '726beb6c4a02d14cc4637ec61cba09dbe097a149':
  don't load property_contexts from /data
2014-03-04 19:37:34 +00:00
Nick Kralevich f773d12784 resolved conflicts for merge of 4bf3bb67 to klp-modular-dev-plus-aosp
Change-Id: I20b005efaa84d86d22f6af7a81ade36a606a1d21
2014-03-04 11:35:19 -08:00
Nick Kralevich 726beb6c4a am 6941a83c: don\'t load property_contexts from /data
* commit '6941a83c2dd34df606df13972576fbc23172c3c5':
  don't load property_contexts from /data
2014-03-04 19:34:16 +00:00
Dmitriy Ivanov 7c1fc0ed42 fix: making lsof show devies and loaded .so file names correctly
Change-Id: I4b6f2e0015f8cfa18400fa4bd08460a07e29a51b
2014-03-04 11:17:57 -08:00
Nick Kralevich 6941a83c2d don't load property_contexts from /data
Bug: 12613118
Change-Id: I5a84b13d2151075d5136e3682431fbcc9307df13
(cherry picked from commit dc3a42bb11)
2014-03-04 19:14:34 +00:00
Daniel Cashman 4bf3bb679a Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file." into klp-modular-dev 2014-03-04 18:29:30 +00:00
Nick Kralevich dcc4a31da9 am 3e36cbb0: am 7cd7ad52: am 5e96d89a: am 3530b9cd: am 02916aa2: Remove obsolete vdc call.
* commit '3e36cbb096ea6334e136446821fc2897a2e0c64e':
  Remove obsolete vdc call.
2014-03-04 08:34:03 +00:00
Nick Kralevich 3e36cbb096 am 7cd7ad52: am 5e96d89a: am 3530b9cd: am 02916aa2: Remove obsolete vdc call.
* commit '7cd7ad5216d4c4946ebbefc78382ef78d510afc1':
  Remove obsolete vdc call.
2014-03-04 08:32:05 +00:00
Nick Kralevich 7cd7ad5216 am 5e96d89a: am 3530b9cd: am 02916aa2: Remove obsolete vdc call.
* commit '5e96d89aa5da72fdd20c719cd35eff36e27ecab2':
  Remove obsolete vdc call.
2014-03-04 08:29:46 +00:00
Nick Kralevich 5e96d89aa5 am 3530b9cd: am 02916aa2: Remove obsolete vdc call.
* commit '3530b9cd4675a5e0c5c02dd765450b84ace67401':
  Remove obsolete vdc call.
2014-03-04 08:26:45 +00:00
Nick Kralevich 3530b9cd46 am 02916aa2: Remove obsolete vdc call.
* commit '02916aa20e3ffbe4b738bb12dc1607a7ec6a8c37':
  Remove obsolete vdc call.
2014-03-04 08:23:06 +00:00
Nick Kralevich 02916aa20e Remove obsolete vdc call.
Since ca8e66a8b0, init has
been handling reboots and filesystem unmounts. Remove obsolete
call to vdc.

Bug: 12504045
Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881
(cherry picked from commit 225459a5da)
2014-03-04 04:54:00 +00:00
Mark Salyzyn 1d39c53e29 am 00eaae3a: am 556c9c24: am 858d0dd1: Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"
* commit '00eaae3aaa6ea3ca2c9c00e0559fa6937ce33e37':
  set /proc/sys/net/unix/max_dgram_qlen to large value
2014-03-04 01:00:21 +00:00
Mark Salyzyn 00eaae3aaa am 556c9c24: am 858d0dd1: Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"
* commit '556c9c245de257efe8bda09ff23d2c4f7add5e49':
  set /proc/sys/net/unix/max_dgram_qlen to large value
2014-03-04 00:16:31 +00:00
Mark Salyzyn 556c9c245d am 858d0dd1: Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"
* commit '858d0dd1e529575181abd8de607e46f7b273cc9d':
  set /proc/sys/net/unix/max_dgram_qlen to large value
2014-03-04 00:14:13 +00:00
Mark Salyzyn 858d0dd1e5 Merge "set /proc/sys/net/unix/max_dgram_qlen to large value" 2014-03-04 00:06:26 +00:00
Mark Salyzyn 581edc1b6c set /proc/sys/net/unix/max_dgram_qlen to large value
- init: set /proc/sys/net/unix/max_dgram_qlen to 300
- libsysutils: Add listen backlog argument to startListener
- logd: set listen backlog to 300

Change-Id: Id6d37d6c937ba2d221e76258d89c9516619caeec
2014-03-03 12:48:00 -08:00
Lajos Molnar 3a436c1c3c Merge "Adding opus to list of audio formats" 2014-03-03 19:45:49 +00:00
Jesse Hall a4c673e9af am b497340c: am a27fcee6: am ba23d539: Merge "Fix the handling of CodeCache return codes in pixelflinger"
* commit 'b497340cb1c36b92fb298c52f041e1f9bdd990f2':
  Fix the handling of CodeCache return codes in pixelflinger
2014-03-03 18:02:44 +00:00
Jesse Hall b497340cb1 am a27fcee6: am ba23d539: Merge "Fix the handling of CodeCache return codes in pixelflinger"
* commit 'a27fcee621b5b680702ff5c30c858dbc5e287c51':
  Fix the handling of CodeCache return codes in pixelflinger
2014-03-03 17:59:29 +00:00
Jesse Hall a27fcee621 am ba23d539: Merge "Fix the handling of CodeCache return codes in pixelflinger"
* commit 'ba23d539328af36b2040a5bcbdcc840810a4df51':
  Fix the handling of CodeCache return codes in pixelflinger
2014-03-03 17:56:32 +00:00
Jesse Hall ba23d53932 Merge "Fix the handling of CodeCache return codes in pixelflinger" 2014-03-03 17:49:12 +00:00
David Gumberg 1c3cb91f72 Use the getopt function in compliance with the standard.
This is a simple change to the use of getopt in reboot.c, as per the standard,
getopt does NOT return an EOF, it returns a -1, (this was done to remove
getopt's dependence on stdio.h), and since the standard does not guarantee 
that EOF is -1, and the documentation tells us that getopt returns -1, 
in my judgement it would be best to test for -1, rather than EOF.

Change-Id: I63a3bb7011eb60753eb910221bbe8ce0a71e6679
Signed-off-by: David Gumberg <davidzgumberg@gmail.com>
2014-03-02 18:35:49 +00:00
Elliott Hughes 6a732d423f am 2ae567c8: am 1a5bc28f: am a0e4d164: Merge "Declare (and simplify) uid_from_user."
* commit '2ae567c82ee34fb7e51e797fce140313de34338b':
  Declare (and simplify) uid_from_user.
2014-03-01 01:51:23 +00:00
Elliott Hughes 2ae567c82e am 1a5bc28f: am a0e4d164: Merge "Declare (and simplify) uid_from_user."
* commit '1a5bc28faed5e2060a6f3e1b8135fe82dc2cb319':
  Declare (and simplify) uid_from_user.
2014-03-01 01:48:16 +00:00
Elliott Hughes 1a5bc28fae am a0e4d164: Merge "Declare (and simplify) uid_from_user."
* commit 'a0e4d1643cc74748c3b5b05da0d41b7dbcda23e5':
  Declare (and simplify) uid_from_user.
2014-03-01 01:43:18 +00:00
Elliott Hughes a0e4d1643c Merge "Declare (and simplify) uid_from_user." 2014-03-01 01:39:20 +00:00
Elliott Hughes e12311fcb2 am f767e9c9: am 7c5a9d24: am fbcdf6f9: Merge "Switch to BSD chown (for -R, primarily)."
* commit 'f767e9c97a0719b342e91c7770885c108a66e02f':
  Switch to BSD chown (for -R, primarily).
2014-03-01 01:31:51 +00:00
Elliott Hughes f767e9c97a am 7c5a9d24: am fbcdf6f9: Merge "Switch to BSD chown (for -R, primarily)."
* commit '7c5a9d24aa173e9ee5e7133be43b9c98c8112ab7':
  Switch to BSD chown (for -R, primarily).
2014-03-01 01:28:50 +00:00