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

/system/bt/service/common/bluetooth/
H A Dadvertise_data.cpp37 AdvertiseData::AdvertiseData(const AdvertiseData& other) argument
38 : data_(other.data_),
39 include_device_name_(other.include_device_name_),
40 include_tx_power_level_(other.include_tx_power_level_) {
98 AdvertiseData& AdvertiseData::operator=(const AdvertiseData& other) { argument
99 if (this == &other)
102 data_ = other.data_;
103 include_device_name_ = other.include_device_name_;
104 include_tx_power_level_ = other.include_tx_power_level_;
H A Dscan_filter.cpp23 ScanFilter::ScanFilter(const ScanFilter& other) { argument
24 device_name_ = other.device_name_;
25 device_address_ = other.device_address_;
27 if (other.service_uuid_)
28 service_uuid_.reset(new UUID(*other.service_uuid_));
30 if (other.service_uuid_mask_)
31 service_uuid_mask_.reset(new UUID(*other.service_uuid_mask_));
34 ScanFilter& ScanFilter::operator=(const ScanFilter& other) { argument
35 device_name_ = other.device_name_;
36 device_address_ = other
[all...]
H A Dgatt_identifier.cpp86 GattIdentifier::GattIdentifier(const GattIdentifier& other) { argument
87 device_address_ = other.device_address_;
88 is_primary_ = other.is_primary_;
89 service_uuid_ = other.service_uuid_;
90 char_uuid_ = other.char_uuid_;
91 desc_uuid_ = other.desc_uuid_;
92 service_instance_id_ = other.service_instance_id_;
93 service_instance_id_ = other.service_instance_id_;
94 char_instance_id_ = other.char_instance_id_;
95 desc_instance_id_ = other
117 operator =(const GattIdentifier& other) argument
[all...]
/system/core/include/utils/
H A DStrongPointer.h63 sp(T* other);
64 sp(const sp<T>& other);
65 sp(sp<T>&& other);
66 template<typename U> sp(U* other);
67 template<typename U> sp(const sp<U>& other);
68 template<typename U> sp(sp<U>&& other);
74 sp& operator = (T* other);
75 sp& operator = (const sp<T>& other);
76 sp& operator = (sp<T>&& other);
78 template<typename U> sp& operator = (const sp<U>& other);
124 sp(const sp<T>& other) argument
131 sp(sp<T>&& other) argument
137 sp(U* other) argument
144 sp(const sp<U>& other) argument
151 sp(sp<U>&& other) argument
163 operator =(const sp<T>& other) argument
174 operator =(sp<T>&& other) argument
183 operator =(T* other) argument
193 operator =(const sp<U>& other) argument
204 operator =(sp<U>&& other) argument
213 operator =(U* other) argument
223 force_set(T* other) argument
[all...]
H A DString16.h69 void setTo(const String16& other);
70 status_t setTo(const char16_t* other);
71 status_t setTo(const char16_t* other, size_t len);
72 status_t setTo(const String16& other,
76 status_t append(const String16& other);
77 status_t append(const char16_t* other, size_t len);
79 inline String16& operator=(const String16& other);
81 inline String16& operator+=(const String16& other);
82 inline String16 operator+(const String16& other) const;
103 inline int compare(const String16& other) cons
147 operator =(const String16& other) argument
153 operator +=(const String16& other) argument
[all...]
H A DBitSet.h132 inline bool operator== (const BitSet32& other) const { return value == other.value; }
133 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
134 inline BitSet32 operator& (const BitSet32& other) const {
135 return BitSet32(value & other.value);
137 inline BitSet32& operator&= (const BitSet32& other) { argument
138 value &= other.value;
141 inline BitSet32 operator| (const BitSet32& other) const {
142 return BitSet32(value | other
144 operator |=(const BitSet32& other) argument
277 operator &=(const BitSet64& other) argument
284 operator |=(const BitSet64& other) argument
[all...]
H A DString8.h74 void setTo(const String8& other);
75 status_t setTo(const char* other);
76 status_t setTo(const char* other, size_t numChars);
77 status_t setTo(const char16_t* other, size_t numChars);
78 status_t setTo(const char32_t* other,
81 status_t append(const String8& other);
82 status_t append(const char* other);
83 status_t append(const char* other, size_t numChars);
96 inline String8& operator=(const String8& other);
97 inline String8& operator=(const char* other);
284 operator =(const String8& other) argument
290 operator =(const char* other) argument
296 operator +=(const String8& other) argument
309 operator +=(const char* 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) :
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);
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other);
57 template<typename U> sp(const sp<U>& other);
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/tests/
H A DVector_test.cpp43 Vector<int> other; local
53 other = vector;
55 EXPECT_EQ(3U, other.size());
62 EXPECT_EQ(3U, other.size());
65 other.add(5);
69 EXPECT_EQ(4U, other.size());
73 EXPECT_EQ(other[3], 5);
H A DLruCache_test.cpp35 ComplexKey(const ComplexKey& other) : k(other.k) { argument
43 bool operator ==(const ComplexKey& other) const {
44 return k == other.k;
47 bool operator !=(const ComplexKey& other) const {
48 return k != other.k;
63 ComplexValue(const ComplexValue& other) : v(other.v) { argument
78 bool operator ==(const KeyWithPointer& other) const {
79 return *ptr == *other
[all...]
/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;
H A Dgeneric_variables_unittest.cc77 CopyConstructorTestClass(const CopyConstructorTestClass& other) argument
78 : copied_(true), val_(other.val_ * 2) {}
/system/netd/server/
H A DUidRanges.cpp65 // Not a single uid, not a range. Found some other illegal char.
87 void UidRanges::add(const UidRanges& other) { argument
88 auto middle = mRanges.insert(mRanges.end(), other.mRanges.begin(), other.mRanges.end());
92 void UidRanges::remove(const UidRanges& other) { argument
93 auto end = std::set_difference(mRanges.begin(), mRanges.end(), other.mRanges.begin(),
94 other.mRanges.end(), mRanges.begin());
H A DBandwidthController.h56 bool addStatsIfMatch(const TetherStats& other) { argument
57 if (intIface == other.intIface && extIface == other.extIface) {
58 rxBytes += other.rxBytes;
59 rxPackets += other.rxPackets;
60 txBytes += other.txBytes;
61 txPackets += other.txPackets;
/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
/system/core/libutils/
H A DFileMap.cpp57 FileMap::FileMap(FileMap&& other) argument
58 : mFileName(other.mFileName), mBasePtr(other.mBasePtr), mBaseLength(other.mBaseLength),
59 mDataOffset(other.mDataOffset), mDataPtr(other.mDataPtr), mDataLength(other.mDataLength)
61 , mFileHandle(other.mFileHandle), mFileMapping(other.mFileMapping)
64 other
74 operator =(FileMap&& other) argument
[all...]
H A DString16.cpp174 void String16::setTo(const String16& other) argument
176 SharedBuffer::bufferFromData(other.mString)->acquire();
178 mString = other.mString;
181 status_t String16::setTo(const String16& other, size_t len, size_t begin) argument
183 const size_t N = other.size();
191 setTo(other);
195 if (&other == this) {
199 return setTo(other.string()+begin, len);
202 status_t String16::setTo(const char16_t* other) argument
204 return setTo(other, strlen1
207 setTo(const char16_t* other, size_t len) argument
221 append(const String16& other) argument
[all...]
H A DString8.cpp247 void String8::setTo(const String8& other) argument
249 SharedBuffer::bufferFromData(other.mString)->acquire();
251 mString = other.mString;
254 status_t String8::setTo(const char* other) argument
256 const char *newString = allocFromUTF8(other, strlen(other));
265 status_t String8::setTo(const char* other, size_t len) argument
267 const char *newString = allocFromUTF8(other, len);
276 status_t String8::setTo(const char16_t* other, size_t len) argument
278 const char *newString = allocFromUTF16(other, le
287 setTo(const char32_t* other, size_t len) argument
298 append(const String8& other) argument
311 append(const char* other) argument
316 append(const char* other, size_t otherLen) argument
363 real_append(const char* other, size_t otherLen) argument
414 find(const char* other, size_t start) const argument
425 removeAll(const char* other) argument
[all...]
/system/extras/simpleperf/
H A Dutils.h64 FileHelper(FileHelper&& other) { argument
65 fd_ = other.fd_;
66 other.fd_ = -1;
/system/connectivity/shill/net/
H A Dnetlink_manager_unittest.cc288 TimeFunctor(const TimeFunctor& other) { argument
289 return_value_.tv_sec = other.return_value_.tv_sec;
290 return_value_.tv_usec = other.return_value_.tv_usec;
555 // handler that does not remove other callbacks after execution.
587 // but remove other callbacks after executing the Ack handler.
/system/core/fastboot/
H A Dfastboot.cpp12 * the documentation and/or other materials provided with the
396 " 'other' can be given to refer to a\n"
408 " will preserve data on other slots.\n"
916 // Given a current slot, this returns what the 'other' slot is.
956 if (slot == "other") {
957 std::string other = get_other_slot(transport, count); local
958 if (other == "") {
961 return other;
/system/core/libpixelflinger/
H A Dtrap.cpp779 Edge* other = &edges[2]; local
787 other = &edges[0];
790 other = &edges[1];
803 ((left->y_bot == y_bot) ? right : left) = other;
804 if (other->y_top < y_mid) {
805 other->x += other->x_incr;

Completed in 801 milliseconds