/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AtomicBackoffTest.java | 36 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 …]
|
D | ConnectivityStateManagerTest.java | 51 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 …]
|
D | InternalSubchannelTest.java | 161 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/ |
D | ShadowMediaRecorderTest.java | 37 …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 …]
|
D | ShadowMediaPlayerTest.java | 117 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/nist-sip/java/gov/nist/javax/sip/stack/ |
D | SIPClientTransaction.java | 360 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/framework/common/ |
D | tcuTestHierarchyUtil.cpp | 64 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 …]
|
D | tcuTestHierarchyIterator.cpp | 120 TestHierarchyIterator::State TestHierarchyIterator::getState (void) const in getState() function in tcu::TestHierarchyIterator 126 DE_ASSERT(iter.getState() == NodeIter::STATE_ENTER || in getState() 127 iter.getState() == NodeIter::STATE_LEAVE); in getState() 129 return iter.getState() == NodeIter::STATE_ENTER ? STATE_ENTER_NODE : STATE_LEAVE_NODE; in getState() 137 DE_ASSERT(getState() != STATE_FINISHED); in getNode() 143 DE_ASSERT(getState() != STATE_FINISHED); in getNodePath() 168 switch (iter.getState()) in next() 256 DE_ASSERT(m_sessionStack.empty() && getState() == STATE_FINISHED); in next()
|
/external/deqp/executor/ |
D | xeTcpIpLink.cpp | 92 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 …]
|
D | xeLocalTcpIpLink.cpp | 137 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/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/ |
D | TagsComponentImplBaseTest.java | 39 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/ |
D | InternalSubchannel.java | 207 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/ |
D | StreamChecker.cpp | 212 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 …]
|
D | ObjCSuperDeallocChecker.cpp | 90 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()
|
D | VforkChecker.cpp | 123 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()
|
D | PointerArithChecker.cpp | 110 ProgramStateRef State = C.getState(); in getPointedRegion() 132 ProgramStateRef State = C.getState(); in getArrayRegion() 157 ProgramStateRef State = C.getState(); in reportPointerArithMisuse() 222 ProgramStateRef State = C.getState(); in checkPostStmt() 251 ProgramStateRef State = C.getState(); in checkPostStmt() 266 ProgramStateRef State = C.getState(); in checkPostStmt() 284 ProgramStateRef State = C.getState(); in checkPreStmt() 308 ProgramStateRef State = C.getState(); in checkPreStmt() 325 ProgramStateRef State = C.getState(); in checkPreStmt()
|
D | ObjCSelfInitChecker.cpp | 115 return getSelfFlags(val, C.getState()); in getSelfFlags() 135 SVal exprVal = C.getState()->getSVal(E, C.getLocationContext()); in isInvalidSelf() 149 if (!C.getState()->get<CalledInit>()) in checkForInvalidSelf() 179 ProgramStateRef state = C.getState(); in checkPostObjCMessage() 245 ProgramStateRef state = C.getState(); in checkPreCall() 273 ProgramStateRef state = C.getState(); in checkPostCall() 310 ProgramStateRef state = C.getState(); in checkLocation() 330 ProgramStateRef State = C.getState(); in checkBind()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CheckerContext.h | 98 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/ |
D | MPIChecker.cpp | 40 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/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineObjC.cpp | 25 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()
|
D | ExprEngineC.cpp | 38 ProgramStateRef state = (*it)->getState(); in VisitBinaryOperator() 130 state = (*I)->getState(); in VisitBinaryOperator() 198 ProgramStateRef State = Pred->getState(); in VisitBlockExpr() 259 ProgramStateRef state = subExprNode->getState(); in VisitCast() 278 ProgramStateRef state = Pred->getState(); in VisitCast() 305 ProgramStateRef state = Pred->getState(); in VisitCast() 448 ProgramStateRef State = Pred->getState(); in VisitCompoundLiteralExpr() 496 ProgramStateRef state = N->getState(); in VisitDeclStmt() 558 ProgramStateRef state = Pred->getState(); in VisitLogicalExpr() 594 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); in VisitLogicalExpr() [all …]
|
D | ExprEngine.cpp | 359 ProgramStateRef CleanedState = Pred->getState(); in removeDead() 403 ProgramStateRef CheckerState = (*I)->getState(); in removeDead() 409 assert(StateMgr.haveEqualEnvironments(CheckerState, Pred->getState()) && in removeDead() 412 assert(StateMgr.haveEqualStores(CheckerState, Pred->getState()) && in removeDead() 470 ProgramStateRef State = Pred->getState(); in ProcessInitializer() 537 Bldr.generateNode(PP, N->getState(), N); in ProcessInitializer() 585 Bldr.generateNode(PP, Pred->getState(), Pred); in ProcessNewAllocator() 596 ProgramStateRef state = Pred->getState(); in ProcessAutomaticObjDtor() 612 ProgramStateRef State = Pred->getState(); in ProcessDeleteDtor() 628 Bldr.generateNode(PP, Pred->getState(), Pred); in ProcessDeleteDtor() [all …]
|
D | ExprEngineCXX.cpp | 30 ProgramStateRef state = Pred->getState(); in CreateCXXTemporaryObject() 66 V = Pred->getState()->getSVal(*L); in performTrivialCopy() 76 ProgramStateRef State = (*I)->getState(); in performTrivialCopy() 110 ProgramStateRef State = Pred->getState(); in getRegionForConstructedObject() 237 ProgramStateRef State = Pred->getState(); in VisitCXXConstructExpr() 307 ProgramStateRef State = (*I)->getState(); in VisitCXXConstructExpr() 362 ProgramStateRef State = Pred->getState(); in VisitCXXDestructor() 403 ProgramStateRef State = Pred->getState(); in VisitCXXNewAllocatorCall() 460 ProgramStateRef State = Pred->getState(); in VisitCXXNewExpr() 534 ProgramStateRef state = Pred->getState(); in VisitCXXDeleteExpr() [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | StatsComponentImplBaseTest.java | 42 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/guava/guava/src/com/google/common/util/concurrent/ |
D | AbstractFuture.java | 295 int state = getState(); in getValue() 320 return (getState() & (COMPLETED | CANCELLED | INTERRUPTED)) != 0; in isDone() 327 return (getState() & (CANCELLED | INTERRUPTED)) != 0; in isCancelled() 334 return getState() == INTERRUPTED; in wasInterrupted() 381 } else if (getState() == COMPLETING) { in complete()
|