OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:containsKey
(Results
1 - 25
of
869
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryBigramList.java
61
if (mBigramMap.
containsKey
(word1)) {
67
if (!map.
containsKey
(word2)) {
81
if (mBigramMap.
containsKey
(word1)) {
86
if (!map.
containsKey
(word2)) {
100
public boolean
containsKey
(String word) {
101
return mBigramMap.
containsKey
(word);
109
if (mBigramMap.
containsKey
(word1)) return mBigramMap.get(word1);
112
if (mBigramMap.
containsKey
(lowerWord1)) return mBigramMap.get(lowerWord1);
121
if (set.
containsKey
(word2)) {
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
MapContainsKeyTester.java
29
* A generic JUnit test which tests {@code
containsKey
()} operations on a map.
40
assertTrue("
containsKey
(present) should return true",
41
getMap().
containsKey
(samples.e0.getKey()));
45
assertFalse("
containsKey
(notPresent) should return false",
46
getMap().
containsKey
(samples.e3.getKey()));
51
assertFalse("
containsKey
(null) should return false",
52
getMap().
containsKey
(null));
58
"
containsKey
(null) should return false or throw");
65
assertFalse("
containsKey
(notPresent) should return false",
66
getMap().
containsKey
(samples.e3.getKey()))
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMimeTypeMap.java
44
if (extensionToMimeTypeMap.
containsKey
(extension))
52
if (mimeTypeToExtensionMap.
containsKey
(mimeType))
70
return extensionToMimeTypeMap.
containsKey
(extension);
75
return mimeTypeToExtensionMap.
containsKey
(mimeType);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForIdentity.java
41
if (values.
containsKey
(Identity.IDENTITY) || values.
containsKey
(Identity.NAMESPACE)) {
56
if (values.
containsKey
(Identity.IDENTITY) || values.
containsKey
(Identity.NAMESPACE)) {
DataRowHandlerForOrganization.java
60
boolean containsCompany = values.
containsKey
(Organization.COMPANY);
61
boolean containsTitle = values.
containsKey
(Organization.TITLE);
118
return values.
containsKey
(Organization.COMPANY)
119
|| values.
containsKey
(Organization.DEPARTMENT)
120
|| values.
containsKey
(Organization.JOB_DESCRIPTION)
121
|| values.
containsKey
(Organization.OFFICE_LOCATION)
122
|| values.
containsKey
(Organization.PHONETIC_NAME)
123
|| values.
containsKey
(Organization.SYMBOL)
124
|| values.
containsKey
(Organization.TITLE);
DataRowHandlerForStructuredName.java
79
if (values.
containsKey
(StructuredName.DISPLAY_NAME) ||
80
values.
containsKey
(StructuredName.PHONETIC_FAMILY_NAME) ||
81
values.
containsKey
(StructuredName.PHONETIC_MIDDLE_NAME) ||
82
values.
containsKey
(StructuredName.PHONETIC_GIVEN_NAME)) {
155
if (!update.
containsKey
(StructuredName.FULL_NAME_STYLE)) {
159
if (!update.
containsKey
(StructuredName.PHONETIC_NAME_STYLE)) {
171
if (values.
containsKey
(StructuredName.PHONETIC_FAMILY_NAME)
172
|| values.
containsKey
(StructuredName.PHONETIC_GIVEN_NAME)
173
|| values.
containsKey
(StructuredName.PHONETIC_MIDDLE_NAME)) {
188
return values.
containsKey
(StructuredName.FAMILY_NAME
[
all
...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsMockResources.java
38
if (!mPackages.
containsKey
(resId)) {
46
if (!mPackages.
containsKey
(resId)) {
54
if (!mPackages.
containsKey
(resId)) {
62
if (!mPackages.
containsKey
(resId)) {
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
MockSharedPreferences.java
41
return mValues.
containsKey
(key);
49
if (mValues.
containsKey
(key)) {
56
if (mValues.
containsKey
(key)) {
63
if (mValues.
containsKey
(key)) {
70
if (mValues.
containsKey
(key)) {
77
if (mValues.
containsKey
(key))
84
if (mValues.
containsKey
(key)) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
MockSharedPreferences.java
41
return mValues.
containsKey
(key);
49
if (mValues.
containsKey
(key)) {
56
if (mValues.
containsKey
(key)) {
63
if (mValues.
containsKey
(key)) {
70
if (mValues.
containsKey
(key)) {
77
if (mValues.
containsKey
(key))
84
if (mValues.
containsKey
(key)) {
/frameworks/base/core/tests/coretests/src/android/os/
PerformanceCollectorTest.java
182
assertTrue(results.
containsKey
("testAddMeasurementLongZero"));
184
assertTrue(results.
containsKey
("testAddMeasurementLongPos"));
186
assertTrue(results.
containsKey
("testAddMeasurementLongNeg"));
203
assertTrue(results.
containsKey
("testAddMeasurementFloatZero"));
205
assertTrue(results.
containsKey
("testAddMeasurementFloatPos"));
207
assertTrue(results.
containsKey
("testAddMeasurementFloatNeg"));
224
assertTrue(results.
containsKey
("testAddMeasurementStringNull"));
226
assertTrue(results.
containsKey
("testAddMeasurementStringEmpty"));
228
assertTrue(results.
containsKey
("testAddMeasurementStringNonEmpty"));
402
assertTrue(snapshot.
containsKey
(PerformanceCollector.METRIC_KEY_CPU_TIME))
[
all
...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyKeyStore.java
64
if (Keys.
containsKey
(alias)) {
71
if (Chain.
containsKey
(alias)) {
78
if (Cert.
containsKey
(alias)) {
85
if (Dates.
containsKey
(alias)) {
93
if (Cert.
containsKey
(alias)) {
108
if (Cert.
containsKey
(alias)) {
111
if (Chain.
containsKey
(alias)) {
131
if (Keys.
containsKey
(alias)) {
136
if (Cert.
containsKey
(alias)) {
146
if (Keys.
containsKey
(alias))
[
all
...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyKeyStore.java
65
if (Keys.
containsKey
(alias)) {
72
if (Chain.
containsKey
(alias)) {
79
if (Cert.
containsKey
(alias)) {
86
if (Dates.
containsKey
(alias)) {
94
if (Cert.
containsKey
(alias)) {
109
if (Cert.
containsKey
(alias)) {
112
if (Chain.
containsKey
(alias)) {
132
if (Keys.
containsKey
(alias)) {
137
if (Cert.
containsKey
(alias)) {
147
if (Keys.
containsKey
(alias))
[
all
...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwQuotaManagerBridge.java
109
assert !mPendingGetOriginCallbacks.
containsKey
(callbackId);
120
assert !mPendingGetQuotaForOriginCallbacks.
containsKey
(callbackId);
131
assert !mPendingGetUsageForOriginCallbacks.
containsKey
(callbackId);
139
assert mPendingGetOriginCallbacks.
containsKey
(callbackId);
148
assert mPendingGetQuotaForOriginCallbacks.
containsKey
(callbackId);
151
assert mPendingGetUsageForOriginCallbacks.
containsKey
(callbackId);
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
ConcurrentHashMap.java
57
if (!
containsKey
(key)) {
65
if (
containsKey
(key) && get(key).equals(value)) {
76
} else if (
containsKey
(key) && get(key).equals(oldValue)) {
87
} else if (
containsKey
(key)) {
94
@Override public boolean
containsKey
(Object key) {
98
return backingMap.
containsKey
(key);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/identity/
UniqueIdentificationGeneratorFactory.java
35
if (!GENERATOR_MAP.
containsKey
(generatorType)) {
56
if (GENERATOR_MAP.
containsKey
(generatorType) && !force) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
AndroidJarLoaderTest.java
60
assertTrue(data.
containsKey
("jar.example.Class1")); //$NON-NLS-1$
61
assertTrue(data.
containsKey
("jar.example.Class2")); //$NON-NLS-1$
62
assertTrue(data.
containsKey
("jar.example.Class1$InnerStaticClass1")); //$NON-NLS-1$
63
assertTrue(data.
containsKey
("jar.example.Class1$InnerClass2")); //$NON-NLS-1$
81
assertTrue(map.
containsKey
("jar.example.Class1")); //$NON-NLS-1$
82
assertTrue(map.
containsKey
("jar.example.Class2")); //$NON-NLS-1$
119
assertTrue(found.
containsKey
("jar.example.Class1")); //$NON-NLS-1$
120
assertTrue(found.
containsKey
("jar.example.Class2")); //$NON-NLS-1$
/frameworks/base/test-runner/src/android/test/
SimpleCache.java
28
if (map.
containsKey
(key)) {
/libcore/luni/src/main/java/org/apache/harmony/security/
SystemScope.java
106
if (names.
containsKey
(name)) {
111
if (key != null && keys.
containsKey
(key)) {
137
boolean contains = names.
containsKey
(name);
143
contains = contains || keys.
containsKey
(key);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java
43
assertTrue(map.
containsKey
("1"));
44
assertTrue(map.
containsKey
("2"));
45
assertTrue(map.
containsKey
("3"));
63
assertTrue(map.
containsKey
(key));
71
assertFalse(map.
containsKey
(key));
78
assertTrue(map.
containsKey
(key));
96
assertTrue(map.
containsKey
(key));
104
assertFalse(map.
containsKey
(key));
111
assertTrue(map.
containsKey
(key));
129
assertTrue(map.
containsKey
(key))
[
all
...]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
RegexCache.java
46
return cache.
containsKey
(regex);
73
public synchronized boolean
containsKey
(K key) {
74
return map.
containsKey
(key);
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
InMemorySharedPreferences.java
42
if (mData.
containsKey
(key)) {
53
if (mData.
containsKey
(key)) {
63
if (mData.
containsKey
(key)) {
73
if (mData.
containsKey
(key)) {
83
if (mData.
containsKey
(key)) {
93
if (mData.
containsKey
(key)) {
103
return mData.
containsKey
(key);
/packages/apps/Calendar/tests/src/com/android/calendar/
FakeSharedPreferences.java
39
return mValues.
containsKey
(key);
49
if (mValues.
containsKey
(key)) {
57
if (mValues.
containsKey
(key)) {
65
if (mValues.
containsKey
(key)) {
73
if (mValues.
containsKey
(key)) {
81
if (mValues.
containsKey
(key))
89
if (mValues.
containsKey
(key)) {
/packages/apps/Email/tests/src/com/android/email/
MockSharedPreferences.java
43
return mValues.
containsKey
(key);
51
if (mValues.
containsKey
(key)) {
58
if (mValues.
containsKey
(key)) {
65
if (mValues.
containsKey
(key)) {
72
if (mValues.
containsKey
(key)) {
79
if (mValues.
containsKey
(key))
86
if (mValues.
containsKey
(key)) {
/external/guava/guava-tests/test/com/google/common/collect/
MapsTransformValuesTest.java
164
assertEquals(expected.
containsKey
("a"), map.
containsKey
("a"));
166
assertEquals(expected.
containsKey
("b"), map.
containsKey
("b"));
168
assertEquals(expected.
containsKey
("c"), map.
containsKey
("c"));
186
assertFalse(map.
containsKey
("c"));
205
assertFalse(underlying.
containsKey
("a"));
209
assertFalse(underlying.
containsKey
("b"));
214
assertFalse(underlying.
containsKey
("c"))
[
all
...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ResourceBundleTest.java
414
assertFalse(bundle.
containsKey
("property"));
458
assertFalse(bundle.
containsKey
("property"));
522
assertFalse(bundle.
containsKey
("property"));
531
assertFalse(bundle.
containsKey
("property"));
542
assertFalse(bundle.
containsKey
("subParent1"));
553
assertFalse(bundle.
containsKey
("subParent1"));
563
assertFalse(bundle.
containsKey
("subChild1"));
613
assertFalse(bundle.
containsKey
("property"));
642
assertFalse(bundle.
containsKey
("property"));
643
assertFalse(bundle.
containsKey
("subChild1"))
[
all
...]
Completed in 3118 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>