Home
last modified time | relevance | path

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

12345678910>>...30

/frameworks/native/include/utils/
DString16.h62 void setTo(const String16& other);
63 status_t setTo(const char16_t* other);
64 status_t setTo(const char16_t* other, size_t len);
65 status_t setTo(const String16& other,
69 status_t append(const String16& other);
70 status_t append(const char16_t* other, size_t len);
72 inline String16& operator=(const String16& other);
74 inline String16& operator+=(const String16& other);
75 inline String16 operator+(const String16& other) const;
94 inline int compare(const String16& other) const;
[all …]
DString8.h67 void setTo(const String8& other);
68 status_t setTo(const char* other);
69 status_t setTo(const char* other, size_t numChars);
70 status_t setTo(const char16_t* other, size_t numChars);
71 status_t setTo(const char32_t* other,
74 status_t append(const String8& other);
75 status_t append(const char* other);
76 status_t append(const char* other, size_t numChars);
89 inline String8& operator=(const String8& other);
90 inline String8& operator=(const char* other);
[all …]
DStrongPointer.h67 sp(T* other);
68 sp(const sp<T>& other);
69 template<typename U> sp(U* other);
70 template<typename U> sp(const sp<U>& other);
76 sp& operator = (T* other);
77 sp& operator = (const sp<T>& other);
79 template<typename U> sp& operator = (const sp<U>& other);
80 template<typename U> sp& operator = (U* other);
83 void force_set(T* other);
120 sp<T>::sp(T* other) in sp() argument
[all …]
DRefBase.h216 wp(T* other);
217 wp(const wp<T>& other);
218 wp(const sp<T>& other);
219 template<typename U> wp(U* other);
220 template<typename U> wp(const sp<U>& other);
221 template<typename U> wp(const wp<U>& other);
227 wp& operator = (T* other);
228 wp& operator = (const wp<T>& other);
229 wp& operator = (const sp<T>& other);
231 template<typename U> wp& operator = (U* other);
[all …]
/frameworks/base/services/java/com/android/server/display/
DDisplayDeviceInfo.java166 public boolean equals(DisplayDeviceInfo other) { in equals() argument
167 return other != null in equals()
168 && Objects.equal(name, other.name) in equals()
169 && width == other.width in equals()
170 && height == other.height in equals()
171 && refreshRate == other.refreshRate in equals()
172 && densityDpi == other.densityDpi in equals()
173 && xDpi == other.xDpi in equals()
174 && yDpi == other.yDpi in equals()
175 && flags == other.flags in equals()
[all …]
/frameworks/base/services/input/
DInputListener.cpp34 const NotifyConfigurationChangedArgs& other) : in NotifyConfigurationChangedArgs() argument
35 eventTime(other.eventTime) { in NotifyConfigurationChangedArgs()
54 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) : in NotifyKeyArgs() argument
55 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source), in NotifyKeyArgs()
56 policyFlags(other.policyFlags), in NotifyKeyArgs()
57 action(other.action), flags(other.flags), in NotifyKeyArgs()
58 keyCode(other.keyCode), scanCode(other.scanCode), in NotifyKeyArgs()
59 metaState(other.metaState), downTime(other.downTime) { in NotifyKeyArgs()
85 NotifyMotionArgs::NotifyMotionArgs(const NotifyMotionArgs& other) : in NotifyMotionArgs() argument
86 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source), in NotifyMotionArgs()
[all …]
/frameworks/rs/server/
DStrongPointer.h67 sp(T* other);
68 sp(const sp<T>& other);
69 template<typename U> sp(U* other);
70 template<typename U> sp(const sp<U>& other);
76 sp& operator = (T* other);
77 sp& operator = (const sp<T>& other);
79 template<typename U> sp& operator = (const sp<U>& other);
80 template<typename U> sp& operator = (U* other);
83 void force_set(T* other);
120 sp<T>::sp(T* other) in sp() argument
[all …]
DRefBase.h204 wp(T* other);
205 wp(const wp<T>& other);
206 wp(const sp<T>& other);
207 template<typename U> wp(U* other);
208 template<typename U> wp(const sp<U>& other);
209 template<typename U> wp(const wp<U>& other);
215 wp& operator = (T* other);
216 wp& operator = (const wp<T>& other);
217 wp& operator = (const sp<T>& other);
219 template<typename U> wp& operator = (U* other);
[all …]
/frameworks/base/services/java/com/android/server/power/
DDisplayPowerRequest.java74 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() argument
75 copyFrom(other); in DisplayPowerRequest()
78 public void copyFrom(DisplayPowerRequest other) { in copyFrom() argument
79 screenState = other.screenState; in copyFrom()
80 useProximitySensor = other.useProximitySensor; in copyFrom()
81 screenBrightness = other.screenBrightness; in copyFrom()
82 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment; in copyFrom()
83 useAutoBrightness = other.useAutoBrightness; in copyFrom()
84 blockScreenOn = other.blockScreenOn; in copyFrom()
93 public boolean equals(DisplayPowerRequest other) { in equals() argument
[all …]
/frameworks/base/core/java/android/view/
DDisplayInfo.java195 public DisplayInfo(DisplayInfo other) { in DisplayInfo() argument
196 copyFrom(other); in DisplayInfo()
208 public boolean equals(DisplayInfo other) { in equals() argument
209 return other != null in equals()
210 && layerStack == other.layerStack in equals()
211 && flags == other.flags in equals()
212 && type == other.type in equals()
213 && Objects.equal(address, other.address) in equals()
214 && Objects.equal(name, other.name) in equals()
215 && appWidth == other.appWidth in equals()
[all …]
DSurfaceControl.java404 public PhysicalDisplayInfo(PhysicalDisplayInfo other) { in PhysicalDisplayInfo() argument
405 copyFrom(other); in PhysicalDisplayInfo()
413 public boolean equals(PhysicalDisplayInfo other) { in equals() argument
414 return other != null in equals()
415 && width == other.width in equals()
416 && height == other.height in equals()
417 && refreshRate == other.refreshRate in equals()
418 && density == other.density in equals()
419 && xDpi == other.xDpi in equals()
420 && yDpi == other.yDpi in equals()
[all …]
/frameworks/base/core/java/android/util/
DDisplayMetrics.java243 public boolean equals(DisplayMetrics other) { in equals() argument
244 return equalsPhysical(other) in equals()
245 && scaledDensity == other.scaledDensity in equals()
246 && noncompatScaledDensity == other.noncompatScaledDensity; in equals()
258 public boolean equalsPhysical(DisplayMetrics other) { in equalsPhysical() argument
259 return other != null in equalsPhysical()
260 && widthPixels == other.widthPixels in equalsPhysical()
261 && heightPixels == other.heightPixels in equalsPhysical()
262 && density == other.density in equalsPhysical()
263 && densityDpi == other.densityDpi in equalsPhysical()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabaseConfiguration.java118 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) { in SQLiteDatabaseConfiguration() argument
119 if (other == null) { in SQLiteDatabaseConfiguration()
123 this.path = other.path; in SQLiteDatabaseConfiguration()
124 this.label = other.label; in SQLiteDatabaseConfiguration()
125 updateParametersFrom(other); in SQLiteDatabaseConfiguration()
134 public void updateParametersFrom(SQLiteDatabaseConfiguration other) { in updateParametersFrom() argument
135 if (other == null) { in updateParametersFrom()
138 if (!path.equals(other.path)) { in updateParametersFrom()
143 openFlags = other.openFlags; in updateParametersFrom()
144 maxSqlCacheSize = other.maxSqlCacheSize; in updateParametersFrom()
[all …]
/frameworks/base/core/java/android/os/
DWorkSource.java130 public boolean diff(WorkSource other) { in diff() argument
132 if (N != other.mNum) { in diff()
136 final int[] uids2 = other.mUids; in diff()
138 final String[] names2 = other.mNames; in diff()
155 public void set(WorkSource other) { in set() argument
156 if (other == null) { in set()
160 mNum = other.mNum; in set()
161 if (other.mUids != null) { in set()
163 System.arraycopy(other.mUids, 0, mUids, 0, mNum); in set()
165 mUids = other.mUids.clone(); in set()
[all …]
/frameworks/native/libs/utils/tests/
DVector_test.cpp41 Vector<int> other; in TEST_F() local
51 other = vector; in TEST_F()
53 EXPECT_EQ(other.size(), 3); in TEST_F()
60 EXPECT_EQ(other.size(), 3); in TEST_F()
63 other.add(5); in TEST_F()
67 EXPECT_EQ(other.size(), 4); in TEST_F()
71 EXPECT_EQ(other[3], 5); in TEST_F()
/frameworks/native/libs/ui/tests/
DRegion_test.cpp35 for (const Rect* other = current - 1; other >= r.begin(); other--) { in verifyNoTJunctions() local
36 if (other->bottom < current->top) break; in verifyNoTJunctions()
37 if (other->bottom != current->top) continue; in verifyNoTJunctions()
38 checkVertTJunction(current, other); in verifyNoTJunctions()
40 for (const Rect* other = current + 1; other < r.end(); other++) { in verifyNoTJunctions() local
41 if (other->top > current->bottom) break; in verifyNoTJunctions()
42 if (other->top != current->bottom) continue; in verifyNoTJunctions()
43 checkVertTJunction(current, other); in verifyNoTJunctions()
/frameworks/base/services/java/com/android/server/content/
DSyncOperation.java103 SyncOperation(SyncOperation other) { in SyncOperation() argument
104 this.account = other.account; in SyncOperation()
105 this.userId = other.userId; in SyncOperation()
106 this.reason = other.reason; in SyncOperation()
107 this.syncSource = other.syncSource; in SyncOperation()
108 this.authority = other.authority; in SyncOperation()
109 this.extras = new Bundle(other.extras); in SyncOperation()
110 this.expedited = other.expedited; in SyncOperation()
112 this.backoff = other.backoff; in SyncOperation()
113 this.delayUntil = other.delayUntil; in SyncOperation()
[all …]
/frameworks/base/libs/androidfw/
DInput.cpp249 bool PointerCoords::operator==(const PointerCoords& other) const { in operator ==()
250 if (bits != other.bits) { in operator ==()
255 if (values[i] != other.values[i]) { in operator ==()
262 void PointerCoords::copyFrom(const PointerCoords& other) { in copyFrom() argument
263 bits = other.bits; in copyFrom()
266 values[i] = other.values[i]; in copyFrom()
273 bool PointerProperties::operator==(const PointerProperties& other) const { in operator ==()
274 return id == other.id in operator ==()
275 && toolType == other.toolType; in operator ==()
278 void PointerProperties::copyFrom(const PointerProperties& other) { in copyFrom() argument
[all …]
DInputDevice.cpp133 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) : in InputDeviceInfo() argument
134 mId(other.mId), mGeneration(other.mGeneration), mIdentifier(other.mIdentifier), in InputDeviceInfo()
135 mAlias(other.mAlias), mIsExternal(other.mIsExternal), mSources(other.mSources), in InputDeviceInfo()
136 mKeyboardType(other.mKeyboardType), in InputDeviceInfo()
137 mKeyCharacterMap(other.mKeyCharacterMap), in InputDeviceInfo()
138 mHasVibrator(other.mHasVibrator), in InputDeviceInfo()
139 mMotionRanges(other.mMotionRanges) { in InputDeviceInfo()
/frameworks/base/core/java/android/content/pm/
DVerificationParams.java126 final VerificationParams other = (VerificationParams) o; in equals() local
129 if (other.mVerificationURI != null) { in equals()
132 } else if (!mVerificationURI.equals(other.mVerificationURI)) { in equals()
137 if (other.mOriginatingURI != null) { in equals()
140 } else if (!mOriginatingURI.equals(other.mOriginatingURI)) { in equals()
145 if (other.mReferrer != null) { in equals()
148 } else if (!mReferrer.equals(other.mReferrer)) { in equals()
152 if (mOriginatingUid != other.mOriginatingUid) { in equals()
157 if (other.mManifestDigest != null) { in equals()
160 } else if (!mManifestDigest.equals(other.mManifestDigest)) { in equals()
[all …]
/frameworks/native/libs/utils/
DString8.cpp221 void String8::setTo(const String8& other) in setTo() argument
223 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()
225 mString = other.mString; in setTo()
228 status_t String8::setTo(const char* other) in setTo() argument
230 const char *newString = allocFromUTF8(other, strlen(other)); in setTo()
239 status_t String8::setTo(const char* other, size_t len) in setTo() argument
241 const char *newString = allocFromUTF8(other, len); in setTo()
250 status_t String8::setTo(const char16_t* other, size_t len) in setTo() argument
252 const char *newString = allocFromUTF16(other, len); in setTo()
261 status_t String8::setTo(const char32_t* other, size_t len) in setTo() argument
[all …]
DBasicHashtable.cpp35 BasicHashtableImpl::BasicHashtableImpl(const BasicHashtableImpl& other) : in BasicHashtableImpl() argument
36 mBucketSize(other.mBucketSize), mHasTrivialDestructor(other.mHasTrivialDestructor), in BasicHashtableImpl()
37 mCapacity(other.mCapacity), mLoadFactor(other.mLoadFactor), in BasicHashtableImpl()
38 mSize(other.mSize), mFilledBuckets(other.mFilledBuckets), in BasicHashtableImpl()
39 mBucketCount(other.mBucketCount), mBuckets(other.mBuckets) { in BasicHashtableImpl()
60 void BasicHashtableImpl::setTo(const BasicHashtableImpl& other) { in setTo() argument
65 mCapacity = other.mCapacity; in setTo()
66 mLoadFactor = other.mLoadFactor; in setTo()
67 mSize = other.mSize; in setTo()
68 mFilledBuckets = other.mFilledBuckets; in setTo()
[all …]
/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java103 public boolean equals(WifiDisplay other) { in equals() argument
104 return other != null in equals()
105 && mDeviceAddress.equals(other.mDeviceAddress) in equals()
106 && mDeviceName.equals(other.mDeviceName) in equals()
107 && Objects.equal(mDeviceAlias, other.mDeviceAlias); in equals()
115 public boolean hasSameAddress(WifiDisplay other) { in hasSameAddress() argument
116 return other != null && mDeviceAddress.equals(other.mDeviceAddress); in hasSameAddress()
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dlearning_rate_controller-inl.h109 void CopyFrom(const LearningRateController &other) { in CopyFrom() argument
110 iteration_num_ = other.iteration_num_; in CopyFrom()
111 sample_num_ = other.sample_num_; in CopyFrom()
112 mini_batch_size_ = other.mini_batch_size_; in CopyFrom()
113 mini_batch_counter_ = other.mini_batch_counter_; in CopyFrom()
114 mode_ = other.mode_; in CopyFrom()
115 is_first_sample_ = other.is_first_sample_; in CopyFrom()
/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp77 ResolveInfo::Visibility other = ResolveInfo::Default; in TEST_F() local
85 other, in TEST_F()
96 EXPECT_EQ(other, result1.info->visibility()); in TEST_F()
105 other, in TEST_F()
116 EXPECT_EQ(other, result1.info->visibility()); in TEST_F()
128 ResolveInfo::Visibility other = ResolveInfo::Default; in TEST_F() local
136 other, in TEST_F()
147 EXPECT_EQ(other, result1.info->visibility()); in TEST_F()
156 other, in TEST_F()
169 other, in TEST_F()
[all …]

12345678910>>...30