/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
WebViewEventSender.java | 161 if (modifier.equals("ctrlKey")) { 163 } else if (modifier.equals("shiftKey")) { 165 } else if (modifier.equals("altKey")) { 167 } else if (modifier.equals("metaKey")) { 327 if ("alt".equals(modifier.toLowerCase())) { 329 } else if ("shift".equals(modifier.toLowerCase())) { 331 } else if ("ctrl".equals(modifier.toLowerCase())) {
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 226 // Arrays.equals returns true if both arrays are null 227 && Arrays.equals(mOffsets, other.mOffsets) 228 && Arrays.equals(mIsDsts, other.mIsDsts) 229 && Arrays.equals(mTypes, other.mTypes) 230 && Arrays.equals(mTransitions, other.mTransitions); 233 @Override public boolean equals(Object obj) { method in class:ZoneInfo 238 return getID().equals(other.getID()) && hasSameRules(other);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SealedObjectTest.java | 67 * deserialized, the content od deserialized object equals to the content of 142 assertEquals("The secret content of the object should equals " 151 * getAlgorithm() method testing. Tests if the returned value equals to the 186 assertEquals("The returned object does not equals to the " 191 .equals(so.get_encodedParams(), cipher.getParameters() 231 assertEquals("The returned object does not equals to the " 276 assertEquals("The returned object does not equals to the "
|
/packages/apps/Browser/src/com/android/browser/ |
UrlHandler.java | 308 if (("http".equals(scheme) || "https".equals(scheme)) && 322 if (!"google".equals(component)) { 324 (!"co".equals(component) && !"com".equals(component))) { 328 if (!"google".equals(hostComponents[googleComponent])) { 334 if (googleComponent > 0 && "corp".equals(
|
/packages/apps/Email/src/com/android/email/provider/ |
AttachmentProvider.java | 105 if (AttachmentUtilities.FORMAT_THUMBNAIL.equals(format)) { 143 if (mode.equals("w")) { 168 if (AttachmentUtilities.FORMAT_THUMBNAIL.equals(format)) { 282 if (Columns._ID.equals(column)) { 285 else if (Columns.DATA.equals(column)) { 288 else if (Columns.DISPLAY_NAME.equals(column)) { 291 else if (Columns.SIZE.equals(column)) {
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothHeadsetHandover.java | 313 if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action) && mState == STATE_TURNING_ON) { 326 if (!mDevice.equals(device)) return; 328 if (ACTION_ALLOW_CONNECT.equals(action)) { 330 } else if (ACTION_DENY_CONNECT.equals(action)) { 332 } else if (BluetoothDevice.ACTION_BOND_STATE_CHANGED.equals(action) && mState == STATE_BONDING) { 341 } else if (BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED.equals(action) && 351 } else if (BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED.equals(action) &&
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
LocaleUtils.java | 119 if (!referenceParams[0].equals(testedParams[0])) return LOCALE_NO_MATCH; 125 if (!referenceParams[1].equals(testedParams[1])) 131 if (!referenceParams[1].equals(testedParams[1])) 134 if (!referenceParams[2].equals(testedParams[2])) 150 // Ideally this should use a number of digits equals to the 1og10 of the greater matchLevel 184 if (newLocale != null && !newLocale.equals(oldLocale)) { 190 if (newLocale != null && !newLocale.equals(oldLocale)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtils.java | 170 !overrideAttrLocalName.equals(xmlLocalName)) { 177 if (element.equals("*") //$NON-NLS-1$ 178 || element.equals(elementXmlName)) { 247 if (desc.getXmlLocalName().equals(xmlLocalName)) { 249 (nsUri != null && nsUri.equals(desc.getNamespaceUri()))) { 384 if (CODE.equals(s)) { 389 } else if (LINK.equals(s)) { 420 } else if (ELEM.equals(s)) { 425 } else if (BREAK.equals(s)) { 474 if (CODE.equals(s)) [all...] |
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
DefaultSdkInfo.java | 100 if (parent.equals(VIEW) || parent.equals(VIEW_GROUP) || parent.equals(SURFACE_VIEW)) { 120 if (parent.equals(VIEW)) { 124 while (!child.equals(VIEW)) { 125 if (parent.equals(child)) { 225 if (!parent.equals(VIEW)) {
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
AddOnTarget.java | 158 if (sysImg.getAbiType().equals(abiType)) { 349 if (mVendor.equals(target.getVendor()) == false || 350 mName.equals(target.getName()) == false) { 374 public boolean equals(Object obj) { method in class:AddOnTarget 378 return mVendor.equals(addon.mVendor) && mName.equals(addon.mName) && 379 mBasePlatform.getVersion().equals(addon.mBasePlatform.getVersion());
|
AndroidVersion.java | 176 return appVersion.mCodename.equals(mCodename); 185 * Returns <code>true</code> if the AndroidVersion is an API level equals to 188 public boolean equals(int apiLevel) { method in class:AndroidVersion 202 public boolean equals(Object obj) { method in class:AndroidVersion 210 return mCodename.equals(version.mCodename) && 217 return mCodename.equals(obj); 320 if (codename.length() == 0 || SdkConstants.CODENAME_RELEASE.equals(codename)) {
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/ |
PlatformPackage.java | 283 if (target.isPlatform() && target.getVersion().equals(mVersion)) { 301 return newPkg.getAndroidVersion().equals(this.getAndroidVersion()); 319 public boolean equals(Object obj) { method in class:PlatformPackage 323 if (!super.equals(obj)) { 334 } else if (!mLayoutlibVersion.equals(other.mLayoutlibVersion)) { 341 } else if (!mVersion.equals(other.mVersion)) { 348 } else if (!mVersionName.equals(other.mVersionName)) {
|
/tools/motodev/src/plugins/common/src/com/motorola/studio/android/common/preferences/ |
DialogWithToggleUtils.java | 95 if (MessageDialogWithToggle.PROMPT.equals(preferenceValue) 110 reply[0] = preferenceValue.equals(MessageDialogWithToggle.ALWAYS); 142 if (MessageDialogWithToggle.PROMPT.equals(preferenceValue) 180 if (MessageDialogWithToggle.PROMPT.equals(preferenceValue) 218 if (MessageDialogWithToggle.PROMPT.equals(preferenceValue) 233 reply[0] = preferenceValue.equals(MessageDialogWithToggle.ALWAYS); 265 if (MessageDialogWithToggle.PROMPT.equals(preferenceValue)
|
/tools/motodev/src/plugins/devices.services/src/com/motorola/studio/android/devices/services/ |
DeviceServicesPlugin.java | 65 public static final boolean IS_WIN32 = Platform.getOS().equals(Platform.OS_WIN32);
322 if (handler.getService().getId().equals(ADB_SHELL_SERVICE_ID))
348 if (handler.getService().getId().equals(EMULATOR_CONSOLE_SERVICE_ID))
385 if (handler.getService().getId().equals(DEPLOY_SERVICE_ID))
412 if (handler.getService().getId().equals(UNINSTALL_APP_SERVICE_ID))
439 if (handler.getService().getId().equals(SCREENSHOT_SERVICE_ID))
467 if (handler.getService().getId().equals(MONKEY_SERVICE_ID))
|
/tools/motodev/src/plugins/preflighting.checkers/src/com/motorolamobility/preflighting/checkers/widgetPreview/ |
MissingWidgetPreviewTagCondition.java | 192 if (intentFilterNode.getNodeName().equals("intent-filter")) //$NON-NLS-1$ 199 if (actionNode.getNodeName().equals("action")) //$NON-NLS-1$ 211 .equals("android.appwidget.action.APPWIDGET_UPDATE")) //$NON-NLS-1$ 265 if (metaDataNode.getNodeName().equals("meta-data")) //$NON-NLS-1$ 276 && nameAtr.getNodeValue().equals( 328 if ((element instanceof FolderElement) && (element.getName().equals("xml"))) //$NON-NLS-1$ 344 if (element.getName().equals(xmlFilename + ".xml") //$NON-NLS-1$
|
/cts/tools/utils/ |
DescriptionGenerator.java | 110 if (option.length == 2 && option[0].equals(OUTPUT_PATH_OPTION)) { 153 if (option.equals(OUTPUT_PATH_OPTION)) { 168 if (JUNIT_TEST_CASE_CLASS_NAME.equals(clazz.qualifiedName().toLowerCase())) { 368 if (childName.equals(name)) { 398 if (child.getNodeName().equals(DescriptionGenerator.TAG_SUITE)) { 429 if (caze.mDescription != null && !caze.mDescription.equals("")) { 544 if (atype.toString().equals(HOST_CONTROLLER)) { 546 } else if (atype.toString().equals(KNOWN_FAILURE)) { 548 } else if (atype.toString().equals(BROKEN_TEST)) { 550 } else if (atype.toString().equals(SUPPRESSED_TEST)) [all...] |
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalCompareTest.java | 32 * Methods: abs, compareTo, equals, hashCode, 173 * Equals() for unequal BigDecimals 182 assertFalse(aNumber.equals(bNumber)); 186 * Equals() for unequal BigDecimals 195 assertFalse(aNumber.equals(bNumber)); 199 * Equals() for unequal BigDecimals 206 assertFalse(aNumber.equals(b)); 210 * equals() for equal BigDecimals 223 * equals() for equal BigDecimals 229 assertFalse(aNumber.equals(null)) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLServerSocketImplTest.java | 293 if ("NOT_SUPPORTED_CIPHER_SUITE".equals(supported[i])) { 312 if (enabled[i].equals(supported[j])) { 333 if (result[k].equals(enabled[n])) { 358 if (enabled[i].equals(supported[j])) { 386 if ("NOT_SUPPORTED_CIPHER_SUITE".equals(enabled[i])) { 404 if ("NOT_SUPPORTED_PROTOCOL".equals(supported[i])) { 423 if (enabled[i].equals(supported[j])) { 448 if (result[k].equals(enabled[n])) { 473 if (enabled[i].equals(supported[j])) { 501 if ("NOT_SUPPORTED_PROTOCOL".equals(enabled[i])) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
XPathExpressionImpl.java | 330 if ( ( returnType.equals( XPathConstants.STRING ) ) || 331 ( returnType.equals( XPathConstants.NUMBER ) ) || 332 ( returnType.equals( XPathConstants.BOOLEAN ) ) || 333 ( returnType.equals( XPathConstants.NODE ) ) || 334 ( returnType.equals( XPathConstants.NODESET ) ) ) { 344 if ( returnType.equals( XPathConstants.STRING ) ) { 348 if ( returnType.equals( XPathConstants.NUMBER ) ) { 352 if ( returnType.equals( XPathConstants.BOOLEAN ) ) { 356 if ( returnType.equals( XPathConstants.NODESET ) ) { 360 if ( returnType.equals( XPathConstants.NODE ) ) [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
DNSCache.java | 126 public boolean equals(Object o) { method in class:DNSCache._EmptyCache 217 public boolean equals(Object entry) { method in class:DNSCache._CacheEntry 221 return this.getKey().equals(((Map.Entry<?, ?>) entry).getKey()) && this.getValue().equals(((Map.Entry<?, ?>) entry).getValue()); 303 if (stringKey.equals(entry.getKey())) { 412 if (testDNSEntry.getRecordType().equals(type) && ((DNSRecordClass.CLASS_ANY == recordClass) || testDNSEntry.getRecordClass().equals(recordClass))) { 435 if (!testDNSEntry.getRecordType().equals(type) || ((DNSRecordClass.CLASS_ANY != recordClass) && !testDNSEntry.getRecordClass().equals(recordClass))) { 506 if ((newDNSEntry != null) && (existingDNSEntry != null) && (newDNSEntry.getKey().equals(existingDNSEntry.getKey()))) [all...] |
/frameworks/base/services/java/com/android/server/ |
DevicePolicyManagerService.java | 147 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 148 || ACTION_EXPIRED_PASSWORD_NOTIFICATION.equals(action)) { 156 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 158 } else if (Intent.ACTION_USER_STARTED.equals(action) 159 || Intent.ACTION_PACKAGE_CHANGED.equals(action) 160 || Intent.ACTION_PACKAGE_REMOVED.equals(action) 161 || Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { 163 if (Intent.ACTION_USER_STARTED.equals(action)) { 349 if ("policies".equals(tag)) { 351 } else if ("password-quality".equals(tag)) [all...] |
/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 60 assertTrue(a.equals(b)); 61 assertEquals("equals() not consistent with hashCode()", a.hashCode(), b.hashCode()); 67 assertTrue(a.equals(b)); 71 assertFalse(a.equals(b)); 107 assertTrue(array.equals(other)); 109 assertFalse(array.equals(other)); 116 assertFalse(array.equals(other)); 117 assertFalse(other.equals(array)); 239 assertTrue(array.equals(other)); 241 assertFalse(array.equals(other)) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ClientHandshakeImpl.java | 197 if (servProt.equals(ProtocolVersion.getByName(enabled[i]))) { 215 if (serverHello.cipher_suite.equals(enabledSuites[i])) { 228 } else if (!Arrays.equals(serverHello.session_id, clientHello.session_id)) { 230 } else if (!session.protocol.equals(servProt)) { 233 } else if (!session.cipherSuite.equals(serverHello.cipher_suite)) { 470 if (((DHKey) client_pk).getParams().getG().equals( 473 .equals(((DHKey) server_pk).getParams().getG())) { 508 if ("RSA".equals(authType)) { 511 } else if ("DSA".equals(authType)) { 514 // } else if ("DH".equals(authType)) [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldDateFormatTest.java | 66 * java.text.DateFormat#equals(java.lang.Object obj) Test of 67 * java.text.DateFormat#equals(java.lang.Object obj). 73 assertTrue("Clone and parent are not equaled", format.equals(clone)); 75 .equals(DateFormat.getTimeInstance())); 77 assertTrue("Clone and parent are not equaled", format.equals(clone)); 94 assertTrue("Incorrect date format", sdf.format(current).equals(dtf)); 114 assertTrue("Incorrect date format", sdf.format(current).equals( 133 //assertFalse("Incorrect zone info", tz.getClass().getName().equals( 135 assertTrue("Incorrect time zone", tz.equals(format.getCalendar() 474 assertTrue("TimeZone is set incorrectly", tz.equals(forma [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
HostAuth.java | 154 if ("ssl".equals(part1)) { 156 } else if ("tls".equals(part1)) { 161 if (SCHEME_TRUST_ALL_CERTS.equals(part2)) { 278 if (SCHEME_POP3.equals(mProtocol)) { 280 } else if (SCHEME_IMAP.equals(mProtocol)) { 282 } else if (SCHEME_EAS.equals(mProtocol)) { 284 } else if (SCHEME_SMTP.equals(mProtocol)) { 294 return SCHEME_EAS.equals(mProtocol); 365 public boolean equals(Object o) { method in class:HostAuth 433 if (!SCHEME_TRUST_ALL_CERTS.equals(schemeParts[2])) [all...] |