summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* No newline or space at end of ALOG format stringGlenn Kasten2012-02-089-70/+70
| | | | Change-Id: I0bef580cbc818cb7c87aea23919d26f1446cec32
* Merge "Combine duplicate code & document wp<> in mClients"Glenn Kasten2012-02-082-30/+23
|\
| * Combine duplicate code & document wp<> in mClientsGlenn Kasten2012-02-082-30/+23
| | | | | | | | Change-Id: Iea8cfe8e57563337fb2484a1246ef79d6ad3db18
* | Merge "Invalidate text display list when text properties change."Gilles Debunne2012-02-081-0/+4
|\ \ | |/ |/|
| * Invalidate text display list when text properties change.Gilles Debunne2012-02-071-0/+4
| | | | | | | | | | | | | | | | Bug 5887530, Bug 5945886, Bug 5904371 Added more invalidation when other properties of the text are changed. Change-Id: I618dbaae9da64bf72dd29e444215b7de1c644573
* | Merge "Use audio_io_handle_t consistently instead of int"Glenn Kasten2012-02-0810-194/+228
|\ \
| * | Use audio_io_handle_t consistently instead of intGlenn Kasten2012-02-0810-194/+228
| | | | | | | | | | | | | | | | | | | | | | | | Other: - add a comment to nextUniqueId - made ThreadBase::mId const, since it is only assigned in constructor. Change-Id: I4e8b7bec4e45badcde6274d574b8a9aabd046837
* | | Merge "Delete entries in bulk"Marco Nelissen2012-02-081-10/+38
|\ \ \ | |/ / |/| |
| * | Delete entries in bulkMarco Nelissen2012-02-081-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | Deleting entries from the database in bulk greatly speeds up the media scanner in some cases; removing 31k entries used to take about 2 hours, now it takes about 15 minutes. Change-Id: Ia8f3fd6d828289e3d67178e9ad10399ded8d70d2
* | | Simplify destructorsGlenn Kasten2012-02-081-4/+2
| | | | | | | | | | | | | | | | | | Remove explicit clear() when the order doesn't matter. Change-Id: I5931bc7ef5f681c7ce329aa9ec0a6e46d34a56c5
* | | Merge "Effect UUID inputs passed by pointer are const"Glenn Kasten2012-02-0815-31/+31
|\ \ \
| * | | Effect UUID inputs passed by pointer are constGlenn Kasten2012-02-0815-31/+31
| | | | | | | | | | | | | | | | Change-Id: I1f5c338bcb7368e3dd8cd5f804b2e6d9fbe087f8
* | | | Merge "Add ril.test.emergency system property."Wink Saville2012-02-086-4/+93
|\ \ \ \ | |/ / / |/| | |
| * | | Add ril.test.emergency system property.Wink Saville2012-01-106-4/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows testing of emergency numbers by dialing an emergency number but having it remapped to another number. Bug: 5479306 Change-Id: Ia9bb53e2e2e47f78dc9f75d3add6f785d10e4b2a
* | | | Merge "Use pid_t not int"Glenn Kasten2012-02-081-3/+3
|\ \ \ \
| * | | | Use pid_t not intGlenn Kasten2012-02-031-3/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Iad1c2fd4152e94080ad8c65c13ddf4519fc2ed27
* | | | | Merge "Don't double destruct audio_track_cblk_t"Glenn Kasten2012-02-082-2/+5
|\ \ \ \ \
| * | | | | Don't double destruct audio_track_cblk_tGlenn Kasten2012-02-032-2/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fortunately audio_track_cblk_t doesn't have a destructor, but for clarity remove the double destruction. Also add warning not to add any virtuals to audio_track_cblk_t. Change-Id: I70ebe1a70460c7002145b2cdf10f9f137396e6f3
* | | | | Merge "AudioFlinger methods const and inline"Glenn Kasten2012-02-085-115/+48
|\ \ \ \ \
| * | | | | AudioFlinger methods const and inlineGlenn Kasten2012-02-035-115/+48
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This saves 1063 bytes and probably improves performance. Change-Id: I11cf0dfd925fbaec75e3d1b806852a538eae5518
* | | | | Merge "Remove dead mutex in AudioTrack/AudioRecord thread"Glenn Kasten2012-02-084-25/+0
|\ \ \ \ \
| * | | | | Remove dead mutex in AudioTrack/AudioRecord threadGlenn Kasten2012-02-024-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The client callback threads had mutexes called AudioTrackThread::mLock and ClientRecordThread::mLock. These mutexes were only used by start() and stop(), and were unused by the thread itself. But start() and stop() already have their own protection provided by AudioTrack::mLock and AudioRecord::mLock. So the thread mutexes can be removed. Change-Id: I098406d381645d77fba06a15511e179a327848ef
* | | | | | Merge "Use virtual destructors"Glenn Kasten2012-02-083-11/+11
|\ \ \ \ \ \
| * | | | | | Use virtual destructorsGlenn Kasten2012-02-033-11/+11
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out to be just a comment, as all except AudioMixer are RefBase. There are only a few performance-sensitive cases where it's worth thinking about whether you need a virtual destructor, and the headache usually outweighs the benefit. Change-Id: I716292f9556ec17c29ce8c76ac8ae602cb496533
* | | | | | Merge "Improve performance for sp<> on stack"Glenn Kasten2012-02-081-36/+13
|\ \ \ \ \ \
| * | | | | | Improve performance for sp<> on stackGlenn Kasten2012-01-301-36/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combine default constructor for sp<> immediately followed by assignment, as the reference-counting is relatively slow. Also return sp<> directly rather than via local variable, for the same reason. Change-Id: If55931f1e407994f6591ddde41b53db72fb4fc40
* | | | | | | Merge "AudioTrack declare more methods const"Glenn Kasten2012-02-082-14/+14
|\ \ \ \ \ \ \
| * | | | | | | AudioTrack declare more methods constGlenn Kasten2012-02-032-14/+14
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I4999e984460893961d0d8092cff17f3cf07d7214
* | | | | | | Merge "Use 0 not NULL for sp<> and wp<>"Glenn Kasten2012-02-082-18/+20
|\ \ \ \ \ \ \
| * | | | | | | Use 0 not NULL for sp<> and wp<>Glenn Kasten2012-02-032-18/+20
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: Id1f0c89acefaceed6cb9ca7c165fce895e46d85b
* | | | | | | Merge "Use bool instead of int"Glenn Kasten2012-02-081-17/+17
|\ \ \ \ \ \ \
| * | | | | | | Use bool instead of intGlenn Kasten2012-02-031-17/+17
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The .h is not modified to avoid increasing data size. Change-Id: Ide4a821a5b16424ffa03471dfff98dc3e9b5f751
* | | | | | | Merge "Declare more IAudioFlinger methods const"Glenn Kasten2012-02-086-30/+36
|\ \ \ \ \ \ \
| * | | | | | | Declare more IAudioFlinger methods constGlenn Kasten2012-02-036-30/+36
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just documentation, as C++ method const-ness doesn't mean anything for a binder API. Instead, here const means "no side effects". Change-Id: Iaa9cd2fe477db10ae9a40cac4f79f0faa9b4e5e6
* | | | | | | Merge "Remove dead code"Glenn Kasten2012-02-084-11/+0
|\ \ \ \ \ \ \
| * | | | | | | Remove dead codeGlenn Kasten2012-02-034-11/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mFormat is unused in resampler mClientTid is unused local variable pid is unused in dump Change-Id: Ib156e38029366620bfeff2a13e73471867155a5b
* | | | | | | am cc9dd9a6: am 02beef84: am 09ff04d7: docs: fix typo in menu TOCScott Main2012-02-070-0/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'cc9dd9a6373fef19fbfb40f0e09ac8016bc74e38':
| * \ \ \ \ \ \ am 02beef84: am 09ff04d7: docs: fix typo in menu TOCScott Main2012-02-070-0/+0
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '02beef8445fbf45b4dfc2472275dc5b49bb41a50':
| | * \ \ \ \ \ \ am 09ff04d7: docs: fix typo in menu TOCScott Main2012-02-071-1/+1
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '09ff04d7893a9f49e478bb732ce1ea1b17662a3b': docs: fix typo in menu TOC
* | | \ \ \ \ \ \ \ am f8274e50: am 8561a6b0: am 09ff04d7: docs: fix typo in menu TOCScott Main2012-02-071-1/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f8274e506c1e4ef798554244370daf57cc88ecdb': docs: fix typo in menu TOC
| * | | | | | | | | am 8561a6b0: am 09ff04d7: docs: fix typo in menu TOCScott Main2012-02-071-1/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8561a6b0c5e0fbec7101108bf480f2adb485f2bc': docs: fix typo in menu TOC
| | * \ \ \ \ \ \ \ \ am 09ff04d7: docs: fix typo in menu TOCScott Main2012-02-071-1/+1
| | |\ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '09ff04d7893a9f49e478bb732ce1ea1b17662a3b': docs: fix typo in menu TOC
| | | * | | | | | | | docs: fix typo in menu TOCScott Main2012-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ief511803ef5b4bed1823a12918de814aca119681
* | | | | | | | | | | Merge "Revert "Make NDC not block forever and handle restart.""Guang Zhu2012-02-072-195/+58
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Revert "Make NDC not block forever and handle restart."Guang Zhu2012-02-072-195/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverting because it seems to break `adb reboot` This reverts commit 813af8d46467f41ed2d492917cbb9f9f45d2a3d7. Change-Id: I75d827664a08799de15369c24c84cc3f49a8f297
* | | | | | | | | | | | Better error message when drawing with recycled bitmapsRomain Guy2012-02-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie8332261c4376f270ea630d775210198c0196447
* | | | | | | | | | | | Merge "Fix bug in generated code for functions with inband data from ↵Jason Sams2012-02-071-1/+8
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | pointers. Passing zero length data would desync return command stream."
| * | | | | | | | | | | Fix bug in generated code for functions with inband dataJason Sams2012-02-071-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from pointers. Passing zero length data would desync return command stream. Change-Id: I273a6a44636a203d8305ddff3d6607eae9f9ec8a
* | | | | | | | | | | | Merge "Fix the system"Romain Guy2012-02-071-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix the systemRomain Guy2012-02-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie097ea5d6c0af9c5929b8c5deb76b4824d5de787