- 17 Jul, 2014 3 commits
-
-
Sharvil Nanavati authored
Change-Id: I3ae26dfc4ffd97d039386f55e3290a6cf36ae17d
-
Michael Wright authored
Change-Id: Idefad9d9ea3a54f7f412e80c4998137d15a1b23c
-
Sharvil Nanavati authored
Change-Id: I5fa21b48506e4d1d65da4b8bedbbf39e03dad559
-
- 16 Jul, 2014 2 commits
-
-
Sharvil Nanavati authored
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
-
Sharvil Nanavati authored
These file descriptors can be used with a reactor to perform non-blocking enqueue/dequeue operations. Change-Id: If75730f9093e8d20a789a7bd2bde92e019922e5a
-
- 09 Jul, 2014 2 commits
-
-
Sharvil Nanavati authored
|semaphore_get_fd| can be used by callers to determine if it's safe to call |semaphore_wait| and |semaphore_post| without blocking. Change-Id: Icf758f03ea2aa85cddcb4ab3f7906b2c587fb8ac
-
Sharvil Nanavati authored
So far it's a thin shim around pthreads which allows setting thread name and querying tids from any thread. Change-Id: Id156f662778806a54a8a302be424ee051fac4710
-
- 03 Jul, 2014 2 commits
-
-
Sharvil Nanavati authored
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
-
Narayan Kamath authored
Change-Id: I702e9406a31424f27de2b600cb55c92e255917dd
-
- 29 Jun, 2014 1 commit
-
-
Sharvil Nanavati authored
Change-Id: Ia13166238847d6e1cebfda1bf5bdafd9ddc8b8e1
-
- 25 Jun, 2014 1 commit
-
-
Sharvil Nanavati authored
Change-Id: I5440744e4bf7192efc4c8d0205502aa4296a4f9f
-
- 12 Jun, 2014 5 commits
-
-
Sharvil Nanavati authored
Change-Id: Ib26dbae713b3096adf2496f0ff0fcb607693b163
-
Sharvil Nanavati authored
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
-
Sharvil Nanavati authored
Change-Id: I603d8daa81075b93c26f997be2a7caa64370a9a8
-
Sharvil Nanavati authored
Change-Id: Ifad7605d0b6e1a57f4767f9de1bed7e99284ded7
-
Sharvil Nanavati authored
Change-Id: Ifffd6f9eabee482a81b326c9cf8d06163aede0f4
-
- 03 Jun, 2014 1 commit
-
-
Sharvil Nanavati authored
Change-Id: Ib26dbae713b3096adf2496f0ff0fcb607693b163
-
- 31 May, 2014 3 commits
-
-
Sharvil Nanavati authored
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
-
Sharvil Nanavati authored
Change-Id: I603d8daa81075b93c26f997be2a7caa64370a9a8
-
Sharvil Nanavati authored
Change-Id: Ifad7605d0b6e1a57f4767f9de1bed7e99284ded7
-
- 07 May, 2014 1 commit
-
-
Sharvil Nanavati authored
Change-Id: Ifffd6f9eabee482a81b326c9cf8d06163aede0f4
-