Searched refs:equals (Results 226 - 250 of 486) sorted by relevance

1234567891011>>

/frameworks/base/common/java/com/android/common/
H A DNetworkConnectivityListener.java67 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION) ||
/frameworks/base/core/java/android/content/
H A DIntent.java3122 if ("content".equals(mData.getScheme())) {
5047 * {@link #equals equals()} and {@link #hashCode hashCode()} methods as
5071 public boolean equals(Object obj) { method in class:Intent.FilterComparison
5102 if (!mAction.equals(other.mAction)) {
5106 if (!other.mAction.equals(mAction)) {
5113 if (!mData.equals(other.mData)) {
5117 if (!other.mData.equals(mData)) {
5124 if (!mType.equals(other.mType)) {
5128 if (!other.mType.equals(mTyp
[all...]
H A DSyncOperation.java105 if (asKey && ContentResolver.SYNC_EXTRAS_INITIALIZE.equals(key)) {
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java44 return e.getMessage().equals(SQLITE_EXCEPTION_DETAIL_MESSAGE);
/frameworks/base/core/java/android/net/http/
H A DCertificateValidatorCache.java234 if (!mDomain.equals(domain)) {
H A DIdleCache.java104 if (eHost != null && eHost.equals(host)) {
/frameworks/base/core/java/android/os/
H A DPatternMatcher.java112 return pattern.equals(match);
/frameworks/base/core/java/com/android/internal/preference/
H A DYesNoPreference.java110 if (!state.getClass().equals(SavedState.class)) {
/frameworks/base/core/java/com/google/android/mms/util/
H A DSqliteWrapper.java56 return e.getMessage().equals(SQLITE_EXCEPTION_DETAIL_MESSAGE);
/frameworks/base/core/tests/coretests/src/android/bluetooth/
H A DBluetoothTestUtils.java88 if (BluetoothAdapter.ACTION_DISCOVERY_STARTED.equals(intent.getAction())) {
90 } else if (BluetoothAdapter.ACTION_DISCOVERY_FINISHED.equals(intent.getAction())) {
92 } else if (BluetoothAdapter.ACTION_SCAN_MODE_CHANGED.equals(intent.getAction())) {
107 } else if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(intent.getAction())) {
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
H A DPropertyNodesVerifier.java296 if (expectedNode.propName.equals(propName)) {
297 if (expectedNode.equals(actualNode)) {
363 if (unorderedExpectedNode.propName.equals(propName)) {
364 if (unorderedExpectedNode.equals(actualNode)) {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListGetCheckItemIdsTest.java54 assertTrue(message, Arrays.equals(sortedExpectedIds, sortedCheckItemsIds));
/frameworks/base/sax/java/android/sax/
H A DElement.java172 return "'" + (uri.equals("") ? localName : uri + ":" + localName) + "'";
/frameworks/base/services/java/com/android/server/
H A DRecognitionManagerService.java101 if (prefPackage.equals(serviceInfo.packageName)) {
H A DAlarmManagerService.java266 if (current == null || !current.equals(zone.getID())) {
318 if (alarm.operation.equals(operation)) {
342 if (alarm.operation.getTargetPackage().equals(packageName)) {
357 if (alarmList.get(i).operation.getTargetPackage().equals(packageName)) {
766 if (intent.getAction().equals(Intent.ACTION_TIME_TICK)) {
768 } else if (intent.getAction().equals(Intent.ACTION_DATE_CHANGED)) {
823 if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) {
832 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
835 if (Intent.ACTION_PACKAGE_REMOVED.equals(action)
H A DThrottleService.java159 if (TextUtils.equals(iface, mIface)) {
168 if (TextUtils.equals(iface, mIface)) {
394 boolean testing = SystemProperties.get(TESTING_ENABLED_PROPERTY).equals("true");
481 boolean roaming = "true".equals(
665 if (SystemProperties.get(TESTING_ENABLED_PROPERTY).equals("true")) {
682 if (SystemProperties.get(TESTING_ENABLED_PROPERTY).equals("true")) {
803 if (start.equals(mPeriodStart) && end.equals(mPeriodEnd)) {
812 if(start.equals(mPeriodEnd) || start.after(mPeriodEnd)) {
/frameworks/base/services/java/com/android/server/am/
H A DContentProviderRecord.java52 return (info.multiprocess || info.processName.equals(app.processName))
H A DReceiverList.java57 public boolean equals(Object o) { method in class:ReceiverList
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DVoiceMailConstants.java97 if (!"voicemail".equals(name)) {
/frameworks/base/test-runner/src/android/test/
H A DMoreAsserts.java62 * to both {@code ==} and {@link Object#equals}.
80 * Asserts that array {@code actual} is the same size and every element equals
97 * Asserts that array {@code actual} is the same size and every element equals
106 * Asserts that array {@code actual} is the same size and every element equals
123 * Asserts that array {@code actual} is the same size and every element equals
132 * Asserts that array {@code actual} is the same size and every element equals
149 * Asserts that array {@code actual} is the same size and every element equals
160 * {@code equals()} instead of {@code ==} to compare the objects.
172 // The following borrowed from java.util.equals(Object[], Object[]).
173 if (!((exp==null) ? act==null : exp.equals(ac
[all...]
H A DTestBrowserActivity.java83 if (Intent.ACTION_RUN.equals(intent.getAction())) {
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java116 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
/frameworks/base/tools/preload/
H A DWritePreloadedClassFile.java125 if (proc.name.equals(processName)) {
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DGlobalActions.java526 if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)
527 || Intent.ACTION_SCREEN_OFF.equals(action)) {
529 if (!PhoneWindowManager.SYSTEM_DIALOG_REASON_GLOBAL_ACTIONS.equals(reason)) {
532 } else if (TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED.equals(action)) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java159 if (!Intent.ACTION_PACKAGE_ADDED.equals(action)) {
164 if (pkgName.equals(installedPkg)) {
271 if (!status.equals(Environment.MEDIA_MOUNTED)) {
458 if (pkgInfo.permissions[j].name.equals(cmd)) {
477 if (pkgInfo.permissions[j].name.equals(cmd)) {
488 if (pkgInfo.requestedPermissions[j].equals(cmd)) {
619 if (pkgName == null || !pkgName.equals(installedPkg)) {
622 if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
624 } else if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
636 } else if (Intent.ACTION_PACKAGE_REPLACED.equals(actio
[all...]

Completed in 494 milliseconds

1234567891011>>