Searched defs:local (Results 1 - 6 of 6) sorted by relevance

/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntitySet.java72 // Read all contacts into local deltas to prepare for edits
88 public static EntitySet mergeAfter(EntitySet local, EntitySet remote) { argument
89 if (local == null) local = new EntitySet();
95 // Find or create local match and merge
96 final EntityDelta localEntity = local.getByRawContactId(rawContactId);
100 // No local entry before, so insert
101 local.add(merged);
105 return local;
H A DEntityDelta.java100 public static EntityDelta mergeAfter(EntityDelta local, EntityDelta remote) { argument
101 // Bail early if trying to merge delete with missing local
103 if (local == null && (remoteValues.isDelete() || remoteValues.isTransient())) return null;
105 // Create local version if none exists yet
106 if (local == null) local = new EntityDelta();
109 final Long localVersion = (local.mValues == null) ? null : local.mValues
117 local.mValues = ValuesDelta.mergeAfter(local
717 mergeAfter(ValuesDelta local, ValuesDelta remote) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DRawContactDelta.java105 public static RawContactDelta mergeAfter(RawContactDelta local, RawContactDelta remote) { argument
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
[all...]
H A DRawContactDeltaList.java85 // Read all contacts into local deltas to prepare for edits
100 public static RawContactDeltaList mergeAfter(RawContactDeltaList local, argument
102 if (local == null) local = new RawContactDeltaList();
108 // Find or create local match and merge
109 final RawContactDelta localEntity = local.getByRawContactId(rawContactId);
113 // No local entry before, so insert
114 local.add(merged);
118 return local;
H A DValuesDelta.java329 public static ValuesDelta mergeAfter(ValuesDelta local, ValuesDelta remote) { argument
330 // Bail early if trying to merge delete with missing local
331 if (local == null && (remote.isDelete() || remote.isTransient())) return null;
333 // Create local version if none exists yet
334 if (local == null) local = new ValuesDelta();
336 if (!local.beforeExists()) {
338 local.mAfter = remote.getCompleteValues();
341 local.mAfter = remote.mAfter;
344 return local;
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarInstancesHelper.java292 // need to parse the event into a local calendar.
501 // not be "polite" and yield the lock until we're done. This will favor local query
705 Time local = new Time();
707 local.timezone = Time.TIMEZONE_UTC;
709 local.timezone = fields.timezone;
713 local, instanceValues);
886 * @param local a Time object with the timezone set to the local timezone
890 Time local, ContentValues values) {
891 local
889 computeTimezoneDependentFields(long begin, long end, Time local, ContentValues values) argument
[all...]

Completed in 111 milliseconds