HomeSort by relevance Sort by last modified time
    Searched full:equals (Results 526 - 550 of 7227) sorted by null

<<21222324252627282930>>

  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismExceptionTest.java 71 assertTrue(createErr(tE, e), tE.equals(e));
90 assertTrue(createErr(tE, e), tE.equals(e));
108 assertTrue(createErr(tE, e), tE.equals(e));
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
LevelTest.java 219 * Test equals when two objects are equal.
229 * Test equals when two objects are not equal.
234 assertFalse(l1.equals(l2));
235 assertFalse(l2.equals(l1));
239 * Test equals when the other object is null.
242 assertFalse(Level.ALL.equals(null));
246 * Test equals when the other object is not an instance of Level.
249 assertFalse(Level.ALL.equals(new Object()));
253 * Test equals when the other object is itself.
256 assertTrue(Level.ALL.equals(Level.ALL))
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
URLDecoderTest.java 45 URLEncoder.encode(URL)).equals(URL));
47 URLEncoder.encode(URL2)).equals(URL2));
49 URLEncoder.encode(URL3)).equals(URL3));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 72 if (alg.equals("RSA")) {
112 boolean samePrivate = Arrays.equals(keys.getPrivate()
152 boolean samePublic = Arrays.equals(keys.getPublic()
178 fact.getAlgorithm().equals(keyfactAlgs[i]));
264 boolean samePublic = Arrays.equals(keys.getPublic()
266 boolean samePrivate = Arrays.equals(keys.getPrivate()
277 encodedSpec.getClass().equals(X509EncodedKeySpec.class));
282 .equals(PKCS8EncodedKeySpec.class));
384 if (algName.equals("RSA")) {
387 if (algName.equals("DSA"))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DHParametersHelper.java 76 // while (g.modPow(TWO, p).equals(ONE) || g.modPow(q, p).equals(ONE));
88 while (g.equals(ONE));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPrivateKey.java 86 public boolean equals(Object o) method in class:BCRSAPrivateKey
100 return getModulus().equals(key.getModulus())
101 && getPrivateExponent().equals(key.getPrivateExponent());
BCRSAPublicKey.java 102 public boolean equals(Object o) method in class:BCRSAPublicKey
116 return getModulus().equals(key.getModulus())
117 && getPublicExponent().equals(key.getPublicExponent());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCERSAPrivateKey.java 86 public boolean equals(Object o) method in class:JCERSAPrivateKey
100 return getModulus().equals(key.getModulus())
101 && getPrivateExponent().equals(key.getPrivateExponent());
JCERSAPublicKey.java 104 public boolean equals(Object o) method in class:JCERSAPublicKey
118 return getModulus().equals(key.getModulus())
119 && getPublicExponent().equals(key.getPublicExponent());
  /external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
NameValuePair.java 62 public boolean equals(Object other) { method in class:NameValuePair
69 return name.equals(otherPair.name)
70 && value.equals(otherPair.value);
  /external/guava/guava/src/com/google/common/base/
Function.java 37 * <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
50 * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
58 boolean equals(@Nullable Object object); method in interface:Function
Predicate.java 37 * <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
50 * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
58 boolean equals(@Nullable Object object); method in interface:Predicate
  /external/guava/guava-tests/test/com/google/common/testing/
SerializableTesterTest.java 89 public boolean equals(Object other) { method in class:SerializableTesterTest.ClassWhichIsAlwaysEqualButHasDifferentHashcodes
99 public boolean equals(Object other) { method in class:SerializableTesterTest.ObjectWhichIsEqualButChangesClass
115 public boolean equals(Object other) { method in class:SerializableTesterTest.ObjectWhichIsEqualButChangesClass.OtherForm
  /external/javassist/src/main/javassist/bytecode/stackmap/
TypeData.java 49 public abstract boolean equals(Object obj); method in class:TypeData
87 public boolean equals(Object obj) { method in class:TypeData.BasicType
188 public boolean equals(Object obj) { method in class:TypeData.TypeName
192 return getExpected().equals(tn.getExpected());
244 else if (!origName.equals(td.getName()))
258 else if (oldName.equals(typeName))
261 && oldName.equals("[Ljava.lang.Object;")) {
356 if ("null".equals(getExpected()))
367 if ("null".equals(type))
458 public boolean equals(Object obj) method in class:TypeData.UninitData
503 public boolean equals(Object obj) { method in class:TypeData.UninitThis
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ultraviolet/
BaseLocationBox.java 84 public boolean equals(Object o) { method in class:BaseLocationBox
90 if (baseLocation != null ? !baseLocation.equals(that.baseLocation) : that.baseLocation != null) return false;
91 if (purchaseLocation != null ? !purchaseLocation.equals(that.purchaseLocation) : that.purchaseLocation != null)
  /external/nist-sip/java/gov/nist/javax/sip/header/ims/
PUserDatabase.java 64 if((databaseName==null)||(databaseName.equals(" ")))
88 public boolean equals(Object other) method in class:PUserDatabase
90 return (other instanceof PUserDatabaseHeader) && super.equals(other);
  /external/proguard/src/proguard/classfile/attribute/preverification/
SameOneFrame.java 91 public boolean equals(Object object) method in class:SameOneFrame
93 if (!super.equals(object))
101 this.stackItem.equals(other.stackItem);
  /external/protobuf/examples/
AddPerson.java 43 if (type.equals("mobile")) {
45 } else if (type.equals("home")) {
47 } else if (type.equals("work")) {
  /frameworks/base/cmds/svc/src/com/android/commands/svc/
DataCommand.java 48 if ("enable".equals(args[1])) {
51 } else if ("disable".equals(args[1])) {
54 } else if ("prefer".equals(args[1])) {
WifiCommand.java 48 if ("enable".equals(args[1])) {
51 } else if ("disable".equals(args[1])) {
54 } else if ("prefer".equals(args[1])) {
  /frameworks/base/core/java/com/android/internal/content/
PackageMonitor.java 203 if (packageName.equals(mAppearingPackages[i])) {
218 if (packageName.equals(mDisappearingPackages[i])) {
233 if (packageName.equals(mModifiedPackages[i])) {
271 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
297 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
323 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) {
336 } else if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) {
343 } else if (Intent.ACTION_PACKAGE_RESTARTED.equals(action)) {
348 } else if (Intent.ACTION_UID_REMOVED.equals(action)) {
350 } else if (Intent.ACTION_USER_STOPPED.equals(action))
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
Objects.java 32 * equal according to {@link Object#equals(Object)}.
37 * to the {@code equals()} contract.
40 return a == b || (a != null && a.equals(b));
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalReceiver.java 36 if (BroadcastTest.BROADCAST_FAIL_REGISTER.equals(intent.getAction())) {
45 } else if (BroadcastTest.BROADCAST_FAIL_BIND.equals(intent.getAction())) {
61 } else if (LaunchpadActivity.BROADCAST_REPEAT.equals(intent.getAction())) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DateView.java 44 if (Intent.ACTION_TIME_TICK.equals(action)
45 || Intent.ACTION_TIME_CHANGED.equals(action)
46 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/
ListTestCaseNames.java 84 public boolean equals(Object otherObj) { method in class:ListTestCaseNames.TestDescriptor
87 return otherDesc.getClassName().equals(this.getClassName()) &&
88 otherDesc.getTestName().equals(this.getTestName());

Completed in 560 milliseconds

<<21222324252627282930>>