Home
last modified time | relevance | path

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

/art/tools/dexfuzz/src/dexfuzz/
DStreamConsumer.java37 private State state;
42 enum State { enum in StreamConsumer
58 state = State.WAITING; in StreamConsumer()
70 changeState(State.CONSUMING, State.WAITING); in giveStreamAndStartConsuming()
80 changeState(State.SHOULD_STOP_CONSUMING, State.CONSUMING); in processFinished()
106 changeState(State.FINISHED, State.WAITING); in shutdown()
115 if (checkState(State.SHOULD_STOP_CONSUMING)) { in consume()
123 while (checkState(State.CONSUMING)) { in consume()
131 if (checkState(State.SHOULD_STOP_CONSUMING)) { in consume()
132 changeState(State.WAITING, State.SHOULD_STOP_CONSUMING); in consume()
[all …]
/art/test/063-process-manager/src/
DMain.java48 Thread.State state = t.getState(); in checkManager()
50 if (state != Thread.State.RUNNABLE && state != Thread.State.TIMED_WAITING) { in checkManager()
74 Thread.State state = t.getState(); in waitForReaperTimedWaiting()
75 if (state != Thread.State.TIMED_WAITING) { in waitForReaperTimedWaiting()
/art/perfetto_hprof/
Dperfetto_hprof.h24 enum class State { enum
38 std::ostream& operator<<(std::ostream& os, State state);
Dperfetto_hprof.cc85 static State g_state = State::kUninitialized;
240 if (g_state == State::kWaitForStart) { in OnStart()
241 g_state = State::kStart; in OnStart()
279 while (g_state != State::kStart) { in WaitForDataSource()
655 g_state = State::kEnd; in DumpPerfetto()
662 while (g_state != State::kEnd) { in DumpPerfetto()
679 if (g_state != State::kUninitialized) { in ArtPlugin_Initialize()
683 g_state = State::kWaitForListener; in ArtPlugin_Initialize()
719 g_state = State::kUninitialized; in ArtPlugin_Initialize()
732 if (g_state == State::kWaitForListener) { in ArtPlugin_Initialize()
[all …]
/art/runtime/
Dsubtype_check_test.cc228 SubtypeCheckInfo::State EnsureInitialized() in EnsureInitialized()
234 SubtypeCheckInfo::State EnsureAssigned() in EnsureAssigned()
240 SubtypeCheckInfo::State ForceUninitialize() in ForceUninitialize()
278 SubtypeCheckInfo::State GetState() const in GetState()
510 SubtypeCheckInfo::State transition, in ApplyTransition()
511 SubtypeCheckInfo::State expected) { in ApplyTransition()
546 SubtypeCheckInfo::State ApplyTransition(MockSubtypeCheck sc_tree, in ApplyTransition()
632 SubtypeCheckInfo::State state = ApplyTransition(sc_tree, requested_transition); in EnsureStateChangedTestRecursiveGeneric()
657 const std::vector<std::pair<SubtypeCheckInfo::State, SubtypeCheckInfo::State>>& transitions) { in EnsureStateChangedTestRecursive() argument
681 const std::vector<std::pair<SubtypeCheckInfo::State, SubtypeCheckInfo::State>>& transitions) { in EnsureStateChangedTest() argument
[all …]
Dsubtype_check.h237 static SubtypeCheckInfo::State EnsureInitialized(ClassPtr klass) in EnsureInitialized()
250 static SubtypeCheckInfo::State EnsureAssigned(ClassPtr klass) in EnsureAssigned()
265 static SubtypeCheckInfo::State ForceUninitialize(ClassPtr klass) in ForceUninitialize()
294 static SubtypeCheckInfo::State GetState(ClassPtr klass) in GetState()
403 SubtypeCheckInfo::State parent_state = GetSubtypeCheckInfo(parent_klass).GetState(); in InitializeOrAssign()
414 const SubtypeCheckInfo::State sci_state = sci.GetState(); in InitializeOrAssign()
Dsubtype_check_info.h127 enum State { enum
269 State GetState() const { in GetState()
494 inline std::ostream& operator<<(std::ostream& os, const SubtypeCheckInfo::State& state) {
/art/test/1959-redefine-object-instrument/src/
DMain.java61 while (!started || thr.getState() != Thread.State.TIMED_WAITING); in doTest()
/art/test/129-ThreadGetId/src/
DMain.java50 thread.getState() != Thread.State.NEW) { in getHeapTaskDaemon()
/art/test/168-vmstack-annotated/src/
DMain.java17 import java.lang.Thread.State;
180 while (t.getState() == State.RUNNABLE) { in waitNotRunnable()
/art/test/1971-multi-force-early-return/src/art/
DTest1971.java32 public final Thread.State state;
/art/compiler/optimizing/
Dsharpening.cc272 SubtypeCheckInfo::State old_state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in CanUseTypeCheckBitstring()
277 SubtypeCheckInfo::State state = SubtypeCheck<ObjPtr<mirror::Class>>::EnsureAssigned(klass); in CanUseTypeCheckBitstring()
Dgraph_checker.cc626 SubtypeCheckInfo::State state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in HandleTypeCheckInstruction()
/art/test/jvmti-common/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/test/1930-monitor-info/src/art/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/test/1933-monitor-current-contended/src/art/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/test/1934-jvmti-signal-thread/src/art/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/test/1932-monitor-events-misc/src/art/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/test/1931-monitor-events/src/art/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/runtime/gc/space/
Dregion_space.cc356 RegionState state = r->State(); in SetFromSpace()
618 DCHECK(r->IsAllocated()) << r->State(); in ClearFromSpace()
661 << "r->State()=" << r->State() << " r->LiveBytes()=" << r->LiveBytes(); in CheckLiveBytesAgainstRegionBitmap()
Dregion_space.h423 RegionState State() const { in State() function
/art/test/924-threads/src/art/
DTest924.java185 } while (t.getState() != Thread.State.BLOCKED); in doStateTests()
/art/test/1968-force-early-return/src/art/
DTest1968.java39 public final Thread.State state;