HomeSort by relevance Sort by last modified time
    Searched full:synctypes (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/base/
ModelType.java 117 * If {@code syncTypes} contains {@link #ALL_TYPES_TYPE}, then the returned
121 * {@code syncTypes} for which {@link ModelType#valueOf(String)} successfully returns; other
124 public static Set<ModelType> syncTypesToModelTypes(Collection<String> syncTypes) {
125 if (syncTypes.contains(ALL_TYPES_TYPE)) {
128 Set<ModelType> modelTypes = new HashSet<ModelType>(syncTypes.size());
129 for (String syncType : syncTypes) {
146 public static Set<ObjectId> syncTypesToObjectIds(Collection<String> syncTypes) {
147 return modelTypesToObjectIds(syncTypesToModelTypes(syncTypes));
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
ProfileSyncService.java 348 Set<ModelType> syncTypes = new HashSet<ModelType>();
350 syncTypes.add(ModelType.AUTOFILL);
353 syncTypes.add(ModelType.AUTOFILL_PROFILE);
356 syncTypes.add(ModelType.BOOKMARK);
359 syncTypes.add(ModelType.EXPERIMENTS);
362 syncTypes.add(ModelType.NIGORI);
365 syncTypes.add(ModelType.PASSWORD);
368 syncTypes.add(ModelType.SESSION);
371 syncTypes.add(ModelType.TYPED_URL);
374 syncTypes.add(ModelType.HISTORY_DELETE_DIRECTIVE)
    [all...]
  /external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
InvalidationPreferencesTest.java 90 Set<String> syncTypes = CollectionUtil.newHashSet("BOOKMARK", ModelType.ALL_TYPES_TYPE);
96 invPreferences.setSyncTypes(editContext, syncTypes);
109 assertEquals(syncTypes, invPreferences.getSavedSyncedTypes());
  /external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
InvalidationService.java 339 * Sets the types for which notifications are required to {@code syncTypes}. {@code syncTypes}
345 * @param syncTypes
347 private void setRegisteredTypes(Set<String> syncTypes, Set<ObjectId> objectIds) {
357 // Write the new sync types/object ids to preferences. We do not expand the syncTypes to
362 if (syncTypes != null) {
363 prefs.setSyncTypes(editContext, syncTypes);
379 // NOTE: syncTypes MUST NOT be used below this line, since it contains an unexpanded
383 Set<ObjectId> desiredSyncRegistrations = syncTypes != null ?
384 ModelType.syncTypesToObjectIds(syncTypes) : existingSyncRegistrations
    [all...]
InvalidationPreferences.java 110 /** Sets the saved sync types to {@code syncTypes} in {@code editContext}. */
111 public void setSyncTypes(EditContext editContext, Collection<String> syncTypes) {
112 Preconditions.checkNotNull(syncTypes);
113 Set<String> selectedTypesSet = new HashSet<String>(syncTypes);

Completed in 230 milliseconds