| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
|/
|
|
|
| |
Bug: 18556103
Change-Id: Ife07cf63948f1c248bcde5685cdb6d89c373d988
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Close pipe fds[1] as soon as possible. Otherwise it may block when
reading from fds[0] even though the child process has exited early
and closed its copy of fds[1].
2. Waitpid after pipe is closed. Otherwise the screencap child process
may block while writing fds[1], because the fds[0] is not closed
yet. If we close fds[0] first, then the screencap child process will
die because of SIGPIPE, and waitpid will return correctly.
Change-Id: I433c95a5ba2eb3045727fc39a49fd9557fb1a1d1
Signed-off-by: Bao Haojun <baohaojun@gmail.com>
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| | |
More UD literals that weren't caught by hammerhead...
Change-Id: I6b0abdeef41d1f40c2fe86843b5149925ff6356e
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I933542dfdec7693f856d7368ff5661957ccabf74
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | | |
Change-Id: Ie246b3c2de3f19b95693f634b0ebd46bdcf3962b
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I29a6bf5e628e29e9b635fac2b23106220e36d6a3
|
|\ \ \ \
| |/ / /
|/| | | |
|
|/ / /
| | |
| | |
| | | |
Change-Id: I2928534bc70c6c77cdc90b658029567f00e7f6ad
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This should probably be in libcutils instead, so code that needs to
care about Windows can use readv/writev.
Change-Id: I7c2ceec3f742cee0e44f69fd4c88459376bd0e08
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I9b5328cea3c88a75135dcb0711cbb5471e8fa388
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For build-system CFLAGS clean-up, fix unused variables.
Fix missing close of file descriptors. Explicitly exit after a fork.
Change-Id: I76affbc8647c3a760ed3cacc7f3ada3f59e283b1
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For build-system CFLAGS clean-up, fix unused variables.
Use a #define instead of static variable in a header file.
Change-Id: Id47bf38e51644b61a9f3ac1893a16553695f1aac
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
For build-system CFLAGS clean-up, fix unused variables.
Change-Id: I841192e92585814b8691d544cc48433b2ca1b3d3
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For build-system CFLAGS clean-up, remove unused variable.
Change-Id: I34bd33fd24b02ee58b64029146c253c61651d45f
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
For build-system CFLAGS clean-up, remove unused variables.
Change-Id: Ifc5884518bfdb744ea9823b98db544dbe59c20d2
|
|\ \ \ \ |
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: Iedb371ad0f1f74822b3ff4bc1b7b1f9e6ecd300d
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Icdc6766a7ef853bc846fe811fa2ad2284ed8a18f
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I67ad7248c26561d394e66901e90ef5814ec69fb3
|
|\ \ \ \ \ |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
No pun intended.
Change-Id: Ic1d9c8fa9719a7749b4eeaeac20df313600c0b88
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: I36c98135bb4ab1e2ca7137b7a83782fce5ac683a
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's simpler; Also whenever toolbox is updated the symlinks get
recreated.
Change-Id: I03fb61a5e0f14fd4ed23680dd6db87eed5b46787
|
|\ \ \ \ \ |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These have all been obsolete since we first moved to git!
Change-Id: Ie5bfc1b30000930ef6a604b4313ff7af1b7c4573
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I15ae14542214a3802d43892da0d03cfb33e63c96
|
|\ \ \ \ \ \ |
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ia654cdca14a4fda958a406f5e6ccd0919ce88a8f
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ifba91dd93a9c8170f8837c413756554e117be894
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|