Searched refs:changes (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMessageStateChange.java103 * Gets final state changes to upsync to the server, setting the status in the DB for all rows
105 * old updates. Messages whose sequence of changes results in a no-op are cleared from the DB
109 * @param ignoreFavorites Whether to ignore changes to the favorites flag.
172 final ArrayList<MessageStateChange> changes = new ArrayList(count);
175 // We also treat changes without a server id as a no-op.
182 changes.add(change);
188 if (changes.isEmpty()) {
191 return changes;
195 * Rearrange the changes list to a map by mailbox id.
196 * @return The final changes t
198 convertToChangesMap( final List<MessageStateChange> changes) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSyncFragment.java82 // We don't need our own sync changes to trigger refreshes.
160 HashMap<Long, CalendarRow> changes = ((SelectCalendarsSyncAdapter) listAdapter)
162 if (changes != null && changes.size() > 0) {
163 for (CalendarRow row : changes.values()) {
178 changes.clear();
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSync.java110 final List<MessageStateChange> changes = MessageStateChange.getChanges(mContext,
112 if (changes == null) {
116 MessageStateChange.convertToChangesMap(changes);
121 final long[][] messageIds = new long[2][changes.size()];
/packages/apps/Settings/src/com/android/settings/wfd/
H A DWifiDisplaySettings.java216 private void scheduleUpdate(int changes) { argument
221 mPendingChanges |= changes;
232 private void update(int changes) { argument
236 if ((changes & CHANGE_SETTINGS) != 0) {
249 if ((changes & CHANGE_WIFI_DISPLAY_STATUS) != 0) {
601 final int changes = mPendingChanges;
603 update(changes);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DEmailSyncParser.java598 void changeParser(ArrayList<ServerChange> changes) throws IOException { argument
623 changeApplicationDataParser(changes, oldRead, oldFlag, flags, id);
631 private void changeApplicationDataParser(ArrayList<ServerChange> changes, Boolean oldRead, argument
660 // See if there are flag changes re: read, flag (favorite) or replied/forwarded
663 changes.add(new ServerChange(id, read, flag, flags));
763 * Commit all changes. This results in a Binder IPC call which has constraint on the size of
770 * We first try to apply the changes in normal chunk size {@link #MAX_OPS_PER_BATCH}. If we get
789 // Use a batch operation to handle the changes
H A DEmailSyncAdapter.java210 // The "empty" case is typical; we send a request for changes, and also specify a sync
213 // If there are fetch requests, we only want the fetches (i.e. no changes from the server)
980 void changeParser(ArrayList<ServerChange> changes) throws IOException { argument
1004 changeApplicationDataParser(changes, oldRead, oldFlag, flags, id);
1012 private void changeApplicationDataParser(ArrayList<ServerChange> changes, Boolean oldRead, argument
1040 // See if there are flag changes re: read, flag (favorite) or replied/forwarded
1043 changes.add(new ServerChange(id, read, flag, flags));
1125 // Use a batch operation to handle the changes
1451 // Regardless of other changes that might be made, we don't want to indicate
1458 // We can only send flag changes t
[all...]

Completed in 99 milliseconds