Home
last modified time | relevance | path

Searched refs:CallbackState (Results 1 – 1 of 1) sorted by relevance

/art/runtime/
Druntime_callbacks_test.cc111 enum CallbackState { enum in art::ThreadLifecycleCallbackRuntimeCallbacksTest
125 if (state == CallbackState::kBase) { in ThreadStart()
126 state = CallbackState::kStarted; in ThreadStart()
129 state = CallbackState::kWrongStart; in ThreadStart()
138 if (state == CallbackState::kStarted && self == stored_self) { in ThreadDeath()
139 state = CallbackState::kDied; in ThreadDeath()
141 state = CallbackState::kWrongDeath; in ThreadDeath()
146 CallbackState state = CallbackState::kBase;
165 cb_.state = CallbackState::kBase; // Ignore main thread attach. in TEST_F()
202 EXPECT_EQ(cb_.state, CallbackState::kDied); in TEST_F()
[all …]