Home
last modified time | relevance | path

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

12

/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.cc92 static State g_state = State::kUninitialized;
238 if (g_state == State::kWaitForStart) { in OnStart()
242 g_state = State::kStart; in OnStart()
327 while (g_state != State::kStart) { in WaitForDataSource()
336 while (g_state != State::kStart) { in TimedWaitForDataSource()
1047 g_state = State::kEnd; in WriteHeapPackets()
1053 while (g_state != State::kEnd) { in WriteHeapPackets()
1173 if (g_state != State::kUninitialized) { in ArtPlugin_Initialize()
1177 g_state = State::kWaitForListener; in ArtPlugin_Initialize()
1214 g_state = State::kUninitialized; 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.h238 static SubtypeCheckInfo::State EnsureInitialized(ClassPtr klass) in EnsureInitialized()
251 static SubtypeCheckInfo::State EnsureAssigned(ClassPtr klass) in EnsureAssigned()
266 static SubtypeCheckInfo::State ForceUninitialize(ClassPtr klass) in ForceUninitialize()
295 static SubtypeCheckInfo::State GetState(ClassPtr klass) in GetState()
404 SubtypeCheckInfo::State parent_state = GetSubtypeCheckInfo(parent_klass).GetState(); in InitializeOrAssign()
415 const SubtypeCheckInfo::State sci_state = sci.GetState(); in InitializeOrAssign()
Dsubtype_check_info.h129 enum State { enum
270 State GetState() const { in GetState()
495 inline std::ostream& operator<<(std::ostream& os, const SubtypeCheckInfo::State& state) {
Dclass_linker.cc7687 enum class State : uint32_t { enum in art::ClassLinker::LinkMethodsHelper::CopiedMethodRecord
7703 state_(State::kAbstractSingle) {} in CopiedMethodRecord()
7708 state_(State::kAbstractSingle) {} in CopiedMethodRecord()
7732 void SetState(State state) { in SetState()
7736 State GetState() const { in GetState()
7752 if (GetState() != State::kDefaultConflict) { in UpdateStateForInterface()
7753 DCHECK(GetState() == State::kDefault); in UpdateStateForInterface()
7760 SetState(State::kDefaultConflict); in UpdateStateForInterface()
7810 while (GetState() != State::kDefaultConflict && i != 0u) { in FinalizeState()
7830 if (GetState() == State::kDefaultConflict) { in FinalizeState()
[all …]
/art/test/1959-redefine-object-instrument/src/
DMain.java61 while (!started || thr.getState() != Thread.State.TIMED_WAITING); in doTest()
/art/test/168-vmstack-annotated/src/
DMain.java17 import java.lang.Thread.State;
184 while (t.getState() == State.RUNNABLE) { in waitNotRunnable()
/art/test/129-ThreadGetId/src/
DMain.java98 thread.getState() != Thread.State.NEW) { in getHeapTaskDaemon()
/art/test/1971-multi-force-early-return/src/art/
DTest1971.java32 public final Thread.State state;
/art/compiler/optimizing/
Dsharpening.cc342 SubtypeCheckInfo::State old_state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in CanUseTypeCheckBitstring()
347 SubtypeCheckInfo::State state = SubtypeCheck<ObjPtr<mirror::Class>>::EnsureAssigned(klass); in CanUseTypeCheckBitstring()
Dgraph_checker.cc867 SubtypeCheckInfo::State state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in HandleTypeCheckInstruction()
/art/test/1930-monitor-info/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/1931-monitor-events/src/art/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/test/jvmti-common/
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/1932-monitor-events-misc/src/art/
DMonitors.java266 runner.getState() != Thread.State.BLOCKED || in waitForContendedSleep()
/art/runtime/gc/space/
Dregion_space.cc337 RegionState state = r->State(); in SetFromSpace()
613 DCHECK(r->IsAllocated()) << r->State(); in ClearFromSpace()
656 << "r->State()=" << r->State() << " r->LiveBytes()=" << r->LiveBytes(); in CheckLiveBytesAgainstRegionBitmap()
Dregion_space.h426 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;
/art/build/boot/
Dpreloaded-classes787 java.lang.Thread$State
3096 [Ljava.lang.Thread$State;

12