HomeSort by relevance Sort by last modified time
    Searched full:getkey (Results 1 - 25 of 1327) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
MapNavigationTester.java 97 assertNull(navigableMap.lowerEntry(samples.e0.getKey()));
98 assertNull(navigableMap.lowerKey(samples.e0.getKey()));
99 assertNull(navigableMap.floorEntry(samples.e0.getKey()));
100 assertNull(navigableMap.floorKey(samples.e0.getKey()));
101 assertNull(navigableMap.ceilingEntry(samples.e0.getKey()));
102 assertNull(navigableMap.ceilingKey(samples.e0.getKey()));
103 assertNull(navigableMap.higherEntry(samples.e0.getKey()));
104 assertNull(navigableMap.higherKey(samples.e0.getKey()));
126 assertEquals(a.getKey(), navigableMap.firstKey());
138 assertNull(navigableMap.lowerEntry(samples.e0.getKey()));
    [all...]
MapRemoveTester.java 46 samples.e0.getValue(), getMap().remove(samples.e0.getKey()));
55 getMap().remove(samples.e3.getKey()));
76 getMap().remove(samples.e0.getKey());
82 samples.e0.getValue(), get(samples.e0.getKey()));
90 getMap().remove(samples.e3.getKey()));
  /packages/apps/Browser/src/com/android/browser/
BrowserYesNoPreference.java 39 if (PreferenceKeys.PREF_PRIVACY_CLEAR_CACHE.equals(getKey())) {
42 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_COOKIES.equals(getKey())) {
44 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY.equals(getKey())) {
46 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_FORM_DATA.equals(getKey())) {
48 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_PASSWORDS.equals(getKey())) {
51 getKey())) {
55 getKey())) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
KeyParameter.java 26 public byte[] getKey()
RC2Parameters.java 27 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();
ForwardingMapEntry.java 65 public K getKey() {
66 return delegate().getKey();
89 * #getKey()} and {@link #getValue()}. If you override either of these
98 return Objects.equal(this.getKey(), that.getKey())
105 * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()}
112 K k = getKey();
119 * #getKey} and {@link #getValue}. If you override either of these
126 return getKey() + "=" + getValue();
  /libcore/luni/src/test/java/libcore/java/security/
KeyStoreTest.java 497 keyStore.getKey(null, null);
508 keyStore.getKey(null, null);
517 keyStore.getKey(null, PASSWORD_KEY);
526 assertNull(keyStore.getKey("", null));
527 assertNull(keyStore.getKey("", PASSWORD_KEY));
531 assertNull(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY));
534 assertPrivateKey(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY));
537 assertPrivateKey(keyStore.getKey(ALIAS_NO_PASSWORD_PRIVATE, null));
540 assertSecretKey(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY));
542 assertNull(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY))
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
SimpleEntryTest.java 42 assertEquals(1,testEntry.getKey());
48 assertNull(testEntry.getKey());
61 assertEquals(1,entry.getKey());
63 assertNull(entry.getKey());
79 assertNull(entry.getKey());
95 assertEquals((e.getKey() == null ? 0 : e.getKey().hashCode())
102 assertEquals(e.getKey()+"="+e.getValue(),e.toString());
RefSortedMap.java 51 public K getKey() {
66 return (getKey() == null ? 0 : getKey().hashCode())
76 return (getKey() == null ? entry.getKey() == null : getKey().equals(entry
77 .getKey()))
123 && isInRange(entries.get(offset + 1).getKey());
182 if (-idx - 1 >= entries.size() || !isInRange(entries.get(-idx - 1).getKey())) {
185 return entries.get(-idx - 1).getKey();
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/audio/plugins/
AndroidAudioLoader.java 17 result.setAssetKey(assetInfo.getKey());
  /external/chromium_org/chrome/browser/webdata/
logins_table.cc 15 WebDatabaseTable::TypeKey GetKey() {
25 return static_cast<LoginsTable*>(db->GetTable(GetKey()));
29 return GetKey();
  /external/llvm/unittests/ADT/
DenseMapTest.cpp 86 typename T::key_type getKey(int i = 0) {
120 EXPECT_FALSE(this->Map.count(this->getKey()));
121 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end());
124 this->Map.lookup(this->getKey()));
131 this->Map.lookup(this->getKey()));
145 this->Map[this->getKey()] = this->getValue();
154 EXPECT_EQ(this->getKey(), it->first);
160 EXPECT_TRUE(this->Map.count(this->getKey()));
161 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin());
162 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey()));
    [all...]
  /external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
PreferenceChangeEventTest.java 44 assertEquals("key", event.getKey());
50 assertEquals("", event.getKey());
56 assertNull(event.getKey());
62 assertNull(event.getKey());
71 assertEquals("key", event.getKey());
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractMapTester.java 91 return getEntryNullReplaces().getKey();
110 array[nullValueLocation] = entry(oldEntry.getKey(), null);
175 assertFalse("Should not contain key " + entry.getKey(),
176 getMap().containsKey(entry.getKey()));
179 assertNull("Should not return a mapping for key " + entry.getKey(),
180 getMap().get(entry.getKey()));
193 assertEquals("Wrong value for key " + entry.getKey(),
194 entry.getValue(), getMap().get(entry.getKey()));
206 if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
    [all...]
SortedMapInterfaceTest.java 200 SortedMap<K, V> headMap = map.headMap(list.get(i).getKey());
215 SortedMap<K, V> tailMap = map.tailMap(list.get(i).getKey());
232 = map.subMap(list.get(i).getKey(), list.get(j).getKey());
271 SortedMap<K, V> tail = map.tailMap(secondEntry.getKey());
276 assertEquals(tail.firstKey(), secondEntry.getKey());
293 SortedMap<K, V> head = map.headMap(secondEntry.getKey());
298 assertEquals(head.firstKey(), firstEntry.getKey());
299 assertEquals(head.lastKey(), firstEntry.getKey());
315 K key = secondEntry.getKey();
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ApnPreference.java 65 boolean isChecked = getKey().equals(mSelectedKey);
68 mSelectedKey = getKey();
88 return getKey().equals(mSelectedKey);
92 mSelectedKey = getKey();
96 Log.i(TAG, "ID: " + getKey() + " :" + isChecked);
106 mSelectedKey = getKey();
118 int pos = Integer.parseInt(getKey());
  /external/smali/util/src/main/java/ds/tree/
RadixTreeImpl.java 104 if (it.next().getKey().equals(node.getKey())) {
137 parent.setKey(parent.getKey() + child.getKey());
182 if (node.getKey().equals("") == true || numberOfMatchingCharacters == 0 || (numberOfMatchingCharacters < key.length() && numberOfMatchingCharacters >= node.getKey().length())) {
186 if (child.getKey().startsWith(newText.charAt(0) + "")) {
204 else if (numberOfMatchingCharacters == key.length() && numberOfMatchingCharacters == node.getKey().length()) {
214 else if (numberOfMatchingCharacters > 0 && numberOfMatchingCharacters < node.getKey().length()) {
216 n1.setKey(node.getKey().substring(numberOfMatchingCharacters, node.getKey().length()))
    [all...]
  /libcore/luni/src/main/java/java/util/
AbstractMap.java 64 key = copyFrom.getKey();
68 public K getKey() {
90 return (key == null ? entry.getKey() == null : key.equals(entry
91 .getKey()))
129 key = copyFrom.getKey();
133 public K getKey() {
153 return (key == null ? entry.getKey() == null : key.equals(entry
154 .getKey()))
193 if (key.equals(it.next().getKey())) {
199 if (it.next().getKey() == null)
    [all...]
  /external/smack/src/org/jivesoftware/smack/util/collections/
AbstractMapEntry.java 75 return (getKey() == null ? other.getKey() == null : getKey().equals(other.getKey())) && (getValue() == null ? other.getValue() == null : getValue().equals(other.getValue()));
86 return (getKey() == null ? 0 : getKey().hashCode()) ^ (getValue() == null ? 0 : getValue().hashCode());
  /external/chromium_org/chrome/browser/policy/
registry_dict_win_unittest.cc 77 RegistryDict* actual_subdict = test_dict.GetKey("two");
85 actual_subdict = test_dict.GetKey("two");
88 actual_subdict = test_dict.GetKey("four");
94 EXPECT_FALSE(test_dict.GetKey("one"));
95 EXPECT_FALSE(test_dict.GetKey("three"));
106 RegistryDict* actual_subdict = test_dict.GetKey("One");
118 actual_subdict = test_dict.GetKey("One");
154 RegistryDict* actual_subdict = dict_a.GetKey("three");
157 actual_subdict = dict_a.GetKey("six");
177 EXPECT_TRUE(dict_b.GetKey("two"))
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
AnnotationTest.java 55 assertEquals(KEY1, mAnnotation.getKey());
57 assertEquals(KEY2, mAnnotation.getKey());
73 assertEquals(out.getKey(), mAnnotation.getKey());
  /external/openfst/src/include/fst/extensions/far/
equal.h 60 const string key1 = reader1->GetKey();
61 const string key2 = reader2->GetKey();
84 << (reader1->Done() ? reader2->GetKey() : reader1->GetKey())
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dictionary.cpp 96 bool Dictionary::getKey(const String& key, v8::Local<v8::Value>& value) const
116 return getKey(key, value);
122 if (!getKey(key, v8Value))
135 if (!getKey(key, v8Value))
148 if (!getKey(key, v8Value))
161 if (!getKey(key, v8Value))
175 if (!getKey(key, v8Value))
185 if (!getKey(key, v8Value))
198 if (!getKey(key, v8Value))
211 if (!getKey(key, v8Value)
    [all...]
  /external/guava/guava/src/com/google/common/cache/
RemovalNotification.java 66 @Nullable @Override public K getKey() {
81 return Objects.equal(this.getKey(), that.getKey())
88 K k = getKey();
97 return getKey() + "=" + getValue();

Completed in 721 milliseconds

1 2 3 4 5 6 7 8 91011>>