OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expectedKeys
(Results
1 - 25
of
122
) sorted by null
1
2
3
4
5
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
HashMultimap.java
63
* @param
expectedKeys
the expected number of distinct keys
65
* @throws IllegalArgumentException if {@code
expectedKeys
} or {@code
69
int
expectedKeys
, int expectedValuesPerKey) {
70
return new HashMultimap<K, V>(
expectedKeys
, expectedValuesPerKey);
89
private HashMultimap(int
expectedKeys
, int expectedValuesPerKey) {
90
super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(
expectedKeys
));
ArrayListMultimap.java
80
* @param
expectedKeys
the expected number of distinct keys
82
* @throws IllegalArgumentException if {@code
expectedKeys
} or {@code
86
int
expectedKeys
, int expectedValuesPerKey) {
87
return new ArrayListMultimap<K, V>(
expectedKeys
, expectedValuesPerKey);
106
private ArrayListMultimap(int
expectedKeys
, int expectedValuesPerKey) {
107
super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(
expectedKeys
));
LinkedListMultimap.java
176
* @param
expectedKeys
the expected number of distinct keys
177
* @throws IllegalArgumentException if {@code
expectedKeys
} is negative
179
public static <K, V> LinkedListMultimap<K, V> create(int
expectedKeys
) {
180
return new LinkedListMultimap<K, V>(
expectedKeys
);
199
private LinkedListMultimap(int
expectedKeys
) {
200
keyToKeyList = new HashMap<K, KeyList<K, V>>(
expectedKeys
);
LinkedHashMultimap.java
92
* @param
expectedKeys
the expected number of distinct keys
94
* @throws IllegalArgumentException if {@code
expectedKeys
} or {@code
98
int
expectedKeys
, int expectedValuesPerKey) {
100
Maps.capacity(
expectedKeys
),
/packages/apps/Settings/tests/robotests/src/com/android/settings/
EncryptionAndCredentialTest.java
88
final List<String>
expectedKeys
= new ArrayList<>();
90
expectedKeys
.addAll(((BaseSearchIndexProvider) SEARCH_INDEX_DATA_PROVIDER)
95
assertThat(keys).containsExactlyElementsIn(
expectedKeys
);
104
final List<String>
expectedKeys
= new ArrayList<>();
105
expectedKeys
.addAll(((BaseSearchIndexProvider) SEARCH_INDEX_DATA_PROVIDER)
109
assertThat(keys).containsExactlyElementsIn(
expectedKeys
);
118
final List<String>
expectedKeys
= new ArrayList<>();
119
expectedKeys
.addAll(((BaseSearchIndexProvider) SEARCH_INDEX_DATA_PROVIDER)
123
assertThat(keys).containsExactlyElementsIn(
expectedKeys
);
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
InitDataParserUnittest.cpp
49
const Vector<String8>&
expectedKeys
) {
60
for (size_t i = 0; i <
expectedKeys
.size(); ++i) {
62
android::encodeBase64Url(
expectedKeys
[i], kKeyIdSize,
93
Vector<String8>
expectedKeys
;
94
expectedKeys
.push(String8("01234567890ABCDE"));
96
attemptParseExpectingSuccess(initData, kCencMimeType,
expectedKeys
);
118
Vector<String8>
expectedKeys
;
119
expectedKeys
.push(String8("01234567890ABCDE"));
120
expectedKeys
.push(String8("ClearKeyClearKey"));
121
expectedKeys
.push(String8(" GOOGLE GOOGLE "))
[
all
...]
/external/guava/guava/src/com/google/common/collect/
ArrayListMultimap.java
85
* @param
expectedKeys
the expected number of distinct keys
87
* @throws IllegalArgumentException if {@code
expectedKeys
} or {@code
91
int
expectedKeys
, int expectedValuesPerKey) {
92
return new ArrayListMultimap<K, V>(
expectedKeys
, expectedValuesPerKey);
111
private ArrayListMultimap(int
expectedKeys
, int expectedValuesPerKey) {
112
super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(
expectedKeys
));
HashMultimap.java
68
* @param
expectedKeys
the expected number of distinct keys
70
* @throws IllegalArgumentException if {@code
expectedKeys
} or {@code
74
int
expectedKeys
, int expectedValuesPerKey) {
75
return new HashMultimap<K, V>(
expectedKeys
, expectedValuesPerKey);
94
private HashMultimap(int
expectedKeys
, int expectedValuesPerKey) {
95
super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(
expectedKeys
));
MultimapBuilder.java
92
* @throws IllegalArgumentException if {@code
expectedKeys
< 0}
94
public static MultimapBuilderWithKeys<Object> hashKeys(final int
expectedKeys
) {
95
checkNonnegative(
expectedKeys
, "
expectedKeys
");
99
return new HashMap<K, Collection<V>>(
expectedKeys
);
125
public static MultimapBuilderWithKeys<Object> linkedHashKeys(final int
expectedKeys
) {
126
checkNonnegative(
expectedKeys
, "
expectedKeys
");
130
return new LinkedHashMap<K, Collection<V>>(
expectedKeys
);
LinkedListMultimap.java
180
* @param
expectedKeys
the expected number of distinct keys
181
* @throws IllegalArgumentException if {@code
expectedKeys
} is negative
183
public static <K, V> LinkedListMultimap<K, V> create(int
expectedKeys
) {
184
return new LinkedListMultimap<K, V>(
expectedKeys
);
203
private LinkedListMultimap(int
expectedKeys
) {
204
keyToKeyList = new HashMap<K, KeyList<K, V>>(
expectedKeys
);
LinkedHashMultimap.java
96
* @param
expectedKeys
the expected number of distinct keys
98
* @throws IllegalArgumentException if {@code
expectedKeys
} or {@code
102
int
expectedKeys
, int expectedValuesPerKey) {
104
Maps.capacity(
expectedKeys
),
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
StartedServiceMatcher.java
72
Set<String>
expectedKeys
= shadowOf(expectedIntent).getExtras().keySet();
73
intentsMatch = keys.equals(
expectedKeys
);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
ExpectedKeyboardBuilder.java
222
final ExpectedKey[]
expectedKeys
= joinKeys(keys);
224
setElementAt(row, column + index,
expectedKeys
[index], true /* insert */);
239
final ExpectedKey[]
expectedKeys
= joinKeys(keys);
242
setElementAt(row, 1,
expectedKeys
[index], true /* insert */);
/external/guava/guava-tests/test/com/google/common/collect/
MapMakerTest.java
128
Set<String>
expectedKeys
= Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries);
134
expectedKeys
.add(s);
149
expectedKeys
.add(s);
178
assertEquals(
expectedKeys
, Sets.union(map.keySet(), removalNotifications.keySet()));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
HashSetTest.java
270
ArrayList<String>
expectedKeys
= new ArrayList<>(keys);
271
SpliteratorTester.runBasicIterationTests_unordered(hashSet.spliterator(),
expectedKeys
,
273
SpliteratorTester.runBasicSplitTests(hashSet,
expectedKeys
);
LinkedHashSetTest.java
340
ArrayList<String>
expectedKeys
= new ArrayList<>(keys);
341
SpliteratorTester.runBasicIterationTests_unordered(hashSet.spliterator(),
expectedKeys
,
343
SpliteratorTester.runBasicSplitTests(hashSet,
expectedKeys
);
TreeSetTest.java
336
ArrayList<String>
expectedKeys
= new ArrayList<>(keys);
337
SpliteratorTester.runBasicIterationTests_unordered(treeSet.spliterator(),
expectedKeys
,
339
SpliteratorTester.runBasicSplitTests(treeSet,
expectedKeys
);
WeakHashMapTest.java
538
ArrayList<String>
expectedKeys
= new ArrayList<>(keys);
540
SpliteratorTester.runBasicIterationTests_unordered(keys.spliterator(),
expectedKeys
,
542
SpliteratorTester.runBasicSplitTests(keys,
expectedKeys
);
HashMapTest.java
841
ArrayList<String>
expectedKeys
= new ArrayList<>(keys);
843
SpliteratorTester.runBasicIterationTests(keys.spliterator(),
expectedKeys
);
844
SpliteratorTester.runBasicSplitTests(keys,
expectedKeys
);
LinkedHashMapTest.java
844
ArrayList<String>
expectedKeys
= new ArrayList<>(keys);
846
SpliteratorTester.runBasicIterationTests_unordered(keys.spliterator(),
expectedKeys
,
848
SpliteratorTester.runBasicSplitTests(keys,
expectedKeys
);
[
all
...]
/libcore/luni/src/test/java/libcore/java/util/
HashMapTest.java
96
ArrayList<String>
expectedKeys
= new ArrayList<>(
99
SpliteratorTester.runBasicIterationTests(keys.spliterator(),
expectedKeys
);
100
SpliteratorTester.runBasicSplitTests(keys,
expectedKeys
);
LinkedHashMapTest.java
367
ArrayList<String>
expectedKeys
= new ArrayList<>(
370
SpliteratorTester.runBasicIterationTests(keys.spliterator(),
expectedKeys
);
371
SpliteratorTester.runBasicSplitTests(keys,
expectedKeys
);
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
FactoryModuleBuilderTest.java
423
Set<Key<?>>
expectedKeys
= ImmutableSet.<Key<?>>of(
434
validateDependencies(
expectedKeys
, injector.getBinding(AnimalHouse.class));
437
validateDependencies(
expectedKeys
, injector.getBinding(AnimalHouse.class));
446
validateDependencies(
expectedKeys
, binding);
454
private void validateDependencies(Set<Key<?>>
expectedKeys
, Binding<?> binding) {
460
assertEquals(
expectedKeys
, actualKeys);
/external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderTest.java
465
Set<String>
expectedKeys
= Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries);
471
expectedKeys
.add(s);
487
expectedKeys
.add(s);
516
assertEquals(
expectedKeys
, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLocaleUtilsTest.java
310
private void verifyKeys(final Iterator<String> resultKeys, final String[]
expectedKeys
)
316
assertEquals(new HashSet<String>(Arrays.asList(
expectedKeys
)), allKeys);
Completed in 606 milliseconds
1
2
3
4
5