Home
last modified time | relevance | path

Searched refs:isInsert (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DValuesDeltaTests.java51 final boolean isInsert = Build.VERSION.SDK_INT >= Build.VERSION_CODES.M in testValuesDiffInsert()
52 ? builderWrapper.getBuilder().build().isInsert() in testValuesDiffInsert()
54 assertTrue("Didn't produce insert action", isInsert); in testValuesDiffInsert()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDelta.java148 return mValues.isInsert(); in isContactInsert()
435 final boolean isContactInsert = mValues.isInsert(); in buildAssertHelper()
457 final boolean isContactInsert = mValues.isInsert(); in buildDiff()
490 if (child.isInsert()) { in buildDiff()
532 final boolean isContactInsert = mValues.isInsert(); in buildDiffWrapper()
563 if (child.isInsert()) { in buildDiffWrapper()
DRawContactDeltaList.java150 final boolean isInsert = delta.isContactInsert(); in buildDiffWrapper()
151 backRefs[rawContactIndex++] = isInsert ? firstBatch : -1; in buildDiffWrapper()
172 if (!isInsert) continue; in buildDiffWrapper()
DValuesDelta.java240 public boolean isInsert() { in isInsert() method in ValuesDelta
425 if (isInsert()) { in buildDiffWrapper()
437 if (isInsert()) { in buildDiffHelper()
DRawContactModifier.java424 final boolean touched = entry.isInsert() || entry.isUpdate(); in trimEmpty()
463 final boolean isRealInsert = entry.isInsert() && !isEmpty(entry, kind); in hasChanges()
478 return values.isInsert() && values.getAsByteArray(Photo.PHOTO) == null; in isEmpty()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForGroupMembership.java148 long rawContactId, SQLiteDatabase db, ContentValues values, boolean isInsert) {
158 if (isInsert) {
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java111 final boolean isInsert = groupId == NO_GROUP_ID; in newInstance()
113 args.putBoolean(ARG_IS_INSERT, isInsert); in newInstance()
/packages/apps/Contacts/src/com/android/contacts/compat/
DCompatUtils.java48 return cpoWrapper.getOperation().isInsert(); in isInsertCompat()
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java78 mChanged = entry.isInsert(); in setValues()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryContentProvider.java291 if (operation.isInsert()) { in applyBatch()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java302 if (operations.get(i).isInsert()) { in applyBatch()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java809 if (op.build().isInsert() && !attrs.isDirectory() && mOwnerPackage != null) { in visitFile()
905 if (op.isInsert()) mInsertCount++; in addPending()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java735 final boolean isInsert = CompatUtils.isInsertCompat(cpoWrapper); in getInsertedRawContactId()
736 if (isInsert && cpoWrapper.getOperation().getUri().getEncodedPath().contains( in getInsertedRawContactId()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java365 if (isInsert()) {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java318 isAddOrDelete |= (op.isInsert() || op.isDelete()) && in applyBatch()