Home
last modified time | relevance | path

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

/test/vti/dashboard/src/main/java/com/android/vts/api/
DUserFavoriteRestServlet.java87 Transaction txn = datastore.beginTransaction(); in addFavorite() local
100 txn.commit(); in addFavorite()
102 if (txn.isActive()) { in addFavorite()
106 txn.rollback(); in addFavorite()
139 Transaction txn = datastore.beginTransaction(); in updateFavorite() local
143 txn.commit(); in updateFavorite()
145 if (txn.isActive()) { in updateFavorite()
149 txn.rollback(); in updateFavorite()
DTestAcknowledgmentRestServlet.java98 Transaction txn = datastore.beginTransaction(); in doPost() local
101 txn.commit(); in doPost()
110 txn.rollback(); in doPost()
114 if (txn.isActive()) { in doPost()
116 txn.rollback(); in doPost()
DTestDataForDevServlet.java530 Transaction txn = datastore.beginTransaction(); in doPost()
545 txn.commit(); in doPost()
555 if (txn.isActive()) { in doPost()
560 txn.rollback(); in doPost()
644 Transaction txn = datastore.beginTransaction(); in doPost()
652 txn.commit(); in doPost()
660 if (txn.isActive()) { in doPost()
665 txn.rollback(); in doPost()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DDatastoreHelper.java189 Transaction txn; in datastoreTransactionalRetryWithXG() local
192 txn = datastore.beginTransaction(options); in datastoreTransactionalRetryWithXG()
194 txn = datastore.beginTransaction(); in datastoreTransactionalRetryWithXG()
217 datastore.put(txn, entityList); in datastoreTransactionalRetryWithXG()
218 txn.commit(); in datastoreTransactionalRetryWithXG()
237 if (txn.isActive()) { in datastoreTransactionalRetryWithXG()
240 txn.rollback(); in datastoreTransactionalRetryWithXG()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsAlertJobServlet.java551 Transaction txn = datastore.beginTransaction(); in doPost() local
560 txn.rollback(); in doPost()
563 txn.commit(); in doPost()
576 if (txn.isActive()) { in doPost()
577 txn.rollback(); in doPost()