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.java2288 if (!applyingBatch()) { in insert()
2297 if (!applyingBatch()) { in update()
2306 if (!applyingBatch()) { in delete()
2317 mStats.incrementInsertStats(callingUid, applyingBatch()); in insertInTransaction()
3307 mStats.incrementDeleteStats(callingUid, applyingBatch()); in deleteInTransaction()
4185 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.java260 protected boolean applyingBatch() { in applyingBatch() method in CallLogProvider
445 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in insert()
447 mStats.incrementInsertStats(callingUid, applyingBatch()); in insert()
458 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in update()
460 mStats.incrementInsertStats(callingUid, applyingBatch()); in update()
471 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in delete()
473 mStats.incrementInsertStats(callingUid, applyingBatch()); in delete()