Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallFilteringResult.java144 public CallFilteringResult combine(CallFilteringResult other) { in combine() argument
145 if (other == null) { in combine()
150 return getCombinedCallFilteringResult(other, mCallBlockReason, in combine()
152 } else if (isBlockedByProvider(other.mCallBlockReason)) { in combine()
153 return getCombinedCallFilteringResult(other, other.mCallBlockReason, in combine()
158 || other.mCallBlockReason == Calls.BLOCK_REASON_DIRECT_TO_VOICEMAIL) { in combine()
159 return getCombinedCallFilteringResult(other, Calls.BLOCK_REASON_DIRECT_TO_VOICEMAIL, in combine()
164 return getCombinedCallFilteringResult(other, Calls.BLOCK_REASON_CALL_SCREENING_SERVICE, in combine()
166 } else if (other.shouldReject && other.mCallBlockReason == CallLog.Calls in combine()
168 return getCombinedCallFilteringResult(other, Calls.BLOCK_REASON_CALL_SCREENING_SERVICE, in combine()
[all …]
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DUidIoRecord.java69 public UidIoRecord delta(IoStatsEntry other) { in delta() argument
70 if (uid != other.uid) { in delta()
75 foreground_rchar - other.foreground.bytesRead, in delta()
76 foreground_wchar - other.foreground.bytesWritten, in delta()
77 foreground_read_bytes - other.foreground.bytesReadFromStorage, in delta()
78 foreground_write_bytes - other.foreground.bytesWrittenToStorage, in delta()
79 foreground_fsync - other.foreground.fsyncCalls, in delta()
80 background_rchar - other.background.bytesRead, in delta()
81 background_wchar - other.background.bytesWritten, in delta()
82 background_read_bytes - other.background.bytesReadFromStorage, in delta()
[all …]
DIoStatsEntry.java152 public IoStatsEntry delta(IoStatsEntry other) { in delta() argument
153 if (uid != other.uid) { in delta()
157 runtimeMillis - other.runtimeMillis, in delta()
158 foreground.delta(other.foreground), background.delta(other.background)); in delta()
162 public boolean equals(Object other) { in equals() argument
163 if (other instanceof IoStatsEntry) { in equals()
164 IoStatsEntry uidIoStatEntry = (IoStatsEntry)other; in equals()
315 public Metrics delta(Metrics other) { in delta() argument
316 return new Metrics(bytesRead-other.bytesRead, in delta()
317 bytesWritten-other.bytesWritten, in delta()
[all …]
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DProvisioningConfiguration.java282 InformationElement other = (InformationElement) o; in equals()
283 return mId == other.mId && Arrays.equals(mPayload, other.mPayload); in equals()
369 ScanResultInfo other = (ScanResultInfo) o; in equals()
370 return Objects.equals(mSsid, other.mSsid) in equals()
371 && Objects.equals(mBssid, other.mBssid) in equals()
372 && mInformationElements.equals(other.mInformationElements); in equals()
436 public ProvisioningConfiguration(ProvisioningConfiguration other) { in ProvisioningConfiguration() argument
437 mEnableIPv4 = other.mEnableIPv4; in ProvisioningConfiguration()
438 mEnableIPv6 = other.mEnableIPv6; in ProvisioningConfiguration()
439 mEnablePreconnection = other.mEnablePreconnection; in ProvisioningConfiguration()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DChannelImpl.java277 ChannelImpl other = (ChannelImpl) o; in equals() local
279 return mId == other.mId in equals()
280 && TextUtils.equals(mInputId, other.mInputId) in equals()
281 && mIsPassthrough == other.mIsPassthrough; in equals()
329 public boolean hasSameReadOnlyInfo(Channel other) { in hasSameReadOnlyInfo() argument
330 return other != null in hasSameReadOnlyInfo()
331 && Objects.equals(mId, other.getId()) in hasSameReadOnlyInfo()
332 && Objects.equals(mPackageName, other.getPackageName()) in hasSameReadOnlyInfo()
333 && Objects.equals(mInputId, other.getInputId()) in hasSameReadOnlyInfo()
334 && Objects.equals(mType, other.getType()) in hasSameReadOnlyInfo()
[all …]
DProgramImpl.java445 public boolean equals(Object other) { in equals() argument
446 if (!(other instanceof ProgramImpl)) { in equals()
450 ProgramImpl program = (ProgramImpl) other; in equals()
473 public int compareTo(@NonNull Program other) { in compareTo() argument
474 return Long.compare(mStartTimeUtcMillis, other.getStartTimeUtcMillis()); in compareTo()
600 public void copyFrom(Program other) { in copyFrom() argument
601 if (this == other) { in copyFrom()
605 mId = other.getId(); in copyFrom()
606 mPackageName = other.getPackageName(); in copyFrom()
607 mChannelId = other.getChannelId(); in copyFrom()
[all …]
DPreviewProgramContent.java113 public void copyFrom(PreviewProgramContent other) { in copyFrom() argument
114 if (this == other) { in copyFrom()
117 mId = other.mId; in copyFrom()
118 mPreviewChannelId = other.mPreviewChannelId; in copyFrom()
119 mType = other.mType; in copyFrom()
120 mLive = other.mLive; in copyFrom()
121 mTitle = other.mTitle; in copyFrom()
122 mDescription = other.mDescription; in copyFrom()
123 mPosterArtUri = other.mPosterArtUri; in copyFrom()
124 mIntentUri = other.mIntentUri; in copyFrom()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java97 public int compareTo(BluetoothMapAccountItem other) { in compareTo() argument
99 if (!other.mId.equals(this.mId)) { in compareTo()
101 Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId); in compareTo()
105 if (!other.mName.equals(this.mName)) { in compareTo()
107 Log.d(TAG, "Wrong name : " + this.mName + " vs " + other.mName); in compareTo()
111 if (!other.mPackageName.equals(this.mPackageName)) { in compareTo()
114 "Wrong packageName : " + this.mPackageName + " vs " + other.mPackageName); in compareTo()
118 if (!other.mProviderAuthority.equals(this.mProviderAuthority)) { in compareTo()
121 + other.mProviderAuthority); in compareTo()
125 if (other.mIsChecked != this.mIsChecked) { in compareTo()
[all …]
DBluetoothMapConvoContactElement.java293 BluetoothMapConvoContactElement other = (BluetoothMapConvoContactElement) obj; in equals() local
302 if (mChatState != other.mChatState) { in equals()
306 if (other.mDisplayName != null) { in equals()
309 } else if (!mDisplayName.equals(other.mDisplayName)) { in equals()
320 if (mLastActivity != other.mLastActivity) { in equals()
324 if (other.mName != null) { in equals()
327 } else if (!mName.equals(other.mName)) { in equals()
330 if (mPresenceAvailability != other.mPresenceAvailability) { in equals()
334 if (other.mPresenceStatus != null) { in equals()
337 } else if (!mPresenceStatus.equals(other.mPresenceStatus)) { in equals()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionData.java248 SuggestionData other = (SuggestionData)obj; in equals()
250 if (other.mFormat != null) in equals()
252 } else if (!mFormat.equals(other.mFormat)) in equals()
255 if (other.mIcon1 != null) in equals()
257 } else if (!mIcon1.equals(other.mIcon1)) in equals()
260 if (other.mIcon2 != null) in equals()
262 } else if (!mIcon2.equals(other.mIcon2)) in equals()
265 if (other.mIntentAction != null) in equals()
267 } else if (!mIntentAction.equals(other.mIntentAction)) in equals()
270 if (other.mIntentData != null) in equals()
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_stats_test_utils.h36 MATCHER_P(DnsQueryEventEq, other, "") {
40 ::testing::Eq(other.rcode())),
42 ::testing::Eq(other.type())),
44 ::testing::Eq(other.cache_hit())),
46 ::testing::Eq(other.ip_version())),
48 ::testing::Eq(other.protocol())),
50 ::testing::Eq(other.retry_times())),
52 ::testing::Eq(other.dns_server_index())),
57 ::testing::Eq(other.linux_errno())),
59 ::testing::Eq(other.connected()))),
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java125 private boolean equals(final KeyboardId other) { in equals() argument
126 if (other == this) in equals()
128 return other.mElementId == mElementId in equals()
129 && other.mMode == mMode in equals()
130 && other.mWidth == mWidth in equals()
131 && other.mHeight == mHeight in equals()
132 && other.passwordInput() == passwordInput() in equals()
133 && other.mClobberSettingsKey == mClobberSettingsKey in equals()
134 && other.mHasShortcutKey == mHasShortcutKey in equals()
135 && other.mLanguageSwitchKeyEnabled == mLanguageSwitchKeyEnabled in equals()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfo.java95 ContactInfo other = (ContactInfo) obj; in equals() local
96 if (!UriUtils.areEqual(lookupUri, other.lookupUri)) { in equals()
99 if (!TextUtils.equals(name, other.name)) { in equals()
102 if (!TextUtils.equals(nameAlternative, other.nameAlternative)) { in equals()
105 if (type != other.type) { in equals()
108 if (!TextUtils.equals(label, other.label)) { in equals()
111 if (!TextUtils.equals(number, other.number)) { in equals()
114 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) { in equals()
117 if (!TextUtils.equals(normalizedNumber, other.normalizedNumber)) { in equals()
120 if (photoId != other.photoId) { in equals()
[all …]
/packages/services/Car/service/src/com/android/car/stats/
DVmsClientStats.java69 VmsClientStats(VmsClientStats other) { in VmsClientStats() argument
70 synchronized (other.mLock) { in VmsClientStats()
71 this.mUid = other.mUid; in VmsClientStats()
73 this.mLayerType = other.mLayerType; in VmsClientStats()
74 this.mLayerChannel = other.mLayerChannel; in VmsClientStats()
75 this.mLayerVersion = other.mLayerVersion; in VmsClientStats()
77 this.mTxBytes = other.mTxBytes; in VmsClientStats()
78 this.mTxPackets = other.mTxPackets; in VmsClientStats()
79 this.mRxBytes = other.mRxBytes; in VmsClientStats()
80 this.mRxPackets = other.mRxPackets; in VmsClientStats()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItem.java254 AvrcpItem other = ((AvrcpItem) o); in equals() local
255 return Objects.equals(mUuid, other.getUuid()) in equals()
256 && Objects.equals(mDevice, other.getDevice()) in equals()
257 && Objects.equals(mUid, other.getUid()) in equals()
258 && Objects.equals(mItemType, other.getItemType()) in equals()
259 && Objects.equals(mType, other.getType()) in equals()
260 && Objects.equals(mTitle, other.getTitle()) in equals()
261 && Objects.equals(mDisplayableName, other.getDisplayableName()) in equals()
262 && Objects.equals(mArtistName, other.getArtistName()) in equals()
263 && Objects.equals(mAlbumName, other.getAlbumName()) in equals()
[all …]
/packages/apps/Car/libs/car-ui-lib/tests/apitest/
Dresource_utils.py38 def __eq__(self, other): argument
39 if isinstance(other, _Grab):
40 return other == self
41 return self.name == other.name and self.type == other.type
43 def __ne__(self, other): argument
44 if isinstance(other, _Grab):
45 return other != self
46 return self.name != other.name or self.type != other.type
118 def __eq__(self, other): argument
119 if self.search_value == other:
[all …]
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java148 EventInfo other = (EventInfo) obj; in equals()
149 if (id != other.id) in equals()
151 if (allDay != other.allDay) in equals()
153 if (end != other.end) in equals()
155 if (start != other.start) in equals()
158 if (other.title != null) in equals()
160 } else if (!title.equals(other.title)) in equals()
162 if (visibTitle != other.visibTitle) in equals()
164 if (visibWhen != other.visibWhen) in equals()
166 if (visibWhere != other.visibWhere) in equals()
[all …]
/packages/modules/DnsResolver/
Dres_init.cpp114 ResState fromResState(const ResState& other, android::net::NetworkDnsEventReported* event) { in fromResState() argument
116 resOutput.netid = other.netid; in fromResState()
117 resOutput.uid = other.uid; in fromResState()
118 resOutput.pid = other.pid; in fromResState()
119 resOutput.id = other.id; in fromResState()
121 resOutput.nsaddrs = other.nsaddrs; in fromResState()
127 resOutput.ndots = other.ndots; in fromResState()
128 resOutput._mark = other._mark; in fromResState()
131 resOutput.netcontext_flags = other.netcontext_flags; in fromResState()
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoRequest.java82 ContactInfoRequest other = (ContactInfoRequest) obj; in equals() local
84 if (!TextUtils.equals(number, other.number)) { in equals()
87 if (!TextUtils.equals(countryIso, other.countryIso)) { in equals()
90 if (!Objects.equals(callLogInfo, other.callLogInfo)) { in equals()
94 if (type != other.type) { in equals()
111 public int compareTo(ContactInfoRequest other) { in compareTo() argument
113 if (isLocalRequest() && !other.isLocalRequest()) { in compareTo()
116 if (!isLocalRequest() && other.isLocalRequest()) { in compareTo()
120 return sequenceNumber < other.sequenceNumber ? -1 : 1; in compareTo()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java57 public SimCard(SimCard other) { in SimCard() argument
58 mSimId = other.mSimId; in SimCard()
59 mSubscriptionId = other.mSubscriptionId; in SimCard()
60 mCarrierName = other.mCarrierName; in SimCard()
61 mDisplayName = other.mDisplayName; in SimCard()
62 mPhoneNumber = other.mPhoneNumber; in SimCard()
63 mCountryCode = other.mCountryCode; in SimCard()
64 mDismissed = other.mDismissed; in SimCard()
65 mImported = other.mImported; in SimCard()
66 if (other.mContacts != null) { in SimCard()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DChannelInfo.java238 public Builder(ChannelInfo other) { in Builder() argument
239 mNumber = other.number; in Builder()
240 mName = other.name; in Builder()
241 mLogoUrl = other.name; in Builder()
242 mOriginalNetworkId = other.originalNetworkId; in Builder()
243 mVideoWidth = other.videoWidth; in Builder()
244 mVideoHeight = other.videoHeight; in Builder()
245 mVideoPixelAspectRatio = other.videoPixelAspectRatio; in Builder()
246 mAudioChannel = other.audioChannel; in Builder()
247 mAudioLanguageCount = other.audioLanguageCount; in Builder()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java79 SimpleDate other = (SimpleDate) obj; in equals() local
80 if (year != other.year) { in equals()
83 if (month != other.month) { in equals()
86 if (day != other.day) { in equals()
93 public int compareTo(SimpleDate other) { in compareTo() argument
94 int yearDiff = this.year - other.getYear(); in compareTo()
98 int monthDiff = this.month - other.getMonth(); in compareTo()
102 return this.day - other.getDay(); in compareTo()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java259 CallInfoImpl(CallInfoImpl other) { in CallInfoImpl() argument
260 this.callId = other.callId; in CallInfoImpl()
261 this.startTime = other.startTime; in CallInfoImpl()
262 this.endTime = other.endTime; in CallInfoImpl()
263 this.callDirection = other.callDirection; in CallInfoImpl()
264 this.isAdditionalCall = other.isAdditionalCall; in CallInfoImpl()
265 this.isInterrupted = other.isInterrupted; in CallInfoImpl()
266 this.callTechnologies = other.callTechnologies; in CallInfoImpl()
267 this.createdFromExistingConnection = other.createdFromExistingConnection; in CallInfoImpl()
268 this.connectionService = other.connectionService; in CallInfoImpl()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DAspectRatio.java139 public AspectRatio withOrientationOf(AspectRatio other) { in withOrientationOf() argument
140 if (other.isPortrait()) { in withOrientationOf()
150 public boolean isWiderThan(AspectRatio other) { in isWiderThan() argument
154 return this.mWidth * other.mHeight > other.mWidth * this.mHeight; in isWiderThan()
160 public boolean isTallerThan(AspectRatio other) { in isTallerThan() argument
164 return this.mWidth * other.mHeight < other.mWidth * this.mHeight; in isTallerThan()
/packages/services/Car/car-lib/src/android/car/content/pm/
DAppBlockingPackageInfo.java183 AppBlockingPackageInfo other = (AppBlockingPackageInfo) obj; in equals() local
184 if (!Arrays.equals(activities, other.activities)) { in equals()
187 if (flags != other.flags) { in equals()
190 if (maxRevisionCode != other.maxRevisionCode) { in equals()
193 if (minRevisionCode != other.minRevisionCode) { in equals()
197 if (other.packageName != null) in equals()
199 } else if (!packageName.equals(other.packageName)) in equals()
201 if (!Arrays.equals(signatures, other.signatures)) { in equals()

12345678910>>...12