Home
last modified time | relevance | path

Searched refs:transactionWrapper (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/
DCursorQueryResultBinder.kt33 val transactionWrapper = if (inTransaction) { in convertAndReturn() constant
34 builder.transactionWrapper(dbField) in convertAndReturn()
38 transactionWrapper?.beginTransactionWithControlFlow() in convertAndReturn()
42 transactionWrapper?.commitTransaction() in convertAndReturn()
44 transactionWrapper?.endTransactionWithControlFlow() in convertAndReturn()
DInstantQueryResultBinder.kt35 val transactionWrapper = if (inTransaction) { in convertAndReturn() constant
36 scope.builder().transactionWrapper(dbField) in convertAndReturn()
40 transactionWrapper?.beginTransactionWithControlFlow() in convertAndReturn()
48 transactionWrapper?.commitTransaction() in convertAndReturn()
59 transactionWrapper?.endTransactionWithControlFlow() in convertAndReturn()
DBaseObservableQueryResultBinder.kt49 val transactionWrapper = if (inTransaction) { in createRunQueryAndReturnStatements() constant
50 builder.transactionWrapper(dbField) in createRunQueryAndReturnStatements()
56 transactionWrapper?.beginTransactionWithControlFlow() in createRunQueryAndReturnStatements()
64 transactionWrapper?.commitTransaction() in createRunQueryAndReturnStatements()
72 transactionWrapper?.endTransactionWithControlFlow() in createRunQueryAndReturnStatements()
DGuavaListenableFutureQueryResultBinder.kt91 val transactionWrapper = if (inTransaction) { in createCallableOfT() constant
92 transactionWrapper(dbField) in createCallableOfT()
96 transactionWrapper?.beginTransactionWithControlFlow() in createCallableOfT()
107 transactionWrapper?.commitTransaction() in createCallableOfT()
115 transactionWrapper?.endTransactionWithControlFlow() in createCallableOfT()
DRxCallableQueryResultBinder.kt78 val transactionWrapper = if (inTransaction) { in createCallMethod() constant
79 transactionWrapper(dbField) in createCallMethod()
83 transactionWrapper?.beginTransactionWithControlFlow() in createCallMethod()
100 transactionWrapper?.commitTransaction() in createCallMethod()
107 transactionWrapper?.endTransactionWithControlFlow() in createCallMethod()
DTransactionWrapper.kt33 fun MethodSpec.Builder.transactionWrapper(dbField: FieldSpec) = object : TransactionWrapper { in beginTransactionWithControlFlow() method
50 fun CodeBlock.Builder.transactionWrapper(dbField: FieldSpec) = object : TransactionWrapper { in transactionWrapper() method