Lines Matching defs:local
105 public static RawContactDelta mergeAfter(RawContactDelta local, RawContactDelta remote) {
106 // Bail early if trying to merge delete with missing local
108 if (local == null && (remoteValues.isDelete() || remoteValues.isTransient())) return null;
110 // Create local version if none exists yet
111 if (local == null) local = new RawContactDelta();
114 final Long localVersion = (local.mValues == null) ? null : local.mValues
122 local.mValues = ValuesDelta.mergeAfter(local.mValues, remote.mValues);
124 // Find matching local entry for each remote values, or create
129 // Find or create local match and merge
130 final ValuesDelta localEntry = local.getEntry(childId);
134 // No local entry before, so insert
135 local.addEntry(merged);
140 return local;