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

1234567

/system/libvintf/
H A DXmlFile.cpp22 bool MatrixXmlFile::operator==(const MatrixXmlFile& other) const {
23 return name() == other.name() && overriddenPath() == other.overriddenPath() &&
24 optional() == other.optional() && format() == other.format() &&
25 versionRange() == other.versionRange();
28 bool ManifestXmlFile::operator==(const ManifestXmlFile& other) const {
29 return name() == other.name() && overriddenPath() == other.overriddenPath() &&
30 version() == other
[all...]
H A DMatrixKernel.cpp22 bool MatrixKernel::operator==(const MatrixKernel &other) const {
23 if (mMinLts != other.mMinLts)
25 if (mConfigs != other.mConfigs)
H A DSystemSdk.cpp24 SystemSdk SystemSdk::removeVersions(const SystemSdk& other) const {
26 std::set_difference(versions().begin(), versions().end(), other.versions().begin(),
27 other.versions().end(), std::inserter(ret.mVersions, ret.mVersions.end()));
31 bool SystemSdk::operator==(const SystemSdk& other) const {
32 return versions() == other.versions();
/system/bt/service/common/bluetooth/
H A Dcharacteristic.cc20 Characteristic::Characteristic(const Characteristic& other) { argument
21 handle_ = other.handle_;
22 uuid_ = other.uuid_;
23 properties_ = other.properties_;
24 permissions_ = other.permissions_;
25 descriptors_ = other.descriptors_;
28 Characteristic& Characteristic::operator=(const Characteristic& other) { argument
29 if (*this == other) return *this;
31 handle_ = other.handle_;
32 uuid_ = other
[all...]
H A Dservice.cc20 Service::Service(const Service& other) { argument
21 handle_ = other.handle_;
22 primary_ = other.primary_;
23 uuid_ = other.uuid_;
24 characteristics_ = other.characteristics_;
25 included_services_ = other.included_services_;
28 Service& Service::operator=(const Service& other) { argument
29 if (*this == other) return *this;
31 handle_ = other.handle_;
32 primary_ = other
[all...]
H A Ddescriptor.cc20 Descriptor::Descriptor(const Descriptor& other) { argument
21 handle_ = other.handle_;
22 uuid_ = other.uuid_;
23 permissions_ = other.permissions_;
26 Descriptor& Descriptor::operator=(const Descriptor& other) { argument
27 if (*this == other) return *this;
29 handle_ = other.handle_;
30 uuid_ = other.uuid_;
31 permissions_ = other.permissions_;
36 bool Descriptor::Equals(const Descriptor& other) cons
[all...]
H A Dscan_filter.cc23 ScanFilter::ScanFilter(const ScanFilter& other) { argument
24 device_name_ = other.device_name_;
25 device_address_ = other.device_address_;
27 if (other.service_uuid_) service_uuid_.reset(new Uuid(*other.service_uuid_));
29 if (other.service_uuid_mask_)
30 service_uuid_mask_.reset(new Uuid(*other.service_uuid_mask_));
33 ScanFilter& ScanFilter::operator=(const ScanFilter& other) { argument
34 device_name_ = other.device_name_;
35 device_address_ = other
[all...]
H A Dadvertise_data.cc30 AdvertiseData::AdvertiseData(const AdvertiseData& other) : data_(other.data_) {} argument
76 AdvertiseData& AdvertiseData::operator=(const AdvertiseData& other) { argument
77 if (this == &other) return *this;
79 data_ = other.data_;
/system/libvintf/include/vintf/
H A DVersion.h38 inline bool operator==(const Version &other) const {
39 return majorVer == other.majorVer && minorVer == other.minorVer;
41 inline bool operator!=(const Version &other) const {
42 return !((*this) == other);
44 inline bool operator<(const Version &other) const {
45 if (majorVer < other.majorVer)
47 if (majorVer > other.majorVer)
49 return minorVer < other.minorVer;
51 inline bool operator>(const Version &other) cons
[all...]
H A DTransportArch.h31 inline bool operator==(const TransportArch& other) const {
32 return transport == other.transport && arch == other.arch;
34 inline bool operator<(const TransportArch& other) const {
35 if (transport < other.transport) return true;
36 if (transport > other.transport) return false;
37 return arch < other.arch;
H A DVersionRange.h42 inline bool operator==(const VersionRange &other) const {
43 return majorVer == other.majorVer
44 && minMinor == other.minMinor
45 && maxMinor == other.maxMinor;
65 inline bool overlaps(const VersionRange& other) const {
66 return majorVer == other.majorVer && minMinor <= other.maxMinor &&
67 other.minMinor <= maxMinor;
/system/core/include/utils/
H A DString8.h83 void setTo(const String8& other);
84 status_t setTo(const char* other);
85 status_t setTo(const char* other, size_t numChars);
86 status_t setTo(const char16_t* other, size_t numChars);
87 status_t setTo(const char32_t* other,
90 status_t append(const String8& other);
91 status_t append(const char* other);
92 status_t append(const char* other, size_t numChars);
105 inline String8& operator=(const String8& other);
106 inline String8& operator=(const char* other);
302 operator =(const String8& other) argument
308 operator =(const char* other) argument
314 operator +=(const String8& other) argument
327 operator +=(const char* other) argument
[all...]
H A DString16.h74 void setTo(const String16& other);
75 status_t setTo(const char16_t* other);
76 status_t setTo(const char16_t* other, size_t len);
77 status_t setTo(const String16& other,
81 status_t append(const String16& other);
82 status_t append(const char16_t* other, size_t len);
84 inline String16& operator=(const String16& other);
86 inline String16& operator+=(const String16& other);
87 inline String16 operator+(const String16& other) const;
108 inline int compare(const String16& other) cons
157 operator =(const String16& other) argument
163 operator +=(const String16& other) argument
[all...]
H A DStrongPointer.h57 sp(T* other); // NOLINT(implicit)
58 sp(const sp<T>& other);
59 sp(sp<T>&& other);
60 template<typename U> sp(U* other); // NOLINT(implicit)
61 template<typename U> sp(const sp<U>& other); // NOLINT(implicit)
62 template<typename U> sp(sp<U>&& other); // NOLINT(implicit)
68 sp& operator = (T* other);
69 sp& operator = (const sp<T>& other);
70 sp& operator = (sp<T>&& other);
72 template<typename U> sp& operator = (const sp<U>& other);
122 sp(const sp<T>& other) argument
129 sp(sp<T>&& other) argument
135 sp(U* other) argument
142 sp(const sp<U>& other) argument
149 sp(sp<U>&& other) argument
161 operator =(const sp<T>& other) argument
173 operator =(sp<T>&& other) argument
183 operator =(T* other) argument
193 operator =(const sp<U>& other) argument
204 operator =(sp<U>&& other) argument
214 operator =(U* other) argument
224 force_set(T* other) argument
[all...]
/system/core/libutils/include/utils/
H A DString8.h83 void setTo(const String8& other);
84 status_t setTo(const char* other);
85 status_t setTo(const char* other, size_t numChars);
86 status_t setTo(const char16_t* other, size_t numChars);
87 status_t setTo(const char32_t* other,
90 status_t append(const String8& other);
91 status_t append(const char* other);
92 status_t append(const char* other, size_t numChars);
105 inline String8& operator=(const String8& other);
106 inline String8& operator=(const char* other);
302 operator =(const String8& other) argument
308 operator =(const char* other) argument
314 operator +=(const String8& other) argument
327 operator +=(const char* other) argument
[all...]
H A DString16.h74 void setTo(const String16& other);
75 status_t setTo(const char16_t* other);
76 status_t setTo(const char16_t* other, size_t len);
77 status_t setTo(const String16& other,
81 status_t append(const String16& other);
82 status_t append(const char16_t* other, size_t len);
84 inline String16& operator=(const String16& other);
86 inline String16& operator+=(const String16& other);
87 inline String16 operator+(const String16& other) const;
108 inline int compare(const String16& other) cons
157 operator =(const String16& other) argument
163 operator +=(const String16& other) argument
[all...]
H A DStrongPointer.h57 sp(T* other); // NOLINT(implicit)
58 sp(const sp<T>& other);
59 sp(sp<T>&& other);
60 template<typename U> sp(U* other); // NOLINT(implicit)
61 template<typename U> sp(const sp<U>& other); // NOLINT(implicit)
62 template<typename U> sp(sp<U>&& other); // NOLINT(implicit)
68 sp& operator = (T* other);
69 sp& operator = (const sp<T>& other);
70 sp& operator = (sp<T>&& other);
72 template<typename U> sp& operator = (const sp<U>& other);
122 sp(const sp<T>& other) argument
129 sp(sp<T>&& other) argument
135 sp(U* other) argument
142 sp(const sp<U>& other) argument
149 sp(sp<U>&& other) argument
161 operator =(const sp<T>& other) argument
173 operator =(sp<T>&& other) argument
183 operator =(T* other) argument
193 operator =(const sp<U>& other) argument
204 operator =(sp<U>&& other) argument
214 operator =(U* other) argument
224 force_set(T* other) argument
[all...]
/system/core/libpixelflinger/codeflinger/tinyutils/
H A Dsmartpointer.h54 sp(T* other); // NOLINT, implicit
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other); // NOLINT, implicit
57 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
63 sp& operator = (T* other);
64 sp& operator = (const sp<T>& other);
66 template<typename U> sp& operator = (const sp<U>& other);
67 template<typename U> sp& operator = (U* other);
97 sp<T>::sp(T* other)
98 : m_ptr(other)
104 sp(const sp<T>& other) argument
111 sp(U* other) argument
117 sp(const sp<U>& other) argument
130 operator =(const sp<T>& other) argument
138 operator =(T* other) argument
147 operator =(const sp<U>& other) argument
156 operator =(U* other) argument
[all...]
/system/chre/apps/wifi_offload/
H A Dscan_record.cc26 bool ScanRecord::operator==(const ScanRecord &other) const {
27 if (this == &other) {
30 return time_spent_scanning_ms_ == other.time_spent_scanning_ms_ &&
31 num_channels_scanned_ == other.num_channels_scanned_ &&
32 num_entries_aggregated_ == other.num_entries_aggregated_;
H A Dscan_stats.cc30 bool ScanStats::operator==(const ScanStats &other) const {
31 if (this == &other) {
35 other.num_scans_requested_by_nanoapp_ &&
37 other.num_scans_serviced_by_hardware_ &&
38 num_scans_serviced_by_cache_ == other.num_scans_serviced_by_cache_ &&
39 updated_at_chre_ms_ == other.updated_at_chre_ms_ &&
40 sent_at_chre_ms_ == other.sent_at_chre_ms_ &&
42 other.last_subscription_duration_ms_ &&
43 channel_histogram_ == other.channel_histogram_ &&
44 scan_records_ == other
[all...]
/system/core/libmemunreachable/
H A DScopedPipe.h36 ScopedPipe(ScopedPipe&& other) { argument
37 SetReceiver(other.ReleaseReceiver());
38 SetSender(other.ReleaseSender());
41 ScopedPipe& operator=(ScopedPipe&& other) { argument
42 SetReceiver(other.ReleaseReceiver());
43 SetSender(other.ReleaseSender());
/system/netd/libnetdutils/include/netdutils/
H A DFd.h37 bool operator==(const Fd& other) const { return get() == other.get(); }
38 bool operator!=(const Fd& other) const { return get() != other.get(); }
/system/security/keystore/include/keystore/
H A Dutils.h35 SharedNullableIterator(const SharedNullableIterator& other) argument
36 : coll_(other.coll_), cur_(other.cur_) {}
37 SharedNullableIterator(SharedNullableIterator&& other) argument
38 : coll_(std::move(other.coll_)), cur_(std::move(other.cur_)) {}
53 bool operator==(const SharedNullableIterator& other) const {
54 return cur_ == other.cur_ || (is_end() && other.is_end());
56 bool operator!=(const SharedNullableIterator& other) cons
[all...]
/system/chre/core/include/chre/core/
H A Dsensor.h47 Sensor(Sensor&& other) = default; member in class:chre::Sensor
48 Sensor& operator=(Sensor&& other) = default; member in class:chre::Sensor
/system/libhidl/base/
H A DHidlSupport.cpp53 hidl_handle::hidl_handle(const hidl_handle &other) { argument
55 *this = other;
59 hidl_handle::hidl_handle(hidl_handle &&other) { argument
61 *this = std::move(other);
65 hidl_handle &hidl_handle::operator=(const hidl_handle &other) { argument
66 if (this == &other) {
70 if (other.mHandle != nullptr) {
71 mHandle = native_handle_clone(other.mHandle);
90 hidl_handle &hidl_handle::operator=(hidl_handle &&other) { argument
91 if (this != &other) {
162 hidl_string(const hidl_string &other) argument
170 hidl_string(hidl_string &&other) argument
174 operator =(hidl_string &&other) argument
182 operator =(const hidl_string &other) argument
232 moveFrom(hidl_string &&other) argument
[all...]

Completed in 272 milliseconds

1234567