/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicLongMapTest.java | 43 assertTrue(map.containsKey("1")); in testCreate_map() 44 assertTrue(map.containsKey("2")); in testCreate_map() 45 assertTrue(map.containsKey("3")); in testCreate_map() 63 assertTrue(map.containsKey(key)); in testIncrementAndGet() 71 assertFalse(map.containsKey(key)); in testIncrementAndGet_zero() 78 assertTrue(map.containsKey(key)); in testIncrementAndGet_zero() 96 assertTrue(map.containsKey(key)); in testGetAndIncrement() 104 assertFalse(map.containsKey(key)); in testGetAndIncrement_zero() 111 assertTrue(map.containsKey(key)); in testGetAndIncrement_zero() 129 assertTrue(map.containsKey(key)); in testDecrementAndGet() [all …]
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | MyKeyStore.java | 64 if (Keys.containsKey(alias)) { in engineGetKey() 71 if (Chain.containsKey(alias)) { in engineGetCertificateChain() 78 if (Cert.containsKey(alias)) { in engineGetCertificate() 85 if (Dates.containsKey(alias)) { in engineGetCreationDate() 93 if (Cert.containsKey(alias)) { in engineSetKeyEntry() 108 if (Cert.containsKey(alias)) { in engineSetKeyEntry() 111 if (Chain.containsKey(alias)) { in engineSetKeyEntry() 131 if (Keys.containsKey(alias)) { in engineDeleteEntry() 136 if (Cert.containsKey(alias)) { in engineDeleteEntry() 146 if (Keys.containsKey(alias)) { in engineContainsAlias() [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | ResourceBundleTest.java | 414 assertFalse(bundle.containsKey("property")); in test_getBundle_LStringLControl() 458 assertFalse(bundle.containsKey("property")); in test_getBundle_LStringLLocaleLControl() 522 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 531 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 542 assertFalse(bundle.containsKey("subParent1")); in getBundleWithControlTester() 553 assertFalse(bundle.containsKey("subParent1")); in getBundleWithControlTester() 563 assertFalse(bundle.containsKey("subChild1")); in getBundleWithControlTester() 613 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 642 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 643 assertFalse(bundle.containsKey("subChild1")); in getBundleWithControlTester() [all …]
|
D | IdentityHashMapTest.java | 48 assertTrue("testA can not find null key", map.containsKey(null)); in test_null_Keys_and_Values() 57 assertTrue("testB can not find null key", map.containsKey(null)); in test_null_Keys_and_Values() 68 .containsKey(key)); in test_null_Keys_and_Values() 76 assertTrue("testD can not find null key", map.containsKey(null)); in test_null_Keys_and_Values() 86 assertTrue("testE should not find null key", !map.containsKey(null)); in test_null_Keys_and_Values() 121 assertTrue("Did not remove key1", !map.containsKey("key1")); in test_remove() 173 assertTrue("entry key not found in map", map.containsKey(entry in test_sets() 240 assertTrue("removed key incorrectly", map.containsKey(key)); in test_values() 246 assertTrue("Did not remove key as expected", !map.containsKey(key)); in test_values() 258 assertTrue("TestB. removed key incorrectly", map.containsKey(key)); in test_values() [all …]
|
D | TreeMapExtendTest.java | 118 assertFalse(treeMap.containsKey(1)); in test_TreeMap_Constructor_Default() 191 .containsKey(key)); in test_SubMap_containsKey() 193 subMap_startExcluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() 195 subMap_startExcluded_endIncluded.containsKey(key)); in test_SubMap_containsKey() 197 subMap_startIncluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() 199 subMap_startIncluded_endIncluded.containsKey(key)); in test_SubMap_containsKey() 205 .containsKey(key)); in test_SubMap_containsKey() 207 subMap_startExcluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() 209 subMap_startExcluded_endIncluded.containsKey(key)); in test_SubMap_containsKey() 211 subMap_startIncluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapContainsKeyTester.java | 41 getMap().containsKey(samples.e0.getKey())); in testContains_yes() 46 getMap().containsKey(samples.e3.getKey())); in testContains_no() 52 getMap().containsKey(null)); in testContains_nullNotContainedButAllowed() 66 getMap().containsKey(samples.e3.getKey())); in testContains_nonNullWhenNullContained() 74 getMap().containsKey(null)); in testContains_nullContained() 81 getMap().containsKey(WrongType.VALUE)); in testContains_wrongType()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTransformValuesTest.java | 164 assertEquals(expected.containsKey("a"), map.containsKey("a")); in testTransformEqualityOfMapsWithNullValues() 166 assertEquals(expected.containsKey("b"), map.containsKey("b")); in testTransformEqualityOfMapsWithNullValues() 168 assertEquals(expected.containsKey("c"), map.containsKey("c")); in testTransformEqualityOfMapsWithNullValues() 186 assertFalse(map.containsKey("c")); in testTransformReflectsUnderlyingMap() 205 assertFalse(underlying.containsKey("a")); in testTransformChangesAreReflectedInUnderlyingMap() 209 assertFalse(underlying.containsKey("b")); in testTransformChangesAreReflectedInUnderlyingMap() 214 assertFalse(underlying.containsKey("c")); in testTransformChangesAreReflectedInUnderlyingMap() 218 assertFalse(underlying.containsKey("d")); in testTransformChangesAreReflectedInUnderlyingMap() 223 assertFalse(underlying.containsKey("e")); in testTransformChangesAreReflectedInUnderlyingMap() 228 assertFalse(underlying.containsKey("f")); in testTransformChangesAreReflectedInUnderlyingMap() [all …]
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 217 assertEquals(expected.containsKey("a"), map.containsKey("a")); 219 assertEquals(expected.containsKey("b"), map.containsKey("b")); 221 assertEquals(expected.containsKey("c"), map.containsKey("c")); 239 assertFalse(map.containsKey("c")); 258 assertFalse(underlying.containsKey("a")); 262 assertFalse(underlying.containsKey("b")); 267 assertFalse(underlying.containsKey("c")); 271 assertFalse(underlying.containsKey("d")); 276 assertFalse(underlying.containsKey("e")); 281 assertFalse(underlying.containsKey("f")); [all …]
|
D | AbstractBiMapTest.java | 63 assertFalse(bimap.containsKey(null)); in testContainsKey() 64 assertFalse(bimap.containsKey(1)); in testContainsKey() 65 assertFalse(bimap.containsKey("one")); in testContainsKey() 68 assertTrue(bimap.containsKey(1)); in testContainsKey() 71 assertTrue(bimap.containsKey(null)); in testContainsKey() 319 assertTrue(bimap.containsKey(1)); in testEntrySetRemove() 322 assertFalse(bimap.containsKey(1)); in testEntrySetRemove() 334 assertTrue(bimap.containsKey(1)); in testEntrySetRemoveAll() 338 assertFalse(bimap.containsKey(1)); in testEntrySetRemoveAll() 449 assertTrue(bimap.containsKey(2)); in testEntriesRetainAll() [all …]
|
D | AbstractMultimapTest.java | 167 assertTrue(multimap.containsKey("foo")); in testContainsKeyTrue() 172 assertFalse(multimap.containsKey("bar")); in testContainsKeyFalse() 173 assertFalse(multimap.containsKey(nullKey())); in testContainsKeyFalse() 178 assertTrue(multimap.containsKey(nullKey())); in testContainsKeyNull() 358 assertFalse(multimap.containsKey("foo")); in testReplaceValuesEmpty() 423 assertFalse(multimap.containsKey("foo")); in testRemove() 449 assertFalse(multimap.containsKey("foo")); in testRemoveAll() 461 assertFalse(multimap.containsKey(nullKey())); in testRemoveAllNull() 568 assertTrue(map.containsKey("foo")); in testAsMap() 569 assertTrue(map.containsKey(nullKey())); in testAsMap() [all …]
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
D | ConcurrentHashMap.java | 57 if (!containsKey(key)) { in putIfAbsent() 65 if (containsKey(key) && get(key).equals(value)) { in remove() 76 } else if (containsKey(key) && get(key).equals(oldValue)) { in replace() 87 } else if (containsKey(key)) { in replace() 94 @Override public boolean containsKey(Object key) { in containsKey() method in ConcurrentHashMap 98 return backingMap.containsKey(key); in containsKey()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
D | BinaryInputCapsule.java | 268 if (field == null || !fieldData.containsKey(field.alias)) in readBitSet() 275 if (field == null || !fieldData.containsKey(field.alias)) in readBoolean() 283 if (field == null || !fieldData.containsKey(field.alias)) in readBooleanArray() 291 if (field == null || !fieldData.containsKey(field.alias)) in readBooleanArray2D() 298 if (field == null || !fieldData.containsKey(field.alias)) in readByte() 305 if (field == null || !fieldData.containsKey(field.alias)) in readByteArray() 313 if (field == null || !fieldData.containsKey(field.alias)) in readByteArray2D() 321 if (field == null || !fieldData.containsKey(field.alias)) in readByteBuffer() 330 if (field == null || !fieldData.containsKey(field.alias)) in readByteBufferArrayList() 337 if (field == null || !fieldData.containsKey(field.alias)) in readDouble() [all …]
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AwQuotaManagerBridge.java | 109 assert !mPendingGetOriginCallbacks.containsKey(callbackId); in getOrigins() 120 assert !mPendingGetQuotaForOriginCallbacks.containsKey(callbackId); in getQuotaForOrigin() 131 assert !mPendingGetUsageForOriginCallbacks.containsKey(callbackId); in getUsageForOrigin() 139 assert mPendingGetOriginCallbacks.containsKey(callbackId); in onGetOriginsCallback() 148 assert mPendingGetQuotaForOriginCallbacks.containsKey(callbackId); in onGetUsageAndQuotaForOriginCallback() 151 assert mPendingGetUsageForOriginCallbacks.containsKey(callbackId); in onGetUsageAndQuotaForOriginCallback()
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | InMemorySharedPreferences.java | 42 if (mData.containsKey(key)) { in getString() 53 if (mData.containsKey(key)) { in getStringSet() 63 if (mData.containsKey(key)) { in getInt() 73 if (mData.containsKey(key)) { in getLong() 83 if (mData.containsKey(key)) { in getFloat() 93 if (mData.containsKey(key)) { in getBoolean() 103 return mData.containsKey(key); in contains()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMimeTypeMap.java | 44 if (extensionToMimeTypeMap.containsKey(extension)) in getMimeTypeFromExtension() 52 if (mimeTypeToExtensionMap.containsKey(mimeType)) in getExtensionFromMimeType() 70 return extensionToMimeTypeMap.containsKey(extension); in hasExtension() 75 return mimeTypeToExtensionMap.containsKey(mimeType); in hasMimeType()
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | RegexCache.java | 46 return cache.containsKey(regex); in containsRegex() 73 public synchronized boolean containsKey(K key) { in containsKey() method in RegexCache.LRUCache 74 return map.containsKey(key); in containsKey()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheManualTest.java | 47 assertFalse(cache.asMap().containsKey(one)); in testGetIfPresent() 57 assertFalse(cache.asMap().containsKey(two)); in testGetIfPresent() 69 assertTrue(cache.asMap().containsKey(one)); in testGetIfPresent() 79 assertFalse(cache.asMap().containsKey(two)); in testGetIfPresent() 91 assertTrue(cache.asMap().containsKey(one)); in testGetIfPresent() 101 assertTrue(cache.asMap().containsKey(two)); in testGetIfPresent()
|
/external/doclava/src/com/google/doclava/ |
D | SinceTagger.java | 166 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) { in versionConstructors() 181 if (field.getSince() == null && (spec.allFields().containsKey(field.name()) || in versionFields() 182 spec.allEnums().containsKey(field.name()))) { in versionFields() 189 if (spec.allFields().containsKey(field.name())) { in versionFields() 208 if (spec.allMethods().containsKey(method.getHashableName())) { in versionMethods() 221 if (superclass.allMethods().containsKey(method.getHashableName())) { in versionMethods()
|
D | FederationTagger.java | 68 if (!federatedUrls.containsKey(name)) { in initialize() 75 if (federatedXmls.containsKey(name)) { in initialize() 119 if (superclass.allMethods().containsKey(method.getHashableName())) { in federateMethods() 138 if (federatedClass.allFields().containsKey(field.name())) { in federateFields()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | DefaultSignedAttributeTableGenerator.java | 64 if (!std.containsKey(CMSAttributes.contentType)) in createStandardAttributeTable() 78 if (!std.containsKey(CMSAttributes.signingTime)) in createStandardAttributeTable() 86 if (!std.containsKey(CMSAttributes.messageDigest)) in createStandardAttributeTable()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 192 assertTrue(map.containsKey(key)); in assertInvariants() 219 assertTrue(map.containsKey(entry.getKey())); in assertInvariants() 304 assertFalse(map.containsKey(unmappedKey)); in testContainsKey() 306 assertFalse(map.containsKey(new IncompatibleKeyType())); in testContainsKey() 308 assertTrue(map.containsKey(map.keySet().iterator().next())); in testContainsKey() 310 map.containsKey(null); in testContainsKey() 313 map.containsKey(null); in testContainsKey() 335 map.containsKey(null); in testContainsValue() 548 assertFalse(map.containsKey(key)); in testEntrySetRemoveMissingKey() 575 assertTrue(map.containsKey(key)); in testEntrySetRemoveDifferentValue() [all …]
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | AttributesTest.java | 60 assertTrue("Should not contain any keys", !a.containsKey("1")); in test_clear() 67 assertTrue("a) Should have returned false", !a.containsKey(new Integer(1))); in test_containsKeyLjava_lang_Object() 68 assertTrue("b) Should have returned false", !a.containsKey("0")); in test_containsKeyLjava_lang_Object() 69 assertTrue("Should have returned true", a.containsKey(new Attributes.Name("1"))); in test_containsKeyLjava_lang_Object() 276 assertFalse(attribute.containsKey(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null() 281 assertTrue(attribute.containsKey(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null()
|
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
D | MockSyncContentResolverDelegate.java | 96 if (!mIsSyncableMap.containsKey(key) || !mIsSyncableMap.get(key)) { in setSyncAutomatically() 127 if (mIsSyncableMap.containsKey(key)) { in setIsSyncable() 143 if (mIsSyncableMap.containsKey(key)) { in getIsSyncable() 144 return mIsSyncableMap.containsKey(key) ? 1 : 0; in getIsSyncable()
|
/external/smack/src/org/jivesoftware/smackx/ |
D | GatewayManager.java | 126 if(instances.containsKey(connection)){ in getInstanceFor() 179 if(localGateways.containsKey(entityJID)){ in getGateway() 182 if(nonLocalGateways.containsKey(entityJID)){ in getGateway() 185 if(gateways.containsKey(entityJID)){ in getGateway()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
D | PChargingVector.java | 76 if (parameters.containsKey(ParameterNamesIms.ICID_GENERATED_AT)) in encodeBody() 81 if (parameters.containsKey(ParameterNamesIms.TERM_IOI)) in encodeBody() 86 if (parameters.containsKey(ParameterNamesIms.ORIG_IOI)) in encodeBody()
|