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.java2310 if (!applyingBatch()) { in insert()
2319 if (!applyingBatch()) { in update()
2328 if (!applyingBatch()) { in delete()
2339 mStats.incrementInsertStats(callingUid, applyingBatch()); in insertInTransaction()
3329 mStats.incrementDeleteStats(callingUid, applyingBatch()); in deleteInTransaction()
4207 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.java338 protected boolean applyingBatch() { in applyingBatch() method in CallLogProvider
535 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in insert()
537 mStats.incrementInsertStats(callingUid, applyingBatch()); in insert()
548 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in update()
550 mStats.incrementInsertStats(callingUid, applyingBatch()); in update()
561 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in delete()
563 mStats.incrementInsertStats(callingUid, applyingBatch()); in delete()