Searched refs:PrebuiltGraphState (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/cpp/computepipe/runner/graph/ |
D | LocalPrebuiltGraph.cpp | 56 if (mGraphState.load() == PrebuiltGraphState::UNINITIALIZED) { in handleConfigPhase() 113 if (mGraphState.load() != PrebuiltGraphState::STOPPED) { in handleExecutionPhase() 127 mGraphState.store(PrebuiltGraphState::RUNNING); in handleExecutionPhase() 134 if (mGraphState.load() != PrebuiltGraphState::RUNNING) { in handleStopWithFlushPhase() 149 if (mGraphState.load() != PrebuiltGraphState::RUNNING) { in handleStopImmediatePhase() 163 if (mGraphState.load() != PrebuiltGraphState::STOPPED) { in handleResetPhase() 185 if (mPrebuiltGraphInstance->mGraphState.load() != PrebuiltGraphState::UNINITIALIZED) { in GetPrebuiltGraphFromLibrary() 248 mPrebuiltGraphInstance->mGraphState.store(PrebuiltGraphState::STOPPED); in GetPrebuiltGraphFromLibrary() 263 if (mGraphState.load() == PrebuiltGraphState::UNINITIALIZED) { in GetStatus() 273 if (mGraphState.load() == PrebuiltGraphState::UNINITIALIZED) { in GetErrorMessage() [all …]
|
D | GrpcGraph.cpp | 72 PrebuiltGraphState GrpcGraph::GetGraphState() const { in GetGraphState() 118 mGraphState = PrebuiltGraphState::STOPPED; in initialize() 126 if (mGraphState == PrebuiltGraphState::UNINITIALIZED) { in handleConfigPhase() 174 if (mGraphState != PrebuiltGraphState::STOPPED || mStreamSetObserver == nullptr) { in handleExecutionPhase() 215 mGraphState = PrebuiltGraphState::RUNNING; in handleExecutionPhase() 224 if (mGraphState != PrebuiltGraphState::RUNNING) { in handleStopWithFlushPhase() 258 mGraphState = PrebuiltGraphState::FLUSHING; in handleStopWithFlushPhase() 267 if (mGraphState != PrebuiltGraphState::RUNNING) { in handleStopImmediatePhase() 301 mGraphState = PrebuiltGraphState::STOPPED; in handleStopImmediatePhase() 308 if (mGraphState != PrebuiltGraphState::STOPPED) { in handleResetPhase() [all …]
|
D | GrpcGraph.h | 69 PrebuiltGraphState GetGraphState() const override; 112 PrebuiltGraphState mGraphState = PrebuiltGraphState::UNINITIALIZED;
|
D | LocalPrebuiltGraph.h | 64 PrebuiltGraphState GetGraphState() const override { in GetGraphState() 123 std::atomic<PrebuiltGraphState> mGraphState = PrebuiltGraphState::UNINITIALIZED;
|
/packages/services/Car/cpp/computepipe/tests/runner/graph/ |
D | GrpcGraphTest.cpp | 94 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::STOPPED); in TEST_F() 99 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::RUNNING); in TEST_F() 103 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::FLUSHING); in TEST_F() 107 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::STOPPED); in TEST_F() 118 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::STOPPED); in TEST_F() 123 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::RUNNING); in TEST_F() 127 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::STOPPED); in TEST_F() 137 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::STOPPED); in TEST_F() 142 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::RUNNING); in TEST_F()
|
D | LocalPrebuiltGraphTest.cpp | 59 EXPECT_NE(graph->GetGraphState(), PrebuiltGraphState::UNINITIALIZED); in TEST() 71 ASSERT_NE(graph->GetGraphState(), PrebuiltGraphState::UNINITIALIZED); in TEST() 117 ASSERT_NE(graph->GetGraphState(), PrebuiltGraphState::UNINITIALIZED); in TEST()
|
/packages/services/Car/cpp/computepipe/runner/graph/include/ |
D | PrebuiltGraph.h | 31 enum PrebuiltGraphState { enum 49 virtual PrebuiltGraphState GetGraphState() const = 0;
|