Searched refs:other (Results 1 - 25 of 161) sorted by relevance

1234567

/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerRequest.java29 * have to micro-manage screen off animations, auto-brightness and other effects.
74 public DisplayPowerRequest(DisplayPowerRequest other) { argument
75 copyFrom(other);
78 public void copyFrom(DisplayPowerRequest other) { argument
79 screenState = other.screenState;
80 useProximitySensor = other.useProximitySensor;
81 screenBrightness = other.screenBrightness;
82 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment;
83 useAutoBrightness = other.useAutoBrightness;
84 blockScreenOn = other
93 equals(DisplayPowerRequest other) argument
[all...]
/frameworks/native/include/utils/
H A 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);
276 operator =(const String8& other) argument
282 operator =(const char* other) argument
288 operator +=(const String8& other) argument
301 operator +=(const char* other) argument
[all...]
H A 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) cons
150 operator =(const String16& other) argument
156 operator +=(const String16& other) argument
[all...]
H A 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)
140 sp(const sp<U>& other) argument
153 operator =(const sp<T>& other) argument
162 operator =(T* other) argument
171 operator =(const sp<U>& other) argument
181 operator =(U* other) argument
190 force_set(T* other) argument
[all...]
H A DRefBase.h205 wp(T* other);
206 wp(const wp<T>& other);
207 wp(const sp<T>& other);
208 template<typename U> wp(U* other);
209 template<typename U> wp(const sp<U>& other);
210 template<typename U> wp(const wp<U>& other);
216 wp& operator = (T* other);
217 wp& operator = (const wp<T>& other);
218 wp& operator = (const sp<T>& other);
220 template<typename U> wp& operator = (U* other);
[all...]
H A DBitSet.h102 inline bool operator== (const BitSet32& other) const { return value == other.value; }
103 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java80 * EDID or other sources. The name may be displayed to the user.
166 public boolean equals(DisplayDeviceInfo other) { argument
167 return other != null
168 && Objects.equal(name, other.name)
169 && width == other.width
170 && height == other.height
171 && refreshRate == other.refreshRate
172 && densityDpi == other.densityDpi
173 && xDpi == other.xDpi
174 && yDpi == other
187 copyFrom(DisplayDeviceInfo other) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java94 * database and default values for all other parameters.
116 * @param other The other configuration.
118 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) { argument
119 if (other == null) {
120 throw new IllegalArgumentException("other must not be null.");
123 this.path = other.path;
124 this.label = other.label;
125 updateParametersFrom(other);
130 * from the other configuratio
134 updateParametersFrom(SQLiteDatabaseConfiguration other) argument
[all...]
/frameworks/native/libs/utils/tests/
H A DVector_test.cpp41 Vector<int> other; local
51 other = vector;
53 EXPECT_EQ(other.size(), 3);
60 EXPECT_EQ(other.size(), 3);
63 other.add(5);
67 EXPECT_EQ(other.size(), 4);
71 EXPECT_EQ(other[3], 5);
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java171 public DisplayInfo(DisplayInfo other) { argument
172 copyFrom(other);
184 public boolean equals(DisplayInfo other) { argument
185 return other != null
186 && layerStack == other.layerStack
187 && flags == other.flags
188 && type == other.type
189 && Objects.equal(address, other.address)
190 && Objects.equal(name, other.name)
191 && appWidth == other
211 copyFrom(DisplayInfo other) argument
[all...]
H A DSurface.java109 * be disabled, but other measures can take place, for instance the
130 * composited on top of each-other into the surface. A pre-multiplied
273 private native void nativeCopyFrom(Surface other); argument
274 private native void nativeTransferFrom(Surface other); argument
325 + "Set the other properties and make the surface visible within "
674 public void copyFrom(Surface other) { argument
675 if (other == null) {
676 throw new IllegalArgumentException("other must not be null");
678 if (other != this) {
679 nativeCopyFrom(other);
691 transferFrom(Surface other) argument
766 PhysicalDisplayInfo(PhysicalDisplayInfo other) argument
775 equals(PhysicalDisplayInfo other) argument
791 copyFrom(PhysicalDisplayInfo other) argument
[all...]
/frameworks/base/services/input/
H A DInputListener.cpp34 const NotifyConfigurationChangedArgs& other) :
35 eventTime(other.eventTime) {
54 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) : argument
55 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source),
56 policyFlags(other.policyFlags),
57 action(other.action), flags(other.flags),
58 keyCode(other
33 NotifyConfigurationChangedArgs( const NotifyConfigurationChangedArgs& other) argument
85 NotifyMotionArgs(const NotifyMotionArgs& other) argument
112 NotifySwitchArgs(const NotifySwitchArgs& other) argument
128 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountAndUser.java36 final AccountAndUser other = (AccountAndUser) o;
37 return this.account.equals(other.account)
38 && this.userId == other.userId;
/frameworks/base/core/java/android/util/
H A DDisplayMetrics.java44 * density, instead allow the platform to scale from other densities
229 * Returns true if these display metrics equal the other display metrics.
231 * @param other The display metrics with which to compare.
234 public boolean equals(DisplayMetrics other) { argument
235 return other != null
236 && widthPixels == other.widthPixels
237 && heightPixels == other.heightPixels
238 && density == other.density
239 && densityDpi == other.densityDpi
240 && scaledDensity == other
[all...]
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dlearning_rate_controller-inl.h109 void CopyFrom(const LearningRateController &other) { argument
110 iteration_num_ = other.iteration_num_;
111 sample_num_ = other.sample_num_;
112 mini_batch_size_ = other.mini_batch_size_;
113 mini_batch_counter_ = other.mini_batch_counter_;
114 mode_ = other.mode_;
115 is_first_sample_ = other.is_first_sample_;
/frameworks/base/core/java/android/content/
H A DSyncOperation.java78 SyncOperation(SyncOperation other) { argument
79 this.account = other.account;
80 this.userId = other.userId;
81 this.syncSource = other.syncSource;
82 this.authority = other.authority;
83 this.extras = new Bundle(other.extras);
84 this.expedited = other.expedited;
86 this.backoff = other.backoff;
87 this.delayUntil = other.delayUntil;
88 this.allowParallelSyncs = other
[all...]
H A DPeriodicSync.java77 final PeriodicSync other = (PeriodicSync) o;
79 return account.equals(other.account)
80 && authority.equals(other.authority)
81 && period == other.period
82 && SyncStorageEngine.equals(extras, other.extras);
/frameworks/base/core/java/android/os/
H A DWorkSource.java99 * @param other The WorkSource to compare against.
102 public boolean diff(WorkSource other) { argument
104 if (N != other.mNum) {
108 final int[] uids2 = other.mUids;
119 * work source. If <var>other</var> is null, the current work source
122 public void set(WorkSource other) { argument
123 if (other == null) {
127 mNum = other.mNum;
128 if (other.mUids != null) {
130 System.arraycopy(other
147 setReturningDiffs(WorkSource other) argument
168 add(WorkSource other) argument
175 addReturningNewbs(WorkSource other) argument
201 remove(WorkSource other) argument
223 updateLocked(WorkSource other, boolean set, boolean returnNewbs) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandDetails.java43 public boolean compareTo(CommandDetails other) { argument
44 return (this.compRequired == other.compRequired &&
45 this.commandNumber == other.commandNumber &&
46 this.commandQualifier == other.commandQualifier &&
47 this.typeOfCommand == other.typeOfCommand);
/frameworks/base/core/java/android/content/pm/
H A DVerificationParams.java126 final VerificationParams other = (VerificationParams) o;
129 if (other.mVerificationURI != null) {
132 } else if (!mVerificationURI.equals(other.mVerificationURI)) {
137 if (other.mOriginatingURI != null) {
140 } else if (!mOriginatingURI.equals(other.mOriginatingURI)) {
145 if (other.mReferrer != null) {
148 } else if (!mReferrer.equals(other.mReferrer)) {
152 if (mOriginatingUid != other.mOriginatingUid) {
157 if (other.mManifestDigest != null) {
160 } else if (!mManifestDigest.equals(other
[all...]
H A DPackageCleanItem.java41 PackageCleanItem other = (PackageCleanItem)obj;
42 return userId == other.userId && packageName.equals(other.packageName)
43 && andCode == other.andCode;
/frameworks/base/libs/androidfw/
H A DInputDevice.cpp133 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) : argument
134 mId(other.mId), mGeneration(other.mGeneration), mIdentifier(other.mIdentifier),
135 mAlias(other.mAlias), mIsExternal(other.mIsExternal), mSources(other.mSources),
136 mKeyboardType(other.mKeyboardType),
137 mKeyCharacterMap(other.mKeyCharacterMap),
138 mHasVibrator(other
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkPolicy.java137 // other value is missing or disabled; we win
141 // we're disabled or other limit is smaller; they win
156 final NetworkPolicy other = (NetworkPolicy) obj;
157 return cycleDay == other.cycleDay && warningBytes == other.warningBytes
158 && limitBytes == other.limitBytes
159 && lastWarningSnooze == other.lastWarningSnooze
160 && lastLimitSnooze == other.lastLimitSnooze && metered == other.metered
161 && inferred == other
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplay.java103 public boolean equals(WifiDisplay other) { argument
104 return other != null
105 && mDeviceAddress.equals(other.mDeviceAddress)
106 && mDeviceName.equals(other.mDeviceName)
107 && Objects.equal(mDeviceAlias, other.mDeviceAlias);
/frameworks/native/libs/utils/
H A DString8.cpp221 void String8::setTo(const String8& other) argument
223 SharedBuffer::bufferFromData(other.mString)->acquire();
225 mString = other.mString;
228 status_t String8::setTo(const char* other) argument
230 const char *newString = allocFromUTF8(other, strlen(other));
239 status_t String8::setTo(const char* other, size_t len) argument
241 const char *newString = allocFromUTF8(other, len);
250 status_t String8::setTo(const char16_t* other, size_t len) argument
252 const char *newString = allocFromUTF16(other, le
261 setTo(const char32_t* other, size_t len) argument
272 append(const String8& other) argument
285 append(const char* other) argument
290 append(const char* other, size_t otherLen) argument
328 real_append(const char* other, size_t otherLen) argument
379 find(const char* other, size_t start) const argument
[all...]

Completed in 990 milliseconds

1234567