/frameworks/av/media/libaudioclient/include/media/ |
D | AudioCommonTypes.h | 101 constexpr bool operator==(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 103 return lhs.usage == rhs.usage && lhs.content_type == rhs.content_type && 104 lhs.flags == rhs.flags && (std::strcmp(lhs.tags, rhs.tags) == 0); 106 constexpr bool operator!=(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 108 return !(lhs==rhs); 111 constexpr bool operator==(const audio_offload_info_t &lhs, const audio_offload_info_t &rhs) 113 return lhs.version == rhs.version && lhs.size == rhs.size && 114 lhs.sample_rate == rhs.sample_rate && lhs.channel_mask == rhs.channel_mask && 115 lhs.format == rhs.format && lhs.stream_type == rhs.stream_type && 116 lhs.bit_rate == rhs.bit_rate && lhs.duration_us == rhs.duration_us && [all …]
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | LayerSettings.h | 158 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) { 159 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence && 160 lhs.textureName == rhs.textureName && 161 lhs.useTextureFiltering == rhs.useTextureFiltering && 162 lhs.textureTransform == rhs.textureTransform && 163 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha && 164 lhs.isOpaque == rhs.isOpaque && lhs.isY410BT2020 == rhs.isY410BT2020 && 165 lhs.maxMasteringLuminance == rhs.maxMasteringLuminance && 166 lhs.maxContentLuminance == rhs.maxContentLuminance; 169 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) { [all …]
|
D | DisplaySettings.h | 65 static inline bool operator==(const DisplaySettings& lhs, const DisplaySettings& rhs) { 66 return lhs.physicalDisplay == rhs.physicalDisplay && lhs.clip == rhs.clip && 67 lhs.maxLuminance == rhs.maxLuminance && lhs.outputDataspace == rhs.outputDataspace && 68 lhs.colorTransform == rhs.colorTransform && 69 lhs.clearRegion.hasSameRects(rhs.clearRegion) && lhs.orientation == rhs.orientation;
|
/frameworks/av/media/libheadtracking/ |
D | TestUtil.h | 36 const char* lhs_expression, const char* rhs_expression, const android::media::Pose3f& lhs, 38 if (lhs.isApprox(rhs, kPoseComparisonPrecision)) { 42 return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs); 47 const char* lhs_expression, const char* rhs_expression, const android::media::Pose3f& lhs, 49 if (!lhs.isApprox(rhs, kPoseComparisonPrecision)) { 53 return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs); 58 const char* lhs_expression, const char* rhs_expression, const android::media::Twist3f& lhs, 60 if (lhs.isApprox(rhs, kPoseComparisonPrecision)) { 64 return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs); 69 const char* lhs_expression, const char* rhs_expression, const android::media::Twist3f& lhs, [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Fps.h | 107 inline bool isStrictlyLess(Fps lhs, Fps rhs) { in isStrictlyLess() argument 108 return lhs.getValue() < rhs.getValue(); in isStrictlyLess() 112 inline bool isApproxEqual(Fps lhs, Fps rhs) { in isApproxEqual() argument 114 return std::abs(lhs.getValue() - rhs.getValue()) < 0.001f; in isApproxEqual() 118 inline bool isApproxLess(Fps lhs, Fps rhs) { in isApproxLess() argument 119 return isStrictlyLess(lhs, rhs) && !isApproxEqual(lhs, rhs); in isApproxLess() 124 inline bool operator==(Fps lhs, Fps rhs) { 125 return isApproxEqual(lhs, rhs); 128 inline bool operator<(Fps lhs, Fps rhs) { 129 return isApproxLess(lhs, rhs); [all …]
|
/frameworks/native/include/ftl/ |
D | non_null.h | 111 constexpr bool operator==(const NonNull<P>& lhs, const NonNull<Q>& rhs) { 112 return lhs.get() == rhs.get(); 116 constexpr bool operator!=(const NonNull<P>& lhs, const NonNull<Q>& rhs) { 117 return !operator==(lhs, rhs); 121 constexpr bool operator<(const NonNull<P>& lhs, const NonNull<Q>& rhs) { 122 return lhs.get() < rhs.get(); 126 constexpr bool operator<=(const NonNull<P>& lhs, const NonNull<Q>& rhs) { 127 return lhs.get() <= rhs.get(); 131 constexpr bool operator>=(const NonNull<P>& lhs, const NonNull<Q>& rhs) { 132 return lhs.get() >= rhs.get(); [all …]
|
/frameworks/libs/binary_translation/intrinsics/common_to_x86/ |
D | simd_register_test.cc | 31 SIMD128Register lhs = kLhs; in TEST() local 32 ASSERT_EQ(lhs, lhs); in TEST() 33 ASSERT_EQ(lhs, kLhs); in TEST() 34 ASSERT_EQ(kLhs, lhs); in TEST() 38 SIMD128Register lhs = kLhs; in TEST() local 40 ASSERT_NE(lhs, rhs); in TEST() 41 ASSERT_NE(lhs, kRhs); in TEST() 46 SIMD128Register lhs = kLhs; in TEST() local 49 ASSERT_EQ(lhs & rhs, result); in TEST() 53 SIMD128Register lhs = kLhs; in TEST() local [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | ClientCompositionRequestCache.cpp | 33 inline bool equalIgnoringSource(const renderengine::LayerSettings& lhs, in equalIgnoringSource() argument 35 return lhs.geometry == rhs.geometry && lhs.alpha == rhs.alpha && in equalIgnoringSource() 36 lhs.sourceDataspace == rhs.sourceDataspace && in equalIgnoringSource() 37 lhs.colorTransform == rhs.colorTransform && in equalIgnoringSource() 38 lhs.disableBlending == rhs.disableBlending && lhs.shadow == rhs.shadow && in equalIgnoringSource() 39 lhs.backgroundBlurRadius == rhs.backgroundBlurRadius && in equalIgnoringSource() 40 lhs.stretchEffect == rhs.stretchEffect; in equalIgnoringSource() 43 inline bool equalIgnoringBuffer(const renderengine::Buffer& lhs, const renderengine::Buffer& rhs) { in equalIgnoringBuffer() argument 44 return lhs.useTextureFiltering == rhs.useTextureFiltering && in equalIgnoringBuffer() 45 lhs.textureTransform == rhs.textureTransform && in equalIgnoringBuffer() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FpsOps.h | 25 inline bool operator==(Fps lhs, Fps rhs) { 26 return fps_approx_ops::operator==(lhs, rhs); 29 inline bool operator<(Fps lhs, Fps rhs) { 30 return fps_approx_ops::operator<(lhs, rhs); 33 inline bool operator!=(Fps lhs, Fps rhs) { 34 return fps_approx_ops::operator!=(lhs, rhs); 37 inline bool operator>(Fps lhs, Fps rhs) { 38 return fps_approx_ops::operator>(lhs, rhs); 41 inline bool operator<=(Fps lhs, Fps rhs) { 42 return fps_approx_ops::operator<=(lhs, rhs); [all …]
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 150 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) { 151 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence && 152 lhs.useTextureFiltering == rhs.useTextureFiltering && 153 lhs.textureTransform == rhs.textureTransform && 154 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha && 155 lhs.isOpaque == rhs.isOpaque && lhs.maxLuminanceNits == rhs.maxLuminanceNits; 158 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) { 159 return lhs.boundaries == rhs.boundaries && lhs.positionTransform == rhs.positionTransform && 160 lhs.roundedCornersRadius == rhs.roundedCornersRadius && 161 lhs.roundedCornersCrop == rhs.roundedCornersCrop; [all …]
|
D | DisplaySettings.h | 107 static inline bool operator==(const DisplaySettings& lhs, const DisplaySettings& rhs) { 108 return lhs.namePlusId == rhs.namePlusId && lhs.physicalDisplay == rhs.physicalDisplay && 109 lhs.clip == rhs.clip && lhs.maxLuminance == rhs.maxLuminance && 110 lhs.currentLuminanceNits == rhs.currentLuminanceNits && 111 lhs.outputDataspace == rhs.outputDataspace && 112 lhs.colorTransform == rhs.colorTransform && 113 lhs.deviceHandlesColorTransform == rhs.deviceHandlesColorTransform && 114 lhs.orientation == rhs.orientation && 115 lhs.targetLuminanceNits == rhs.targetLuminanceNits && 116 lhs.dimmingStage == rhs.dimmingStage && lhs.renderIntent == rhs.renderIntent;
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | bit_util.h | 377 [[nodiscard]] friend constexpr bool operator==(Raw lhs, Raw rhs) { 378 return lhs.value == rhs.value; 380 [[nodiscard]] friend constexpr bool operator!=(Raw lhs, Raw rhs) { 381 return lhs.value != rhs.value; 433 [[nodiscard]] friend constexpr bool operator==(Saturating lhs, Saturating rhs) { 434 return lhs.value == rhs.value; 436 [[nodiscard]] friend constexpr bool operator!=(Saturating lhs, Saturating rhs) { 437 return lhs.value != rhs.value; 439 [[nodiscard]] friend constexpr bool operator<(Saturating lhs, Saturating rhs) { 440 return lhs.value < rhs.value; [all …]
|
/frameworks/base/tools/aapt2/ |
D | Resource.h | 298 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) { 299 return lhs.id < rhs.id; 302 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) { 303 return lhs.id > rhs.id; 306 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) { 307 return lhs.id == rhs.id; 310 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) { 311 return lhs.id != rhs.id; 362 inline bool operator<(const ResourceNamedType& lhs, const ResourceNamedType& rhs) { 363 return lhs.compare(rhs) < 0; [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | ShadowSettings.h | 54 static inline bool operator==(const ShadowSettings& lhs, const ShadowSettings& rhs) { 55 return lhs.boundaries == rhs.boundaries && lhs.ambientColor == rhs.ambientColor && 56 lhs.spotColor == rhs.spotColor && lhs.lightPos == rhs.lightPos && 57 lhs.lightRadius == rhs.lightRadius && lhs.length == rhs.length && 58 lhs.casterIsTranslucent == rhs.casterIsTranslucent; 61 static inline bool operator!=(const ShadowSettings& lhs, const ShadowSettings& rhs) { 62 return !(operator==(lhs, rhs));
|
D | LayerStack.h | 46 inline bool operator==(LayerStack lhs, LayerStack rhs) { 47 return lhs.id == rhs.id; 50 inline bool operator!=(LayerStack lhs, LayerStack rhs) { 51 return !(lhs == rhs); 54 inline bool operator>(LayerStack lhs, LayerStack rhs) { 55 return lhs.id > rhs.id; 58 inline bool operator<(LayerStack lhs, LayerStack rhs) { 59 return lhs.id < rhs.id;
|
/frameworks/native/libs/ui/include_private/ui/ |
D | RegionHelper.h | 66 inline region_operator(uint32_t op, const region& lhs, const region& rhs) in region_operator() argument 67 : op_mask(op), spanner(lhs, rhs) {} in region_operator() 72 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator() 147 region lhs; variable 151 inline Spanner(const region& _lhs, const region& _rhs) : lhs(_lhs), rhs(_rhs) { in Spanner() 152 if (lhs.count) { in Spanner() 153 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; in Spanner() 154 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; in Spanner() 162 inline bool isDone() const { return !rhs.count && !lhs.count; } in isDone() 169 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next() [all …]
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument 54 lhs[i] = rhs[i]; in doAssign() 56 lhs[i] = 0; in doAssign() 57 return lhs; in doAssign() 68 const VLHS<TYPE, SIZE>& lhs, in doAdd() argument 72 r[i] = lhs[i] + rhs[i]; in doAdd() 83 const VLHS<TYPE, SIZE>& lhs, in doSub() argument 87 r[i] = lhs[i] - rhs[i]; in doSub() 97 const VEC<TYPE, SIZE>& lhs, in doMulScalar() argument 101 r[i] = lhs[i] * rhs; in doMulScalar() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | LayerState.cpp | 164 bool operator==(const LayerState& lhs, const LayerState& rhs) { in operator ==() argument 165 return lhs.mId == rhs.mId && lhs.mName == rhs.mName && lhs.mDisplayFrame == rhs.mDisplayFrame && in operator ==() 166 lhs.mSourceCrop == rhs.mSourceCrop && lhs.mBufferTransform == rhs.mBufferTransform && in operator ==() 167 lhs.mBlendMode == rhs.mBlendMode && lhs.mAlpha == rhs.mAlpha && in operator ==() 168 lhs.mLayerMetadata == rhs.mLayerMetadata && lhs.mVisibleRegion == rhs.mVisibleRegion && in operator ==() 169 lhs.mOutputDataspace == rhs.mOutputDataspace && lhs.mPixelFormat == rhs.mPixelFormat && in operator ==() 170 lhs.mColorTransform == rhs.mColorTransform && in operator ==() 171 lhs.mCompositionType == rhs.mCompositionType && in operator ==() 172 lhs.mSidebandStream == rhs.mSidebandStream && lhs.mBuffer == rhs.mBuffer && in operator ==() 173 (lhs.mCompositionType.get() != in operator ==() [all …]
|
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/ |
D | simd_register.h | 43 [[nodiscard]] constexpr bool operator==(SIMD128Register lhs, SIMD128Register rhs); 44 [[nodiscard]] constexpr bool operator!=(SIMD128Register lhs, SIMD128Register rhs); 45 [[nodiscard]] constexpr SIMD128Register operator&(SIMD128Register lhs, SIMD128Register rhs); 46 [[nodiscard]] constexpr SIMD128Register operator|(SIMD128Register lhs, SIMD128Register rhs); 47 [[nodiscard]] constexpr SIMD128Register operator^(SIMD128Register lhs, SIMD128Register rhs); 48 [[nodiscard]] constexpr SIMD128Register operator~(SIMD128Register lhs); 135 friend bool operator==(T lhs, SIMD128Register rhs) { 138 if constexpr (sizeof(decltype(lhs == rhs.template Get<T>())) == sizeof(SIMD128Register)) { 141 return _mm_movemask_epi8(lhs == rhs.template Get<T>()) == 0xffff; 143 return lhs == rhs.Get<T>(); [all …]
|
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/ |
D | binary_search.h | 42 inline constexpr bool StrCmpLess(const char* lhs, const char* rhs) { in StrCmpLess() argument 45 unsigned char lc = *lhs++; in StrCmpLess() 58 return strcmp(lhs, rhs) < 0; in StrCmpLess() 67 constexpr bool operator()(const Type1& lhs, const Type2& rhs) { in operator() 68 return StrCmpLess(lhs.name, rhs.name); in operator() 71 constexpr bool operator()(const Type1& lhs, const char* rhs) { in operator() 72 return StrCmpLess(lhs.name, rhs); in operator() 75 constexpr bool operator()(const char* lhs, const Type1& rhs) { in operator() 76 return StrCmpLess(lhs, rhs.name); in operator()
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.h | 61 inline friend bool operator==(const Locale& lhs, const Locale& rhs) { 62 return lhs.lang == rhs.lang && lhs.region == rhs.region; 68 inline friend bool operator==(const AndroidManifest& lhs, const AndroidManifest& rhs) { 86 inline friend bool operator==(const AndroidSdk& lhs, const AndroidSdk& rhs) { 87 return lhs.min_sdk_version == rhs.min_sdk_version && 88 lhs.target_sdk_version == rhs.target_sdk_version && 89 lhs.max_sdk_version == rhs.max_sdk_version && 90 lhs.manifest == rhs.manifest; 102 inline friend bool operator==(const GlTexture& lhs, const GlTexture& rhs) { 103 return lhs.name == rhs.name && lhs.texture_paths == rhs.texture_paths;
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | DisplayWhiteBalanceTintController.java | 204 private static float[] mul3x3(@NonNull @Size(9) float[] lhs, @NonNull @Size(9) float[] rhs) { in mul3x3() argument 206 r[0] = lhs[0] * rhs[0] + lhs[3] * rhs[1] + lhs[6] * rhs[2]; in mul3x3() 207 r[1] = lhs[1] * rhs[0] + lhs[4] * rhs[1] + lhs[7] * rhs[2]; in mul3x3() 208 r[2] = lhs[2] * rhs[0] + lhs[5] * rhs[1] + lhs[8] * rhs[2]; in mul3x3() 209 r[3] = lhs[0] * rhs[3] + lhs[3] * rhs[4] + lhs[6] * rhs[5]; in mul3x3() 210 r[4] = lhs[1] * rhs[3] + lhs[4] * rhs[4] + lhs[7] * rhs[5]; in mul3x3() 211 r[5] = lhs[2] * rhs[3] + lhs[5] * rhs[4] + lhs[8] * rhs[5]; in mul3x3() 212 r[6] = lhs[0] * rhs[6] + lhs[3] * rhs[7] + lhs[6] * rhs[8]; in mul3x3() 213 r[7] = lhs[1] * rhs[6] + lhs[4] * rhs[7] + lhs[7] * rhs[8]; in mul3x3() 214 r[8] = lhs[2] * rhs[6] + lhs[5] * rhs[7] + lhs[8] * rhs[8]; in mul3x3()
|
/frameworks/native/libs/binder/include/binder/ |
D | PersistableBundle.h | 96 friend bool operator==(const PersistableBundle& lhs, const PersistableBundle& rhs) { 97 return (lhs.mBoolMap == rhs.mBoolMap && lhs.mIntMap == rhs.mIntMap && 98 lhs.mLongMap == rhs.mLongMap && lhs.mDoubleMap == rhs.mDoubleMap && 99 lhs.mStringMap == rhs.mStringMap && lhs.mBoolVectorMap == rhs.mBoolVectorMap && 100 lhs.mIntVectorMap == rhs.mIntVectorMap && 101 lhs.mLongVectorMap == rhs.mLongVectorMap && 102 lhs.mDoubleVectorMap == rhs.mDoubleVectorMap && 103 lhs.mStringVectorMap == rhs.mStringVectorMap && 104 lhs.mPersistableBundleMap == rhs.mPersistableBundleMap); 107 friend bool operator!=(const PersistableBundle& lhs, const PersistableBundle& rhs) { [all …]
|
/frameworks/native/include/binder/ |
D | PersistableBundle.h | 96 friend bool operator==(const PersistableBundle& lhs, const PersistableBundle& rhs) { 97 return (lhs.mBoolMap == rhs.mBoolMap && lhs.mIntMap == rhs.mIntMap && 98 lhs.mLongMap == rhs.mLongMap && lhs.mDoubleMap == rhs.mDoubleMap && 99 lhs.mStringMap == rhs.mStringMap && lhs.mBoolVectorMap == rhs.mBoolVectorMap && 100 lhs.mIntVectorMap == rhs.mIntVectorMap && 101 lhs.mLongVectorMap == rhs.mLongVectorMap && 102 lhs.mDoubleVectorMap == rhs.mDoubleVectorMap && 103 lhs.mStringVectorMap == rhs.mStringVectorMap && 104 lhs.mPersistableBundleMap == rhs.mPersistableBundleMap); 107 friend bool operator!=(const PersistableBundle& lhs, const PersistableBundle& rhs) { [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFE.h | 188 static inline bool operator==(const LayerFE::ClientCompositionTargetSettings& lhs, 190 return lhs.clip.hasSameRects(rhs.clip) && lhs.needsFiltering == rhs.needsFiltering && 191 lhs.isSecure == rhs.isSecure && lhs.isProtected == rhs.isProtected && 192 lhs.viewport == rhs.viewport && lhs.dataspace == rhs.dataspace && 193 lhs.realContentIsVisible == rhs.realContentIsVisible && 194 lhs.clearContent == rhs.clearContent; 197 static inline bool operator==(const LayerFE::LayerSettings& lhs, 199 return static_cast<const renderengine::LayerSettings&>(lhs) == 201 lhs.bufferId == rhs.bufferId && lhs.frameNumber == rhs.frameNumber;
|