/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 77 bool operator == (const OutputConfiguration& other) const { 78 return ( mRotation == other.mRotation && 79 mSurfaceSetID == other.mSurfaceSetID && 80 mSurfaceType == other.mSurfaceType && 81 mWidth == other.mWidth && 82 mHeight == other.mHeight && 83 mIsDeferred == other.mIsDeferred && 84 mIsShared == other.mIsShared && 85 gbpsEqual(other) && 86 mPhysicalCameraId == other.mPhysicalCameraId ); [all …]
|
D | SessionConfiguration.h | 59 bool operator == (const SessionConfiguration& other) const { 60 return (outputsEqual(other) && 61 mInputWidth == other.mInputWidth && 62 mInputHeight == other.mInputHeight && 63 mInputFormat == other.mInputFormat && 64 mOperatingMode == other.mOperatingMode); 67 bool operator != (const SessionConfiguration& other) const { 68 return !(*this == other); 71 bool operator < (const SessionConfiguration& other) const { 72 if (*this == other) return false; [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatterySipper.java | 168 public int compareTo(BatterySipper other) { in compareTo() argument 170 if (drainType != other.drainType) { in compareTo() 174 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo() 179 return Double.compare(other.totalPowerMah, totalPowerMah); in compareTo() 203 public void add(BatterySipper other) { in add() argument 204 totalPowerMah += other.totalPowerMah; in add() 205 usageTimeMs += other.usageTimeMs; in add() 206 usagePowerMah += other.usagePowerMah; in add() 207 audioTimeMs += other.audioTimeMs; in add() 208 cpuTimeMs += other.cpuTimeMs; in add() [all …]
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 218 void DisplayState::merge(const DisplayState& other) { in merge() argument 219 if (other.what & eSurfaceChanged) { in merge() 221 surface = other.surface; in merge() 223 if (other.what & eLayerStackChanged) { in merge() 225 layerStack = other.layerStack; in merge() 227 if (other.what & eDisplayProjectionChanged) { in merge() 229 orientation = other.orientation; in merge() 230 viewport = other.viewport; in merge() 231 frame = other.frame; in merge() 233 if (other.what & eDisplaySizeChanged) { in merge() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 315 public boolean equals(DisplayDeviceInfo other) { in equals() argument 316 return other != null && diff(other) == 0; in equals() 323 public int diff(DisplayDeviceInfo other) { in diff() argument 325 if (state != other.state) { in diff() 328 if (colorMode != other.colorMode) { in diff() 331 if (!Objects.equals(name, other.name) in diff() 332 || !Objects.equals(uniqueId, other.uniqueId) in diff() 333 || width != other.width in diff() 334 || height != other.height in diff() 335 || modeId != other.modeId in diff() [all …]
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | utils.h | 73 bool operator ==(const native_handle_ptr_wrapper other) const { 74 return isWindowNativeHandleEqual(mWindow, other.mWindow); 77 bool operator != (const native_handle_ptr_wrapper& other) const { 78 return !isWindowNativeHandleEqual(mWindow, other.mWindow); 81 bool operator < (const native_handle_ptr_wrapper& other) const { 82 return isWindowNativeHandleLessThan(mWindow, other.mWindow); 85 bool operator > (const native_handle_ptr_wrapper& other) const { 86 return !isWindowNativeHandleGreaterThan(mWindow, other.mWindow); 115 bool operator ==(const OutputConfiguration &other) const { 117 return self.rotation == other.rotation && self.windowGroupId == other.windowGroupId && [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | Descriptor.cs | 200 public FileDescriptorSet(FileDescriptorSet other) : this() { in FileDescriptorSet() argument 201 file_ = other.file_.Clone(); in FileDescriptorSet() 220 public override bool Equals(object other) { in Equals() argument 221 return Equals(other as FileDescriptorSet); in Equals() 225 public bool Equals(FileDescriptorSet other) { in Equals() argument 226 if (ReferenceEquals(other, null)) { in Equals() 229 if (ReferenceEquals(other, this)) { in Equals() 232 if(!file_.Equals(other.file_)) return false; in Equals() 261 public void MergeFrom(FileDescriptorSet other) { in MergeFrom() argument 262 if (other == null) { in MergeFrom() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 245 public ConformanceRequest(ConformanceRequest other) : this() { in ConformanceRequest() argument 246 requestedOutputFormat_ = other.requestedOutputFormat_; in ConformanceRequest() 247 switch (other.PayloadCase) { in ConformanceRequest() 249 ProtobufPayload = other.ProtobufPayload; in ConformanceRequest() 252 JsonPayload = other.JsonPayload; in ConformanceRequest() 319 public override bool Equals(object other) { in Equals() argument 320 return Equals(other as ConformanceRequest); in Equals() 324 public bool Equals(ConformanceRequest other) { in Equals() argument 325 if (ReferenceEquals(other, null)) { in Equals() 328 if (ReferenceEquals(other, this)) { in Equals() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 260 public TestAllTypes(TestAllTypes other) : this() { in TestAllTypes() argument 261 singleInt32_ = other.singleInt32_; in TestAllTypes() 262 singleInt64_ = other.singleInt64_; in TestAllTypes() 263 singleUint32_ = other.singleUint32_; in TestAllTypes() 264 singleUint64_ = other.singleUint64_; in TestAllTypes() 265 singleSint32_ = other.singleSint32_; in TestAllTypes() 266 singleSint64_ = other.singleSint64_; in TestAllTypes() 267 singleFixed32_ = other.singleFixed32_; in TestAllTypes() 268 singleFixed64_ = other.singleFixed64_; in TestAllTypes() 269 singleSfixed32_ = other.singleSfixed32_; in TestAllTypes() [all …]
|
D | UnittestIssues.cs | 108 public Issue307(Issue307 other) : this() { in Issue307() argument 117 public override bool Equals(object other) { in Equals() argument 118 return Equals(other as Issue307); in Equals() 122 public bool Equals(Issue307 other) { in Equals() argument 123 if (ReferenceEquals(other, null)) { in Equals() 126 if (ReferenceEquals(other, this)) { in Equals() 154 public void MergeFrom(Issue307 other) { in MergeFrom() argument 155 if (other == null) { in MergeFrom() 199 public NestedOnce(NestedOnce other) : this() { in NestedOnce() argument 208 public override bool Equals(object other) { in Equals() argument [all …]
|
D | UnittestWellKnownTypes.cs | 203 public TestWellKnownTypes(TestWellKnownTypes other) : this() { in TestWellKnownTypes() argument 204 AnyField = other.anyField_ != null ? other.AnyField.Clone() : null; in TestWellKnownTypes() 205 ApiField = other.apiField_ != null ? other.ApiField.Clone() : null; in TestWellKnownTypes() 206 DurationField = other.durationField_ != null ? other.DurationField.Clone() : null; in TestWellKnownTypes() 207 EmptyField = other.emptyField_ != null ? other.EmptyField.Clone() : null; in TestWellKnownTypes() 208 FieldMaskField = other.fieldMaskField_ != null ? other.FieldMaskField.Clone() : null; in TestWellKnownTypes() 209 … SourceContextField = other.sourceContextField_ != null ? other.SourceContextField.Clone() : null; in TestWellKnownTypes() 210 StructField = other.structField_ != null ? other.StructField.Clone() : null; in TestWellKnownTypes() 211 TimestampField = other.timestampField_ != null ? other.TimestampField.Clone() : null; in TestWellKnownTypes() 212 TypeField = other.typeField_ != null ? other.TypeField.Clone() : null; in TestWellKnownTypes() [all …]
|
D | MapUnittestProto3.cs | 200 public TestMap(TestMap other) : this() { in TestMap() argument 201 mapInt32Int32_ = other.mapInt32Int32_.Clone(); in TestMap() 202 mapInt64Int64_ = other.mapInt64Int64_.Clone(); in TestMap() 203 mapUint32Uint32_ = other.mapUint32Uint32_.Clone(); in TestMap() 204 mapUint64Uint64_ = other.mapUint64Uint64_.Clone(); in TestMap() 205 mapSint32Sint32_ = other.mapSint32Sint32_.Clone(); in TestMap() 206 mapSint64Sint64_ = other.mapSint64Sint64_.Clone(); in TestMap() 207 mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone(); in TestMap() 208 mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone(); in TestMap() 209 mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone(); in TestMap() [all …]
|
/frameworks/rs/cpp/util/ |
D | StrongPointer.h | 69 sp(T* other); // NOLINT, implicit 70 sp(const sp<T>& other); 71 template<typename U> sp(U* other); // NOLINT, implicit 72 template<typename U> sp(const sp<U>& other); // NOLINT, implicit 78 sp& operator = (T* other); 79 sp& operator = (const sp<T>& other); 81 template<typename U> sp& operator = (const sp<U>& other); 82 template<typename U> sp& operator = (U* other); 85 void force_set(T* other); 122 sp<T>::sp(T* other) in sp() argument [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Api.cs | 79 public Api(Api other) : this() { in Api() argument 80 name_ = other.name_; in Api() 81 methods_ = other.methods_.Clone(); in Api() 82 options_ = other.options_.Clone(); in Api() 83 version_ = other.version_; in Api() 84 SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone() : null; in Api() 85 mixins_ = other.mixins_.Clone(); in Api() 86 syntax_ = other.syntax_; in Api() 211 public override bool Equals(object other) { in Equals() argument 212 return Equals(other as Api); in Equals() [all …]
|
D | Wrappers.cs | 81 public DoubleValue(DoubleValue other) : this() { in DoubleValue() argument 82 value_ = other.value_; in DoubleValue() 105 public override bool Equals(object other) { in Equals() argument 106 return Equals(other as DoubleValue); in Equals() 110 public bool Equals(DoubleValue other) { in Equals() argument 111 if (ReferenceEquals(other, null)) { in Equals() 114 if (ReferenceEquals(other, this)) { in Equals() 117 if (Value != other.Value) return false; in Equals() 151 public void MergeFrom(DoubleValue other) { in MergeFrom() argument 152 if (other == null) { in MergeFrom() [all …]
|
D | Type.cs | 117 public Type(Type other) : this() { in Type() argument 118 name_ = other.name_; in Type() 119 fields_ = other.fields_.Clone(); in Type() 120 oneofs_ = other.oneofs_.Clone(); in Type() 121 options_ = other.options_.Clone(); in Type() 122 SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone() : null; in Type() 123 syntax_ = other.syntax_; in Type() 213 public override bool Equals(object other) { in Equals() argument 214 return Equals(other as Type); in Equals() 218 public bool Equals(Type other) { in Equals() argument [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 35 const NotifyConfigurationChangedArgs& other) : in NotifyConfigurationChangedArgs() argument 36 NotifyArgs(other.sequenceNum, other.eventTime) { in NotifyConfigurationChangedArgs() 60 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) : in NotifyKeyArgs() argument 61 NotifyArgs(other.sequenceNum, other.eventTime), deviceId(other.deviceId), in NotifyKeyArgs() 62 source(other.source), displayId(other.displayId), policyFlags(other.policyFlags), in NotifyKeyArgs() 63 action(other.action), flags(other.flags), in NotifyKeyArgs() 64 keyCode(other.keyCode), scanCode(other.scanCode), in NotifyKeyArgs() 65 metaState(other.metaState), downTime(other.downTime) { in NotifyKeyArgs() 112 NotifyMotionArgs::NotifyMotionArgs(const NotifyMotionArgs& other) : in NotifyMotionArgs() argument 113 NotifyArgs(other.sequenceNum, other.eventTime), deviceId(other.deviceId), in NotifyMotionArgs() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 315 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() argument 316 copyFrom(other); in DisplayPowerRequest() 327 public void copyFrom(DisplayPowerRequest other) { in copyFrom() argument 328 policy = other.policy; in copyFrom() 329 useProximitySensor = other.useProximitySensor; in copyFrom() 330 screenBrightnessOverride = other.screenBrightnessOverride; in copyFrom() 331 useAutoBrightness = other.useAutoBrightness; in copyFrom() 332 screenAutoBrightnessAdjustmentOverride = other.screenAutoBrightnessAdjustmentOverride; in copyFrom() 333 screenLowPowerBrightnessFactor = other.screenLowPowerBrightnessFactor; in copyFrom() 334 blockScreenOn = other.blockScreenOn; in copyFrom() [all …]
|
/frameworks/av/include/media/ |
D | Modulo.h | 102 Modulo<T> operator +=(const Modulo<S> &other) { 104 mValue += other.unsignedValue(); 110 Modulo<T> operator -=(const Modulo<S> &other) { 112 mValue -= other.unsignedValue(); 120 const Modulo<T> operator +(const Modulo<S> &other) const { 122 return Modulo<T>(mValue + other.unsignedValue()); 127 const Modulo<T> operator -(const Modulo<S> &other) const { 129 return Modulo<T>(mValue - other.unsignedValue()); 139 bool operator >(const Modulo<S> &other) const { 141 return static_cast<signedT>(mValue - other.unsignedValue()) > 0; [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | Modulo.h | 102 Modulo<T> operator +=(const Modulo<S> &other) { 104 mValue += other.unsignedValue(); 110 Modulo<T> operator -=(const Modulo<S> &other) { 112 mValue -= other.unsignedValue(); 120 const Modulo<T> operator +(const Modulo<S> &other) const { 122 return Modulo<T>(mValue + other.unsignedValue()); 127 const Modulo<T> operator -(const Modulo<S> &other) const { 129 return Modulo<T>(mValue - other.unsignedValue()); 139 bool operator >(const Modulo<S> &other) const { 141 return static_cast<signedT>(mValue - other.unsignedValue()) > 0; [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDatabaseConfiguration.java | 155 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) { in SQLiteDatabaseConfiguration() argument 156 if (other == null) { in SQLiteDatabaseConfiguration() 160 this.path = other.path; in SQLiteDatabaseConfiguration() 161 this.label = other.label; in SQLiteDatabaseConfiguration() 162 updateParametersFrom(other); in SQLiteDatabaseConfiguration() 171 public void updateParametersFrom(SQLiteDatabaseConfiguration other) { in updateParametersFrom() argument 172 if (other == null) { in updateParametersFrom() 175 if (!path.equals(other.path)) { in updateParametersFrom() 180 openFlags = other.openFlags; in updateParametersFrom() 181 maxSqlCacheSize = other.maxSqlCacheSize; in updateParametersFrom() [all …]
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 295 public DisplayInfo(DisplayInfo other) { in DisplayInfo() argument 296 copyFrom(other); in DisplayInfo() 308 public boolean equals(DisplayInfo other) { in equals() argument 309 return other != null in equals() 310 && layerStack == other.layerStack in equals() 311 && flags == other.flags in equals() 312 && type == other.type in equals() 313 && displayId == other.displayId in equals() 314 && Objects.equals(address, other.address) in equals() 315 && Objects.equals(uniqueId, other.uniqueId) in equals() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | GeneratedMessageLite.java | 131 public boolean equals(Object other) { in equals() argument 132 if (this == other) { in equals() 136 if (!getDefaultInstanceForType().getClass().isInstance(other)) { in equals() 141 visit(EqualsVisitor.INSTANCE, (MessageType) other); in equals() 152 boolean equals(EqualsVisitor visitor, MessageLite other) { in equals() argument 153 if (this == other) { in equals() 157 if (!getDefaultInstanceForType().getClass().isInstance(other)) { in equals() 161 visit(visitor, (MessageType) other); in equals() 291 void visit(Visitor visitor, MessageType other) { in visit() argument 292 dynamicMethod(MethodToInvoke.VISIT, visitor, other); in visit() [all …]
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTile.java | 122 public boolean copyTo(State other) { in copyTo() argument 123 if (other == null) throw new IllegalArgumentException(); in copyTo() 124 if (!other.getClass().equals(getClass())) throw new IllegalArgumentException(); in copyTo() 125 final boolean changed = !Objects.equals(other.icon, icon) in copyTo() 126 || !Objects.equals(other.iconSupplier, iconSupplier) in copyTo() 127 || !Objects.equals(other.label, label) in copyTo() 128 || !Objects.equals(other.secondaryLabel, secondaryLabel) in copyTo() 129 || !Objects.equals(other.contentDescription, contentDescription) in copyTo() 130 || !Objects.equals(other.dualLabelContentDescription, in copyTo() 132 || !Objects.equals(other.expandedAccessibilityClassName, in copyTo() [all …]
|
/frameworks/native/include/input/ |
D | DisplayViewport.h | 84 bool operator==(const DisplayViewport& other) const { 85 return displayId == other.displayId 86 && orientation == other.orientation 87 && logicalLeft == other.logicalLeft 88 && logicalTop == other.logicalTop 89 && logicalRight == other.logicalRight 90 && logicalBottom == other.logicalBottom 91 && physicalLeft == other.physicalLeft 92 && physicalTop == other.physicalTop 93 && physicalRight == other.physicalRight [all …]
|