OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:objectIds
(Results
1 - 9
of
9
) sorted by null
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
InvalidationIntentProtocol.java
132
Set<ObjectId>
objectIds
= new HashSet<ObjectId>(objectSources.size());
134
objectIds
.add(ObjectId.newInstance(
137
return
objectIds
;
InvalidationPreferences.java
127
Set<ObjectId>
objectIds
= new HashSet<ObjectId>(objectIdStrings.size());
131
objectIds
.add(objectId);
134
return
objectIds
;
138
public void setObjectIds(EditContext editContext, Collection<ObjectId>
objectIds
) {
139
if (
objectIds
== null) throw new NullPointerException("
objectIds
is null.");
140
Set<String> objectIdStrings = new HashSet<String>(
objectIds
.size());
141
for (ObjectId objectId :
objectIds
) {
InvalidationService.java
304
Set<ObjectId>
objectIds
= new InvalidationPreferences(this).getSavedObjectIds();
305
if (
objectIds
== null) return Collections.emptySet();
306
else return
objectIds
;
342
* {@code
objectIds
}. Either parameter may be null if the corresponding registrations are not
347
private void setRegisteredTypes(Set<String> syncTypes, Set<ObjectId>
objectIds
) {
365
if (
objectIds
!= null) {
366
prefs.setObjectIds(editContext,
objectIds
);
385
Set<ObjectId> desiredNonSyncRegistrations =
objectIds
!= null ?
386
objectIds
: existingNonSyncRegistrations;
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
InvalidationPreferencesTest.java
91
Set<ObjectId>
objectIds
= CollectionUtil.newHashSet(
97
invPreferences.setObjectIds(editContext,
objectIds
);
110
assertEquals(
objectIds
, invPreferences.getSavedObjectIds());
InvalidationServiceTest.java
606
Set<ObjectId>
objectIds
= new HashSet<ObjectId>();
610
objectIds
.add(ObjectId.newInstance(1, "obj1".getBytes()));
611
objectIds
.add(ObjectId.newInstance(2, "obj2".getBytes()));
615
assertTrue(expectedObjectIdsRegistered(types,
objectIds
, false /* isReady */));
622
assertTrue(expectedObjectIdsRegistered(types,
objectIds
, false /* isReady */));
626
assertTrue(expectedObjectIdsRegistered(types,
objectIds
, true /* isReady */));
629
objectIds
.add(ObjectId.newInstance(3, "obj3".getBytes()));
633
assertTrue(expectedObjectIdsRegistered(types,
objectIds
, true /* isReady */));
639
assertTrue(expectedObjectIdsRegistered(types,
objectIds
, true /* isReady */));
645
assertTrue(expectedObjectIdsRegistered(types,
objectIds
, true /* isReady */))
[
all
...]
/external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/base/
ModelType.java
174
Set<ObjectId>
objectIds
= new HashSet<ObjectId>(filteredModelTypes.size());
176
objectIds
.add(modelType.toObjectId());
178
return
objectIds
;
183
Set<String>
objectIds
= new HashSet<String>(modelTypes.size());
185
objectIds
.add(modelType.toString());
187
return
objectIds
;
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/
InvalidationControllerTest.java
309
Set<ObjectId>
objectIds
= InvalidationIntentProtocol.getRegisteredObjectIds(intent);
310
assertEquals(2,
objectIds
.size());
311
assertTrue(
objectIds
.contains(ObjectId.newInstance(1, "a".getBytes())));
312
assertTrue(
objectIds
.contains(ObjectId.newInstance(2, "b".getBytes())));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar
/external/robolectric/lib/main/
h2-1.2.147.jar
Completed in 425 milliseconds