/cts/tests/src/android/app/cts/ |
TestedScreen.java | 39 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { 45 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { 48 } else if (CLEAR_TASK.equals(getIntent().getAction())) { 63 if (CLEAR_TASK.equals(getIntent().getAction())) { 93 if (CLEAR_TASK.equals(getIntent().getAction())) { 104 if (WAIT_BEFORE_FINISH.equals(getIntent().getAction())) { 107 } else if (CLEAR_TASK.equals(getIntent().getAction())) {
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminReceiver.java | 295 if (ACTION_PASSWORD_CHANGED.equals(action)) { 297 } else if (ACTION_PASSWORD_FAILED.equals(action)) { 299 } else if (ACTION_PASSWORD_SUCCEEDED.equals(action)) { 301 } else if (ACTION_DEVICE_ADMIN_ENABLED.equals(action)) { 303 } else if (ACTION_DEVICE_ADMIN_DISABLE_REQUESTED.equals(action)) { 309 } else if (ACTION_DEVICE_ADMIN_DISABLED.equals(action)) { 311 } else if (ACTION_PASSWORD_EXPIRING.equals(action)) {
|
/frameworks/base/opengl/tools/glgen/src/ |
CFunc.java | 75 if (name.equals(argNames.get(i))) { 117 if (ftypeName.equals("const")) { 124 if (fname.equals("*")) { 135 if (tok.equals("(")) { 138 if (tok.equals(")")) { 147 if (argTypeName.equals("const")) { 153 if (argTypeName.equals("void")) {
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
SafeSaxTest.java | 364 if (uri.equals(ATOM_NAMESPACE)) { 365 if (localName.equals("entry")) { 374 if (!localName.equals("id") 375 && !localName.equals("published") 376 && !localName.equals("name")) { 388 if (uri.equals(MEDIA_NAMESPACE)) { 389 if (localName.equals("thumbnail")) { 397 if (localName.equals("content")) { 405 if (localName.equals("player")) { 413 if (localName.equals("title" [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 65 * Class under test for boolean equals(Object) 71 assertTrue(one.equals(one)); 72 assertTrue(one.equals(two)); 73 assertTrue(two.equals(one)); 74 assertFalse(one.equals(null)); 75 assertFalse(one.equals(new Object())); 78 assertFalse(one.equals(two1)); 79 assertTrue(two1.equals(two1));
|
/libcore/luni/src/test/java/tests/api/java/util/ |
StringTokenizerTest.java | 47 && (st.nextElement().equals("This"))); 69 && (st.nextElement().equals(":"))); 191 assertTrue(st.nextToken(":").equals("This")); 192 assertTrue(st.nextToken(":").equals("is")); 193 assertTrue(st.nextToken(":").equals("a")); 194 assertTrue(st.nextToken(":").equals("test")); 195 assertTrue(st.nextToken(":").equals("String"));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DateFormatTest.java | 36 assertTrue("Clone not equal", format.equals(clone)); 38 assertTrue("Clone shares NumberFormat", !format.equals(clone)); 49 if (locales[i].equals(Locale.ENGLISH)) 51 if (locales[i].equals(Locale.GERMAN)) 77 assertTrue("Wrong default", f2.equals(DateFormat.getDateInstance( 79 assertTrue("Wrong symbols", f2.getDateFormatSymbols().equals( 95 assertTrue("Wrong default1", f2.equals(DateFormat.getDateInstance( 97 assertTrue("Wrong symbols1", f2.getDateFormatSymbols().equals( 104 assertTrue("Wrong default2", f2.equals(DateFormat.getDateInstance( 106 assertTrue("Wrong symbols2", f2.getDateFormatSymbols().equals( [all...] |
/external/proguard/src/proguard/ant/ |
ClassSpecificationElement.java | 86 name.equals(ANY_CLASS_KEYWORD)) 222 strippedToken.equals(ClassConstants.EXTERNAL_ACC_PUBLIC) ? ClassConstants.INTERNAL_ACC_PUBLIC : 223 strippedToken.equals(ClassConstants.EXTERNAL_ACC_FINAL) ? ClassConstants.INTERNAL_ACC_FINAL : 224 strippedToken.equals(ClassConstants.EXTERNAL_ACC_ABSTRACT) ? ClassConstants.INTERNAL_ACC_ABSTRACT : 225 strippedToken.equals(ClassConstants.EXTERNAL_ACC_ANNOTATION) ? ClassConstants.INTERNAL_ACC_ANNOTATTION : 241 type.equals("class") ? 0 : 242 type.equals( ClassConstants.EXTERNAL_ACC_INTERFACE) || 243 type.equals("!" + ClassConstants.EXTERNAL_ACC_INTERFACE) ? ClassConstants.INTERNAL_ACC_INTERFACE : 244 type.equals( ClassConstants.EXTERNAL_ACC_ENUM) || 245 type.equals("!" + ClassConstants.EXTERNAL_ACC_ENUM) ? ClassConstants.INTERNAL_ACC_ENUM [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSearch.java | 65 if (Intent.ACTION_WEB_SEARCH.equals(action) || Intent.ACTION_SEARCH.equals(action)) { 92 if ("en".equals(language)) { 93 return "GB".equals(country); 94 } else if ("zh".equals(language)) { 95 return "CN".equals(country) || "TW".equals(country); 96 } else if ("pt".equals(language)) { 97 return "BR".equals(country) || "PT".equals(country) [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
SigWildcardType.java | 61 public boolean equals(Object obj) { method in class:SigWildcardType 62 return SigWildcardType.equals(this, obj); 65 public static boolean equals(IWildcardType thiz, Object obj) { method in class:SigWildcardType 72 } else if (!thiz.getLowerBound().equals(that.getLowerBound())) 74 if (!thiz.getUpperBounds().equals(that.getUpperBounds())) return false;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
ECFieldFpTest.java | 132 * on equal (according to the <code>equals(Object)</code> method) objects. 155 assertTrue(p.equals(new ECFieldFp(p).getP())); 159 * Test #1 for <code>equals()</code> method.<br> 161 * Assertion: object equals to itself. 165 assertTrue(obj.equals(obj)); 169 * Test #2 for <code>equals(Object obj)</code> method.<br> 174 assertFalse(new ECFieldFp(BigInteger.valueOf(23L)).equals(null)); 178 * Test #3 for <code>equals(Object obj)</code> method.<br> 184 assertFalse(new ECFieldFp(BigInteger.valueOf(23L)).equals(new Object())); 188 * Test #4 for <code>equals()</code> method.<br [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ServerHelloTest.java | 41 assertTrue("incorrect CertificateRequest", Arrays.equals( 43 assertTrue("incorrect CertificateRequest", Arrays.equals( 58 assertTrue("incorrect message decoding", Arrays.equals( 60 assertTrue("incorrect message decoding", Arrays.equals( 62 assertTrue("incorrect message decoding", Arrays.equals(message.random,
|
/external/guava/src/com/google/common/collect/ |
SingletonImmutableList.java | 50 return element.equals(object) ? 0 : -1; 58 return element.equals(object) ? 0 : -1; 80 return element.equals(object); 83 @Override public boolean equals(Object object) { method in class:SingletonImmutableList 89 return that.size() == 1 && element.equals(that.get(0));
|
/libcore/luni/src/test/java/tests/security/spec/ |
ECFieldFpTest.java | 125 * on equal (according to the <code>equals(Object)</code> method) objects. 148 assertTrue(p.equals(new ECFieldFp(p).getP())); 152 * Test #1 for <code>equals()</code> method.<br> 154 * Assertion: object equals to itself. 158 assertTrue(obj.equals(obj)); 162 * Test #2 for <code>equals(Object obj)</code> method.<br> 167 assertFalse(new ECFieldFp(BigInteger.valueOf(23L)).equals(null)); 171 * Test #3 for <code>equals(Object obj)</code> method.<br> 177 assertFalse(new ECFieldFp(BigInteger.valueOf(23L)).equals(new Object())); 181 * Test #4 for <code>equals()</code> method.<br [all...] |
/packages/apps/Exchange/src/com/android/exchange/ |
Eas.java | 110 if (SUPPORTED_PROTOCOL_EX2003.equals(version)) { 112 } else if (SUPPORTED_PROTOCOL_EX2007.equals(version)) { 114 } if (SUPPORTED_PROTOCOL_EX2007_SP1.equals(version)) { 116 } if (SUPPORTED_PROTOCOL_EX2010.equals(version)) { 118 } if (SUPPORTED_PROTOCOL_EX2010_SP1.equals(version)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AdtPrefs.java | 127 if (v.name().equals(name)) { 148 if (property == null || PREFS_SDK_DIR.equals(property)) { 169 if (property == null || PREFS_BUILD_VERBOSITY.equals(property)) { 176 if (property == null || PREFS_BUILD_RES_AUTO_REFRESH.equals(property)) { 180 if (property == null || PREFS_BUILD_FORCE_ERROR_ON_NATIVELIB_IN_JAR.equals(property)) { 184 if (property == null || PREFS_BUILD_SKIP_POST_COMPILE_ON_FILE_SAVE.equals(property)) { 189 if (property == null || PREFS_MONITOR_DENSITY.equals(property)) { 193 if (property == null || PREFS_FORMAT_GUI_XML.equals(property)) { 197 if (property == null || PREFS_USE_CUSTOM_XML_FORMATTER.equals(property)) { 201 if (property == null || PREFS_PALETTE_MODE.equals(property)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ControlPointTest.java | 61 assertFalse(point2.equals(null)); 68 assertFalse(point1.equals(point2)); 69 assertFalse(point1.equals(point3)); 70 assertFalse(point2.equals(point3)); 71 assertFalse(point1.equals(point2));
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieTest.java | 57 assertTrue(cookie.equals("a=b")); 73 assertTrue(cookie.equals("a=b")); 87 assertTrue(cookie.equals("c=d")); 102 assertTrue(cookie.equals("c=d")); 129 assertTrue(cookie.equals("d=4")); 187 assertTrue(cookie.equals("a=b")); 189 assertTrue(cookie.equals("a=b")); 191 assertTrue(cookie.equals("a=b")); 193 assertTrue(cookie.equals("a=b")); 202 assertTrue(cookie.equals("a=b; a=c")) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidHashMapTest.java | 122 if (s.equals("one")) { 124 } else if (s.equals("two")) { 126 } else if (s.equals("three")) { 128 } else if (s.equals("four")) { 157 if (o.equals(ONE)) { 159 } else if (o.equals(TWO)) { 161 } else if (o.equals(THREE)) { 163 } else if (o.equals(FOUR)) { 192 if (o.toString().equals("one=1")) { 194 } else if (o.toString().equals("two=2")) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlCharacterMatcher.java | 81 if (type.equals(XML_TAG_OPEN)) { 83 } else if (type.equals(XML_END_TAG_OPEN)) { 85 } else if (!(type.equals(XML_TAG_CLOSE) || type.equals(XML_TAG_NAME)) && 105 if (type.equals(XML_TAG_CLOSE) || type.equals(XML_TAG_NAME)) { 109 if (type.equals(XML_TAG_OPEN)) { 112 } else if (type.equals(XML_END_TAG_OPEN)) { 167 if (XML_TAG_OPEN.equals(type)) { 174 } else if (XML_END_TAG_OPEN.equals(type)) [all...] |
/external/proguard/src/proguard/ |
ConfigurationParser.java | 238 ConfigurationConstants.OPEN_ARGUMENTS_KEYWORD.equals(nextWord)) 251 ConfigurationConstants.SEPARATOR_KEYWORD.equals(nextWord)); 254 if (!ConfigurationConstants.CLOSE_ARGUMENTS_KEYWORD.equals(nextWord)) 293 if (!nextWord.equals(ConfigurationConstants.JAR_SEPARATOR_KEYWORD)) 436 if (!ConfigurationConstants.ARGUMENT_SEPARATOR_KEYWORD.equals(nextWord)) 513 while (!ConfigurationConstants.CLASS_KEYWORD.equals(nextWord)) 516 // if (ConfigurationConstants.ANNOTATION_KEYWORD.equals(nextWord)) 535 strippedWord.equals(ClassConstants.EXTERNAL_ACC_PUBLIC) ? ClassConstants.INTERNAL_ACC_PUBLIC : 536 strippedWord.equals(ClassConstants.EXTERNAL_ACC_FINAL) ? ClassConstants.INTERNAL_ACC_FINAL : 537 strippedWord.equals(ClassConstants.EXTERNAL_ACC_INTERFACE) ? ClassConstants.INTERNAL_ACC_INTERFACE [all...] |
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
ChannelBindingTest.java | 36 assertTrue(Arrays.equals( new byte [] { 0, 1, 2, 10, 20 }, 45 assertTrue(Arrays.equals( new byte [] { 0, 10, 20, 40, 50 }, 97 .equals(cb))); 103 .equals(cb)); 115 .equals(cb)); 127 .equals(cb)); 134 .equals(cb)); 145 .equals(cb)); 156 .equals(cb)); 164 .equals(cb)) [all...] |
/frameworks/base/core/java/android/net/http/ |
Headers.java | 178 if (name.equals(TRANSFER_ENCODING)) { 198 if (name.equals(CONTENT_LEN)) { 211 if (name.equals(CONTENT_TYPE)) { 216 if (name.equals(CONTENT_ENCODING)) { 221 if (name.equals(CONN_DIRECTIVE)) { 227 if (name.equals(LOCATION)) { 232 if (name.equals(PROXY_CONNECTION)) { 238 if (name.equals(WWW_AUTHENTICATE)) { 243 if (name.equals(PROXY_AUTHENTICATE)) { 248 if (name.equals(CONTENT_DISPOSITION)) [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
NullCipherTest.java | 59 assertTrue("Incorrect IV", Arrays.equals(c.getIV(), new byte[8])); 102 assertTrue("different content", Arrays.equals(b, r)); 112 assertTrue("different content", Arrays.equals(b, r)); 128 assertTrue("different content", Arrays.equals(b, r)); 138 assertTrue("different content", Arrays.equals(b, r)); 164 assertTrue("different content", Arrays.equals(b, r)); 175 assertTrue("different content", Arrays.equals(b, r)); 203 assertTrue("different content", Arrays.equals(b, r)); 238 assertTrue("different content", Arrays.equals(b, r));
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
SecretKeySpecTest.java | 193 if (! Arrays.equals(key, result)) { 224 * equals(Object obj) method testing. Tests the correctness of equal 238 ks1.equals(ks1)); 241 ks1.equals(ks2)); 244 ks2.equals(ks1)); 247 ks2.equals(ks3)); 250 ks1.equals(ks3)); 253 ks1.equals(null)); 256 assertFalse("Objects should not be equal.", ks1.equals(ks2)); 259 assertFalse("Objects should not be equal.", ks1.equals(ks2)) [all...] |