Home
last modified time | relevance | path

Searched refs:inTransaction (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteDatabase.java42 private boolean inTransaction = false; field in ShadowSQLiteDatabase
291 inTransaction = true;
318 inTransaction = false;
323 public boolean inTransaction() {
324 return inTransaction;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDatabaseTestBase.java550 assertThat( database.inTransaction(), equalTo(false) ); in testInTransaction()
552 assertThat( database.inTransaction(), equalTo(true) ); in testInTransaction()
554 assertThat( database.inTransaction(), equalTo(false) ); in testInTransaction()
/external/sqlite/dist/
Dsqlite3.c52519 u8 inTransaction; /* Transaction state */
52733 assert( p->pBt->inTransaction!=TRANS_NONE || p->pBt->nTransaction==0 ); \
52734 assert( p->pBt->inTransaction>=p->inTrans );
53330 assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE );
55845 assert( countValidCursors(pBt,0)==0 || pBt->inTransaction>TRANS_NONE );
55846 if( pBt->inTransaction==TRANS_NONE && pBt->pPage1!=0 ){
55963 assert( pBt->inTransaction==TRANS_WRITE || IfNotOmitAV(pBt->bDoTruncate)==0 );
55976 if( (wrflag && pBt->inTransaction==TRANS_WRITE)
56028 }while( (rc&0xFF)==SQLITE_BUSY && pBt->inTransaction==TRANS_NONE &&
56044 if( p->inTrans>pBt->inTransaction ){
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c52501 u8 inTransaction; /* Transaction state */
52715 assert( p->pBt->inTransaction!=TRANS_NONE || p->pBt->nTransaction==0 ); \
52716 assert( p->pBt->inTransaction>=p->inTrans );
53312 assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE );
55827 assert( countValidCursors(pBt,0)==0 || pBt->inTransaction>TRANS_NONE );
55828 if( pBt->inTransaction==TRANS_NONE && pBt->pPage1!=0 ){
55945 assert( pBt->inTransaction==TRANS_WRITE || IfNotOmitAV(pBt->bDoTruncate)==0 );
55958 if( (wrflag && pBt->inTransaction==TRANS_WRITE)
56010 }while( (rc&0xFF)==SQLITE_BUSY && pBt->inTransaction==TRANS_NONE &&
56026 if( p->inTrans>pBt->inTransaction ){
[all …]
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...