History log of /frameworks/av/media/libnbaio/NBLog.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ca75129a63a1064df311f7c33049d48ac8cdb2d 16-Mar-2017 Nicolas Roulet <nicoroulet@google.com> NBLog exchange author and timestamp positions in log

Bug: 36366826
Test: no change in functionality
Change-Id: I137695b57b9f2b84d6059b37972e06b115e10d1f
/frameworks/av/media/libnbaio/NBLog.cpp
6ea1d7e449e5796068a4fcd7f22cad4316b0b8cf 15-Feb-2017 Nicolas Roulet <nicoroulet@google.com> Check corruption in NBLog Reader snapshots

Bug: 35642225
Test: Keeps working with uncorrupted buffers, not tested with corruption
Change-Id: I327badc97c9518b41a7085aebbd74f9452463a8e
/frameworks/av/media/libnbaio/NBLog.cpp
dcdfaecc1fa630a799e1fdb508a9b92da55abc36 14-Feb-2017 Nicolas Roulet <nicoroulet@google.com> NBLog periodic merging thread

Bug: 35468674
Test: no change in functionality, everything works as before
Change-Id: Id2cea243bc15767ca6803c9505bf23a18411500e
/frameworks/av/media/libnbaio/NBLog.cpp
cd5dd016657b351d9c74dcdff87547a781108ccb 13-Feb-2017 Nicolas Roulet <nicoroulet@google.com> Implement entry iterators

Some code refactoring

Bug: 35329553
Test: manual
Change-Id: I06e4ac1207b5c707d663ab2f141bb08d80272642
/frameworks/av/media/libnbaio/NBLog.cpp
40a4498b967d000c93e8561db5fdd0488cc1d824 03-Feb-2017 Nicolas Roulet <nicoroulet@google.com> Implement log merging.

Still missing:
* Put in separate periodical thread

Bug: 35329293
Test: manual
Change-Id: Ie8802fb7972e20d8dec493376ea253bb782f3a46
/frameworks/av/media/libnbaio/NBLog.cpp
4da7820be451847bad698ac0f687b964d9b5d34f 03-Feb-2017 Nicolas Roulet <nicoroulet@google.com> Minor code style changes and namespace fix

Bug: 35329090
Test: recompile, no change of functionality
Change-Id: Ied3ec7d95ce29896e8bf1851b08345da74bf8299
/frameworks/av/media/libnbaio/NBLog.cpp
c20cb50c1c14cd765874511872f087c875f43ed9 01-Feb-2017 Nicolas Roulet <nicoroulet@google.com> Added process name to PID log

Bug: 35357686
Test: included in CL
Change-Id: Ie4d3cb66a2c766ce87ebabcc9c0d3aa988702e09
/frameworks/av/media/libnbaio/NBLog.cpp
fe1e1449cadff4f946c33403aecc73b4b4a11e56 30-Jan-2017 Nicolas Roulet <nicoroulet@google.com> Implemented typed, thread-specific logging system. Currently supported types are:
* Strings
* Integers
* Floats
* Timestamps
* Process IDs

Added printf-like formatted logging using mentioned types.

Test: included in this CL
Bug: 29421410
Change-Id: Ie07b78d8d39c32fcc8a122ffa9b1b7082800b990
/frameworks/av/media/libnbaio/NBLog.cpp
535e161e2e404dffb8389dd331be0132704b6d82 05-Dec-2016 Glenn Kasten <gkasten@google.com> media.log: re-implement NBLog using audio_utils_fifo

NBLog previously has its own shared memory circular buffer code.
Now NBLog operates on top of the circular buffer code in audio_utils.

Test: media.log still works
Change-Id: Ib3026d2a96e6c0b433603e8baf19164ad97a1e1f
/frameworks/av/media/libnbaio/NBLog.cpp
ed99c2b5a99a8bfc163a6ffa0b767c82032b09b5 12-Dec-2016 Glenn Kasten <gkasten@google.com> NBAIO: re-implement NBAIO Pipe and MonoPipe using fifo

Also removed const from NBAIO_Sink::availableToWrite() because
at least one implementation can no longer implement the const-ness.

Test: normal mixer, tee sink, and remote submix still work
Change-Id: I8461177efdf53bba8295b147e97835b018804903
/frameworks/av/media/libnbaio/NBLog.cpp
87cebadd48710e42474756fc3513df678de045ce 22-May-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of f285c91e to master

Change-Id: I4c995e297d09c0854a42142cc57dce8b771acf65
8b5f642eb2364ea7fe46a5b3af51b48b58f12183 22-May-2014 Elliott Hughes <enh@google.com> Move frameworks/av from fdprintf to POSIX dprintf.

Bug: 11156955
Change-Id: Ia98cd16b4c1f7be87cf060b7456de4f40896bacb
/frameworks/av/media/libnbaio/NBLog.cpp
d1adad7acdff96f6518935214d93a655cc447570 01-May-2014 Glenn Kasten <gkasten@google.com> resolved conflicts for merge of 0d79b935 to master

Change-Id: If6de8c1b1d7707918e2a60ea8583749e0127edb8
95d287db3aa5c93533d8e4a723e24f33ea29ffa0 28-Apr-2014 Glenn Kasten <gkasten@android.com> Fix format warnings

Change-Id: Id7aded4287cc8d5387a20389d3ef6220d67d1d88
/frameworks/av/media/libnbaio/NBLog.cpp
92dfd8e67e099577d07eaeb28aad533fd5514d8a 11-Jul-2013 Glenn Kasten <gkasten@google.com> Add private method NBLog::Reader::dumpLine()

This allows us to abstract out fdprintf vs ALOGI
so that callers don't need an 'if' at every location.

Change-Id: I4c68185fc19f32caeaed93347e6b7d09b8d4c4d8
/frameworks/av/media/libnbaio/NBLog.cpp
c02c96161dde9d6ca7b408cf08fcf10bd8e61a54 15-Oct-2013 Glenn Kasten <gkasten@google.com> Fix bug with not reporting lost bytes

Change-Id: I431d989dbd115b43822e9e48fd4c2b8e6322cfe3
/frameworks/av/media/libnbaio/NBLog.cpp
4e01ef6b2f6d288b9aa83b5817adad02cecc429f 11-Jul-2013 Glenn Kasten <gkasten@google.com> Add private method NBLog::Reader::dumpLine()

This allows us to abstract out fdprintf vs ALOGI
so that callers don't need an 'if' at every location.

Change-Id: I4c68185fc19f32caeaed93347e6b7d09b8d4c4d8
/frameworks/av/media/libnbaio/NBLog.cpp
1d6fa7af1288b550faabe4ec2cf98684236723db 11-Feb-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 566be7c3 to master

Change-Id: I7b1cc71057b2bd4f771e7bcf508a8c3abd6017ce
377b2ec9a2885f9b6405b07ba900a9e3f4349c38 03-Feb-2014 Kévin PETIT <kevin.petit@arm.com> Make frameworks/av 64-bit compatible

Contains the necessary changes to make frameworks/av build and work
on a 64-bit machine.

Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>

Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
/frameworks/av/media/libnbaio/NBLog.cpp
481fb67a595f23c5b7f5be84b06db9b84a41a42f 30-Sep-2013 Glenn Kasten <gkasten@google.com> Add RecordThread media.log and deferred deallocation

This change allows a media.log buffer for RecordThread.

Unlike playback threads which stick around forever, the RecordThread comes
and goes for every capture session. This means that the media.log buffer
for a RecordThread would disappear too, and so was useless. Now when a
thread exits, it's associated media.log buffer is just marked for deferred
deallocation. It is only actually freed when the memory is needed.

Other changes:
- Fix bug in unregistering comparison, it was comparing the wrong pointers
- Increased size of log area so we can log for RecordThread also

Change-Id: If45d4c03a793b86390a0112ec3acc5d41b2e3635
/frameworks/av/media/libnbaio/NBLog.cpp
10eb4b33545a58e4b09249c30c100bc7b992250a 14-Jan-2013 Glenn Kasten <gkasten@google.com> Add non-blocking event logger NBLog

Change-Id: I6c136cf3d7f46a8af84c69ecfc199dab394c10dc
/frameworks/av/media/libnbaio/NBLog.cpp
11d8dfcc063425ae7d59229f54b6752fd8987c10 14-Jan-2013 Glenn Kasten <gkasten@google.com> Add non-blocking event logger NBLog

Change-Id: I6c136cf3d7f46a8af84c69ecfc199dab394c10dc
/frameworks/av/media/libnbaio/NBLog.cpp