3c5d125ed7
This factors out the boiler-plate code from the sample app to a common glue code that can be used for everyone writing this style of app: a dedicated app thread that takes care of waiting for events and processing them. As part of doing this, ALooper has a new facility to allow registration of fds that cause ALooper_pollOnce() to return the fd that has data, allowing the app to drive the loop without callbacks. Hopefully this makes some people feel better. :) Also do some other cleanup of the ALooper API, plus some actual documentation. Change-Id: Ic53bd56bdf627e3ba28a3c093faa06a92be522b8 |
||
---|---|---|
.. | ||
ashmem.h | ||
Asset.h | ||
AssetDir.h | ||
AssetManager.h | ||
Atomic.h | ||
BackupHelpers.h | ||
BitSet.h | ||
BufferedTextOutput.h | ||
ByteOrder.h | ||
CallStack.h | ||
Debug.h | ||
Endian.h | ||
Errors.h | ||
FileMap.h | ||
Flattenable.h | ||
KeyedVector.h | ||
List.h | ||
Log.h | ||
misc.h | ||
ObbFile.h | ||
PollLoop.h | ||
Pool.h | ||
RefBase.h | ||
ResourceTypes.h | ||
SharedBuffer.h | ||
Singleton.h | ||
SortedVector.h | ||
StopWatch.h | ||
String8.h | ||
String16.h | ||
StringArray.h | ||
SystemClock.h | ||
TextOutput.h | ||
threads.h | ||
Timers.h | ||
TypeHelpers.h | ||
Vector.h | ||
VectorImpl.h | ||
ZipFileCRO.h | ||
ZipFileRO.h | ||
ZipUtils.h |