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

123456

/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 DMatrixHal.cpp22 bool MatrixHal::operator==(const MatrixHal &other) const {
23 if (format != other.format)
25 if (name != other.name)
27 if (versionRanges != other.versionRanges)
29 if (interfaces != other.interfaces)
H A DMatrixKernel.cpp22 bool MatrixKernel::operator==(const MatrixKernel &other) const {
23 if (mMinLts != other.mMinLts)
25 if (mConfigs != other.mConfigs)
H A DManifestHal.cpp34 bool ManifestHal::operator==(const ManifestHal &other) const {
35 if (format != other.format)
37 if (name != other.name)
39 if (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.cc21 ScanFilter::ScanFilter(const ScanFilter& other) { argument
22 device_name_ = other.device_name_;
23 device_address_ = other.device_address_;
25 if (other.service_uuid_) service_uuid_.reset(new UUID(*other.service_uuid_));
27 if (other.service_uuid_mask_)
28 service_uuid_mask_.reset(new UUID(*other.service_uuid_mask_));
31 ScanFilter& ScanFilter::operator=(const ScanFilter& other) { argument
32 device_name_ = other.device_name_;
33 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.h36 inline bool operator==(const Version &other) const {
37 return majorVer == other.majorVer && minorVer == other.minorVer;
39 inline bool operator!=(const Version &other) const {
40 return !((*this) == other);
42 inline bool operator<(const Version &other) const {
43 if (majorVer < other.majorVer)
45 if (majorVer > other.majorVer)
47 return minorVer < other.minorVer;
49 inline bool operator>(const Version &other) cons
[all...]
/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.h75 void setTo(const String16& other);
76 status_t setTo(const char16_t* other);
77 status_t setTo(const char16_t* other, size_t len);
78 status_t setTo(const String16& other,
82 status_t append(const String16& other);
83 status_t append(const char16_t* other, size_t len);
85 inline String16& operator=(const String16& other);
87 inline String16& operator+=(const String16& other);
88 inline String16 operator+(const String16& other) const;
109 inline int compare(const String16& other) cons
158 operator =(const String16& other) argument
164 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);
121 sp(const sp<T>& other) argument
128 sp(sp<T>&& other) argument
134 sp(U* other) argument
141 sp(const sp<U>& other) argument
148 sp(sp<U>&& other) argument
160 operator =(const sp<T>& other) argument
172 operator =(sp<T>&& other) argument
182 operator =(T* other) argument
192 operator =(const sp<U>& other) argument
203 operator =(sp<U>&& other) argument
213 operator =(U* other) argument
223 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.h75 void setTo(const String16& other);
76 status_t setTo(const char16_t* other);
77 status_t setTo(const char16_t* other, size_t len);
78 status_t setTo(const String16& other,
82 status_t append(const String16& other);
83 status_t append(const char16_t* other, size_t len);
85 inline String16& operator=(const String16& other);
87 inline String16& operator+=(const String16& other);
88 inline String16 operator+(const String16& other) const;
109 inline int compare(const String16& other) cons
158 operator =(const String16& other) argument
164 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);
121 sp(const sp<T>& other) argument
128 sp(sp<T>&& other) argument
134 sp(U* other) argument
141 sp(const sp<U>& other) argument
148 sp(sp<U>&& other) argument
160 operator =(const sp<T>& other) argument
172 operator =(sp<T>&& other) argument
182 operator =(T* other) argument
192 operator =(const sp<U>& other) argument
203 operator =(sp<U>&& other) argument
213 operator =(U* other) argument
223 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...]
/system/chre/util/include/chre/util/
H A Doptional_impl.h63 Optional<ObjectType>& Optional<ObjectType>::operator=(ObjectType&& other) { argument
65 object() = std::move(other);
67 new (objectAddr()) ObjectType(std::move(other));
76 Optional<ObjectType>&& other) {
78 if (other.mHasValue) {
79 object() = std::move(other.object());
83 } else if (other.mHasValue) {
84 new (objectAddr()) ObjectType(std::move(other.object()));
87 mHasValue = other.mHasValue;
92 Optional<ObjectType>& Optional<ObjectType>::operator=(const ObjectType& other) { argument
75 operator =( Optional<ObjectType>&& other) argument
104 operator =( const Optional<ObjectType>& other) argument
[all...]

Completed in 842 milliseconds

123456