Searched defs:other (Results 1 - 25 of 62) sorted by relevance

123

/system/chre/platform/shared/
H A Dplatform_sensor.cc23 PlatformSensor::PlatformSensor(PlatformSensor&& other) { argument
24 *this = std::move(other);
/system/libfmq/include/fmq/
H A DEventFlag.h128 EventFlag& operator=(const EventFlag& other) = delete; member in struct:android::hardware::EventFlag
129 EventFlag(const EventFlag& other) = delete; member in struct:android::hardware::EventFlag
/system/bt/service/common/bluetooth/
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_;
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 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 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 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...]
/system/nvram/messages/include/nvram/messages/
H A Dblob.h41 Blob(const Blob& other) = delete; member in class:nvram::Blob
42 Blob& operator=(const Blob& other) = delete; member in class:nvram::Blob
43 Blob(Blob&& other);
44 Blob& operator=(Blob&& other);
H A Dvector.h51 Vector(const Vector<ElementType>& other) = delete; member in class:nvram::Vector
52 Vector<ElementType>& operator=(const Vector<ElementType>& other) = delete; member in class:nvram::Vector
53 Vector(Vector<ElementType>&& other) : Vector() { argument
54 swap(*this, other);
56 Vector<ElementType>& operator=(Vector<ElementType>&& other) { argument
57 swap(*this, other);
/system/chre/util/include/chre/util/
H A Doptional_impl.h47 Optional<ObjectType>& Optional<ObjectType>::operator=(ObjectType&& other) { argument
48 mObject = std::move(other);
55 Optional<ObjectType>&& other) {
56 mObject = std::move(other.mObject);
57 mHasValue = other.mHasValue;
58 other.mHasValue = false;
63 Optional<ObjectType>& Optional<ObjectType>::operator=(const ObjectType& other) { argument
64 mObject = other;
71 const Optional<ObjectType>& other) {
72 mObject = other
54 operator =( Optional<ObjectType>&& other) argument
70 operator =( const Optional<ObjectType>& other) argument
[all...]
H A Dunique_ptr_impl.h33 UniquePtr<ObjectType>::UniquePtr(UniquePtr<ObjectType>&& other) { argument
34 mObject = other.mObject;
35 other.mObject = nullptr;
81 UniquePtr<ObjectType>&& other) {
83 mObject = other.mObject;
84 other.mObject = nullptr;
80 operator =( UniquePtr<ObjectType>&& other) argument
/system/chre/util/tests/
H A Dunique_ptr_test.cc17 Value& operator=(Value&& other) { argument
18 value = other.value;
/system/core/include/utils/
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/libmemunreachable/
H A DAllocator.h46 Heap(const Heap& other) : impl_(other.impl_), owns_impl_(false) {} argument
68 bool operator ==(const Heap& other) const {
69 return impl_ == other.impl_;
71 bool operator !=(const Heap& other) const {
72 return !(*this == other);
118 STLAllocator(const STLAllocator<U>& other) : // NOLINT, implicit
119 heap_(other.heap_) {
134 bool operator ==(const STLAllocator<U>& other) const {
135 return heap_ == other
[all...]
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/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/core/libutils/include/utils/
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/tests/
H A DVector_test.cpp44 Vector<int> other; local
54 other = vector;
56 EXPECT_EQ(3U, other.size());
63 EXPECT_EQ(3U, other.size());
66 other.add(5);
70 EXPECT_EQ(4U, other.size());
74 EXPECT_EQ(other[3], 5);
/system/libvintf/include/vintf/
H A DMatrixKernel.h32 KernelConfigKey(const std::string &other) : std::string(other) {} argument
33 KernelConfigKey(std::string &&other) : std::string(std::forward<std::string>(other)) {} argument
45 bool operator==(const MatrixKernel &other) const;
/system/nvram/messages/
H A Dblob.cpp34 Blob::Blob(Blob&& other) : Blob() { argument
35 swap(*this, other);
38 Blob& Blob::operator=(Blob&& other) { argument
39 swap(*this, other);
/system/update_engine/update_manager/
H A Dboxed_value.h56 // Creates an empty BoxedValue. Since the pointer can't be assigned from other
73 BoxedValue(BoxedValue&& other) // NOLINT(build/c++11) argument
74 : value_(other.value_), deleter_(other.deleter_),
75 printer_(other.printer_) {
76 other.value_ = nullptr;
77 other.deleter_ = nullptr;
78 other.printer_ = nullptr;
/system/chre/core/
H A Dsensor.cc55 Sensor& Sensor::operator=(Sensor&& other) { argument
56 mSensorRequest = other.mSensorRequest;
57 mPlatformSensor = std::move(other.mPlatformSensor);
/system/chre/platform/linux/
H A Dplatform_sensor.cc64 PlatformSensor& PlatformSensor::operator=(PlatformSensor&& other) { argument
/system/bt/btif/src/
H A Dbtif_ble_advertiser.cc43 OwnedArrayWrapper(OwnedArrayWrapper&& other) { argument
44 ptr_ = other.ptr_;
45 other.ptr_ = NULL;
/system/core/base/include/android-base/
H A Dunique_fd.h24 // Including other headers from libbase frequently results in inclusion of
60 unique_fd_impl(unique_fd_impl&& other) : value_(other.release()) {} argument

Completed in 5968 milliseconds

123