/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
SignalToneUtil.java | 82 static private HashMap<Integer, Integer> hm = new HashMap<Integer, Integer>(); field in class:SignalToneUtil 102 Integer result = hm.get(signalParamHash(signalType, alertPitch, signal)); 112 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, 115 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, 119 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, 122 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, 125 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, 128 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, 131 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, 134 hm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
ProviderService_ImplTest.java | 47 HashMap hm = new HashMap(); local 48 hm.put("attribute", "value"); 49 hm.put("KeySize", "1024"); 50 hm.put("AAA", "BBB"); 53 null, hm);
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldMapEntryTest.java | 29 HashMap hm = null; field in class:OldMapEntryTest 33 assertTrue(hm.containsKey(me.getKey())); 34 hm.clear(); 44 assertTrue(hm.containsValue(me.getValue())); 45 hm.clear(); 79 hm.clear(); 102 hm = new HashMap(); 104 hm.put(new Integer(1), "one"); 105 hm.put(new Integer(2), "two"); 107 i = hm.entrySet().iterator() [all...] |
OldAndroidTreeMapTest.java | 43 HashMap<Integer, String> hm = new HashMap<Integer, String>(); local 58 hm.put(new Integer(val), "V:" + val); 63 if (SPEW) System.out.println("hm.size() = " + hm.size()); 64 assertEquals(tm.size(), hm.size()); 78 String hms = hm.get(vv); 87 String hms = hm.remove(new Integer(val)); 91 assertEquals(tm.size(), hm.size()); 99 String hms = hm.get(vv);
|
OldTreeSetTest.java | 44 HashMap hm = new HashMap(); local 45 hm.put("First", new Integer(1)); 46 hm.put(new Integer(2), "two"); 49 new TreeSet(hm.values()); 79 HashMap hm = new HashMap(); local 80 hm.put("First", new Integer(1)); 81 hm.put(new Integer(2), "two"); 101 HashMap hm = new HashMap(); local 102 hm.put("First", new Integer(1)); 103 hm.put(new Integer(2), "two") [all...] |
OldTreeMapTest.java | 114 HashMap hm = new HashMap(); local 115 hm.put(new Integer(1), "one"); 116 hm.put("one", new Integer(1)); 119 new TreeMap(hm);
|
/libcore/luni/src/test/java/tests/api/java/util/ |
IdentityHashMapTest.java | 52 IdentityHashMap hm; field in class:IdentityHashMapTest 101 assertTrue("Failed to construct correct IdentityHashMap", hm 121 hm.clear(); 122 assertEquals("Clear failed to reset size", 0, hm.size()); 125 hm.get(objArray2[i])); 134 IdentityHashMap hm2 = (IdentityHashMap) hm.clone(); 135 assertTrue("Clone answered equivalent IdentityHashMap", hm2 != hm); 137 assertTrue("Clone answered unequal IdentityHashMap", hm 170 assertTrue("Returned false for valid key", hm 172 assertTrue("Returned true for copy of valid key", !hm [all...] |
HashMapTest.java | 45 HashMap hm; field in class:HashMapTest 114 assertTrue("Failed to construct correct HashMap", hm 118 hm = new HashMap(mockMap); 119 assertEquals(hm, mockMap); 127 hm.clear(); 128 assertEquals("Clear failed to reset size", 0, hm.size()); 131 hm.get(objArray2[i])); 140 HashMap hm2 = (HashMap) hm.clone(); 141 assertTrue("Clone answered equivalent HashMap", hm2 != hm); 143 assertTrue("Clone answered unequal HashMap", hm [all...] |
LinkedHashMapTest.java | 38 LinkedHashMap hm; field in class:LinkedHashMapTest 127 assertTrue("Failed to construct correct LinkedHashMap", hm 138 hm.get("T")); 139 hm.put("T", "HELLO"); 140 assertEquals("Get returned incorecct value for existing key", "HELLO", hm.get("T") 156 hm.put("KEY", "VALUE"); 158 "VALUE", hm.get("KEY")); 190 hm2.putAll(hm); 221 Set s = hm.entrySet(); 223 assertTrue("Returned set of incorrect size", hm.size() == s.size()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IdentityHashMap2Test.java | 52 IdentityHashMap hm; field in class:IdentityHashMap2Test 110 assertTrue("Failed to construct correct IdentityHashMap", hm 132 hm.clear(); 133 assertEquals("Clear failed to reset size", 0, hm.size()); 136 hm.get(objArray2[i])); 145 IdentityHashMap hm2 = (IdentityHashMap) hm.clone(); 146 assertTrue("Clone answered equivalent IdentityHashMap", hm2 != hm); 148 assertTrue("Clone answered unequal IdentityHashMap", hm 181 assertTrue("Returned false for valid key", hm 183 assertTrue("Returned true for copy of valid key", !hm [all...] |
HashMapTest.java | 96 HashMap hm; field in class:HashMapTest 175 assertTrue("Failed to construct correct HashMap", hm 180 hm = new HashMap(mockMap); 197 hm.clear(); 198 assertEquals("Clear failed to reset size", 0, hm.size()); 201 hm.get(objArray2[i])); 209 assertEquals("Failed to reset size on large integer map", 0, hm.size()); 220 HashMap hm2 = (HashMap) hm.clone(); 221 assertTrue("Clone answered equivalent HashMap", hm2 != hm); 223 assertTrue("Clone answered unequal HashMap", hm 601 HashMap<MyKey, Integer> hm = new HashMap<MyKey, Integer>(10, 0.5f); local 784 HashMap<String, String> hm = new HashMap<String, String>(); local 798 HashMap<String, String> hm = new HashMap<String, String>(); local [all...] |
LinkedHashMapTest.java | 41 LinkedHashMap hm; field in class:LinkedHashMapTest 134 assertTrue("Failed to construct correct LinkedHashMap", hm 145 hm.get("T")); 146 hm.put("T", "HELLO"); 147 assertEquals("Get returned incorecct value for existing key", "HELLO", hm.get("T") 163 hm.put("KEY", "VALUE"); 165 "VALUE", hm.get("KEY")); 183 hm2.putAll(hm); 214 Set s = hm.entrySet(); 216 assertTrue("Returned set of incorrect size", hm.size() == s.size()) [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Provider_ImplTest.java | 53 HashMap hm = new HashMap(); local 54 hm.put("KeySize", "1024"); 55 hm.put("AAA", "BBB"); 57 "className", null, hm);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 89 HashMap hm = new HashMap(); local 90 hm.put("attribute", "value"); 91 hm.put("KeySize", "1024"); 92 hm.put("AAA", "BBB"); 95 null, hm);
|
ProviderTest.java | 98 HashMap hm = new HashMap(); local 99 hm.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 100 hm.put("Property 1", "value 1"); 101 hm.put("serviceName.algName attrName", "attrValue"); 102 hm.put("Alg.Alias.engineClassName.aliasName", "standardName"); 103 p.putAll(hm);
|
/external/clang/test/SemaCXX/ |
member-pointer.cpp | 74 HasMembers hm; local 78 int *pmii = &hm.i; 82 &hm.f; // expected-error {{cannot create a non-constant pointer to member function}} 94 HasMembers hm, *phm = &hm; local 97 hm.*pi = 0; 99 (void)&(hm.*pi); 101 (void)&((&hm)->*pi); 104 (hm.*pf)(); 107 (void)(hm->*pi); // expected-error {{left hand operand to ->* must be a pointer to class compatible with the (…) [all...] |
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
SAXParserTestSupport.java | 180 HashMap<String, String> hm = new HashMap<String, String>(); local 181 hm.put(KEY_IS_END_DOC, data_isEndDocument.toString()); 182 hm.put(KEY_IS_START_DOC, data_isStartDocument.toString()); 183 hm.put(KEY_TEXT, data_text.toString()); 184 hm.put(KEY_ERROR, data_error.toString()); 185 hm.put(KEY_FATAL_ERROR, data_fatalError.toString()); 186 hm.put(KEY_WARNING, data_warning.toString()); 187 hm.put(KEY_END_ELEMENT, data_endElement.toString()); 188 hm.put(KEY_END_PREFIX_MAPPING, data_endPrefixMapping.toString()); 190 hm.put(KEY_PROCESSING_INSTRUCTION 376 HashMap<String, String> hm = new HashMap<String, String>(); local [all...] |
SAXParserTest.java | 312 HashMap<String, String> hm = local 316 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())); 347 HashMap<String, String> hm = sp.readFile( local 351 assertTrue(SAXParserTestSupport.equalsMaps(hm, 406 HashMap<String, String> hm = new SAXParserTestSupport().readFile( local 411 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())); 448 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); local 452 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())); 504 HashMap<String, String> hm = new SAXParserTestSupport().readFile( local 509 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())) 547 HashMap<String, String> hm = sp.readFile( local 655 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); local 696 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); local 743 HashMap<String, String> hm = new SAXParserTestSupport().readFile( local 778 HashMap<String, String> hm = sp.readFile( local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedStringTest.java | 418 Map<AttributedCharacterIterator.Attribute, String> hm = new HashMap<AttributedCharacterIterator.Attribute, String>(); local 423 hm.put(aci[0], "value1"); 424 hm.put(aci[1], "value2"); 426 AttributedString attrString = new AttributedString(test, hm); 449 Map<AttributedCharacterIterator.Attribute, String> hm = new HashMap<AttributedCharacterIterator.Attribute, String>(); local 454 hm.put(aci[0], "value1"); 455 hm.put(aci[1], "value2"); 458 attrString.addAttributes(hm, 2, 4);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 101 HashMap<String, String> hm = new HashMap<String, String>(); local 102 hm.put("attribute", "value"); 103 hm.put("KeySize", "1024"); 104 hm.put("AAA", "BBB"); 106 s = new Provider.Service(p, "type", "algorithm", "className", null, hm);
|
ProviderTest.java | 142 HashMap hm = new HashMap(); local 143 hm.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 144 hm.put("Property 1", "value 1"); 145 hm.put("serviceName.algName attrName", "attrValue"); 146 hm.put("Alg.Alias.engineClassName.aliasName", "standardName"); 147 p.putAll(hm);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 150 HashMap hm = new HashMap(); local 151 hm.put("KeySize", "1024"); 152 hm.put("AAA", "BBB"); 154 "className", null, hm);
|
/libcore/luni/src/main/java/java/security/ |
Security.java | 235 HashMap<String, String> hm = new HashMap<String, String>(); local 241 hm.put(filter, ""); 243 hm.put(filter.substring(0, i), filter.substring(i + 1)); 245 return getProviders(hm);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsvideo.c | 182 unsigned long long *hm, 197 packet[pnum].ptr = hm; 200 hm[2] = ((unsigned long long)image->fbp << 32) | 203 hm[4] = ((unsigned long long)image->x << 32) | 205 hm[6] = (unsigned long long)image->w |
|
/libcore/luni/src/main/java/java/util/ |
IdentityHashMap.java | 144 IdentityHashMap<KT, VT> hm) { 145 associatedMap = hm; 147 expectedModCount = hm.modCount; 200 public IdentityHashMapEntrySet(IdentityHashMap<KT, VT> hm) { 201 associatedMap = hm;
|