/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/ |
ActionType.java | 50 .key(getKey(this, ActionBehavior.INIT)) 56 private String getKey(ActionType t, ActionBehavior b) { 57 return new ActionKey<ActionType, ActionBehavior>(t, b).getKey();
|
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
RC2Parameters.java | 27 public byte[] getKey()
|
/external/chromium_org/components/precache/core/ |
precache_url_table.cc | 18 std::string GetKey(const GURL& url) { 43 statement.BindString(0, GetKey(url)); 52 statement.BindString(0, GetKey(url)); 60 statement.BindString(0, GetKey(url));
|
/external/guava/guava/src/com/google/common/collect/ |
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();
|
/external/chromium_org/third_party/skia/src/core/ |
SkTDynamicHash.h | 16 // static const Key& GetKey(const T&) { ... } 70 if (Deleted() != candidate && GetKey(*candidate) == key) { 81 SkASSERT(NULL == this->find(GetKey(*newEntry))); 104 if (Empty() == candidate || Deleted() == candidate || GetKey(*candidate) == key) { 135 SKTDYNAMICHASH_CHECK(NULL != this->find(GetKey(*fArray[i]))); 154 SKTDYNAMICHASH_CHECK(!(GetKey(*fArray[i]) == GetKey(*fArray[j]))); 163 const Key& key = GetKey(*newEntry); 185 if (Deleted() != candidate && GetKey(*candidate) == key) { 233 static const Key& GetKey(const T& t) { return Traits::GetKey(t); [all...] |
/external/skia/src/core/ |
SkTDynamicHash.h | 16 // static const Key& GetKey(const T&) { ... } 70 if (Deleted() != candidate && GetKey(*candidate) == key) { 81 SkASSERT(NULL == this->find(GetKey(*newEntry))); 104 if (Empty() == candidate || Deleted() == candidate || GetKey(*candidate) == key) { 135 SKTDYNAMICHASH_CHECK(NULL != this->find(GetKey(*fArray[i]))); 154 SKTDYNAMICHASH_CHECK(!(GetKey(*fArray[i]) == GetKey(*fArray[j]))); 163 const Key& key = GetKey(*newEntry); 185 if (Deleted() != candidate && GetKey(*candidate) == key) { 233 static const Key& GetKey(const T& t) { return Traits::GetKey(t); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
SimpleImmutableEntryTest.java | 37 public Object getKey() { 55 assertEquals(1, testEntry.getKey()); 60 assertNull(testEntry.getKey()); 73 assertEquals(1, entry.getKey()); 75 assertNull(entry.getKey()); 114 assertEquals((e.getKey() == null ? 0 : e.getKey().hashCode()) 121 assertEquals(e.getKey() + "=" + e.getValue(), e.toString());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
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...] |
/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();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
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()));
|
MapContainsKeyTester.java | 41 getMap().containsKey(samples.e0.getKey())); 46 getMap().containsKey(samples.e3.getKey())); 66 getMap().containsKey(samples.e3.getKey()));
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateLoader.java | 63 compiledTemplate.setTemplateName(entry.getKey().toString()); 65 if (entry.getKey() instanceof PrecompiledTemplateMapKey) { 66 PrecompiledTemplateMapKey mapKey = (PrecompiledTemplateMapKey) entry.getKey(); 74 templateMap.put(entry.getKey(), compiledTemplate); 105 Object key = resourceLoader.getKey(templateName);
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ |
SparseSwitchMethodItem.java | 56 targets.add(new SparseSwitchLabelTarget(switchElement.getKey(), label)); 61 targets.add(new SparseSwitchOffsetTarget(switchElement.getKey(), switchElement.getOffset())); 71 IntegerRenderer.writeTo(writer, target.getKey()); 74 writeResourceId(writer, target.getKey()); 87 public int getKey() { return key; }
|
/packages/apps/Settings/src/com/android/settings/users/ |
RestrictionUtils.java | 84 userRestrictions.putBoolean(entry.getKey(), !entry.getSelectedState()); 85 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION) 98 bundle.putBoolean(entry.getKey(), entry.getSelectedState()); 100 bundle.putStringArray(entry.getKey(), entry.getAllSelectedStrings()); 102 bundle.putString(entry.getKey(), entry.getSelectedString());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
RestrictionUtils.java | 75 userRestrictions.putBoolean(entry.getKey(), !entry.getSelectedState()); 76 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION) 89 bundle.putBoolean(entry.getKey(), entry.getSelectedState()); 91 bundle.putStringArray(entry.getKey(), entry.getAllSelectedStrings()); 93 bundle.putString(entry.getKey(), entry.getSelectedString());
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentSkipListMapTest.java | 274 (e.getKey().equals(one) && e.getValue().equals("A")) || 275 (e.getKey().equals(two) && e.getValue().equals("B")) || 276 (e.getKey().equals(three) && e.getValue().equals("C")) || 277 (e.getKey().equals(four) && e.getValue().equals("D")) || 278 (e.getKey().equals(five) && e.getValue().equals("E"))); 293 (e.getKey().equals(one) && e.getValue().equals("A")) || 294 (e.getKey().equals(two) && e.getValue().equals("B")) || 295 (e.getKey().equals(three) && e.getValue().equals("C")) || 296 (e.getKey().equals(four) && e.getValue().equals("D")) || 297 (e.getKey().equals(five) && e.getValue().equals("E"))) [all...] |
TreeMapTest.java | 257 (e.getKey().equals(one) && e.getValue().equals("A")) || 258 (e.getKey().equals(two) && e.getValue().equals("B")) || 259 (e.getKey().equals(three) && e.getValue().equals("C")) || 260 (e.getKey().equals(four) && e.getValue().equals("D")) || 261 (e.getKey().equals(five) && e.getValue().equals("E"))); 276 (e.getKey().equals(one) && e.getValue().equals("A")) || 277 (e.getKey().equals(two) && e.getValue().equals("B")) || 278 (e.getKey().equals(three) && e.getValue().equals("C")) || 279 (e.getKey().equals(four) && e.getValue().equals("D")) || 280 (e.getKey().equals(five) && e.getValue().equals("E"))) [all...] |
/external/chromium_org/net/quic/ |
quic_in_memory_cache.cc | 72 ResponseMap::const_iterator it = responses_.find(GetKey(request_headers)); 101 VLOG(1) << "Adding response for: " << GetKey(request_headers); 102 if (ContainsKey(responses_, GetKey(request_headers))) { 109 responses_[GetKey(request_headers)] = new_response; 121 responses_[GetKey(request_headers)]->response_type_ = response_type; 213 VLOG(1) << "Inserting 'http://" << GetKey(request_headers) 226 string QuicInMemoryCache::GetKey(const BalsaHeaders& request_headers) const {
|
/external/chromium_org/net/tools/quic/ |
quic_in_memory_cache.cc | 73 ResponseMap::const_iterator it = responses_.find(GetKey(request_headers)); 102 VLOG(1) << "Adding response for: " << GetKey(request_headers); 103 if (ContainsKey(responses_, GetKey(request_headers))) { 110 responses_[GetKey(request_headers)] = new_response; 122 responses_[GetKey(request_headers)]->response_type_ = response_type; 214 VLOG(1) << "Inserting 'http://" << GetKey(request_headers) 227 string QuicInMemoryCache::GetKey(const BalsaHeaders& request_headers) const {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
BstTesting.java | 45 return getKey().toString(); 52 return getKey().equals(node.getKey()) 61 return Objects.hashCode(getKey(), childOrNull(LEFT), childOrNull(RIGHT)); 69 return new SimpleNode(source.getKey(), left, right); 145 .getKey() 152 .getKey()
|
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/ |
Listener.java | 83 mRankingMap.getRanking(lhs.getKey(), mLhsRanking); 84 mRankingMap.getRanking(rhs.getKey(), mRhsRanking); 115 Log.i(TAG, "notify: " + delta.mSbn.getKey()); 117 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking); 130 .putExtra(EXTRA_KEY, delta.mSbn.getKey())); 134 Log.i(TAG, "remove: " + delta.mSbn.getKey()); 136 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking); 174 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e); 190 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e);
|
NotificationListenerActivity.java | 124 Log.d(TAG, " on " + sbn.getKey()); 127 .putExtra(Listener.EXTRA_KEY, sbn.getKey())); 136 Log.d(TAG, " on " + sbn.getKey()); 139 .putExtra(Listener.EXTRA_KEY, sbn.getKey())); 188 final String key = sbn.getKey(); 209 if (sbn.getKey().equals(mUpdateKey)) { 215 mRecycledViews.put(old.getKey(), content); 218 child = mRecycledViews.get(sbn.getKey()); 235 mKeys.add(mNotifications.get(i).getKey());
|
/external/chromium_org/components/policy/core/common/ |
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...] |
/external/chromium_org/components/signin/core/browser/webdata/ |
token_service_table.cc | 17 WebDatabaseTable::TypeKey GetKey() { 27 return static_cast<TokenServiceTable*>(db->GetTable(GetKey())); 32 return GetKey();
|