/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | ZenRuleInfo.java | 12 ZenRuleInfo that = (ZenRuleInfo) o; 14 if (isSystem != that.isSystem) return false; 15 if (ruleInstanceLimit != that.ruleInstanceLimit) return false; 16 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null) 18 if (title != null ? !title.equals(that.title) : that.title != null) return false; 20 that.settingsAction) : that.settingsAction != null) return false; 22 that [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
H A D | ImapElement.java | 48 * An element that is returned by {@link ImapList#getElementOrNone} to indicate an index is out of 75 public boolean equalsForTest(ImapElement that) { 76 return super.equalsForTest(that); 106 * Return a string that represents this object; it's purely for the debug purpose. Don't mistake 115 * The equals implementation that is intended to be used only for unit testing. (Because it may be 118 public boolean equalsForTest(ImapElement that) { argument 119 if (that == null) { 122 return this.getClass() == that.getClass(); // Has to be the same class.
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
H A D | ImapElement.java | 47 * An element that is returned by {@link ImapList#getElementOrNone} to indicate an index 69 public boolean equalsForTest(ImapElement that) { 70 return super.equalsForTest(that); 102 * Return a string that represents this object; it's purely for the debug purpose. Don't 111 * The equals implementation that is intended to be used only for unit testing. 114 public boolean equalsForTest(ImapElement that) { argument 115 if (that == null) { 118 return this.getClass() == that.getClass(); // Has to be the same class.
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
H A D | LedConfiguration.java | 55 public LedConfiguration(LedConfiguration that) { argument 56 this.color0 = that.color0; 57 this.color1 = that.color1; 58 this.pulse = that.pulse; 66 final LedConfiguration that = (LedConfiguration)o; 67 return areColorsEqual(that) 68 && this.pulse == that.pulse 69 && this.isTransient == that.isTransient; 72 public boolean areColorsEqual(LedConfiguration that) { argument 73 if (that [all...] |
/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | AppVpnInfo.java | 24 AppVpnInfo that = (AppVpnInfo) other; 26 int result = packageName.compareTo(that.packageName); 28 result = that.userId - userId; 36 AppVpnInfo that = (AppVpnInfo) other; 37 return userId == that.userId && Objects.equals(packageName, that.packageName);
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
H A D | EventDataItem.java | 48 final EventDataItem that = (EventDataItem) t; 50 if (!TextUtils.equals(getStartDate(), that.getStartDate())) { 52 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { 53 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); 54 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { 57 !TextUtils.equals(getLabel(), that.getLabel())) {
|
H A D | RelationDataItem.java | 48 final RelationDataItem that = (RelationDataItem) t; 50 if (!TextUtils.equals(getName(), that.getName())) { 52 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { 53 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); 54 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { 57 !TextUtils.equals(getLabel(), that.getLabel())) {
|
H A D | ImDataItem.java | 91 final ImDataItem that = (ImDataItem) t; 93 if (!getData().equals(that.getData())) { 95 } else if (!isProtocolValid() || !that.isProtocolValid()) { 97 // protocol, check to see if the other has a valid that is not custom 100 } else if (that.isProtocolValid()) { 101 return that.getProtocol() == Im.PROTOCOL_CUSTOM; 104 } else if (getProtocol() != that.getProtocol()) { 107 !TextUtils.equals(getCustomProtocol(), that.getCustomProtocol())) {
|
H A D | DataItem.java | 57 * content values. Raw contact is the raw contact that this data item is associated with. 201 public void collapseWith(DataItem that) { argument 203 DataKind thatKind = that.getDataKind(); 204 // If this does not have a type and that does, or if that's type is higher precedence, 205 // use that's type 206 if ((!hasKindTypeColumn(thisKind) && that.hasKindTypeColumn(thatKind)) || 207 that.hasKindTypeColumn(thatKind) && 210 RawContactModifier.getTypePrecedence(thatKind, that.getKindTypeColumn(thatKind))) { 211 mContentValues.put(thatKind.typeColumn, that [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
H A D | EventDataItem.java | 47 final EventDataItem that = (EventDataItem) t; 49 if (!TextUtils.equals(getStartDate(), that.getStartDate())) { 51 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { 52 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); 53 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { 56 && !TextUtils.equals(getLabel(), that.getLabel())) {
|
H A D | RelationDataItem.java | 47 final RelationDataItem that = (RelationDataItem) t; 49 if (!TextUtils.equals(getName(), that.getName())) { 51 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { 52 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); 53 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { 56 && !TextUtils.equals(getLabel(), that.getLabel())) {
|
H A D | ImDataItem.java | 87 final ImDataItem that = (ImDataItem) t; 89 if (!getData().equals(that.getData())) { 91 } else if (!isProtocolValid() || !that.isProtocolValid()) { 93 // protocol, check to see if the other has a valid that is not custom 96 } else if (that.isProtocolValid()) { 97 return that.getProtocol() == Im.PROTOCOL_CUSTOM; 100 } else if (getProtocol() != that.getProtocol()) { 103 && !TextUtils.equals(getCustomProtocol(), that.getCustomProtocol())) {
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
H A D | FrontendAppIdentifier.java | 45 FrontendAppIdentifier that = (FrontendAppIdentifier) o; 47 if (uid != that.uid) { 50 return this.subscriptionId == that.subscriptionId;
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
H A D | SeasonEpisodeNumber.java | 53 SeasonEpisodeNumber that = (SeasonEpisodeNumber) o; 54 return seriesRecordingId == that.seriesRecordingId 55 && Objects.equals(seasonNumber, that.seasonNumber) 56 && Objects.equals(episodeNumber, that.episodeNumber);
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
H A D | RecordingCapability.java | 34 * The max number of concurrent sessions that require a tuner. 41 * The max number concurrent session that play a stream. 95 RecordingCapability that = (RecordingCapability) o; 96 return Objects.equals(maxConcurrentTunedSessions, that.maxConcurrentTunedSessions) && 97 Objects.equals(maxConcurrentPlayingSessions, that.maxConcurrentPlayingSessions) && 99 that.maxConcurrentSessionsOfAllTypes) && 100 Objects.equals(playbackWhileRecording, that.playbackWhileRecording) && 101 Objects.equals(inputId, that.inputId);
|
/packages/services/Car/car-lib/src/android/car/hardware/radio/ |
H A D | CarRadioPreset.java | 24 * CarPreset object corresponds to a preset that is stored on the car's Radio unit. 105 CarRadioPreset that = (CarRadioPreset) o; 107 return that.getPresetNumber() == mPresetNumber && 108 that.getBand() == mBand && 109 that.getChannel() == mChannel && 110 that.getSubChannel() == mSubChannel;
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
H A D | CallFilteringResult.java | 54 CallFilteringResult that = (CallFilteringResult) o; 56 if (shouldAllowCall != that.shouldAllowCall) return false; 57 if (shouldReject != that.shouldReject) return false; 58 if (shouldAddToCallLog != that.shouldAddToCallLog) return false; 59 return shouldShowNotification == that.shouldShowNotification;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | UserAppInfo.java | 46 final UserAppInfo that = (UserAppInfo) other; 50 return that.userInfo.id == userInfo.id && TextUtils.equals(that.appInfo.packageName,
|
/packages/services/Car/car-support-lib/src/android/support/car/navigation/ |
H A D | CarNavigationInstrumentCluster.java | 120 public CarNavigationInstrumentCluster(CarNavigationInstrumentCluster that) { argument 121 this(that.mMinIntervalMillis, 122 that.mType, 123 that.mImageWidth, 124 that.mImageHeight, 125 that.mImageColorDepthBits);
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
H A D | ContactRequest.java | 60 final ContactRequest that = (ContactRequest) o; 62 // Only count email, so we can pull results out of the cache that are from other contact 65 if (mEmail != null ? !mEmail.equals(that.mEmail) : that.mEmail != null) { 74 // Only count email, so we can pull results out of the cache that are from other contact 108 * This ContactRequest wrapper provides implementations of equals() and hashcode() that 132 final ContactRequestHolder that = (ContactRequestHolder) o; 134 if (contactRequest != null ? !contactRequest.equals(that.contactRequest) 135 : that.contactRequest != null) { 139 if (destination != null ? !destination.equals(that [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
H A D | InjectedSetting.java | 28 * Specifies a setting that is being injected into Settings > Location > Location services. 42 * Class name for the subclass of {@link android.location.SettingInjectorService} that 122 InjectedSetting that = (InjectedSetting) o; 124 return packageName.equals(that.packageName) && className.equals(that.className) 125 && title.equals(that.title) && iconId == that.iconId 126 && mUserHandle.equals(that.mUserHandle) 127 && settingsActivity.equals(that.settingsActivity);
|
/packages/apps/Settings/tests/robotests/src/android/net/ |
H A D | NetworkScorerAppData.java | 116 NetworkScorerAppData that = (NetworkScorerAppData) o; 117 return packageUid == that.packageUid && 118 Objects.equals(mRecommendationService, that.mRecommendationService) && 119 Objects.equals(mRecommendationServiceLabel, that.mRecommendationServiceLabel) && 120 Objects.equals(mEnableUseOpenWifiActivity, that.mEnableUseOpenWifiActivity) && 122 that.mNetworkAvailableNotificationChannelId);
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
H A D | CarNavigationInstrumentCluster.java | 119 public CarNavigationInstrumentCluster(CarNavigationInstrumentCluster that) { argument 120 this(that.mMinIntervalMillis, 121 that.mType, 122 that.mImageWidth, 123 that.mImageHeight, 124 that.mImageColorDepthBits);
|
/packages/apps/Settings/src/com/android/settings/search/ |
H A D | SearchResult.java | 112 public boolean equals(Object that) { argument 113 if (this == that) { 116 if (!(that instanceof SearchResult)) { 119 return this.stableId == ((SearchResult) that).stableId; 174 // Check that all of the mandatory fields are set.
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | ChannelInfo.java | 166 ChannelInfo that = (ChannelInfo) o; 167 return Objects.equals(originalNetworkId, that.originalNetworkId) && 168 Objects.equals(videoWidth, that.videoWidth) && 169 Objects.equals(videoHeight, that.videoHeight) && 170 Objects.equals(audioChannel, that.audioChannel) && 171 Objects.equals(audioLanguageCount, that.audioLanguageCount) && 172 Objects.equals(hasClosedCaption, that.hasClosedCaption) && 173 Objects.equals(appLinkColor, that.appLinkColor) && 174 Objects.equals(number, that.number) && 175 Objects.equals(name, that [all...] |