/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
H A D | Utils.cpp | 21 bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument 22 if (lhs.size() < rhs.size()) { 24 } else if (lhs.size() > rhs.size()) { 27 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { argument 37 Color.colorToHSV(rhs, hsv2);
|
/frameworks/base/tools/split-select/ |
H A D | TestRules.h | 32 AndRule& add(const Rule& rhs) { argument 33 subrules.add(new Rule(rhs)); 43 OrRule& add(const Rule& rhs) { argument 44 subrules.add(new Rule(rhs));
|
H A D | Rule.cpp | 32 Rule::Rule(const Rule& rhs) argument 34 , op(rhs.op) 35 , key(rhs.key) 36 , negate(rhs.negate) 37 , stringArgs(rhs.stringArgs) 38 , longArgs(rhs.longArgs) 39 , subrules(rhs.subrules) {
|
/frameworks/base/tools/aapt2/ |
H A D | Source.h | 63 inline bool operator==(const Source& lhs, const Source& rhs) { argument 64 return lhs.path == rhs.path && lhs.line == rhs.line; 67 inline bool operator<(const Source& lhs, const Source& rhs) { argument 68 int cmp = lhs.path.compare(rhs.path); 72 if (rhs.line) { 73 return lhs.line.value() < rhs.line.value(); 77 return bool(rhs.line);
|
/frameworks/base/tools/aapt2/configuration/ |
H A D | ConfigurationParser_test.cpp | 38 bool operator==(const ConfiguredArtifact& lhs, const ConfiguredArtifact& rhs) { argument 39 return lhs.name == rhs.name && lhs.abi_group == rhs.abi_group && 40 lhs.screen_density_group == rhs.screen_density_group && 41 lhs.locale_group == rhs.locale_group && lhs.android_sdk == rhs.android_sdk && 42 lhs.device_feature_group == rhs.device_feature_group && 43 lhs.gl_texture_group == rhs.gl_texture_group;
|
/frameworks/base/tools/aapt2/jni/ |
H A D | ScopedUtfChars.h | 35 ScopedUtfChars(ScopedUtfChars&& rhs) : argument 36 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { 37 rhs.env_ = nullptr; 38 rhs.string_ = nullptr; 39 rhs.utf_chars_ = nullptr; 48 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) { argument 49 if (this != &rhs) { 53 // Move the rhs ScopedUtfChar [all...] |
/frameworks/base/tools/aapt2/util/ |
H A D | Maybe_test.cpp | 33 Dummy(const Dummy& rhs) { argument 35 if (rhs.data) { 37 *data = *rhs.data; 40 << (const void*)&rhs << "}" << std::endl; 43 Dummy(Dummy&& rhs) { argument 44 data = rhs.data; 45 rhs.data = nullptr; 47 << (const void*)&rhs << "}" << std::endl; 50 Dummy& operator=(const Dummy& rhs) { argument 54 if (rhs 63 operator =(Dummy&& rhs) argument [all...] |
/frameworks/native/include/binder/ |
H A D | Value.h | 73 bool operator==(const Value& rhs) const; 74 bool operator!=(const Value& rhs) const { return !this->operator==(rhs); } 92 Value& operator=(const Value& rhs); 93 Value& operator=(const int8_t& rhs); 94 Value& operator=(const bool& rhs); 95 Value& operator=(const int32_t& rhs); 96 Value& operator=(const int64_t& rhs); 97 Value& operator=(const double& rhs); 98 Value& operator=(const String16& rhs); 160 operator =(const String8& rhs) argument 161 operator =(const ::std::string& rhs) argument [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | Value.h | 73 bool operator==(const Value& rhs) const; 74 bool operator!=(const Value& rhs) const { return !this->operator==(rhs); } 92 Value& operator=(const Value& rhs); 93 Value& operator=(const int8_t& rhs); 94 Value& operator=(const bool& rhs); 95 Value& operator=(const int32_t& rhs); 96 Value& operator=(const int64_t& rhs); 97 Value& operator=(const double& rhs); 98 Value& operator=(const String16& rhs); 160 operator =(const String8& rhs) argument 161 operator =(const ::std::string& rhs) argument [all...] |
/frameworks/native/libs/ui/tests/ |
H A D | Region_test.cpp | 28 void checkVertTJunction(const Rect* lhs, const Rect* rhs) { argument 29 EXPECT_FALSE((rhs->right > lhs->left && rhs->right < lhs->right) || 30 (rhs->left > lhs->left && rhs->left < lhs->right));
|
/frameworks/opt/net/lowpan/libandroid_net_lowpan/ |
H A D | LowpanChannelInfo.cpp | 81 bool LowpanChannelInfo::operator==(const LowpanChannelInfo& rhs) argument 83 if (mIndex != rhs.mIndex) { 87 if (mName != rhs.mName) { 91 if (mSpectrumCenterFrequency != rhs.mSpectrumCenterFrequency) { 95 if (mSpectrumBandwidth != rhs.mSpectrumBandwidth) { 99 if (mMaxTxPower != rhs.mMaxTxPower) { 103 if (mIsMaskedByRegulatoryDomain != rhs.mIsMaskedByRegulatoryDomain) {
|
H A D | LowpanProvision.cpp | 100 bool LowpanProvision::operator==(const LowpanProvision& rhs) argument 102 if (mIdentity != rhs.mIdentity) { 106 if (mHasCredential != rhs.mHasCredential) { 110 if (mHasCredential && mCredential != rhs.mCredential) {
|
/frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/ |
H A D | LowpanChannelInfo.h | 40 bool operator==(const LowpanChannelInfo& rhs); 41 bool operator!=(const LowpanChannelInfo& rhs) { return !(*this == rhs); } argument
|
H A D | LowpanCredential.h | 52 bool operator==(const LowpanCredential& rhs); 53 bool operator!=(const LowpanCredential& rhs) { return !(*this == rhs); } argument
|
H A D | LowpanProvision.h | 42 bool operator==(const LowpanProvision& rhs); 43 bool operator!=(const LowpanProvision& rhs) { return !(*this == rhs); } argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
H A D | ChannelSettings.java | 40 public boolean equals(Object rhs) { argument 41 if (this == rhs) return true; 42 if (!(rhs instanceof ChannelSettings)) { 45 ChannelSettings channel = (ChannelSettings) rhs;
|
H A D | HiddenNetwork.java | 39 public boolean equals(Object rhs) { argument 40 if (this == rhs) return true; 41 if (!(rhs instanceof HiddenNetwork)) { 44 HiddenNetwork network = (HiddenNetwork) rhs;
|
H A D | PnoNetwork.java | 39 public boolean equals(Object rhs) { argument 40 if (this == rhs) return true; 41 if (!(rhs instanceof PnoNetwork)) { 44 PnoNetwork network = (PnoNetwork) rhs;
|
/frameworks/rs/ |
H A D | rsMatrix2x2.cpp | 43 void Matrix2x2::loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { argument 51 const float rhs_ij = ((const Matrix2x2 *)rhs)->get(i, j);
|
H A D | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs); 44 void multiply(const rs_matrix2x2 *rhs) { argument 45 loadMultiply(this, rhs);
|
H A D | rsMatrix3x3.cpp | 48 void Matrix3x3::loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 57 const float rhs_ij = ((const Matrix3x3 *)rhs)->get(i, j);
|
H A D | rsMatrix3x3.h | 40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs); 44 void multiply(const rs_matrix3x3 *rhs) { argument 45 loadMultiply(this, rhs);
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | TypeWrappers.h | 30 iterator& operator=(const iterator& rhs) { argument 31 mTypeVariant = rhs.mTypeVariant; 32 mIndex = rhs.mIndex; 36 bool operator==(const iterator& rhs) const { 37 return mTypeVariant == rhs.mTypeVariant && mIndex == rhs.mIndex; 40 bool operator!=(const iterator& rhs) const { 41 return mTypeVariant != rhs.mTypeVariant || mIndex != rhs.mIndex;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraUtils.java | 75 public int compare(Camera.Size lhs, Camera.Size rhs) { argument 76 return compareSizes(lhs.width, lhs.height, rhs.width, rhs.height);
|