Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/photos/data/
DSQLiteContentProvider.java111 private boolean applyingBatch() { in applyingBatch() method in SQLiteContentProvider
119 boolean applyingBatch = applyingBatch(); in insert()
120 if (!applyingBatch) { in insert()
162 boolean applyingBatch = applyingBatch(); in update()
163 if (!applyingBatch) { in update()
186 boolean applyingBatch = applyingBatch(); in delete()
187 if (!applyingBatch) { in delete()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DSQLiteContentProvider.java86 protected boolean applyingBatch() { in applyingBatch() method in SQLiteContentProvider
93 boolean applyingBatch = applyingBatch(); in insert()
95 if (!applyingBatch) { in insert()
148 boolean applyingBatch = applyingBatch(); in update()
150 if (!applyingBatch) { in update()
181 boolean applyingBatch = applyingBatch(); in delete()
183 if (!applyingBatch) { in delete()
DCalendarProvider2.java2286 if (!applyingBatch()) { in insert()
2295 if (!applyingBatch()) { in update()
2304 if (!applyingBatch()) { in delete()
2315 mStats.incrementInsertStats(callingUid, applyingBatch()); in insertInTransaction()
3305 mStats.incrementDeleteStats(callingUid, applyingBatch()); in deleteInTransaction()
4183 mStats.incrementUpdateStats(callingUid, applyingBatch()); in updateInTransaction()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryContentProvider.java75 private final ThreadLocal<Boolean> applyingBatch = new ThreadLocal<>(); field in PhoneLookupHistoryContentProvider
79 return applyingBatch.get() != null && applyingBatch.get(); in isApplyingBatch()
282 applyingBatch.set(true); in applyBatch()
306 applyingBatch.set(false); in applyBatch()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java64 private final ThreadLocal<Boolean> applyingBatch = new ThreadLocal<>(); field in AnnotatedCallLogContentProvider
68 return applyingBatch.get() != null && applyingBatch.get(); in isApplyingBatch()
286 applyingBatch.set(true); in applyBatch()
327 applyingBatch.set(false); in applyBatch()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java246 protected boolean applyingBatch() { in applyingBatch() method in CallLogProvider
429 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in insert()
431 mStats.incrementInsertStats(callingUid, applyingBatch()); in insert()
442 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in update()
444 mStats.incrementInsertStats(callingUid, applyingBatch()); in update()
455 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in delete()
457 mStats.incrementInsertStats(callingUid, applyingBatch()); in delete()