Home
last modified time | relevance | path

Searched refs:getState (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAtomicBackoffTest.java36 AtomicBackoff.State state = backoff.getState(); in backoff_doesNotChangeStateGet()
45 backoff.getState().backoff(); in backoff_doubles()
46 assertEquals(6, backoff.getState().get()); in backoff_doubles()
48 backoff.getState().backoff(); in backoff_doubles()
49 assertEquals(12, backoff.getState().get()); in backoff_doubles()
51 backoff.getState().backoff(); in backoff_doubles()
52 assertEquals(24, backoff.getState().get()); in backoff_doubles()
55 backoff.getState().backoff(); in backoff_doubles()
56 assertEquals(26, backoff.getState().get()); in backoff_doubles()
62 AtomicBackoff.State state = backoff.getState(); in backoff_oncePerState()
[all …]
DConnectivityStateManagerTest.java51 assertEquals(CONNECTING, state.getState()); in noCallback()
53 assertEquals(TRANSIENT_FAILURE, state.getState()); in noCallback()
59 assertEquals(CONNECTING, state.getState()); in registerCallbackBeforeStateChanged()
64 sink.add(state.getState()); in registerCallbackBeforeStateChanged()
81 assertEquals(CONNECTING, state.getState()); in registerCallbackAfterStateChanged()
86 sink.add(state.getState()); in registerCallbackAfterStateChanged()
103 sink.add(state.getState()); in callbackOnlyCalledOnTransition()
117 sink.add(state.getState()); in callbacksAreOneShot()
154 sink.add(state.getState()); in multipleCallbacks()
161 sink.add(state.getState()); in multipleCallbacks()
[all …]
DInternalSubchannelTest.java161 assertEquals(CONNECTING, internalSubchannel.getState()); in eagAttribute_propagatesToTransport()
169 assertEquals(IDLE, internalSubchannel.getState()); in singleAddressReconnect()
178 assertEquals(IDLE, internalSubchannel.getState()); in singleAddressReconnect()
182 assertEquals(CONNECTING, internalSubchannel.getState()); in singleAddressReconnect()
189 assertEquals(TRANSIENT_FAILURE, internalSubchannel.getState()); in singleAddressReconnect()
201 assertEquals(TRANSIENT_FAILURE, internalSubchannel.getState()); in singleAddressReconnect()
206 assertEquals(CONNECTING, internalSubchannel.getState()); in singleAddressReconnect()
214 assertEquals(TRANSIENT_FAILURE, internalSubchannel.getState()); in singleAddressReconnect()
226 assertEquals(TRANSIENT_FAILURE, internalSubchannel.getState()); in singleAddressReconnect()
229 assertEquals(CONNECTING, internalSubchannel.getState()); in singleAddressReconnect()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaRecorderTest.java37 …assertThat(shadowMediaRecorder.getState()).isNotEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONF… in testAudioEncoder()
40 …assertThat(shadowMediaRecorder.getState()).isEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGU… in testAudioEncoder()
60 assertThat(shadowMediaRecorder.getState()).isNotEqualTo(ShadowMediaRecorder.STATE_INITIALIZED); in testAudioSource()
63 assertThat(shadowMediaRecorder.getState()).isEqualTo(ShadowMediaRecorder.STATE_INITIALIZED); in testAudioSource()
109 …assertThat(shadowMediaRecorder.getState()).isNotEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONF… in testOutputFile()
113 …assertThat(shadowMediaRecorder.getState()).isEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGU… in testOutputFile()
118 …assertThat(shadowMediaRecorder.getState()).isNotEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONF… in testOutputFormat()
122 …assertThat(shadowMediaRecorder.getState()).isEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGU… in testOutputFormat()
127 …assertThat(shadowMediaRecorder.getState()).isNotEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONF… in testPreviewDisplay()
133 …assertThat(shadowMediaRecorder.getState()).isEqualTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGU… in testPreviewDisplay()
[all …]
DShadowMediaPlayerTest.java117 assertThat(shadowMediaPlayer.getState()).isEqualTo(IDLE); in testInitialState()
150 assertThat(shadowMediaPlayer.getState()).isEqualTo(PREPARED); in testPrepare()
209 assertThat(shadowMediaPlayer.getState()).isEqualTo(PREPARING); in testPrepareAsyncAutoCallback()
214 assertThat(shadowMediaPlayer.getState()).isEqualTo(PREPARED); in testPrepareAsyncAutoCallback()
232 assertThat(shadowMediaPlayer.getState()).isSameAs(PREPARING); in testPrepareAsyncManualCallback()
235 assertThat(shadowMediaPlayer.getState()).isSameAs(PREPARED); in testPrepareAsyncManualCallback()
282 assertThat(shadowMediaPlayer.getState()).isEqualTo(STARTED); in testPlaybackProgress()
286 assertThat(shadowMediaPlayer.getState()).isEqualTo(STARTED); in testPlaybackProgress()
290 assertThat(shadowMediaPlayer.getState()).isEqualTo(STARTED); in testPlaybackProgress()
295 assertThat(shadowMediaPlayer.getState()).isEqualTo(PLAYBACK_COMPLETED); in testPlaybackProgress()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DProgramPipelineVk.cpp47 ProgramVk *programVk = getShaderProgram(contextVk->getState(), shaderType); in fillProgramStateMap()
50 (*programStatesOut)[shaderType] = &programVk->getState(); in fillProgramStateMap()
58 const gl::State &glState = glContext->getState(); in link()
83 GlslangAssignLocations(options, glProgram->getState(), glProgram->getResources(), in link()
97 const gl::ProgramExecutable *executable = contextVk->getState().getProgramExecutable(); in transformShaderSpirV()
102 ProgramVk *programVk = getShaderProgram(contextVk->getState(), shaderType); in transformShaderSpirV()
129 const gl::ProgramExecutable *glExecutable = contextVk->getState().getProgramExecutable(); in updateUniforms()
133 ProgramVk *programVk = getShaderProgram(contextVk->getState(), shaderType); in updateUniforms()
152 ProgramVk *programVk = getShaderProgram(contextVk->getState(), shaderType); in updateUniforms()
157 mExecutable.updateTransformFeedbackDescriptorSetImpl(programVk->getState(), in updateUniforms()
/external/deqp/framework/common/
DtcuTestHierarchyUtil.cpp64 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeXmlCaselist()
86 const bool isEnter = iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE; in writeXmlCaselist()
88 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE || in writeXmlCaselist()
89 iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE); in writeXmlCaselist()
133 while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) in writeXmlCaselistsToFiles()
139 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeXmlCaselistsToFiles()
174 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && in writeXmlCaselistsToFiles()
191 while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) in writeTxtCaselistsToFiles()
197 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeTxtCaselistsToFiles()
210 if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE) in writeTxtCaselistsToFiles()
[all …]
DtcuTestHierarchyIterator.cpp121 TestHierarchyIterator::State TestHierarchyIterator::getState (void) const in getState() function in tcu::TestHierarchyIterator
127 DE_ASSERT(iter.getState() == NodeIter::NISTATE_ENTER || in getState()
128 iter.getState() == NodeIter::NISTATE_LEAVE); in getState()
130 return iter.getState() == NodeIter::NISTATE_ENTER ? STATE_ENTER_NODE : STATE_LEAVE_NODE; in getState()
138 DE_ASSERT(getState() != STATE_FINISHED); in getNode()
144 DE_ASSERT(getState() != STATE_FINISHED); in getNodePath()
169 switch (iter.getState()) in next()
267 DE_ASSERT(m_sessionStack.empty() && getState() == STATE_FINISHED); in next()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java360 if (TransactionState.COMPLETED == this.getState()) { in isMessagePartOfTransaction()
419 sipStack.getStackLogger().logDebug("TransactionState " + this.getState()); in sendMessage()
422 if (TransactionState.PROCEEDING == getState() in sendMessage()
423 || TransactionState.CALLING == getState()) { in sendMessage()
449 if (getState() == null) { in sendMessage()
505 if (getState() == null) in processResponse()
509 if ((TransactionState.COMPLETED == this.getState() || TransactionState.TERMINATED == this in processResponse()
510 .getState()) in processResponse()
518 + getState()); in processResponse()
609 if (TransactionState.TRYING == this.getState()) { in nonInviteClientTransaction()
[all …]
/external/deqp/executor/
DxeTcpIpLink.cpp92 CommLinkState TcpIpLinkState::getState (void) const in getState() function in xe::TcpIpLinkState
99 CommLinkState TcpIpLinkState::getState (std::string& error) const in getState() function in xe::TcpIpLinkState
371 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_LAUNCHING, "Unexpected PROCESS_START… in handleMessage()
378 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_LAUNCHING, "Unexpected PROCESS_LAUNC… in handleMessage()
385 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_RUNNING, "Unexpected PROCESS_FINISHE… in handleMessage()
400 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_RUNNING, "Unexpected PROCESS_LOG_DAT… in handleMessage()
440 deSocketState state = m_socket.getState(); in closeConnection()
454 if (m_socket.getState() != DE_SOCKETSTATE_CLOSED) in closeConnection()
460 XE_CHECK(m_socket.getState() == DE_SOCKETSTATE_CLOSED); in connect()
461 XE_CHECK(m_state.getState() == COMMLINKSTATE_ERROR); in connect()
[all …]
DxeLocalTcpIpLink.cpp137 CommLinkState LocalTcpIpLink::getState (void) const in getState() function in xe::LocalTcpIpLink
142 return m_link.getState(); in getState()
145 CommLinkState LocalTcpIpLink::getState (std::string& error) const in getState() function in xe::LocalTcpIpLink
153 return m_link.getState(); in getState()
/external/angle/src/libANGLE/
DProgramPipeline.cpp124 if (shaderProgram && shaderProgram->getState().hasDefaultUniforms()) in hasDefaultUniforms()
138 if (shaderProgram && shaderProgram->getState().hasTextures()) in hasTextures()
152 if (shaderProgram && shaderProgram->getState().hasUniformBuffers()) in hasUniformBuffers()
166 if (shaderProgram && shaderProgram->getState().hasStorageBuffers()) in hasStorageBuffers()
180 if (shaderProgram && shaderProgram->getState().hasAtomicCounterBuffers()) in hasAtomicCounterBuffers()
194 if (shaderProgram && shaderProgram->getState().hasImages()) in hasImages()
208 if (shaderProgram && shaderProgram->getState().hasTransformFeedbackOutput()) in hasTransformFeedbackOutput()
314 mState.mExecutable.updateActiveSamplers(program->getState()); in updateExecutableTextures()
372 Shader *shader = program->getState().getAttachedShader(shaderType); in getMergedVaryings()
407 Shader *shader = program->getState().getAttachedShader(shaderType); in getMergedVaryings()
[all …]
DvalidationES2.h42 if (!context->getState().isBindGeneratesResourceEnabled() && in ValidateBindBuffer()
100 bool nullBufferAllowed = context->getState().areClientArraysEnabled() && in ValidateVertexAttribPointer()
101 context->getState().getVertexArray()->id().value == 0; in ValidateVertexAttribPointer()
102 if (!nullBufferAllowed && context->getState().getTargetBuffer(BufferBinding::Array) == 0 && in ValidateVertexAttribPointer()
150 if (!context->getState().isBindGeneratesResourceEnabled() && in ValidateBindTexture()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/
DTagsComponentImplBaseTest.java39 assertThat(tagsComponent.getState()).isEqualTo(TaggingState.ENABLED); in defaultState()
46 assertThat(tagsComponent.getState()).isEqualTo(TaggingState.DISABLED); in setState_Disabled()
54 assertThat(tagsComponent.getState()).isEqualTo(TaggingState.ENABLED); in setState_Enabled()
69 tagsComponent.getState(); in preventSettingStateAfterGettingState_DifferentState()
79 tagsComponent.getState(); in preventSettingStateAfterGettingState_SameState()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DInternalSubchannel.java207 if (state.getState() == IDLE) { in obtainActiveTransport()
308 if (state.getState() != TRANSIENT_FAILURE) { in resetConnectBackoff()
327 if (state.getState() != newState.getState()) { in gotoState()
328 Preconditions.checkState(state.getState() != SHUTDOWN, in gotoState()
360 if (state.getState() == READY || state.getState() == CONNECTING) { in updateAddresses()
363 if (state.getState() == READY) { in updateAddresses()
392 if (state.getState() == SHUTDOWN) { in shutdown()
508 builder.setTarget(addressGroupsSnapshot.toString()).setState(getState()); in getStats()
519 ConnectivityState getState() { in getState() method in InternalSubchannel
522 return state.getState(); in getState()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DStreamChecker.cpp212 ProgramStateRef state = C.getState(); in OpenFileAux()
239 ProgramStateRef state = CheckDoubleClose(CE, C.getState(), C); in Fclose()
245 ProgramStateRef state = C.getState(); in Fread()
252 ProgramStateRef state = C.getState(); in Fwrite()
259 ProgramStateRef state = C.getState(); in Fseek()
286 ProgramStateRef state = C.getState(); in Ftell()
293 ProgramStateRef state = C.getState(); in Rewind()
300 ProgramStateRef state = C.getState(); in Fgetpos()
307 ProgramStateRef state = C.getState(); in Fsetpos()
314 ProgramStateRef state = C.getState(); in Clearerr()
[all …]
DObjCSuperDeallocChecker.cpp90 ProgramStateRef State = C.getState(); in checkPreObjCMessage()
125 ProgramStateRef State = C.getState(); in checkPostObjCMessage()
142 ProgramStateRef State = C.getState(); in checkLocation()
208 ProgramStateRef State = C.getState(); in diagnoseCallArguments()
246 ASTContext &Ctx = M.getState()->getStateManager().getContext(); in isSuperDeallocMessage()
259 ProgramStateRef State = Succ->getState(); in VisitNode()
262 Succ->getState()->contains<CalledSuperDealloc>(ReceiverSymbol); in VisitNode()
264 Pred->getState()->contains<CalledSuperDealloc>(ReceiverSymbol); in VisitNode()
DVforkChecker.cpp123 if (ExplodedNode *N = C.generateErrorNode(C.getState())) { in reportBug()
147 ProgramStateRef State = C.getState(); in checkPostCall()
176 std::tie(ParentState, ChildState) = C.getState()->assume(*DVal); in checkPostCall()
185 ProgramStateRef State = C.getState(); in checkPreCall()
194 ProgramStateRef State = C.getState(); in checkBind()
211 ProgramStateRef State = C.getState(); in checkPreStmt()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCheckerContext.h98 assert(Pred->getState() && in Eng()
118 const ProgramStateRef &getState() const { return Pred->getState(); } in getState() function
196 return getState()->getSVal(S, getLocationContext()); in getSVal()
210 return addTransitionImpl(State ? State : getState(), false, nullptr, Tag);
231 return addTransitionImpl(State ? State : getState(), true, Pred, Tag);
332 if (!State || (State == Pred->getState() && !Tag && !MarkAsSink))
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPIChecker.cpp40 ProgramStateRef State = Ctx.getState(); in checkDoubleNonblocking()
47 Ctx.addTransition(ErrorNode->getState(), ErrorNode); in checkDoubleNonblocking()
74 ProgramStateRef State = Ctx.getState(); in checkUnmatchedWaits()
85 State = ErrorNode->getState(); in checkUnmatchedWaits()
104 ProgramStateRef State = Ctx.getState(); in checkMissingWaits()
119 State = ErrorNode->getState(); in checkMissingWaits()
165 Ctx.getState(), SuperRegion, in allRegionsUsedByWait()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DStatsComponentImplBaseTest.java42 assertThat(statsComponent.getState()).isEqualTo(StatsCollectionState.ENABLED); in defaultState()
49 assertThat(statsComponent.getState()).isEqualTo(StatsCollectionState.DISABLED); in setState_Disabled()
57 assertThat(statsComponent.getState()).isEqualTo(StatsCollectionState.ENABLED); in setState_Enabled()
72 statsComponent.getState(); in preventSettingStateAfterGettingState()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineObjC.cpp25 ProgramStateRef state = Pred->getState(); in VisitLvalObjCIvarRefExpr()
75 ProgramStateRef state = Pred->getState(); in VisitObjCForCollectionStmt()
96 ProgramStateRef state = Pred->getState(); in VisitObjCForCollectionStmt()
140 CEMgr.getObjCMethodCall(ME, Pred->getState(), Pred->getLocationContext()); in VisitObjCMessage()
177 ProgramStateRef State = Pred->getState(); in VisitObjCMessage()
227 ProgramStateRef State = Pred->getState(); in VisitObjCMessage()
246 Bldr.generateSink(ME, Pred, Pred->getState()); in VisitObjCMessage()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractFutureBenchmarks.java90 Thread.State state = t.getState(); in awaitWaiting()
329 int state = getState(); in getValue()
349 return (getState() & (COMPLETED | CANCELLED | INTERRUPTED)) != 0; in isDone()
354 return (getState() & (CANCELLED | INTERRUPTED)) != 0; in isCancelled()
359 return getState() == INTERRUPTED; in wasInterrupted()
399 } else if (getState() == COMPLETING) { in complete()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAbstractFutureBenchmarks.java90 Thread.State state = t.getState(); in awaitWaiting()
329 int state = getState(); in getValue()
349 return (getState() & (COMPLETED | CANCELLED | INTERRUPTED)) != 0; in isDone()
354 return (getState() & (CANCELLED | INTERRUPTED)) != 0; in isCancelled()
359 return getState() == INTERRUPTED; in wasInterrupted()
399 } else if (getState() == COMPLETING) { in complete()
/external/angle/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp96 ClearParameters clearParams = GetClearParameters(context->getState(), mask); in clear()
106 ClearParameters clearParams = GetClearParameters(context->getState(), 0); in clearBufferfv()
133 ClearParameters clearParams = GetClearParameters(context->getState(), 0); in clearBufferuiv()
150 ClearParameters clearParams = GetClearParameters(context->getState(), 0); in clearBufferiv()
178 ClearParameters clearParams = GetClearParameters(context->getState(), 0); in clearBufferfi()
194 const gl::Extents fbSize = getState().getReadPixelsAttachment(format)->getSize(); in readPixels()
203 const gl::PixelPackState &packState = context->getState().getPackState(); in readPixels()
230 const auto &glState = context->getState(); in blit()
295 context->getState().getProgram()->getActiveOutputVariables(); in getColorAttachmentsForRender()

12345678910>>...14