/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 132 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in populateContacts() local 140 addContact(contact, operations); in populateContacts() 144 context.getContentResolver().applyBatch(ContactsContract.AUTHORITY, operations); in populateContacts() 153 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in populateSpeedDialTestContacts() local 154 addContact(SIMPLE_CONTACTS[0], operations); in populateSpeedDialTestContacts() 155 addContact(SIMPLE_CONTACTS[3], operations); in populateSpeedDialTestContacts() 156 addContact(SIMPLE_CONTACTS[5], operations); in populateSpeedDialTestContacts() 158 context.getContentResolver().applyBatch(ContactsContract.AUTHORITY, operations); in populateSpeedDialTestContacts() 185 private static void addContact(Contact contact, List<ContentProviderOperation> operations) { in addContact() argument 186 int index = operations.size(); in addContact() [all …]
|
D | BlockedBumberPopulator.java | 40 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in populateBlockedNumber() local 42 operations.add( in populateBlockedNumber() 49 context.getContentResolver().applyBatch(BlockedNumberContract.AUTHORITY, operations); in populateBlockedNumber()
|
D | CallLogPopulator.java | 91 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in populateCallLog() local 106 operations.add( in populateCallLog() 115 context.getContentResolver().applyBatch(CallLog.AUTHORITY, operations); in populateCallLog()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 399 ArrayList<ContentProviderOperation> operations = new ArrayList<ContentProviderOperation>(); in createRawContact() local 400 operations.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI) in createRawContact() 410 operations.add(ContentProviderOperation.newInsert(Data.CONTENT_URI) in createRawContact() 419 results = resolver.applyBatch(ContactsContract.AUTHORITY, operations); in createRawContact() 1280 final ArrayList<ContentProviderOperation> operations = new ArrayList<>(batchSize); in splitContact() local 1284 if (!buildSplitTwoContacts(operations, rawContactIds[i], rawContactIds[j], in splitContact() 1294 if (operations.size() > 0 && !applyOperations(resolver, operations)) { in splitContact() 1314 private boolean buildSplitTwoContacts(ArrayList<ContentProviderOperation> operations, in buildSplitTwoContacts() argument 1326 buildSplitContactDiff(operations, rawContactIds1[i], rawContactIds2[j], hardSplit); in buildSplitTwoContacts() 1328 if (operations.size() > 0 && operations.size() % batchSize == 0) { in buildSplitTwoContacts() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | Blocking.java | 76 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in block() 84 operations.add( in block() 89 applyBatchOps(context.getContentResolver(), operations); in block() local 108 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in unblock() 122 operations.add( in unblock() 127 applyBatchOps(context.getContentResolver(), operations); in unblock() local
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | PackageRemovedReceiver.java | 63 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in onReceive() local 69 operations.add( in onReceive() 74 operations.add( in onReceive() 79 operations.add( in onReceive() 88 results = cr.applyBatch(TvContract.AUTHORITY, operations); in onReceive()
|
D | PackageChangedReceiver.java | 56 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in onReceive() local 61 operations.add(ContentProviderOperation in onReceive() 64 operations.add(ContentProviderOperation in onReceive() 72 operations.add(ContentProviderOperation in onReceive() 79 results = cr.applyBatch(TvContract.AUTHORITY, operations); in onReceive()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | MutationApplier.java | 69 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in applyToDatabaseInternal() local 77 operations.add( in applyToDatabaseInternal() 91 operations.add( in applyToDatabaseInternal() 118 operations.add( in applyToDatabaseInternal() 125 appContext.getContentResolver().applyBatch(AnnotatedCallLogContract.AUTHORITY, operations); in applyToDatabaseInternal()
|
D | AnnotatedCallLogContentProvider.java | 277 public ContentProviderResult[] applyBatch(@NonNull ArrayList<ContentProviderOperation> operations) in applyBatch() argument 279 ContentProviderResult[] results = new ContentProviderResult[operations.size()]; in applyBatch() 280 if (operations.isEmpty()) { in applyBatch() 288 for (int i = 0; i < operations.size(); i++) { in applyBatch() 289 ContentProviderOperation operation = operations.get(i); in applyBatch() 302 if (operations.get(i).isInsert()) { in applyBatch()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/ |
D | PhoneLookupHistoryContentProvider.java | 273 public ContentProviderResult[] applyBatch(@NonNull ArrayList<ContentProviderOperation> operations) in applyBatch() argument 275 ContentProviderResult[] results = new ContentProviderResult[operations.size()]; in applyBatch() 276 if (operations.isEmpty()) { in applyBatch() 284 for (int i = 0; i < operations.size(); i++) { in applyBatch() 285 ContentProviderOperation operation = operations.get(i); in applyBatch()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | SQLiteContentProvider.java | 218 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 220 final int numOperations = operations.size(); in applyBatch() 226 final boolean isCallerSyncAdapter = getIsCallerSyncAdapter(operations.get(0).getUri()); in applyBatch() 232 final ContentProviderOperation operation = operations.get(i); in applyBatch()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | CallLogCacheUpdater.java | 97 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); 116 operations.add( 142 Arrays.stream(appContext.getContentResolver().applyBatch(CallLog.AUTHORITY, operations))
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoritesTileAdapter.java | 514 ArrayList<ContentProviderOperation> operations = in handleDrop() local 516 StrictModeUtils.bypass(() -> updateDatabaseWithPinnedPositions(operations)); in handleDrop() 522 private void updateDatabaseWithPinnedPositions(ArrayList<ContentProviderOperation> operations) { in updateDatabaseWithPinnedPositions() argument 523 if (operations.isEmpty()) { in updateDatabaseWithPinnedPositions() 528 context.getContentResolver().applyBatch(ContactsContract.AUTHORITY, operations); in updateDatabaseWithPinnedPositions()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/ |
D | RealtimeRowProcessor.java | 152 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in writePhoneLookupHistory() 167 operations.add( in writePhoneLookupHistory() 176 .applyBatch(PhoneLookupHistoryContract.AUTHORITY, operations)) in writePhoneLookupHistory()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | SQLiteContentProvider.java | 205 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 214 final int numOperations = operations.size(); in applyBatch() 223 final ContentProviderOperation operation = operations.get(i); in applyBatch()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AbstractContactsProvider.java | 249 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 255 Log.v(TAG, "applyBatch: " + operations.size() + " ops"); in applyBatch() 261 final int numOperations = operations.size(); in applyBatch() 270 final ContentProviderOperation operation = operations.get(i); in applyBatch()
|
D | ContactMetadataProvider.java | 290 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 296 Log.v(TAG, "applyBatch: " + operations.size() + " ops"); in applyBatch() 301 ContentProviderResult[] results = super.applyBatch(operations); in applyBatch()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | CommonDatabaseUtils.java | 87 ArrayList<ContentProviderOperation> operations) { in applyBatch() argument 89 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in applyBatch()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/ |
D | PhoneLookupDataSource.java | 264 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in writePhoneLookupHistory() local 272 operations.add( in writePhoneLookupHistory() 279 operations.add( in writePhoneLookupHistory() 287 .applyBatch(PhoneLookupHistoryContract.AUTHORITY, operations)); in writePhoneLookupHistory()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItemMutator.java | 598 ArrayList<ContentProviderOperation> operations = new ArrayList<>(); in updatePinnedPosition() local 612 operations.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); in updatePinnedPosition() 614 if (operations.isEmpty()) { in updatePinnedPosition() 619 appContext.getContentResolver().applyBatch(ContactsContract.AUTHORITY, operations); in updatePinnedPosition()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 189 ArrayList<ContentProviderOperation> operations) { in applyBatch() argument 191 return mClient.applyBatch(operations); in applyBatch()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2Test.java | 9169 final ArrayList<ContentProviderOperation> operations = in testPinnedPositionsUpdate() local 9172 operations.add(newPinningOperation(i1.mContactId, 1, true)); in testPinnedPositionsUpdate() 9173 operations.add(newPinningOperation(i3.mContactId, 3, true)); in testPinnedPositionsUpdate() 9174 operations.add(newPinningOperation(i4.mContactId, 2, false)); in testPinnedPositionsUpdate() 9176 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpdate() 9194 operations.clear(); in testPinnedPositionsUpdate() 9197 operations.add(newPinningOperation(i3.mContactId, unpinned, false)); in testPinnedPositionsUpdate() 9199 CommonDatabaseUtils.applyBatch(mResolver, operations); in testPinnedPositionsUpdate() 9232 final ArrayList<ContentProviderOperation> operations = in testPinnedPositionsAfterJoinAndSplit() local 9235 operations.add(newPinningOperation(i1.mContactId, 1, true)); in testPinnedPositionsAfterJoinAndSplit() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | performance.md | 3 …tion] [1] which evaluates speed, memory usage and code size of various operations among 20 JSON li…
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 295 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 301 final int numOperations = operations.size(); in applyBatch() 304 ContentProviderOperation op = operations.get(i); in applyBatch()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderOperations.java | 181 public static String serialize(FolderOperations operations) { in serialize() argument
|