/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
SystemScope.java | 108 if (names.containsKey(name)) { 113 if (key != null && keys.containsKey(key)) { 139 boolean contains = names.containsKey(name); 145 contains = contains || keys.containsKey(key);
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
BusinessLogicTestCaseTest.java | 53 assertTrue("mapPut failed for instanceMap", mDummyTest.instanceMap.containsKey(KEY_1)); 61 assertTrue("mapPut failed for staticMap", mDummyTest.staticMap.containsKey(KEY_2)); 64 mOtherDummyTest.staticMap.containsKey(KEY_2));
|
/external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ |
AtomicLongMapTest.java | 46 assertTrue(map.containsKey("1")); 47 assertTrue(map.containsKey("2")); 48 assertTrue(map.containsKey("3")); 66 assertTrue(map.containsKey(key)); 74 assertFalse(map.containsKey(key)); 81 assertTrue(map.containsKey(key)); 99 assertTrue(map.containsKey(key)); 107 assertFalse(map.containsKey(key)); 114 assertTrue(map.containsKey(key)); 132 assertTrue(map.containsKey(key)) [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicLongMapTest.java | 61 assertTrue(map.containsKey("1")); 62 assertTrue(map.containsKey("2")); 63 assertTrue(map.containsKey("3")); 81 assertTrue(map.containsKey(key)); 89 assertFalse(map.containsKey(key)); 96 assertTrue(map.containsKey(key)); 114 assertTrue(map.containsKey(key)); 122 assertFalse(map.containsKey(key)); 129 assertTrue(map.containsKey(key)); 147 assertTrue(map.containsKey(key)) [all...] |
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
RegexCache.java | 46 return cache.containsKey(regex); 74 public synchronized boolean containsKey(K key) { 75 return map.containsKey(key);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockResources.java | 35 if (mBooleanValues.containsKey(id)) { 44 if (mIntegerValues.containsKey(id)) { 53 if (mStringValues.containsKey(id)) {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
ScheduledDeviceMetricCollectorTest.java | 76 assertTrue(metrics.containsKey("key1")); 77 assertTrue(metrics.containsKey("key2")); 78 assertTrue(metrics.containsKey("key3"));
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
TreeSubMapTest.java | 102 * containsKey returns true for contained key 106 assertTrue(map.containsKey(one)); 107 assertFalse(map.containsKey(zero)); 227 assertTrue(empty.containsKey(one)); 228 assertTrue(empty.containsKey(two)); 229 assertTrue(empty.containsKey(three)); 230 assertTrue(empty.containsKey(four)); 231 assertTrue(empty.containsKey(five)); 241 assertFalse(map.containsKey(five)); 408 * containsKey(null) of nonempty map throws NP [all...] |
ConcurrentSkipListSubMapTest.java | 103 * containsKey returns true for contained key 107 assertTrue(map.containsKey(one)); 108 assertFalse(map.containsKey(zero)); 270 assertTrue(empty.containsKey(one)); 271 assertTrue(empty.containsKey(two)); 272 assertTrue(empty.containsKey(three)); 273 assertTrue(empty.containsKey(four)); 274 assertTrue(empty.containsKey(five)); 283 assertTrue(map.containsKey(six)); 300 assertFalse(map.containsKey(six)) [all...] |
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
DefaultDeflateCompatibilityWindowTest.java | 81 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(level, strategy, true))); 82 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(level, strategy, false))); 86 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(1, 2, true))); 87 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(1, 2, false))); 123 Assert.assertTrue(incompatible.containsKey(brokenParameters));
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
KernelWakelockReaderTest.java | 91 assertTrue(staleStats.containsKey("Wakelock")); 107 assertTrue(staleStats.containsKey("Wakelock")); 108 assertTrue(staleStats.containsKey("Fakelock")); 120 assertTrue(staleStats.containsKey("Wakelock")); 136 assertTrue(staleStats.containsKey("Fakelock")); 144 assertTrue(staleStats.containsKey("Wakelock")); 145 assertFalse(staleStats.containsKey("Fakelock"));
|
/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...] |
/libcore/ojluni/src/main/java/java/time/format/ |
Parsed.java | 181 if (fieldValues.containsKey(field) || 298 } else if (fieldValues.containsKey(targetField) == false) { 329 if (fieldValues.containsKey(INSTANT_SECONDS)) { 370 if (fieldValues.containsKey(CLOCK_HOUR_OF_DAY)) { 378 if (fieldValues.containsKey(CLOCK_HOUR_OF_AMPM)) { 386 if (fieldValues.containsKey(AMPM_OF_DAY) && fieldValues.containsKey(HOUR_OF_AMPM)) { 397 if (fieldValues.containsKey(NANO_OF_DAY)) { 407 if (fieldValues.containsKey(MICRO_OF_DAY)) { 415 if (fieldValues.containsKey(MILLI_OF_DAY)) [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
ActionTest.java | 76 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 87 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 96 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 107 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 116 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 160 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 172 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 181 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 218 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); 227 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)) [all...] |
/external/autotest/frontend/client/src/autotest/tko/ |
HeaderFieldCollection.java | 65 boolean containsName = fieldsByName.containsKey(field.getName()); 66 boolean containsSqlName = fieldsBySqlName.containsKey(field.getSqlName()); 115 assert fieldsByName.containsKey(name) : name; 120 assert fieldsBySqlName.containsKey(sqlName) : sqlName; 125 return fieldsByName.containsKey(name); 129 return fieldsBySqlName.containsKey(sqlName);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
TrackInfo.java | 127 if(metaData.containsKey(MediaMetadata.METADATA_KEY_GENRE)) 129 if(metaData.containsKey(MediaMetadata.METADATA_KEY_MEDIA_ID)) 131 if(metaData.containsKey(MediaMetadata.METADATA_KEY_TRACK_NUMBER)) 133 if(metaData.containsKey(MediaMetadata.METADATA_KEY_NUM_TRACKS)) 135 if(metaData.containsKey(MediaMetadata.METADATA_KEY_TRACK_NUMBER)) 137 if(metaData.containsKey(MediaMetadata.METADATA_KEY_TRACK_NUMBER))
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
ZoneName.java | 34 if (mzone == null && aliases.containsKey(zid)) { 40 if (map != null && map.containsKey(locale.getCountry())) { 50 if (aliases.containsKey(zid)) { [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/calllog/calllogcache/ |
CallLogCacheLollipopMr1.java | 65 if (mPhoneAccountLabelCache.containsKey(accountHandle)) { 76 if (mPhoneAccountColorCache.containsKey(accountHandle)) { 87 if (mPhoneAccountCallWithNoteCache.containsKey(accountHandle)) {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
JSONFileKeyStoreClientTest.java | 88 assertFalse("Key should not exist in null key store", mKeyStore.containsKey("test")); 95 mKeyStore.containsKey("invalid key")); 101 assertTrue("Failed to fetch valid key in key store", mKeyStore.containsKey("key1"));
|
/external/autotest/frontend/client/src/autotest/afe/models/ |
Host.java | 9 assert object.containsKey("hostname");
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AppleMediaTypeBox.java | 32 if (mediaTypes.containsKey(getValue())) {
|
/frameworks/base/test-runner/src/android/test/ |
SimpleCache.java | 29 if (map.containsKey(key)) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
LongArrayMap.java | 28 public boolean containsKey(long key) {
|