4fe6c3e51be77e35f40872cdbca6c80f8f8b7ecb |
|
14-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Replace epoll() with poll() and rename PollLoop to Looper. As part of this change, consolidated and cleaned up the Looper API so that there are fewer distinctions between the NDK and non-NDK declarations (no need for two callback types, etc.). Removed the dependence on specific constants from sys/poll.h such as POLLIN. Instead looper.h defines events like LOOPER_EVENT_INPUT for the events that it supports. That should help make any future under-the-hood implementation changes easier. Fixed a couple of compiler warnings along the way. Change-Id: I449a7ec780bf061bdd325452f823673e2b39b6ae
/frameworks/base/libs/utils/Android.mk
|
b100cbf178e91d6652ebbad3ed36684cacb9d10e |
|
26-Jul-2010 |
Christopher Tate <ctate@google.com> |
Support streaming of compressed assets > 1 megabyte Compressed assets larger than one megabyte are now decompressed on demand rather than being decompressed in their entirety and held in memory. Reading the data in order is relatively efficient, as is seeking forward in the stream. Seeking backwards is supported, but requires reprocessing the compressed data from the beginning, so is very inefficient. In addition, the size limit on compressed assets has been eliminated. Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad
/frameworks/base/libs/utils/Android.mk
|
fd03582995e0fce963dd0fa0669e3211b74c0dd7 |
|
01-Jul-2010 |
Jeff Brown <jeffbrown@google.com> |
Add initial gamepad support. Change-Id: I0439648f6eb5405f200e4223c915eb3a418b32b9
/frameworks/base/libs/utils/Android.mk
|
7cee34a051eb0087322c8b965e498f88b1aa52d3 |
|
01-Jun-2010 |
Kenny Root <kroot@google.com> |
Add OBB file helper class ObbFile is a binary blob that will be used in packaging large files with smaller APKs. Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63
/frameworks/base/libs/utils/Android.mk
|
d890cbf700695c869e6b45cddf7f132484697588 |
|
14-Jun-2010 |
Jeff Brown <jeffbrown@google.com> |
Remove PollLoop from host build. We can't build (and we don't need) PollLoop in the SDK on all platforms. Change-Id: I3b0f327bbb8bc58b9b8630b0161cf360403fea68
/frameworks/base/libs/utils/Android.mk
|
46b9ac0ae2162309774a7478cd9d4e578747bfc2 |
|
23-Apr-2010 |
Jeff Brown <jeffbrown@google.com> |
Native input dispatch rewrite work in progress. The old dispatch mechanism has been left in place and continues to be used by default for now. To enable native input dispatch, edit the ENABLE_NATIVE_DISPATCH constant in WindowManagerPolicy. Includes part of the new input event NDK API. Some details TBD. To wire up input dispatch, as the ViewRoot adds a window to the window session it receives an InputChannel object as an output argument. The InputChannel encapsulates the file descriptors for a shared memory region and two pipe end-points. The ViewRoot then provides the InputChannel to the InputQueue. Behind the scenes, InputQueue simply attaches handlers to the native PollLoop object that underlies the MessageQueue. This way MessageQueue doesn't need to know anything about input dispatch per-se, it just exposes (in native code) a PollLoop that other components can use to monitor file descriptor state changes. There can be zero or more targets for any given input event. Each input target is specified by its input channel and some parameters including flags, an X/Y coordinate offset, and the dispatch timeout. An input target can request either synchronous dispatch (for foreground apps) or asynchronous dispatch (fire-and-forget for wallpapers and "outside" targets). Currently, finding the appropriate input targets for an event requires a call back into the WindowManagerServer from native code. In the future this will be refactored to avoid most of these callbacks except as required to handle pending focus transitions. End-to-end event dispatch mostly works! To do: event injection, rate limiting, ANRs, testing, optimization, etc. Change-Id: I8c36b2b9e0a2d27392040ecda0f51b636456de25
/frameworks/base/libs/utils/Android.mk
|
08b3d2e5ef01a5114424a871934dd9fc153352c0 |
|
06-May-2010 |
Dan Egnor <egnor@google.com> |
Make static versions of libutils and libbinder. Fix some small static-initialization-order issues (and a static- initializers-missing issue) that result from doing so. The static libraries don't actually get used for anything real at the moment -- they're used for perf tests of bug 2660235. Bug: 2660235 Change-Id: Iee2f38f79cc93b395e8d0a5a144ed92461f5ada0
/frameworks/base/libs/utils/Android.mk
|
c86727f5805f28fbd25da141c50fb6843f364f3a |
|
12-Feb-2010 |
Mathias Agopian <mathias@google.com> |
remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). Add a Flattenable interface to libutils which can be used to flatten an object into bytestream + filedescriptor stream. Parcel is modified to handle Flattenable. And GraphicBuffer implements Flattenable. Except for the overlay classes libui is now independent of libbinder.
/frameworks/base/libs/utils/Android.mk
|
a9886c580b299984e62303a995bf7b13276b5bc8 |
|
12-Feb-2010 |
Kenny Root <kroot@google.com> |
Totally remove Unicode.cpp and rely on ICU Unicode.cpp used a packed data table for character data that essentially duplicated ICU's functionality. Change-Id: Ia68fe4ac94e89dc68d9a3f45f33f6e648a5500b7
/frameworks/base/libs/utils/Android.mk
|
b1c4ca5ad21ae63cd5af2cfc1be82ba176d25195 |
|
13-Jul-2009 |
Mathias Agopian <mathias@google.com> |
implement Mutex and Condition with pthread instead of calling futex directly. internally pthread uses futex. the implementation consists of simple inlines there are no implementation files anymore.
/frameworks/base/libs/utils/Android.mk
|
e583a4ea8c90105eee9b408d39bca3a4af6a2569 |
|
06-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of LogSocket which wasn't even implemented (enabled)
/frameworks/base/libs/utils/Android.mk
|
55e3d60da5626752ffe1d15150d35ccb8fa644e7 |
|
05-Jun-2009 |
Mathias Agopian <mathias@google.com> |
break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of inet_address.h and Socket.h which were not used
/frameworks/base/libs/utils/Android.mk
|
8ed6beb515460001a0f5ee91b874289fbb053768 |
|
05-Jun-2009 |
Mathias Agopian <mathias@google.com> |
rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file. StringArray is used in two places in framework/base and in the Sim. Ideally we should get rid of it and use Vector<String8> instead of creating new code.
/frameworks/base/libs/utils/Android.mk
|
1b6aee15157f0236ac1fc7885735609bf27171d3 |
|
05-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 2a318867: Merge change 3203 into donut Merge commit '2a3188672ab2b65c0ce7c9c598a463e382c47696' * commit '2a3188672ab2b65c0ce7c9c598a463e382c47696': rename a few files to camel-case, add copyright notices
|
8ae2335a3c93d0c00e998fdec18f64dfe43b94cb |
|
04-Jun-2009 |
Mathias Agopian <mathias@google.com> |
rename a few files to camel-case, add copyright notices
/frameworks/base/libs/utils/Android.mk
|
696959c7b6c5d8d1d1fbccdc5c1e9ae09363c064 |
|
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of TimerProbe which is never used
/frameworks/base/libs/utils/Android.mk
|
14f955b5d76233668f6bb0e9642daa8a59fa42cc |
|
01-Jun-2009 |
Mathias Agopian <mathias@google.com> |
get rid of sleepForInterval() which didn't seem to be used anywhere in the source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there.
/frameworks/base/libs/utils/Android.mk
|
7fea935590ad5629a1c8fe004f57ce79cf1c7a5a |
|
28-May-2009 |
Andy McFadden <fadden@android.com> |
Sim-only files move, part 2/2. Move Pipe and executablepath from libutils to the simulator, since nothing else uses them.
/frameworks/base/libs/utils/Android.mk
|
25ba5b6564224dceefa086b5c439ef28dad530ca |
|
19-May-2009 |
Mathias Agopian <mathias@google.com> |
checkpoint: split libutils into libutils + libbinder
/frameworks/base/libs/utils/Android.mk
|
4535e40544aeb957d44fad75fbe5676effe03689 |
|
15-May-2009 |
Joe Onorato <joeo@android.com> |
Implement the C++ class to write the backed up file data.
/frameworks/base/libs/utils/Android.mk
|
3ad977b41c6e4ef30c2f4f316b909b742ffc04aa |
|
05-May-2009 |
Joe Onorato <joeo@android.com> |
Add some C++ code to do raw files for backup
/frameworks/base/libs/utils/Android.mk
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/libs/utils/Android.mk
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/libs/utils/Android.mk
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/libs/utils/Android.mk
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/libs/utils/Android.mk
|