summaryrefslogtreecommitdiffstats
path: root/libutils/tests
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2016-03-12 16:08:12 -0800
committerBrian Carlstrom <bdc@google.com>2016-03-12 21:32:52 -0800
commite71b9147756ab4da306e4c16461ad23936769603 (patch)
tree497e16299cfd324400925dfb12182e2c6565d863 /libutils/tests
parent1ef5bf839e5b467e8014c751390045cd02b4128f (diff)
downloadsystem_core-e71b9147756ab4da306e4c16461ad23936769603.tar.gz
system_core-e71b9147756ab4da306e4c16461ad23936769603.tar.bz2
system_core-e71b9147756ab4da306e4c16461ad23936769603.zip
system/core: Make Thread::run threadName argument required
Bug: 27557176 Change-Id: Iae83a1e5489c86c2858fc8481f246b8480f0eec4
Diffstat (limited to 'libutils/tests')
-rw-r--r--libutils/tests/Looper_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libutils/tests/Looper_test.cpp b/libutils/tests/Looper_test.cpp
index 00077e676..17319e03f 100644
--- a/libutils/tests/Looper_test.cpp
+++ b/libutils/tests/Looper_test.cpp
@@ -138,7 +138,7 @@ TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenBeforeWaiting_Immediately
TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenWhileWaiting_PromptlyReturns) {
sp<DelayedWake> delayedWake = new DelayedWake(100, mLooper);
- delayedWake->run();
+ delayedWake->run("LooperTest");
StopWatch stopWatch("pollOnce");
int result = mLooper->pollOnce(1000);
@@ -251,7 +251,7 @@ TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndSignalledFDWhileWaiting_Promptl
sp<DelayedWriteSignal> delayedWriteSignal = new DelayedWriteSignal(100, & pipe);
handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT);
- delayedWriteSignal->run();
+ delayedWriteSignal->run("LooperTest");
StopWatch stopWatch("pollOnce");
int result = mLooper->pollOnce(1000);