Home
last modified time | relevance | path

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

/aosp12/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java90 private boolean applyingBatch() { in applyingBatch() method in SQLiteContentProvider
97 boolean applyingBatch = applyingBatch(); in insert()
98 if (!applyingBatch) { in insert()
150 boolean applyingBatch = applyingBatch(); in update()
151 if (!applyingBatch) { in update()
178 boolean applyingBatch = applyingBatch(); in delete()
179 if (!applyingBatch) { in delete()
/aosp12/packages/apps/Gallery2/src/com/android/photos/data/
H A 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()
/aosp12/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A 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()
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllog/database/
H A 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()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A 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()