e0cdd3399119823e2f1ec75161c1cf67829651bf |
18-Jul-2014 |
Sharvil Nanavati <sharvil@google.com> |
Fix build warning about unused argument. Change-Id: I3ae26dfc4ffd97d039386f55e3290a6cf36ae17d
larm_test.cpp
|
f0e7c8b895c61104ce962b7c5e3705a32943d711 |
02-Jul-2014 |
Sharvil Nanavati <sharvil@google.com> |
A simple, thread-safe timer API for bluedroid. Change-Id: I5fa21b48506e4d1d65da4b8bedbbf39e03dad559
larm_test.cpp
|
94347a59972868cf6d74f92cf793eb0b4b97c45a |
05-Jul-2014 |
Sharvil Nanavati <sharvil.nanavati@gmail.com> |
Extend the threading library to back thread with an event queue. This change allows arbitrary functions to be called on a given thread which will clean up much of the dispatch code in bluedroid. Looking forward, this code will be extended to allow additional objects and queues to be attached to a thread for more customizable dispatch. Change-Id: Id3a16256c264e3d35e6db5a562cb0e7762676457
hread_test.cpp
|
118bdd58389c77dd69b37e377b4e98ea89d2b14e |
08-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Start of threading library So far it's a thin shim around pthreads which allows setting thread name and querying tids from any thread. Change-Id: Id156f662778806a54a8a302be424ee051fac4710
hread_test.cpp
|
6c039540a9315557cd85f76b33fdcc952ea6851f |
03-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Fix signed - unsigned comparison in bluedroid test. Change-Id: I702e9406a31424f27de2b600cb55c92e255917dd
eactor_test.cpp
|
19084c6242d8ddb366a52eba5084c974280cce0f |
24-Jun-2014 |
Sharvil Nanavati <sharvil@google.com> |
Implement the reactor pattern in C. This code will form the basis of most select-based event loops in bluedroid. It provides a thread-safe abort routine and a separation between the dispatcher and event handler code. Change-Id: I6f1c033d18f045ba273187dab607c209dfe32d30
eactor_test.cpp
|
f886773891f1cfe37f8824ed8e63230954e5c2d8 |
05-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add a generic config parser for the INI file format. There are currently multiple INI parsers in bluedroid and they're special-purpose for the task at hand even though they parse the same format. This implementation is general-purpose, loosely coupled with the rest of bluedroid, and has unit tests to verify behaviour. Change-Id: I61caf416cc16d76b871cbf04f333c26894ab3fef
onfig_test.cpp
|
64d7ee67b118de5c8a7fe362ef27b48c525f57a8 |
05-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add a couple more tests for list. Change-Id: I603d8daa81075b93c26f997be2a7caa64370a9a8
ist_test.cpp
|
cef7695cb3c0e1a5d462deac6508ade2726918cf |
25-Apr-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add a singly linked list implementation for OSI. Change-Id: Ifffd6f9eabee482a81b326c9cf8d06163aede0f4
ist_test.cpp
|