/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 240 public boolean equals(DisplayDeviceInfo other) { in equals() argument 241 return other != null in equals() 242 && Objects.equal(name, other.name) in equals() 243 && Objects.equal(uniqueId, other.uniqueId) in equals() 244 && width == other.width in equals() 245 && height == other.height in equals() 246 && refreshRate == other.refreshRate in equals() 247 && Arrays.equals(supportedRefreshRates, other.supportedRefreshRates) in equals() 248 && densityDpi == other.densityDpi in equals() 249 && xDpi == other.xDpi in equals() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 34 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/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 206 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() argument 207 copyFrom(other); in DisplayPowerRequest() 214 public void copyFrom(DisplayPowerRequest other) { in copyFrom() argument 215 policy = other.policy; in copyFrom() 216 useProximitySensor = other.useProximitySensor; in copyFrom() 217 screenBrightness = other.screenBrightness; in copyFrom() 218 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment; in copyFrom() 219 useAutoBrightness = other.useAutoBrightness; in copyFrom() 220 blockScreenOn = other.blockScreenOn; in copyFrom() 221 lowPowerMode = other.lowPowerMode; in copyFrom() [all …]
|
/frameworks/rs/cpp/util/ |
D | StrongPointer.h | 68 sp(T* other); 69 sp(const sp<T>& other); 70 template<typename U> sp(U* other); 71 template<typename U> sp(const sp<U>& other); 77 sp& operator = (T* other); 78 sp& operator = (const sp<T>& other); 80 template<typename U> sp& operator = (const sp<U>& other); 81 template<typename U> sp& operator = (U* other); 84 void force_set(T* other); 121 sp<T>::sp(T* other) in sp() argument [all …]
|
D | RefBase.h | 205 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 …]
|
/frameworks/rs/server/ |
D | StrongPointer.h | 67 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 …]
|
D | RefBase.h | 204 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/core/java/android/view/ |
D | DisplayInfo.java | 246 public DisplayInfo(DisplayInfo other) { in DisplayInfo() argument 247 copyFrom(other); in DisplayInfo() 259 public boolean equals(DisplayInfo other) { in equals() argument 260 return other != null in equals() 261 && layerStack == other.layerStack in equals() 262 && flags == other.flags in equals() 263 && type == other.type in equals() 264 && Objects.equal(address, other.address) in equals() 265 && Objects.equal(uniqueId, other.uniqueId) in equals() 266 && appWidth == other.appWidth in equals() [all …]
|
D | SurfaceControl.java | 478 public PhysicalDisplayInfo(PhysicalDisplayInfo other) { in PhysicalDisplayInfo() argument 479 copyFrom(other); in PhysicalDisplayInfo() 487 public boolean equals(PhysicalDisplayInfo other) { in equals() argument 488 return other != null in equals() 489 && width == other.width in equals() 490 && height == other.height in equals() 491 && refreshRate == other.refreshRate in equals() 492 && density == other.density in equals() 493 && xDpi == other.xDpi in equals() 494 && yDpi == other.yDpi in equals() [all …]
|
/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 264 public boolean equals(DisplayMetrics other) { in equals() argument 265 return equalsPhysical(other) in equals() 266 && scaledDensity == other.scaledDensity in equals() 267 && noncompatScaledDensity == other.noncompatScaledDensity; in equals() 279 public boolean equalsPhysical(DisplayMetrics other) { in equalsPhysical() argument 280 return other != null in equalsPhysical() 281 && widthPixels == other.widthPixels in equalsPhysical() 282 && heightPixels == other.heightPixels in equalsPhysical() 283 && density == other.density in equalsPhysical() 284 && densityDpi == other.densityDpi in equalsPhysical() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDatabaseConfiguration.java | 118 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/ |
D | WorkSource.java | 154 public boolean diff(WorkSource other) { in diff() argument 156 if (N != other.mNum) { in diff() 160 final int[] uids2 = other.mUids; in diff() 162 final String[] names2 = other.mNames; in diff() 179 public void set(WorkSource other) { in set() argument 180 if (other == null) { in set() 184 mNum = other.mNum; in set() 185 if (other.mUids != null) { in set() 187 System.arraycopy(other.mUids, 0, mUids, 0, mNum); in set() 189 mUids = other.mUids.clone(); in set() [all …]
|
D | BatteryProperties.java | 36 public void set(BatteryProperties other) { in set() argument 37 chargerAcOnline = other.chargerAcOnline; in set() 38 chargerUsbOnline = other.chargerUsbOnline; in set() 39 chargerWirelessOnline = other.chargerWirelessOnline; in set() 40 batteryStatus = other.batteryStatus; in set() 41 batteryHealth = other.batteryHealth; in set() 42 batteryPresent = other.batteryPresent; in set() 43 batteryLevel = other.batteryLevel; in set() 44 batteryVoltage = other.batteryVoltage; in set() 45 batteryTemperature = other.batteryTemperature; in set() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncStatusInfo.java | 132 public SyncStatusInfo(SyncStatusInfo other) { in SyncStatusInfo() argument 133 authorityId = other.authorityId; in SyncStatusInfo() 134 totalElapsedTime = other.totalElapsedTime; in SyncStatusInfo() 135 numSyncs = other.numSyncs; in SyncStatusInfo() 136 numSourcePoll = other.numSourcePoll; in SyncStatusInfo() 137 numSourceServer = other.numSourceServer; in SyncStatusInfo() 138 numSourceLocal = other.numSourceLocal; in SyncStatusInfo() 139 numSourceUser = other.numSourceUser; in SyncStatusInfo() 140 numSourcePeriodic = other.numSourcePeriodic; in SyncStatusInfo() 141 lastSuccessTime = other.lastSuccessTime; in SyncStatusInfo() [all …]
|
D | PeriodicSync.java | 62 public PeriodicSync(PeriodicSync other) { in PeriodicSync() argument 63 this.account = other.account; in PeriodicSync() 64 this.authority = other.authority; in PeriodicSync() 65 this.extras = new Bundle(other.extras); in PeriodicSync() 66 this.period = other.period; in PeriodicSync() 67 this.flexTime = other.flexTime; in PeriodicSync() 125 final PeriodicSync other = (PeriodicSync) o; in equals() local 126 return account.equals(other.account) in equals() 127 && authority.equals(other.authority) in equals() 128 && period == other.period in equals() [all …]
|
/frameworks/base/core/java/android/print/ |
D | PrinterInfo.java | 63 public void copyFrom(PrinterInfo other) { in copyFrom() argument 64 if (this == other) { in copyFrom() 67 mId = other.mId; in copyFrom() 68 mName = other.mName; in copyFrom() 69 mStatus = other.mStatus; in copyFrom() 70 mDescription = other.mDescription; in copyFrom() 71 if (other.mCapabilities != null) { in copyFrom() 73 mCapabilities.copyFrom(other.mCapabilities); in copyFrom() 75 mCapabilities = new PrinterCapabilitiesInfo(other.mCapabilities); in copyFrom() 176 PrinterInfo other = (PrinterInfo) obj; in equals() local [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | Size.java | 105 public Size(Size other) { in Size() argument 106 if (other == null) { in Size() 109 val = new Point(other.width(), other.height()); in Size() 118 public Size(Camera.Size other) { in Size() argument 119 if (other == null) { in Size() 122 val = new Point(other.width, other.height); in Size() 131 public Size(android.util.Size other) { in Size() argument 132 if (other == null) { in Size() 135 val = new Point(other.getWidth(), other.getHeight()); in Size() 163 Size other = (Size) o; in equals() local [all …]
|
/frameworks/native/libs/ui/tests/ |
D | Region_test.cpp | 35 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/native/libs/input/ |
D | InputDevice.cpp | 133 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) : in InputDeviceInfo() argument 134 mId(other.mId), mGeneration(other.mGeneration), mControllerNumber(other.mControllerNumber), in InputDeviceInfo() 135 mIdentifier(other.mIdentifier), mAlias(other.mAlias), mIsExternal(other.mIsExternal), in InputDeviceInfo() 136 mSources(other.mSources), mKeyboardType(other.mKeyboardType), in InputDeviceInfo() 137 mKeyCharacterMap(other.mKeyCharacterMap), mHasVibrator(other.mHasVibrator), in InputDeviceInfo() 138 mHasButtonUnderPad(other.mHasButtonUnderPad), mMotionRanges(other.mMotionRanges) { in InputDeviceInfo()
|
D | Input.cpp | 178 bool PointerCoords::operator==(const PointerCoords& other) const { in operator ==() 179 if (bits != other.bits) { in operator ==() 184 if (values[i] != other.values[i]) { in operator ==() 191 void PointerCoords::copyFrom(const PointerCoords& other) { in copyFrom() argument 192 bits = other.bits; in copyFrom() 195 values[i] = other.values[i]; in copyFrom() 202 bool PointerProperties::operator==(const PointerProperties& other) const { in operator ==() 203 return id == other.id in operator ==() 204 && toolType == other.toolType; in operator ==() 207 void PointerProperties::copyFrom(const PointerProperties& other) { in copyFrom() argument [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaRouterClientState.java | 118 public RouteInfo(RouteInfo other) { in RouteInfo() argument 119 id = other.id; in RouteInfo() 120 name = other.name; in RouteInfo() 121 description = other.description; in RouteInfo() 122 supportedTypes = other.supportedTypes; in RouteInfo() 123 enabled = other.enabled; in RouteInfo() 124 statusCode = other.statusCode; in RouteInfo() 125 playbackType = other.playbackType; in RouteInfo() 126 playbackStream = other.playbackStream; in RouteInfo() 127 volume = other.volume; in RouteInfo() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseDataConnectionState.java | 216 PreciseDataConnectionState other = (PreciseDataConnectionState) obj; in equals() local 218 if (other.mAPN != null) { in equals() 221 } else if (!mAPN.equals(other.mAPN)) { in equals() 225 if (other.mAPNType != null) { in equals() 228 } else if (!mAPNType.equals(other.mAPNType)) { in equals() 232 if (other.mFailCause != null) { in equals() 235 } else if (!mFailCause.equals(other.mFailCause)) { in equals() 239 if (other.mLinkProperties != null) { in equals() 242 } else if (!mLinkProperties.equals(other.mLinkProperties)) { in equals() 245 if (mNetworkType != other.mNetworkType) { in equals() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 224 public boolean equals(final Object other) { in equals() argument 225 return other instanceof MeteringRectangle && equals((MeteringRectangle)other); in equals() 238 public boolean equals(final MeteringRectangle other) { in equals() argument 239 if (other == null) { in equals() 243 return (mX == other.mX in equals() 244 && mY == other.mY in equals() 245 && mWidth == other.mWidth in equals() 246 && mHeight == other.mHeight in equals() 247 && mWeight == other.mWeight); in equals()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 141 public SyncOperation(SyncOperation other, long newRunTimeFromNow) { in SyncOperation() argument 142 this(other.target, other.reason, other.syncSource, new Bundle(other.extras), in SyncOperation() 145 other.backoff, in SyncOperation() 146 other.delayUntil, in SyncOperation() 147 other.allowParallelSyncs); in SyncOperation() 150 public boolean matchesAuthority(SyncOperation other) { in matchesAuthority() argument 151 return this.target.matchesSpec(other.target); in matchesAuthority() 183 final SyncStorageEngine.EndPoint other = toRun.target; in isConflict() local 185 return target.account.type.equals(other.account.type) in isConflict() 186 && target.provider.equals(other.provider) in isConflict() [all …]
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightState.java | 88 public boolean equals(TwilightState other) { in equals() argument 89 return other != null in equals() 90 && mIsNight == other.mIsNight in equals() 91 && mYesterdaySunset == other.mYesterdaySunset in equals() 92 && mTodaySunrise == other.mTodaySunrise in equals() 93 && mTodaySunset == other.mTodaySunset in equals() 94 && mTomorrowSunrise == other.mTomorrowSunrise; in equals()
|