Home
last modified time | relevance | path

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

12345678

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMediaRecorderTest.java38 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testAudioEncoder()
41 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testAudioEncoder()
61 … assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_INITIALIZED))); in testAudioSource()
64 assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_INITIALIZED)); in testAudioSource()
110 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testOutputFile()
114 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testOutputFile()
119 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testOutputFormat()
123 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testOutputFormat()
128 …assertThat(shadowMediaRecorder.getState(), not(equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFI… in testPreviewDisplay()
134 …assertThat(shadowMediaRecorder.getState(), equalTo(ShadowMediaRecorder.STATE_DATA_SOURCE_CONFIGURE… in testPreviewDisplay()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/app/
DSimpleApplication.java92 if (stateManager.getState(StatsAppState.class) != null) { in onAction()
93 stateManager.getState(StatsAppState.class).toggleStats(); in onAction()
194 if (stateManager.getState(FlyCamAppState.class) != null) { in initialize()
197 stateManager.getState(FlyCamAppState.class).setCamera( flyCam ); in initialize()
204 if (stateManager.getState(StatsAppState.class) != null) { in initialize()
212 if (stateManager.getState(StatsAppState.class) != null) { in initialize()
215 stateManager.getState(StatsAppState.class).setFont(guiFont); in initialize()
216 fpsText = stateManager.getState(StatsAppState.class).getFpsText(); in initialize()
252 if (stateManager.getState(StatsAppState.class) != null) { in setDisplayFps()
253 stateManager.getState(StatsAppState.class).setDisplayFps(show); in setDisplayFps()
[all …]
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DSignatureTest.java48 assertEquals("state", Signature.UNINITIALIZED, s.getState()); in testGetProvider()
55 assertEquals("state", Signature.UNINITIALIZED, s.getState()); in testGetAlgorithm()
66 assertEquals("state", Signature.VERIFY, s.getState()); in testInitVerifyPublicKey()
77 assertEquals("state", Signature.VERIFY, s.getState()); in testInitVerifyCertificate()
88 assertEquals("state", Signature.SIGN, s.getState()); in testInitSignPrivateKey()
99 assertEquals("state", Signature.SIGN, s.getState()); in testInitSignPrivateKeySecureRandom()
124 assertEquals("state", Signature.SIGN, s.getState()); in testSign()
149 assertEquals("state", Signature.VERIFY, s.getState()); in testVerifybyteArray()
182 assertEquals("state", Signature.VERIFY, s.getState()); in testVerifybyteArrayintint()
202 assertEquals("state", Signature.SIGN, s.getState()); in testUpdatebyte()
[all …]
/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()
131 while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) in writeXmlCaselistsToFiles()
137 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeXmlCaselistsToFiles()
172 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && in writeXmlCaselistsToFiles()
187 while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) in writeTxtCaselistsToFiles()
193 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeTxtCaselistsToFiles()
206 if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE) in writeTxtCaselistsToFiles()
[all …]
DtcuTestHierarchyIterator.cpp120 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/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 …]
DSIPDialog.java336 if (getState() != DialogState.TERMINATED) { in run()
356 if (SIPDialog.this.getState() != DialogState.TERMINATED) { in run()
419 && transaction.getState() != javax.sip.TransactionState.TERMINATED) { in runTask()
832 "setContact: dialogState: " + this + "state = " + this.getState()); in addRoute()
858 if (this.getState() != DialogState.CONFIRMED in addRoute()
859 && this.getState() != DialogState.TERMINATED) { in addRoute()
940 if (this.getState() == null || this.getState().getValue() == EARLY_STATE) { in sendAck()
945 throw new SipException("Bad dialog state " + this.getState()); in sendAck()
1220 this + " old dialog state is " + this.getState()); in setState()
1328 "setContact: dialogState: " + this + "state = " + this.getState()); in addRoute()
[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()
DxeTcpIpLink.hpp46 CommLinkState getState (void) const;
47 CommLinkState getState (std::string& error) const;
131 CommLinkState getState (void) const;
132 CommLinkState getState (std::string& error) const;
/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);
328 if (!State || (State == Pred->getState() && !Tag && !MarkAsSink))
/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 …]
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()
DObjCSelfInitChecker.cpp115 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()
DDivZeroChecker.cpp60 SVal Denom = C.getState()->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt()
71 std::tie(stateNotZero, stateZero) = CM.assumeDual(C.getState(), *DV); in checkPreStmt()
79 bool TaintedD = C.getState()->isTainted(*DV); in checkPreStmt()
DNoReturnFunctionChecker.cpp84 C.generateSink(C.getState(), C.getPredecessor()); in checkPostCall()
93 C.generateSink(C.getState(), C.getPredecessor()); in checkPostObjCMessage()
139 C.generateSink(C.getState(), C.getPredecessor()); in checkPostObjCMessage()
DUndefBranchChecker.cpp61 SVal X = Ctx.getState()->getSVal(Condition, Ctx.getLocationContext()); in checkBranchCondition()
89 ProgramStateRef St = N->getState(); in checkBranchCondition()
93 St = PrevN->getState(); in checkBranchCondition()
DTestAfterDivZeroChecker.cpp118 ProgramStateRef State = Succ->getState(); in REGISTER_SET_WITH_PROGRAMSTATE()
145 return !CM.assume(C.getState(), *DSV, true); in isZero()
153 ProgramStateRef State = C.getState(); in setDivZeroMap()
166 return C.getState()->contains<DivZeroMap>(ZS); in hasDivZeroMap()
170 if (ExplodedNode *N = C.generateErrorNode(C.getState())) { in reportBug()
186 ProgramStateRef State = C.getState(); in checkEndFunction()
/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()
DExprEngineC.cpp38 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()
437 ProgramStateRef State = Pred->getState(); in VisitCompoundLiteralExpr()
485 ProgramStateRef state = N->getState(); in VisitDeclStmt()
547 ProgramStateRef state = Pred->getState(); in VisitLogicalExpr()
583 SVal RHSVal = N->getState()->getSVal(RHS, Pred->getLocationContext()); in VisitLogicalExpr()
[all …]
DExprEngineCXX.cpp30 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 …]
DExprEngine.cpp358 ProgramStateRef CleanedState = Pred->getState(); in removeDead()
402 ProgramStateRef CheckerState = (*I)->getState(); in removeDead()
408 assert(StateMgr.haveEqualEnvironments(CheckerState, Pred->getState()) && in removeDead()
411 assert(StateMgr.haveEqualStores(CheckerState, Pred->getState()) && in removeDead()
469 ProgramStateRef State = Pred->getState(); in ProcessInitializer()
536 Bldr.generateNode(PP, N->getState(), N); in ProcessInitializer()
584 Bldr.generateNode(PP, Pred->getState(), Pred); in ProcessNewAllocator()
595 ProgramStateRef state = Pred->getState(); in ProcessAutomaticObjDtor()
611 ProgramStateRef State = Pred->getState(); in ProcessDeleteDtor()
627 Bldr.generateNode(PP, Pred->getState(), Pred); in ProcessDeleteDtor()
[all …]
DBugReporterVisitors.cpp201 ProgramStateRef State = Node->getState(); in addVisitorIfNecessary()
248 ProgramStateRef State = N->getState(); in visitNodeInitial()
355 ProgramStateRef State = N->getState(); in visitNodeMaybeUnsuppress()
482 if (Succ->getState()->getSVal(R) != V) in VisitNode()
485 if (Pred->getState()->getSVal(R) == V) { in VisitNode()
512 Succ->getState()); in VisitNode()
561 ProgramStateRef State = StoreSite->getState(); in VisitNode()
722 return N->getState()->isNull(Constraint).isUnderconstrained(); in isUnderconstrained()
723 return (bool)N->getState()->assume(Constraint, !Assumption); in isUnderconstrained()
786 SubEngine *Eng = N->getState()->getStateManager().getOwningEngine(); in SuppressInlineDefensiveChecksVisitor()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractFuture.java295 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()
/external/llvm/unittests/Support/
DLockFileManagerTest.cpp32 EXPECT_EQ(LockFileManager::LFS_Owned, Locked1.getState()); in TEST()
37 EXPECT_NE(LockFileManager::LFS_Owned, Locked2.getState()); in TEST()
79 EXPECT_EQ(LockFileManager::LFS_Owned, Locked.getState()); in TEST()
110 EXPECT_EQ(LockFileManager::LFS_Owned, Locked.getState()); in TEST()

12345678