/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | Predicate.java | 50 * returns exactly the same value. Thus, {@code predicate1.equals(predicate2)} 56 * {@link Object#equals}. 58 boolean equals(Object obj); method in interface:Predicate
|
H A D | Function.java | 56 * exactly the same value. Thus, {@code function1.equals(function2)} implies 58 * both null, or {@code function1.apply(o).equals(function2.apply(o))}. 61 * {@link Object#equals}. 63 boolean equals(Object obj); method in interface:Function
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | ZenRuleInfo.java | 8 public boolean equals(Object o) { method in class:ZenRuleInfo 16 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null) 18 if (title != null ? !title.equals(that.title) : that.title != null) return false; 19 if (settingsAction != null ? !settingsAction.equals( 21 if (configurationActivity != null ? !configurationActivity.equals( 23 if (defaultConditionId != null ? !defaultConditionId.equals( 25 if (serviceComponent != null ? !serviceComponent.equals( 27 return packageLabel != null ? packageLabel.equals(
|
/packages/apps/TV/src/com/android/tv/tuner/util/ |
H A D | TisConfiguration.java | 12 return (LC_PACKAGE_NAME.equals(context.getPackageName())); 16 return (!LC_PACKAGE_NAME.equals(context.getPackageName()));
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactsIntentResolver.java | 62 if (UiIntentActions.LIST_DEFAULT.equals(action) ) { 64 } else if (UiIntentActions.LIST_ALL_CONTACTS_ACTION.equals(action)) { 66 } else if (UiIntentActions.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) { 68 } else if (UiIntentActions.LIST_STARRED_ACTION.equals(action)) { 70 } else if (UiIntentActions.LIST_FREQUENT_ACTION.equals(action)) { 72 } else if (UiIntentActions.LIST_STREQUENT_ACTION.equals(action)) { 74 } else if (UiIntentActions.LIST_GROUP_ACTION.equals(action)) { 77 } else if (UiIntentActions.ACTION_SELECT_ITEMS.equals(action)) { 79 if (Phone.CONTENT_TYPE.equals(resolvedType)) { 81 } else if (Email.CONTENT_TYPE.equals(resolvedTyp [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | NgramProperty.java | 36 public boolean equals(Object o) { method in class:NgramProperty 40 return mTargetWord.equals(n.mTargetWord) && mNgramContext.equals(n.mNgramContext);
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
H A D | Pair.java | 37 public boolean equals(Object o) { method in class:Pair 41 return Objects.equals(mFirst, p.mFirst) && Objects.equals(mSecond, p.mSecond);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Cling.java | 124 if (mDrawIdentifier.equals(WORKSPACE_PORTRAIT)) { 126 } else if (mDrawIdentifier.equals(WORKSPACE_LANDSCAPE)) { 128 } else if (mDrawIdentifier.equals(WORKSPACE_LARGE)) { 133 } else if (mDrawIdentifier.equals(ALLAPPS_PORTRAIT) || 134 mDrawIdentifier.equals(ALLAPPS_LANDSCAPE) || 135 mDrawIdentifier.equals(ALLAPPS_LARGE)) { 153 return (mDrawIdentifier.equals(WORKSPACE_PORTRAIT) 154 || mDrawIdentifier.equals(WORKSPACE_LANDSCAPE) 155 || mDrawIdentifier.equals(WORKSPACE_LARGE) 156 || mDrawIdentifier.equals(ALLAPPS_PORTRAI [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | OnBootOrUpgradeReceiver.java | 30 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 31 || Intent.ACTION_MY_PACKAGE_REPLACED.equals(action)) {
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
H A D | StorageStatusReceiver.java | 32 if (Intent.ACTION_DEVICE_STORAGE_LOW.equals(intent.getAction())) { 34 } else if (Intent.ACTION_DEVICE_STORAGE_OK.equals(intent.getAction())) {
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
H A D | DocumentInfoTest.java | 36 assertFalse(TEST_DOC.equals(null)); 40 assertFalse(TEST_DOC.equals(new DocumentInfo())); 41 assertFalse(new DocumentInfo().equals(TEST_DOC)); 45 assertFalse(TEST_DOC.equals(createDocInfo("authority.b", "doc.1", "text/plain"))); 49 assertFalse(TEST_DOC.equals(createDocInfo("authority.a", "doc.2", "text/plain"))); 53 assertFalse(TEST_DOC.equals(createDocInfo("authority.a", "doc.1", "image/png")));
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
H A D | RecordingCapability.java | 88 public boolean equals(Object o) { method in class:RecordingCapability 96 return Objects.equals(maxConcurrentTunedSessions, that.maxConcurrentTunedSessions) && 97 Objects.equals(maxConcurrentPlayingSessions, that.maxConcurrentPlayingSessions) && 98 Objects.equals(maxConcurrentSessionsOfAllTypes, 100 Objects.equals(playbackWhileRecording, that.playbackWhileRecording) && 101 Objects.equals(inputId, that.inputId);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestCallActivity.java | 67 if (ACTION_NEW_INCOMING_CALL.equals(action) && data != null) { 70 } else if (ACTION_NEW_UNKNOWN_CALL.equals(action) && data != null) { 72 } else if (ACTION_HANGUP_CALLS.equals(action)) { 74 } else if (ACTION_RTT_CALL.equals(action)) { 77 } else if (ACTION_SEND_UPGRADE_REQUEST.equals(action)) { 79 } else if (ACTION_REMOTE_RTT_UPGRADE.equals(action)) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | TelecomBroadcastIntentProcessor.java | 80 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action) || 81 ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action) || 82 ACTION_CLEAR_MISSED_CALLS.equals(action)) { 93 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action)) { 103 } else if (ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action)) { 114 } else if (ACTION_CLEAR_MISSED_CALLS.equals(action)) { 117 } else if (ACTION_ANSWER_FROM_NOTIFICATION.equals(action)) { 128 } else if (ACTION_REJECT_FROM_NOTIFICATION.equals(action)) { 140 } else if (ACTION_PROCEED_WITH_CALL.equals(action)) { 149 } else if (ACTION_CANCEL_CALL.equals(actio [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | BmessageParser.java | 117 if (!prop.equals(BEGIN_BMSG)) { 123 while (prop.equals(BEGIN_VCARD)) { 133 if (!prop.equals(BEGIN_BENV)) { 139 if (!prop.equals(END_BMSG)) { 164 if (prop.name.equals("VERSION")) { 167 } else if (prop.name.equals("STATUS")) { 169 if (prop.value.equals(s.toString())) { 175 } else if (prop.name.equals("TYPE")) { 177 if (prop.value.equals(t.toString())) { 183 } else if (prop.name.equals("FOLDE [all...] |
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
H A D | UsbUtil.java | 56 if (AOAP_INTERFACE_NAME.equals(interfaceName) 57 || ADB_INTERFACE_NAME.equals(interfaceName) 58 || MTP_INTERFACE_NAME.equals(interfaceName) 67 if (TextUtils.equals(l.getManufacturerName(), r.getManufacturerName()) 68 && TextUtils.equals(l.getProductName(), r.getProductName()) 69 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) { 77 && TextUtils.equals(l.getSerialNumber(), r.getSerialNumber())) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PhonebookEntry.java | 38 public boolean equals(Object o) { method in class:PhonebookEntry.Name 44 return (family == n.family || family != null && family.equals(n.family)) && 45 (given == n.given || given != null && given.equals(n.given)) && 46 (middle == n.middle || middle != null && middle.equals(n.middle)) && 47 (prefix == n.prefix || prefix != null && prefix.equals(n.prefix)) && 48 (suffix == n.suffix || suffix != null && suffix.equals(n.suffix)); 84 public boolean equals(Object o) { method in class:PhonebookEntry.Phone 90 return (number == p.number || number != null && number.equals(p.number)) 111 public boolean equals(Object object) { method in class:PhonebookEntry 113 return equals((PhonebookEntr 147 private boolean equals(PhonebookEntry p) { method in class:PhonebookEntry [all...] |
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
H A D | ContactInfo.java | 85 public boolean equals(Object obj) { method in class:ContactInfo 99 if (!TextUtils.equals(name, other.name)) { 102 if (!TextUtils.equals(nameAlternative, other.nameAlternative)) { 108 if (!TextUtils.equals(label, other.label)) { 111 if (!TextUtils.equals(number, other.number)) { 114 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) { 117 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) { 126 if (!TextUtils.equals(objectId, other.objectId)) { 135 if (!TextUtils.equals(geoDescription, other.geoDescription)) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmInitReceiver.java | 65 if (ACTION_BOOT_COMPLETED.equals(action)) { 69 } else if (Intent.ACTION_TIME_CHANGED.equals(action)) { 74 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 75 || Intent.ACTION_LOCALE_CHANGED.equals(action)) { 83 if (Intent.ACTION_MY_PACKAGE_REPLACED.equals(action)) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | SettingsShadowSystemProperties.java | 40 return "y".equals(val) || "yes".equals(val) || "1".equals(val) || "true".equals(val) 41 || "on".equals(val);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | ScanResultComparator.java | 56 if (result1.SSID.equals(mConnectedSSID) 57 && security1.equals(mConnectedSecurity)) { 60 if (result2.SSID.equals(mConnectedSSID) 61 && security2.equals(mConnectedSecurity)) { 69 if (result1.SSID.equals(result2.SSID)) {
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
H A D | NumberWithCountryIso.java | 39 public boolean equals(Object o) { method in class:NumberWithCountryIso 47 return TextUtils.equals(number, other.number) && TextUtils.equals(countryIso, other.countryIso);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | RedEyeCandidate.java | 35 public boolean equals(RedEyeCandidate candidate) { method in class:RedEyeCandidate 36 if (candidate.mRect.equals(mRect) 37 && candidate.mBounds.equals(mBounds)) {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiPickerActivity.java | 40 if (WifiSettings.class.getName().equals(fragmentName) 41 || WifiP2pSettings.class.getName().equals(fragmentName) 42 || SavedAccessPointsWifiSettings.class.getName().equals(fragmentName)) {
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
H A D | SeasonEpisodeNumber.java | 45 public boolean equals(Object o) { method in class:SeasonEpisodeNumber 55 && Objects.equals(seasonNumber, that.seasonNumber) 56 && Objects.equals(episodeNumber, that.episodeNumber);
|