/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
EncodedKeySpec2Test.java | 66 return dsa1.getY().equals(dsa2.getY()) 67 && dsa1.getParams().getG().equals(dsa2.getParams().getG()) 68 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) 69 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ()); 75 return dsa1.getX().equals(dsa2.getX()) 76 && dsa1.getParams().getG().equals(dsa2.getParams().getG()) 77 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) 78 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ());
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyPermission.java | 30 public boolean equals(Object obj) { method in class:MyPermission 36 return name.equals(getName());
|
/external/guava/src/com/google/common/collect/ |
ForwardingSet.java | 41 @Override public boolean equals(@Nullable Object object) { method in class:ForwardingSet 42 return object == this || delegate().equals(object);
|
/external/proguard/src/proguard/classfile/visitor/ |
ExceptClassFilter.java | 55 if (!programClass.equals(exceptClass)) 64 if (!libraryClass.equals(exceptClass))
|
/libcore/luni/src/main/java/java/security/spec/ |
ECFieldFp.java | 76 public boolean equals(Object obj) { method in class:ECFieldFp 77 // object equals itself 82 return (this.p.equals(((ECFieldFp)obj).p));
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ByteArray.java | 22 * Byte array wrapper for hashtable use. Implements equals() and hashCode(). 37 @Override public boolean equals(Object o) { method in class:ByteArray 42 return Arrays.equals(bytes, lhs.bytes);
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpec2Test.java | 67 return dsa1.getY().equals(dsa2.getY()) 68 && dsa1.getParams().getG().equals(dsa2.getParams().getG()) 69 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) 70 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ()); 76 return dsa1.getX().equals(dsa2.getX()) 77 && dsa1.getParams().getG().equals(dsa2.getParams().getG()) 78 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) 79 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ());
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhonebookCollatorFactory.java | 35 if ("ja".equals(defaultLocaleString) || "ja_JP".equals(defaultLocaleString)) {
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySync.java | 161 if ("".equals(part)) continue; 189 if (auth == GMAIL && "M".equals(key)) { 191 } else if (auth == GMAIL && "L".equals(key)) { 193 } else if (auth == GMAIL && "C".equals(key)) { 195 } else if (auth == GMAIL && "A".equals(key)) { 197 } else if (auth == GMAIL && "U".equals(key)) { 199 } else if (auth == GMAIL && "u".equals(key)) { 201 } else if (auth == GMAIL && "S".equals(key)) { 203 } else if ("Q".equals(key)) { 205 } else if ("E".equals(key)) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
ChoiceFormatTest.java | 51 formattedString.equals("Tiny Apple")); 54 formattedString.equals("Tiny Apple")); 57 formattedString.equals("Tiny Apple")); 60 formattedString.equals("Tiny Apple")); 63 formattedString.equals("Small Apple")); 66 formattedString.equals("Small Apple")); 69 formattedString.equals("Medium Apple")); 72 formattedString.equals("Large Apple")); 75 formattedString.equals("Huge Apple")); 78 formattedString.equals("Huge Apple")) [all...] |
/cts/tools/signature-tools/src/signature/converter/ |
Main.java | 38 if ("--out".equals(args[at])) { 44 if (!"--out".equals(args[at])) { 49 if (!"--name".equals(args[++at])) { 54 if (!"--packages".equals(args[++at])) { 66 if ("doclet".equals(type)) { 68 } else if ("dex".equals(type)) {
|
/external/svox/pico/src/com/svox/pico/ |
GetSampleText.java | 44 if (language.equals("eng")) { 45 if (country.equals("GBR")){ 50 } else if (language.equals("fra")) { 52 } else if (language.equals("ita")) { 54 } else if (language.equals("deu")) { 56 } else if (language.equals("spa")) {
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
ContactInfo.java | 55 public boolean equals(Object obj) { method in class:ContactInfo 61 if (!TextUtils.equals(name, other.name)) return false; 63 if (!TextUtils.equals(label, other.label)) return false; 64 if (!TextUtils.equals(number, other.number)) return false; 65 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) return false; 66 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) return false;
|
/cts/tools/signature-tools/src/signature/compare/ |
Main.java | 55 if (!"--from".equals(args[at])) { 64 if ("--name".equals(args[at])) { 68 if ("--to".equals(args[at])) { 77 if (!"--name".equals(args[at])) { 82 if ("--to".equals(args[at])) { 91 if (!"--to".equals(args[at])) { 100 if ("--name".equals(args[at])) { 104 if ("--out".equals(args[at])) { 113 if (!"--name".equals(args[at])) { 118 if ("--out".equals(args[at])) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
RC2ParameterSpecTest.java | 127 if (! Arrays.equals(iv, result)) { 141 * equals(Object obj) method testing. Tests the correctness of equal 156 ps1.equals(ps1)); 159 ps1.equals(ps2)); 162 ps2.equals(ps1)); 165 ps2.equals(ps3)); 169 ps1.equals(ps3)); 172 ps1.equals(null)); 175 assertFalse("Objects should not be equal.", ps1.equals(ps2)); 178 assertFalse("Objects should not be equal.", ps1.equals(ps2)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest4.java | 69 boolean equals; 70 equals = true; 73 assertTrue(MSG_TEST_FAILED + objToSave, equals); 101 boolean equals; 102 equals = objToSave.equals(objLoaded); 103 if (equals) 104 equals = ((Set) objLoaded).size() == 0; 105 assertTrue(MSG_TEST_FAILED + objToSave, equals); 134 boolean equals; [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidFloatDoubleTest.java | 31 assertFalse(f.equals(d)); 32 assertFalse(d.equals(f)); 33 assertFalse(f.equals(o)); 34 assertFalse(d.equals(o)); 35 assertFalse(f.equals(null)); 36 assertFalse(d.equals(null)); 69 assertTrue(!Float.valueOf(pz).equals(Float.valueOf(nz))); 71 assertTrue(!Float.valueOf(pz).equals(Float.valueOf(nzero))); 73 assertTrue(!Float.valueOf(nz).equals(Float.valueOf(pz))); 75 assertTrue(!Float.valueOf(nz).equals(Float.valueOf(pzero))) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleAttributeTest.java | 64 assertFalse(a.equals(null)); 65 assertFalse(a.equals(new Object())); 68 assertFalse(a.equals(new SimpleAttribute(SdkConstants.NS_RESOURCES, 72 assertFalse(a.equals(new SimpleAttribute(SdkConstants.NS_RESOURCES, 76 assertFalse(a.equals(new SimpleAttribute("uri", "name", "value = with space "))); 78 assertFalse(a.equals(new SimpleAttribute("uri", "wrong name", "value"))); 80 assertTrue(a.equals(new SimpleAttribute(SdkConstants.NS_RESOURCES,
|
/external/javassist/src/main/javassist/bytecode/ |
AttributeInfo.java | 77 if (nameStr.equals(AnnotationDefaultAttribute.tag)) 79 else if (nameStr.equals(CodeAttribute.tag)) 81 else if (nameStr.equals(ConstantAttribute.tag)) 83 else if (nameStr.equals(DeprecatedAttribute.tag)) 85 else if (nameStr.equals(EnclosingMethodAttribute.tag)) 87 else if (nameStr.equals(ExceptionsAttribute.tag)) 89 else if (nameStr.equals(InnerClassesAttribute.tag)) 95 if (nameStr.equals(LineNumberAttribute.tag)) 97 else if (nameStr.equals(LocalVariableAttribute.tag)) 99 else if (nameStr.equals(LocalVariableTypeAttribute.tag) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutDeviceHandler.java | 81 if (LayoutDevicesXsd.NODE_DEVICE.equals(localName)) { 88 } else if (LayoutDevicesXsd.NODE_DEFAULT.equals(localName)) { 91 } else if (LayoutDevicesXsd.NODE_CONFIG.equals(localName)) { 105 } else if (LayoutDevicesXsd.NODE_SCREEN_DIMENSION.equals(localName)) { 119 if (LayoutDevicesXsd.NODE_DEVICE.equals(localName)) { 122 } else if (LayoutDevicesXsd.NODE_CONFIG.equals(localName)) { 125 } else if (LayoutDevicesXsd.NODE_COUNTRY_CODE.equals(localName)) { 129 } else if (LayoutDevicesXsd.NODE_NETWORK_CODE.equals(localName)) { 133 } else if (LayoutDevicesXsd.NODE_SCREEN_SIZE.equals(localName)) { 137 } else if (LayoutDevicesXsd.NODE_SCREEN_RATIO.equals(localName)) [all...] |
/external/apache-harmony/math/src/test/java/tests/api/java/math/ |
BigDecimalTest.java | 41 .unscaledValue().equals(value) 51 .unscaledValue().equals(value2) 54 .toString().equals("123345.60000")); 64 big.toString().equals("1230000")); 96 .toString().equals("345.23499600293850") 100 .toString().equals("-12345") 104 .toString().equals("123") 174 .equals("1234")); 178 .toString().equals("23.45")); 189 .toString().equals("3872691" [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
JUnitTestCaseAdapter.java | 249 boolean equals = (expected != null && actual != null && size == actual.size()); 250 if(equals) { 256 while(actualIter.hasNext() && equals) { 259 equals = false; 260 while(expectedIter.hasNext() && !equals) { 263 equals = true; 269 assertTrue(assertID,equals); 277 boolean equals = (expected != null && actual != null && size == actual.size()); 278 if(equals) { 313 boolean equals = (expected != null && actual != null && size == actual.size()) 419 public boolean equals(String expected, String actual) { method in class:JUnitTestCaseAdapter 423 public boolean equals(int expected, int actual) { method in class:JUnitTestCaseAdapter 427 public boolean equals(boolean expected, boolean actual) { method in class:JUnitTestCaseAdapter 431 public boolean equals(double expected, double actual) { method in class:JUnitTestCaseAdapter 435 public boolean equals(Collection expected, Collection actual) { method in class:JUnitTestCaseAdapter 460 public boolean equals(List expected, List actual) { method in class:JUnitTestCaseAdapter [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldStreamTokenizerTest.java | 60 Assert.assertTrue(a.toString().equals("Token[Testing], line 1")); 62 Assert.assertTrue(a.toString().equals("Token[n=12345.0], line 1")); 64 Assert.assertTrue(a.toString().equals("Token[alpha], line 2")); 66 Assert.assertTrue(a.toString().equals("Token[omega], line 3")); 68 Assert.assertTrue(a.toString().equals("Token[EOF], line 3")); 78 Assert.assertTrue(b.toString().equals("Token[n=-3.8], line 1")); 80 Assert.assertTrue(b.toString().equals("Token[BLIND mice], line 1")); 82 Assert.assertTrue(b.toString().equals("Token[EOL], line 2")); 84 Assert.assertTrue(b.toString().equals("Token[see], line 2")); 86 Assert.assertTrue(b.toString().equals("Token[the], line 2")) [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
Main.java | 47 if (arg.equals("--") || !arg.startsWith("--")) { 49 } else if (arg.equals("--bytes")) { 51 } else if (arg.equals("--basic-blocks")) { 53 } else if (arg.equals("--rop-blocks")) { 55 } else if (arg.equals("--optimize")) { 57 } else if (arg.equals("--ssa-blocks")) { 61 } else if (arg.equals("--debug")) { 63 } else if (arg.equals("--dot")) { 65 } else if (arg.equals("--strict")) {
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
RC2ParameterSpecTest.java | 127 if (! Arrays.equals(iv, result)) { 141 * equals(Object obj) method testing. Tests the correctness of equal 156 ps1.equals(ps1)); 159 ps1.equals(ps2)); 162 ps2.equals(ps1)); 165 ps2.equals(ps3)); 169 ps1.equals(ps3)); 172 ps1.equals(null)); 175 assertFalse("Objects should not be equal.", ps1.equals(ps2)); 178 assertFalse("Objects should not be equal.", ps1.equals(ps2)) [all...] |