Home
last modified time | relevance | path

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

12345678910>>...105

/aosp12/system/core/libutils/include/utils/
H A DString8.h286 return find(other) >= 0; in contains()
291 setTo(other);
297 setTo(other);
303 append(other);
310 tmp += other;
316 append(other);
323 tmp += other;
364 return strcmp(mString, other) < 0;
369 return strcmp(mString, other) <= 0;
374 return strcmp(mString, other) == 0;
[all …]
H A DString16.h251 setTo(other);
257 append(other);
264 tmp += other;
270 return strzcmp16(mString, size(), other.mString, other.size()); in compare()
275 return strzcmp16(mString, size(), other.mString, other.size()) < 0;
280 return strzcmp16(mString, size(), other.mString, other.size()) <= 0;
285 return strzcmp16(mString, size(), other.mString, other.size()) == 0;
290 return strzcmp16(mString, size(), other.mString, other.size()) != 0;
295 return strzcmp16(mString, size(), other.mString, other.size()) >= 0;
300 return strzcmp16(mString, size(), other.mString, other.size()) > 0;
[all …]
H A DStrongPointer.h228 if (other) { in fromExisting()
230 other->incStrongRequireStrong(other); in fromExisting()
242 if (other) { in sp()
250 sp<T>::sp(U* other) : m_ptr(other) { in sp() argument
251 if (other) { in sp()
260 if (other) {
266 m_ptr = other;
279 sp<T>::sp(sp<T>&& other) noexcept : m_ptr(other.m_ptr) { in sp() argument
355 if (other) (static_cast<T*>(other))->incStrong(this);
358 m_ptr = other;
[all …]
H A DRefBase.h555 : m_ptr(other) in wp()
557 m_refs = other ? m_refs = other->createWeak(this) : nullptr; in wp()
562 wp<T>::wp(U* other) : m_ptr(other) { in wp() argument
563 m_refs = other ? other->createWeak(this) : nullptr; in wp()
570 m_ptr = other;
578 weakref_type* newRefs = other ? other->createWeak(this) : 0;
580 m_ptr = other;
588 : m_ptr(other.m_ptr), m_refs(other.m_refs) in wp()
641 other != nullptr ? other->createWeak(this) : nullptr;
665 other != nullptr ? other->createWeak(this) : 0;
[all …]
/aosp12/frameworks/av/camera/include/camera/camera2/
H A DOutputConfiguration.h85 mWidth == other.mWidth &&
86 mHeight == other.mHeight &&
89 gbpsEqual(other) &&
95 return !(*this == other);
98 if (*this == other) return false;
105 if (mWidth != other.mWidth) {
106 return mWidth < other.mWidth;
108 if (mHeight != other.mHeight) {
109 return mHeight < other.mHeight;
129 return gbpsLessThan(other);
[all …]
H A DSessionConfiguration.h61 return (outputsEqual(other) &&
62 mInputWidth == other.mInputWidth &&
63 mInputHeight == other.mInputHeight &&
70 return !(*this == other);
74 if (*this == other) return false;
76 if (mInputWidth != other.mInputWidth) {
77 return mInputWidth < other.mInputWidth;
80 if (mInputHeight != other.mInputHeight) {
84 if (mInputFormat != other.mInputFormat) {
96 return outputsLessThan(other);
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatterySipper.java224 usageTimeMs += other.usageTimeMs; in add()
226 audioTimeMs += other.audioTimeMs; in add()
227 cpuTimeMs += other.cpuTimeMs; in add()
228 gpsTimeMs += other.gpsTimeMs; in add()
230 cpuFgTimeMs += other.cpuFgTimeMs; in add()
231 videoTimeMs += other.videoTimeMs; in add()
244 wifiRxBytes += other.wifiRxBytes; in add()
245 wifiTxBytes += other.wifiTxBytes; in add()
246 btRxBytes += other.btRxBytes; in add()
247 btTxBytes += other.btTxBytes; in add()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceInfo.java366 return other != null && diff(other) == 0; in equals()
423 name = other.name; in copyFrom()
425 width = other.width; in copyFrom()
426 height = other.height; in copyFrom()
427 modeId = other.modeId; in copyFrom()
436 xDpi = other.xDpi; in copyFrom()
437 yDpi = other.yDpi; in copyFrom()
440 flags = other.flags; in copyFrom()
442 touch = other.touch; in copyFrom()
444 type = other.type; in copyFrom()
[all …]
/aosp12/system/libvintf/include/vintf/
H A DVersion.h39 return majorVer == other.majorVer && minorVer == other.minorVer;
42 return !((*this) == other);
45 if (majorVer < other.majorVer)
47 if (majorVer > other.majorVer)
49 return minorVer < other.minorVer;
52 return other < (*this);
55 return !((*this) > other);
58 return !((*this) < other);
65 return majorVer == other.majorVer && minorVer >= other.minorVer; in minorAtLeast()
80 return version == other.version
[all …]
/aosp12/frameworks/av/camera/ndk/ndk_vendor/impl/
H A Dutils.h117 return self.rotation == other.rotation && self.windowGroupId == other.windowGroupId &&
118 self.physicalCameraId == other.physicalCameraId && self.width == other.width &&
119 self.height == other.height && self.isDeferred == other.isDeferred &&
124 if (*this == other) {
132 if (self.width != other.width) {
133 return self.width < other.width;
136 if (self.height != other.height) {
137 return self.height < other.height;
140 if (self.rotation != other.rotation) {
155 return !(*this == other);
[all …]
/aosp12/frameworks/native/libs/gui/
H A DLayerState.cpp397 x = other.x; in merge()
398 y = other.y; in merge()
403 z = other.z; in merge()
407 w = other.w; in merge()
408 h = other.h; in merge()
425 flags |= (other.flags & other.mask); in merge()
426 mask |= other.mask; in merge()
447 z = other.z; in merge()
467 crop = other.crop; in merge()
492 api = other.api; in merge()
[all …]
/aosp12/packages/services/Car/car-lib/src/android/car/storagemonitoring/
H A 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()
88 public UidIoRecord delta(UidIoRecord other) { in delta() argument
89 if (uid != other.uid) { in delta()
94 foreground_rchar - other.foreground_rchar, in delta()
95 foreground_wchar - other.foreground_wchar, in delta()
98 foreground_fsync - other.foreground_fsync, in delta()
99 background_rchar - other.background_rchar, in delta()
100 background_wchar - other.background_wchar, in delta()
[all …]
/aosp12/frameworks/native/services/inputflinger/
H A DInputListener.cpp41 : NotifyArgs(other.id, other.eventTime) {} in NotifyConfigurationChangedArgs()
71 : NotifyArgs(other.id, other.eventTime), in NotifyKeyArgs()
73 source(other.source), in NotifyKeyArgs()
77 flags(other.flags), in NotifyKeyArgs()
133 : NotifyArgs(other.id, other.eventTime), in NotifyMotionArgs()
140 flags(other.flags), in NotifyMotionArgs()
205 : NotifyArgs(other.id, other.eventTime), in NotifySwitchArgs()
235 : NotifyArgs(other.id, other.eventTime), in NotifySensorArgs()
261 : NotifyArgs(other.id, other.eventTime), deviceId(other.deviceId), isOn(other.isOn) {} in NotifyVibratorStateArgs()
278 : NotifyArgs(other.id, other.eventTime), deviceId(other.deviceId) {} in NotifyDeviceResetArgs()
[all …]
/aosp12/system/bt/service/common/bluetooth/
H A Dcharacteristic.cc21 handle_ = other.handle_; in Characteristic()
22 uuid_ = other.uuid_; in Characteristic()
23 properties_ = other.properties_; in Characteristic()
24 permissions_ = other.permissions_; in Characteristic()
25 descriptors_ = other.descriptors_; in Characteristic()
29 if (*this == other) return *this; in operator =()
31 handle_ = other.handle_; in operator =()
32 uuid_ = other.uuid_; in operator =()
33 properties_ = other.properties_; in operator =()
34 permissions_ = other.permissions_; in operator =()
[all …]
H A Dservice.cc20 Service::Service(const Service& other) { in Service() argument
21 handle_ = other.handle_; in Service()
22 primary_ = other.primary_; in Service()
23 uuid_ = other.uuid_; in Service()
24 characteristics_ = other.characteristics_; in Service()
29 if (*this == other) return *this; in operator =()
31 handle_ = other.handle_; in operator =()
32 primary_ = other.primary_; in operator =()
33 uuid_ = other.uuid_; in operator =()
40 return handle_ == other.handle_ && primary_ == other.primary_ && in Equals()
[all …]
/aosp12/frameworks/rs/cpp/util/
H A DStrongPointer.h122 sp<T>::sp(T* other) in sp() argument
123 : m_ptr(other) in sp()
125 if (other) other->incStrong(this); in sp()
130 : m_ptr(other.m_ptr) in sp()
136 sp<T>::sp(U* other) : m_ptr(other) in sp() argument
138 if (other) ((T*)other)->incStrong(this); in sp()
166 if (other) other->incStrong(this);
168 m_ptr = other;
185 if (other) ((T*)other)->incStrong(this);
187 m_ptr = other;
[all …]
H A DRefBase.h298 : m_ptr(other) in wp()
300 if (other) m_refs = other->createWeak(this); in wp()
305 : m_ptr(other.m_ptr), m_refs(other.m_refs) in wp()
321 : m_ptr(other) in wp()
323 if (other) m_refs = other->createWeak(this); in wp()
355 other ? other->createWeak(this) : 0;
357 m_ptr = other;
378 other != NULL ? other->createWeak(this) : NULL;
390 other ? other->createWeak(this) : NULL;
392 m_ptr = other;
[all …]
/aosp12/frameworks/base/core/java/android/view/
H A DDisplayInfo.java331 copyFrom(other); in DisplayInfo()
344 return other != null in equals()
394 flags = other.flags; in copyFrom()
395 type = other.type; in copyFrom()
398 address = other.address; in copyFrom()
400 name = other.name; in copyFrom()
401 uniqueId = other.uniqueId; in copyFrom()
412 modeId = other.modeId; in copyFrom()
414 supportedModes = Arrays.copyOf(other.supportedModes, other.supportedModes.length); in copyFrom()
417 other.supportedColorModes, other.supportedColorModes.length); in copyFrom()
[all …]
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
H A DQSTile.java171 public boolean copyTo(State other) { in copyTo() argument
193 other.spec = spec; in copyTo()
194 other.icon = icon; in copyTo()
195 other.iconSupplier = iconSupplier; in copyTo()
196 other.label = label; in copyTo()
197 other.secondaryLabel = secondaryLabel; in copyTo()
203 other.state = state; in copyTo()
204 other.dualTarget = dualTarget; in copyTo()
205 other.isTransient = isTransient; in copyTo()
254 public boolean copyTo(State other) { in copyTo() argument
[all …]
/aosp12/frameworks/av/media/libmedia/include/media/
H A DModulo.h102 Modulo<T> operator +=(const Modulo<S> &other) {
104 mValue += other.unsignedValue();
110 Modulo<T> operator -=(const Modulo<S> &other) {
112 mValue -= other.unsignedValue();
139 bool operator >(const Modulo<S> &other) const {
146 bool operator >=(const Modulo<S> &other) const {
167 bool operator <(const Modulo<S> &other) const {
177 Modulo<T> operator +=(const S &other) {
178 mValue += unsignedT(other);
184 Modulo<T> operator -=(const S &other) {
[all …]
/aosp12/system/core/libutils/
H A DFileMap.cpp67 mBasePtr(other.mBasePtr), in FileMap()
70 mDataPtr(other.mDataPtr), in FileMap()
78 other.mFileName = nullptr; in FileMap()
79 other.mBasePtr = nullptr; in FileMap()
80 other.mDataPtr = nullptr; in FileMap()
83 other.mFileMapping = NULL; in FileMap()
90 mBasePtr = other.mBasePtr; in operator =()
93 mDataPtr = other.mDataPtr; in operator =()
95 other.mFileName = nullptr; in operator =()
96 other.mBasePtr = nullptr; in operator =()
[all …]
/aosp12/system/libhidl/base/
H A DHidlSupport.cpp54 *this = other; in hidl_handle()
60 *this = std::move(other); in hidl_handle()
65 if (this == &other) { in operator =()
90 if (this != &other) { in operator =()
160 copyFrom(other.c_str(), other.size()); in hidl_string()
172 if (this != &other) { in operator =()
180 if (this != &other) { in operator =()
182 copyFrom(other.c_str(), other.size()); in operator =()
241 mSize = other.mSize; in moveFrom()
244 other.mOwnsBuffer = false; in moveFrom()
[all …]
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
H A DCallFilteringResult.java162 public CallFilteringResult combine(CallFilteringResult other) { in combine() argument
163 if (other == null) { in combine()
170 } else if (isBlockedByProvider(other.mCallBlockReason)) { in combine()
171 return getCombinedCallFilteringResult(other, other.mCallBlockReason, in combine()
184 } else if (other.shouldReject && other.mCallBlockReason == CallLog.Calls in combine()
187 other.mCallScreeningAppName, other.mCallScreeningComponentName); in combine()
193 } else if (other.shouldScreenViaAudio) { in combine()
195 other.mCallScreeningAppName, other.mCallScreeningComponentName); in combine()
200 .setShouldReject(shouldReject || other.shouldReject) in combine()
206 combineScreeningResponses(b, this, other); in combine()
[all …]
/aosp12/frameworks/av/services/audioflinger/
H A DPatchPanel.h87 mThread = other.mThread;
89 mHandle = other.mHandle;
90 mTrack = other.mTrack;
93 Endpoint(Endpoint&& other) noexcept { swap(other); } in Endpoint() argument
95 swap(other);
148 swap(mTrack, other.mTrack); in swap()
172 mPlayback = other.mPlayback; in Patch()
173 mRecord = other.mRecord; in Patch()
174 mThread = other.mThread; in Patch()
177 Patch(Patch&& other) noexcept { swap(other); } in Patch() argument
[all …]
/aosp12/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java171 if (other == null) { in SQLiteDatabaseConfiguration()
175 this.path = other.path; in SQLiteDatabaseConfiguration()
176 this.label = other.label; in SQLiteDatabaseConfiguration()
177 updateParametersFrom(other); in SQLiteDatabaseConfiguration()
187 if (other == null) { in updateParametersFrom()
190 if (!path.equals(other.path)) { in updateParametersFrom()
195 openFlags = other.openFlags; in updateParametersFrom()
196 maxSqlCacheSize = other.maxSqlCacheSize; in updateParametersFrom()
197 locale = other.locale; in updateParametersFrom()
208 journalMode = other.journalMode; in updateParametersFrom()
[all …]

12345678910>>...105