History log of /system/bt/osi/test/AlarmTestHarness.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5b790feeeb211c42bf78ca3ae9c26aa30e516765 18-Sep-2017 Jakub Pawlowski <jpawlowski@google.com> Make copyright headers consistent with Google template; remove "(C)"

Test: Comment changes only; still compiles...
Change-Id: Id699a8170112f06e4a2c9f2e0f0834d1817ace4e
/system/bt/osi/test/AlarmTestHarness.h
b55040cc6448a8847490da807d2b6362aa8cb8d9 19-Oct-2016 Myles Watson <mylesgw@google.com> osi: Apply clang-format

cd osi/
clang-format -i --style=file include/*.h include/socket_utils/* src/*.cc \
src/socket_utils/* src/protos/* test/*

Test: mma -j32
Change-Id: I659e586076f1e2ec8f687cd33f441700b8d1f823
/system/bt/osi/test/AlarmTestHarness.h
223cecf8b6905fec65c509cf85b20edbdbd28344 08-Aug-2016 Pavlin Radoslavov <pavlin@google.com> Separate the Alarm unit tests from testing the Wakelocks

* Simplify the AlarmTestHarnless unit test setup for Wakelocks.
Now we use wakelock_set_os_callouts() to setup local unit tests and
to keep local state whether the wakelock is acquired.
Also, removed unused timer-related setup inside AlarmTestHarnless.

* Add explicit Wakelock unit tests

Change-Id: I08bd8d457fd48ec45a8a591bd69cb08dbaf5ee7a
/system/bt/osi/test/AlarmTestHarness.h
1b2bd2c8b5b7be80cb4ce0ecf4e021ad16e4a540 16-Nov-2015 Marie Janssen <jamuraa@google.com> tests: don't use bt_os_callouts for wakelocks

Introduces alarm_set_wake_lock_paths so wake lock paths can be changed
for testing, and adds AlarmTestHarness::WakeLockHeld to test whether a
wake lock is currently held.

Bug: 25387683
Change-Id: I9a41ae8266e252a3d436f8d41ea3f9e7ecb45cdc
/system/bt/osi/test/AlarmTestHarness.h
ee2aa45def216a3c4d6a23481fa96f1b02a5de8c 27-Aug-2014 Zach Johnson <zachoverflow@google.com> Finish allocation tracking for the rest of osi

And found a memory leak in config, so it's doing its job! :)
/system/bt/osi/test/AlarmTestHarness.h
7edb61c6ac9f935489d8b6750f6fff9fa96b8cf8 21-Aug-2014 Zach Johnson <zachoverflow@google.com> Scope the lock_count variable in the alarm test harness
/system/bt/osi/test/AlarmTestHarness.h
2bbb33c648fd27233421a721e067d8c0e9012a7e 16-Aug-2014 Zach Johnson <zachoverflow@google.com> Refactor alarm tests to use a test harness

This improves the test writing experience for tests that rely on alarm code.
/system/bt/osi/test/AlarmTestHarness.h