Commit graph

11291 commits

Author SHA1 Message Date
Elliott Hughes
22a40e6a7a Use __arm__ instead of ARCH_ARM.
Change-Id: I777da5757f01d8328d5475e654d56d81dc802655
2014-12-04 14:17:26 -08:00
Elliott Hughes
8163104b3f Merge "Remove dead code." 2014-12-04 19:06:48 +00:00
Badhri Jagan Sridharan
971336213a Merge "system: core: fastboot: Increase USB protocol buffer size to 1024" 2014-12-04 18:58:46 +00:00
Elliott Hughes
d05f1d51ad Remove dead code.
Intel accidentally made this dead code in 2010 with commit
2bef93cc20, and no one's ever noticed.

Since no one noticing for so long implies that it doesn't matter,
let's just kill the supposedly optimized code.

Change-Id: Id5b37056cb8884c20bfe2db362e19b46f02e337d
2014-12-03 19:35:16 -08:00
Elliott Hughes
6855af4135 Merge "libpixelflinger should #define __ARM_HAVE_NEON." 2014-12-04 01:30:05 +00:00
Elliott Hughes
053ca3fc42 libpixelflinger should #define __ARM_HAVE_NEON.
Bug: 18556103
Change-Id: Ife07cf63948f1c248bcde5685cdb6d89c373d988
2014-12-03 17:15:14 -08:00
dcashman
98069027bd Move property_context label handling to libselinux.
Change-Id: I76e2ed95d4e4f8618458e63d30ae82e37d1acf7b
2014-12-03 15:18:40 -08:00
Elliott Hughes
023bc0a426 Merge "Fix deadlocks." 2014-12-03 18:38:05 +00:00
Dan Albert
bc2602068d Merge "Fix build." 2014-11-28 20:57:19 +00:00
Dan Albert
fd1c060eaa Fix build.
More UD literals that weren't caught by hammerhead...

Change-Id: I6b0abdeef41d1f40c2fe86843b5149925ff6356e
2014-11-28 12:30:46 -08:00
Elliott Hughes
809965cc36 Merge "Lose readlink to toybox." 2014-11-27 19:06:18 +00:00
Elliott Hughes
0085d948f2 Lose readlink to toybox.
Change-Id: I933542dfdec7693f856d7368ff5661957ccabf74
2014-11-26 15:19:47 -08:00
Stephen Hines
ba1552bd24 Merge "Clarify the strcmp() with the empty string." 2014-11-26 22:58:02 +00:00
Stephen Hines
04f895314d Clarify the strcmp() with the empty string.
Change-Id: Ie246b3c2de3f19b95693f634b0ebd46bdcf3962b
2014-11-26 14:54:43 -08:00
Stephen Hines
f66486ef09 Merge "Fix incorrect path name check." 2014-11-26 22:32:23 +00:00
Stephen Hines
60f21a7f61 Fix incorrect path name check.
This was caught by clang 3.6's -Wpointer-bool-conversion. The device_path
field is a char[256], and thus never NULL. The intention for this code was
to check whether or not there is a named path at all. Checking whether this
is an empty string matches the original intent.

Change-Id: I5ccedc03167e6a457e472089de26130aff7f96e3
2014-11-26 14:30:01 -08:00
Elliott Hughes
b553a18a02 Merge "Lose dmesg to toybox." 2014-11-26 19:37:30 +00:00
Elliott Hughes
38228a2c10 Lose vmstat to toybox.
Change-Id: Ifcb64292bb147ad592d1a627bb8dbb684f4a27e4
2014-11-25 17:17:17 -08:00
Elliott Hughes
50ac7725a5 Merge "Lose nohup to toybox." 2014-11-26 01:09:43 +00:00
Elliott Hughes
402f7e97d5 Lose nohup to toybox.
Change-Id: I2928534bc70c6c77cdc90b658029567f00e7f6ad
2014-11-25 16:58:53 -08:00
Elliott Hughes
8e8cd0cf7a Lose dmesg to toybox.
Change-Id: I29a6bf5e628e29e9b635fac2b23106220e36d6a3
2014-11-25 16:23:15 -08:00
Elliott Hughes
c0ac9313e9 Merge "Only Windows doesn't have <sys/uio.h>." 2014-11-25 21:48:30 +00:00
Elliott Hughes
111e3d3d9c Only Windows doesn't have <sys/uio.h>.
This should probably be in libcutils instead, so code that needs to
care about Windows can use readv/writev.

Change-Id: I7c2ceec3f742cee0e44f69fd4c88459376bd0e08
2014-11-25 13:27:43 -08:00
Elliott Hughes
9c7e5c7c33 Merge "Only Win32 doesn't have writev." 2014-11-25 18:34:36 +00:00
Andreas Gampe
0b7e651615 Merge "Libion: Remove unused variables" 2014-11-25 18:28:15 +00:00
Elliott Hughes
2a5fecb3cd Only Win32 doesn't have writev.
Change-Id: I9b5328cea3c88a75135dcb0711cbb5471e8fa388
2014-11-25 10:25:42 -08:00
Andreas Gampe
f0a54c17d8 Libion: Remove unused variables
For build-system CFLAGS clean-up, fix unused variables.

Fix missing close of file descriptors. Explicitly exit after a fork.

Change-Id: I76affbc8647c3a760ed3cacc7f3ada3f59e283b1
2014-11-25 10:16:06 -08:00
Andreas Gampe
705accc2a3 Merge "Init: Remove unused variables" 2014-11-25 17:50:01 +00:00
Andreas Gampe
bac1dfa8c0 Merge "Lmkd: Fix unused variables" 2014-11-25 04:38:33 +00:00
Andreas Gampe
c165b01a8b Lmkd: Fix unused variables
For build-system CFLAGS clean-up, fix unused variables.

Change-Id: I841192e92585814b8691d544cc48433b2ca1b3d3
2014-11-24 20:32:42 -08:00
Andreas Gampe
a016c42b4f Init: Remove unused variables
For build-system CFLAGS clean-up, fix unused variables.

Use a #define instead of static variable in a header file.

Change-Id: Id47bf38e51644b61a9f3ac1893a16553695f1aac
2014-11-24 19:52:41 -08:00
Andreas Gampe
1690b49e63 Merge "Libsuspend: Remove unused variable" 2014-11-25 03:29:17 +00:00
Andreas Gampe
487f98447a Libsuspend: Remove unused variable
For build-system CFLAGS clean-up, remove unused variable.

Change-Id: I34bd33fd24b02ee58b64029146c253c61651d45f
2014-11-24 18:53:44 -08:00
Andreas Gampe
03be492842 Merge "Healthd: Remove unused variables" 2014-11-25 02:53:28 +00:00
Andreas Gampe
c0970d31f3 Healthd: Remove unused variables
For build-system CFLAGS clean-up, remove unused variables.

Change-Id: Ifc5884518bfdb744ea9823b98db544dbe59c20d2
2014-11-24 18:48:55 -08:00
Elliott Hughes
077ff30954 Merge "Lose mkswap, swapoff, and swapon to toybox." 2014-11-25 00:27:12 +00:00
Elliott Hughes
7376cef149 Lose mkswap, swapoff, and swapon to toybox.
Change-Id: Iedb371ad0f1f74822b3ff4bc1b7b1f9e6ecd300d
2014-11-24 16:13:03 -08:00
Elliott Hughes
75afd63340 Merge "Lose printenv to toybox." 2014-11-24 23:50:06 +00:00
Ying Wang
8d69817940 Merge "Use LOCAL_POST_INSTALL_CMD to simplify symlink creation." 2014-11-24 23:48:56 +00:00
Ying Wang
dbb78d65c0 Use LOCAL_POST_INSTALL_CMD to simplify symlink creation.
Change-Id: I67ad7248c26561d394e66901e90ef5814ec69fb3
2014-11-24 15:43:34 -08:00
Elliott Hughes
64d2944674 Lose printenv to toybox.
Change-Id: Icdc6766a7ef853bc846fe811fa2ad2284ed8a18f
2014-11-24 15:32:51 -08:00
Elliott Hughes
bcece29c44 Merge "Lose sleep to toybox." 2014-11-24 23:27:16 +00:00
Elliott Hughes
493faf525c Lose sleep to toybox.
No pun intended.

Change-Id: Ic1d9c8fa9719a7749b4eeaeac20df313600c0b88
2014-11-24 15:22:22 -08:00
Elliott Hughes
e494c513f9 Merge "Lose sync to toybox." 2014-11-24 23:02:34 +00:00
Elliott Hughes
47b3f9e29d Lose sync to toybox.
Change-Id: I36c98135bb4ab1e2ca7137b7a83782fce5ac683a
2014-11-24 14:53:09 -08:00
Ying Wang
9f693b8f1e Merge "Use LOCAL_POST_LINK_CMD to install toolbox symlinks" 2014-11-24 22:17:57 +00:00
Elliott Hughes
f3c8eb838d Merge "Remove dead tools." 2014-11-24 22:15:31 +00:00
Ying Wang
7d45be0e4a Use LOCAL_POST_LINK_CMD to install toolbox symlinks
It's simpler; Also whenever toolbox is updated the symlinks get
recreated.

Change-Id: I03fb61a5e0f14fd4ed23680dd6db87eed5b46787
2014-11-24 14:09:24 -08:00
Elliott Hughes
3024977037 Remove dead tools.
These have all been obsolete since we first moved to git!

Change-Id: Ie5bfc1b30000930ef6a604b4313ff7af1b7c4573
2014-11-24 14:03:28 -08:00
Elliott Hughes
8eb770d37c Merge "Remove long-dead readtty." 2014-11-24 21:43:32 +00:00