/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
NavigableMapNavigationTester.java | 91 assertNull(navigableMap.lowerEntry(samples.e0.getKey())); 92 assertNull(navigableMap.lowerKey(samples.e0.getKey())); 93 assertNull(navigableMap.floorEntry(samples.e0.getKey())); 94 assertNull(navigableMap.floorKey(samples.e0.getKey())); 95 assertNull(navigableMap.ceilingEntry(samples.e0.getKey())); 96 assertNull(navigableMap.ceilingKey(samples.e0.getKey())); 97 assertNull(navigableMap.higherEntry(samples.e0.getKey())); 98 assertNull(navigableMap.higherKey(samples.e0.getKey())); 126 assertNull(navigableMap.lowerEntry(samples.e0.getKey())); 127 assertNull(navigableMap.lowerKey(samples.e0.getKey())); [all...] |
SortedMapNavigationTester.java | 87 assertEquals(a.getKey(), navigableMap.firstKey()); 92 assertEquals(a.getKey(), navigableMap.lastKey()); 97 assertEquals(a.getKey(), navigableMap.firstKey()); 102 assertEquals(c.getKey(), navigableMap.lastKey()); 107 assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey())); 112 assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey())); 120 assertThat(navigableMap.headMap(entries.get(i).getKey()).entrySet()) 130 assertThat(navigableMap.tailMap(entries.get(i).getKey()).entrySet() [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
TimedEvent.java | 28 public abstract T getKey(); 35 if (counts.containsKey(entry.getKey())) { 36 counts.put(entry.getKey(), counts.get(entry.getKey()) + 1); 37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime()); 39 counts.put(entry.getKey(), 1); 40 result.put(entry.getKey(), (double) entry.getTime()); 45 result.put(entry.getKey(), entry.getValue() / counts.get(entry.getKey())); [all...] |
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
PrinterHashMap.java | 24 public static String getKey(NsdServiceInfo serviceInfo) { 28 return put(getKey(device), device); 31 return remove(getKey(device));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/ |
PrinterHashMap.java | 24 public static String getKey(NsdServiceInfo serviceInfo) { 28 return put(getKey(device), device); 31 return remove(getKey(device));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
PrinterHashMap.java | 23 public static String getKey(NsdServiceInfo serviceInfo) { 28 return put(getKey(device), device); 32 return remove(getKey(device));
|
/external/autotest/frontend/client/src/autotest/common/table/ |
JSONObjectSet.java | 27 protected String getKey(Object obj) { 33 return backingMap.put(getKey(arg0), arg0) == null; 43 return backingMap.remove(getKey(arg0)) != null; 48 return backingMap.containsKey(getKey(o));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
KeyParameter.java | 26 public byte[] getKey()
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMapEntry.java | 36 public abstract K getKey(); 49 return Objects.equal(this.getKey(), that.getKey()) 56 K k = getKey(); 65 return getKey() + "=" + getValue();
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
TreeSubMapTest.java | 211 (e.getKey().equals(one) && e.getValue().equals("A")) || 212 (e.getKey().equals(two) && e.getValue().equals("B")) || 213 (e.getKey().equals(three) && e.getValue().equals("C")) || 214 (e.getKey().equals(four) && e.getValue().equals("D")) || 215 (e.getKey().equals(five) && e.getValue().equals("E"))); 250 assertEquals(two, e1.getKey()); 253 assertEquals(five, e2.getKey()); 268 assertEquals(four, e1.getKey()); 271 assertEquals(one, e2.getKey()); 286 assertEquals(three, e1.getKey()); [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyStoreTest.java | 538 keyStore.getKey(null, null); 549 keyStore.getKey(null, null); 558 keyStore.getKey(null, PASSWORD_KEY); 567 assertNull(keyStore.getKey("", null)); 568 assertNull(keyStore.getKey("", PASSWORD_KEY)); 572 assertNull(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY)); 575 assertPrivateKey(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY)); 578 assertPrivateKey(keyStore.getKey(ALIAS_NO_PASSWORD_PRIVATE, null)); 581 assertSecretKey(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY)); 583 assertNull(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY)) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
BiMapPutTester.java | 37 K k0 = samples.e0.getKey(); 38 K k1 = samples.e1.getKey(); 55 K k0 = samples.e0.getKey(); 69 getMap().put(samples.e0.getKey(), samples.e0.getValue()); 70 getMap().put(samples.e1.getKey(), samples.e1.getValue()); 78 K k0 = samples.e0.getKey(); 79 K k1 = samples.e1.getKey(); 91 K k0 = samples.e0.getKey(); 93 K k1 = samples.e1.getKey();
|
/external/llvm/unittests/ADT/ |
DenseMapTest.cpp | 87 typename T::key_type getKey(int i = 0) { 121 EXPECT_FALSE(this->Map.count(this->getKey())); 122 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); 125 this->Map.lookup(this->getKey())); 132 this->Map.lookup(this->getKey())); 146 this->Map[this->getKey()] = this->getValue(); 155 EXPECT_EQ(this->getKey(), it->first); 161 EXPECT_TRUE(this->Map.count(this->getKey())); 162 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin()); 163 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
SimpleEntryTest.java | 36 public Object getKey() { 54 assertEquals(1, testEntry.getKey()); 59 assertNull(testEntry.getKey()); 72 assertEquals(1, entry.getKey()); 74 assertNull(entry.getKey()); 90 assertNull(entry.getKey()); 106 assertEquals((e.getKey() == null ? 0 : e.getKey().hashCode()) 113 assertEquals(e.getKey() + "=" + e.getValue(), e.toString());
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/ |
VisualVoicemailPreferences.java | 59 mEditor.putBoolean(getKey(key), value); 65 mEditor.putFloat(getKey(key), value); 70 mEditor.putInt(getKey(key), value); 76 mEditor.putLong(getKey(key), value); 81 mEditor.putString(getKey(key), value); 87 mEditor.putStringSet(getKey(key), value); 129 return mPreferences.contains(getKey(key)); 136 Object object = mPreferences.getAll().get(getKey(key)); 143 private String getKey(String key) {
|
/external/guice/core/src/com/google/inject/internal/ |
LinkedBindingImpl.java | 59 return new LinkedBindingImpl<T>(getSource(), getKey(), scoping, targetKey); 67 getScoping().applyTo(binder.withSource(getSource()).bind(getKey()).to(getLinkedKey())); 72 .add("key", getKey()) 83 return getKey().equals(o.getKey()) 93 return Objects.hashCode(getKey(), getScoping(), targetKey);
|
UntargettedBindingImpl.java | 45 return new UntargettedBindingImpl<T>(getSource(), getKey(), scoping); 53 getScoping().applyTo(binder.withSource(getSource()).bind(getKey())); 58 .add("key", getKey()) 67 return getKey().equals(o.getKey()) 76 return Objects.hashCode(getKey(), getScoping());
|
/frameworks/base/core/tests/coretests/src/android/content/ |
RestrictionsManagerTest.java | 43 if ("bundle_key".equals(entry.getKey())) { 46 verifiedKeys.remove(entry.getKey()); 47 } else if ("bundle_array_key".equals(entry.getKey())) { 52 if ("bundle_array_bundle_key".equals(childEntry.getKey())) { 56 verifiedKeys.remove(childEntry.getKey()); 59 verifiedKeys.remove(entry.getKey());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
StatusBarSwitch.java | 59 setChecked(!mBlacklist.contains(getKey())); 66 if (!mBlacklist.contains(getKey())) { 68 getKey()); 69 mBlacklist.add(getKey()); 73 if (mBlacklist.remove(getKey())) { 74 MetricsLogger.action(getContext(), MetricsEvent.TUNER_STATUS_BAR_ENABLE, getKey());
|
/external/guice/extensions/jmx/src/com/google/inject/tools/jmx/ |
ManagedBinding.java | 33 public String getKey() { 34 return binding.getKey().toString();
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
ImmutableEntry.java | 25 public K getKey() {return k;} 36 return UnicodeMap.areEqual(e.getKey(), k) && UnicodeMap.areEqual(e.getValue(), v);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
ImmutableEntry.java | 24 public K getKey() {return k;} 35 return UnicodeMap.areEqual(e.getKey(), k) && UnicodeMap.areEqual(e.getValue(), v);
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
EncodingPreference.java | 23 String key = entry.getKey(); 29 charsetIdsList.add(entry.getKey());
|
/external/webrtc/webrtc/libjingle/xmpp/ |
pubsubstateclient.cc | 15 std::string PublishedNickKeySerializer::GetKey( 20 std::string PublisherAndPublishedNicksKeySerializer::GetKey(
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
Extension.java | 23 public char getKey() {
|