/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
NullCipherTest.java | 61 assertTrue("Incorrect IV", Arrays.equals(c.getIV(), new byte[8])); 104 assertTrue("different content", Arrays.equals(b, r)); 114 assertTrue("different content", Arrays.equals(b, r)); 130 assertTrue("different content", Arrays.equals(b, r)); 140 assertTrue("different content", Arrays.equals(b, r)); 166 assertTrue("different content", Arrays.equals(b, r)); 177 assertTrue("different content", Arrays.equals(b, r)); 205 assertTrue("different content", Arrays.equals(b, r)); 240 assertTrue("different content", Arrays.equals(b, r));
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
SecretKeySpecTest.java | 192 if (! Arrays.equals(key, result)) { 223 * equals(Object obj) method testing. Tests the correctness of equal 237 ks1.equals(ks1)); 240 ks1.equals(ks2)); 243 ks2.equals(ks1)); 246 ks2.equals(ks3)); 249 ks1.equals(ks3)); 252 ks1.equals(null)); 255 assertFalse("Objects should not be equal.", ks1.equals(ks2)); 258 assertFalse("Objects should not be equal.", ks1.equals(ks2)) [all...] |
RC5ParameterSpecTest.java | 196 if (! Arrays.equals(iv, result)) { 210 * equals(Object obj) method testing. Tests the correctness of equal 228 ps1.equals(ps1)); 231 ps1.equals(ps2)); 234 ps2.equals(ps1)); 237 ps2.equals(ps3)); 241 ps1.equals(ps3)); 244 ps1.equals(null)); 247 assertFalse("Objects should not be equal.", ps1.equals(ps2)); 250 assertFalse("Objects should not be equal.", ps1.equals(ps2)) [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
X509KeyManagerImpl.java | 94 if (keyType.equals(client)) { 103 } else if (keyType.equals(server)) { 117 if (s == null || s.equals("")) { 121 if (s.equals(client)) { 146 if (as.length == 1 && as[0].equals(client)) { 161 if (s == null || s.equals("")) { 165 if (s.equals(server)) { 186 if (as == null || as.equals("")) { 190 if (as.equals(server) && socket != null) { 202 if (s != null && !s.equals("")) { [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
ElementParallelTimeContainerImpl.java | 55 if (ENDSYNC_FIRST.equals(endsync) || ENDSYNC_LAST.equals(endsync) || 56 ENDSYNC_ALL.equals(endsync) || ENDSYNC_MEDIA.equals(endsync)) { 67 if (ENDSYNC_FIRST.equals(endSync) || ENDSYNC_LAST.equals(endSync) || 68 ENDSYNC_ALL.equals(endSync) || ENDSYNC_MEDIA.equals(endSync)) { 87 if (ENDSYNC_LAST.equals(getEndSync())) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
ECFieldF2mTest.java | 326 * on equal (according to the <code>equals(Object)</code> method) objects. 337 * on equal (according to the <code>equals(Object)</code> method) objects. 348 * on equal (according to the <code>equals(Object)</code> method) objects. 358 * Test #1 for <code>equals()</code> method.<br> 360 * Assertion: object equals to itself. 364 assertTrue(obj.equals(obj)); 368 * Test #2 for <code>equals()</code> method.<br> 373 assertTrue(new ECFieldF2m(43).equals(new ECFieldF2m(43))); 377 * Test #3 for <code>equals()</code> method.<br> 383 assertTrue(new ECFieldF2m(1999, new int[] {367}).equals( [all...] |
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/ |
tst_qscriptvalue_generated_comparison.cpp | 1147 QSet<QString> equals; local 1160 void tst_QScriptValue::equals() function in class:tst_QScriptValue 1685 QSet<QString> equals; local 1780 QSet<QString> equals; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatReader.java | 73 if (name.equals(Feature.VALIDATION) 74 || name.equals(Feature.EXTERNAL_GENERAL_ENTITIES) 75 || name.equals(Feature.EXTERNAL_PARAMETER_ENTITIES)) { 79 if (name.equals(Feature.NAMESPACES)) { 83 if (name.equals(Feature.NAMESPACE_PREFIXES)) { 87 if (name.equals(Feature.STRING_INTERNING)) { 100 if (name.equals(Feature.VALIDATION) 101 || name.equals(Feature.EXTERNAL_GENERAL_ENTITIES) 102 || name.equals(Feature.EXTERNAL_PARAMETER_ENTITIES)) { 111 if (name.equals(Feature.NAMESPACES)) [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
ECFieldF2mTest.java | 359 * on equal (according to the <code>equals(Object)</code> method) objects. 370 * on equal (according to the <code>equals(Object)</code> method) objects. 381 * on equal (according to the <code>equals(Object)</code> method) objects. 391 * Test #1 for <code>equals()</code> method.<br> 393 * Assertion: object equals to itself. 397 assertTrue(obj.equals(obj)); 401 * Test #2 for <code>equals()</code> method.<br> 406 assertTrue(new ECFieldF2m(43).equals(new ECFieldF2m(43))); 410 * Test #3 for <code>equals()</code> method.<br> 416 assertTrue(new ECFieldF2m(1999, new int[] {367}).equals( [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionData.java | 123 return Intent.ACTION_WEB_SEARCH.equals(getSuggestionIntentAction()); 241 public boolean equals(Object obj) { method in class:SuggestionData 252 } else if (!mFormat.equals(other.mFormat)) 257 } else if (!mIcon1.equals(other.mIcon1)) 262 } else if (!mIcon2.equals(other.mIcon2)) 267 } else if (!mIntentAction.equals(other.mIntentAction)) 272 } else if (!mIntentData.equals(other.mIntentData)) 277 } else if (!mIntentExtraData.equals(other.mIntentExtraData)) 282 } else if (!mLogType.equals(other.mLogType)) 287 } else if (!mShortcutId.equals(other.mShortcutId) [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
XMLWriter.java | 508 if (!("yes".equals(outputProperties.getProperty(OMIT_XML_DECLARATION, "no")))) { 592 if (htmlMode && (qName.equals("script") || qName.equals("style"))) { 622 (uri.equals("http://www.w3.org/1999/xhtml") || 623 uri.equals("")) && 624 (qName.equals("area") || qName.equals("base") || 625 qName.equals("basefont") || qName.equals("br") || 626 qName.equals("col") || qName.equals("frame") | [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 93 if (!p.getProperty("Provider.id name").equals( 97 if (!p.getProperty("Provider.id version").equals( 101 if (!p.getProperty("Provider.id info").equals( 105 if (!p.getProperty("Provider.id className").equals( 148 if (!"value 1".equals(p.getProperty("Property 1").trim()) || 149 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || 150 !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || 151 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { 175 if (key.equals("MessageDigest.SHA-1") && val.equals("SomeClassName")) [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
SigParameterizedType.java | 74 public boolean equals(Object obj) { method in class:SigParameterizedType 75 return equals(this, obj); 78 public static boolean equals(IParameterizedType thiz, Object that) { method in class:SigParameterizedType 91 } else if (!thiz.getOwnerType().equals(other.getOwnerType())) { 94 if (!thiz.getRawType().equals(other.getRawType())) { 97 if (!thiz.getTypeArguments().equals(other.getTypeArguments())) {
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/kerberos/ |
KerberosNameTest.java | 35 assertTrue(Arrays.equals(expected, exported)); 53 assertFalse(one.equals(another)); 62 assertFalse(one.equals(another)); 70 assertFalse(one.equals(another)); 78 assertFalse(one.equals(another)); 82 assertFalse(one.equals(another));
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
CipherOutputStreamTest.java | 61 if (!Arrays.equals(result, data)) { 79 if (!Arrays.equals(result, data)) { 95 if (!Arrays.equals(result, data)) { 112 if (!Arrays.equals(result, data)) { 153 if (!Arrays.equals(result, data)) { 169 if (!Arrays.equals(result, data)) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateTest.java | 80 assertTrue((c1.hashCode() == c2.hashCode()) && c1.equals(c2)); 94 * Test #1 for <code>equals(Object)</code> method<br> 95 * Assertion: object equals to itself 99 assertTrue(c1.equals(c1)); 103 * Test for <code>equals(Object)</code> method<br> 104 * Assertion: object equals to other <code>Certificate</code> 110 assertTrue(c1.equals(c2) && c2.equals(c1)); 114 * Test for <code>equals(Object)</code> method<br> 115 * Assertion: object not equals to <code>null</code [all...] |
/frameworks/base/core/java/android/webkit/ |
GeolocationService.java | 119 if (LocationManager.NETWORK_PROVIDER.equals(providerName)) { 121 } else if (LocationManager.GPS_PROVIDER.equals(providerName)) { 135 if (LocationManager.NETWORK_PROVIDER.equals(providerName)) { 137 } else if (LocationManager.GPS_PROVIDER.equals(providerName)) { 148 if (LocationManager.NETWORK_PROVIDER.equals(providerName)) { 150 } else if (LocationManager.GPS_PROVIDER.equals(providerName)) {
|
/libcore/luni/src/main/java/java/util/ |
Currency.java | 74 if (!variant.isEmpty() && (variant.equals("EURO") || variant.equals("HK") || 75 variant.equals("PREEURO"))) { 82 } else if (currencyCode.equals("None")) { 158 if (localeData.internationalCurrencySymbol.equals(currencyCode)) { 177 if (currencyCode.equals("XXX")) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldAbstractMapTest.java | 38 assertTrue("assert 0", amt1.equals(amt2)); 39 assertTrue("assert 1", amt1.equals(amt1)); 40 assertTrue("assert 2", amt2.equals(amt1)); 42 assertFalse("assert 3", amt1.equals(amt2)); 49 assertTrue("assert 4", amt1.equals(amt2)); 50 assertFalse("assert 5", amt1.equals(this));
|
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLEntryTest.java | 113 * equals(Object other) method testing. Tests the correctness of equal 138 tbt_crlentry.equals(tbt_crlentry)); 140 assertEquals("The CRL Entries with equals encoded form should be equal", 144 tbt_crlentry_1.equals(tbt_crlentry)); 146 assertEquals("The CRL Entries with equals encoded form should be equal", 150 tbt_crlentry.equals(tbt_crlentry_2)); 153 tbt_crlentry.equals(null)); 157 tbt_crlentry.equals(tbt_crlentry_3)); 158 assertFalse("The CRL Entries should not be equals to the object " 160 tbt_crlentry.equals(new Object())) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileAwareUriMatcher.java | 79 if (token.equals(PROFILE_SEGMENT)) { 82 } else if (token.equals(LOOKUP_SEGMENT) 83 || token.equals(VCARD_SEGMENT)) { 86 } else if (token.equals(ID_SEGMENT)) { 88 } else if (token.equals(WILDCARD_SEGMENT)) { 121 if (ContactLookupKey.PROFILE_LOOKUP_KEY.equals(lookupKey)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
BasePullParser.java | 48 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) { 51 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) { 58 if (FEATURE_PROCESS_NAMESPACES.equals(name)) { 61 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name)) { 215 if (type != getEventType() || (namespace != null && !namespace.equals(getNamespace())) 216 || (name != null && !name.equals(getName())))
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest5.java | 126 && tempFileNames[j].equals("java")) { 131 && subdirNames[k].equals("lang")) { 173 if (!fileName.equals("java.lang.VirtualMachineError") 175 .equals("java.io.ObjectStreamException") 177 .equals("java.beans.PropertyVetoException")) 242 boolean equals; 243 equals = objToSave.getClass().equals(objLoaded.getClass()); 244 assertTrue(MSG_TEST_FAILED + objToSave, equals); 246 equals = ((Throwable) objToSave).getMessage().equals [all...] |
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
IdentityTest.java | 61 assertEquals(value[k+1], new Boolean(i1.equals(value[k]))); 62 if (Boolean.TRUE.equals(value[k+1])) assertEquals(i1.hashCode(), value[k].hashCode()); 66 assertEquals(i1.identityEquals(i2), i1.equals(i2)); 68 assertEquals(i1.identityEquals(i3), i1.equals(i3)); 194 assertTrue(c1.equals(s[0]) || c2.equals(s[0])); 195 assertTrue(c1.equals(s[1]) || c2.equals(s[1])); 201 assertTrue(c1.equals(s[0]) || c2.equals(s[0])) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/ |
AnnotationFactory.java | 123 if (val.name.equals(defs[i].name)) { 152 if (el2.name.equals(el1.name)) { 160 if (val.name.equals(def.name)) { 180 * @see android.lang.annotation.AnnotationMember#equals(Object) 182 public boolean equals(Object obj) { method in class:AnnotationFactory 198 if (el1.equals(el2)) { 225 if (!el.value.equals(otherValue)) { 286 if ("annotationType".equals(name)) { 288 } else if ("toString".equals(name)) { 290 } else if ("hashCode".equals(name)) [all...] |