Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/system/core/libmemunreachable/
DLinkedList.h23 LinkedList() : next_(this), prev_(this), data_() {} in LinkedList()
30 node.next_ = this->next_; in insert()
32 this->next_ = &node; in insert()
33 node.prev_ = this; in insert()
36 this->next_->prev_ = this->prev_; in remove()
37 this->prev_->next_ = this->next_; in remove()
38 this->next_ = this; in remove()
39 this->prev_ = this; in remove()
42 bool empty() { return next_ == this && prev_ == this; } in empty()
/system/core/libpixelflinger/codeflinger/tinyutils/
Dsmartpointer.h100 if (other) other->incStrong(this); in sp()
107 if (m_ptr) m_ptr->incStrong(this); in sp()
113 if (other) other->incStrong(this); in sp()
120 if (m_ptr) m_ptr->incStrong(this); in sp()
126 if (m_ptr) m_ptr->decStrong(this); in ~sp()
131 if (other.m_ptr) other.m_ptr->incStrong(this);
132 if (m_ptr) m_ptr->decStrong(this);
134 return *this;
140 if (other) other->incStrong(this);
141 if (m_ptr) m_ptr->decStrong(this);
[all …]
/system/update_engine/
Dmock_omaha_request_params.h35 ON_CALL(*this, to_more_stable_channel()) in MockOmahaRequestParams()
37 this, &MockOmahaRequestParams::fake_to_more_stable_channel)); in MockOmahaRequestParams()
38 ON_CALL(*this, GetAppId()) in MockOmahaRequestParams()
40 this, &MockOmahaRequestParams::FakeGetAppId)); in MockOmahaRequestParams()
41 ON_CALL(*this, SetTargetChannel(testing::_, testing::_, testing::_)) in MockOmahaRequestParams()
43 this, &MockOmahaRequestParams::FakeSetTargetChannel)); in MockOmahaRequestParams()
44 ON_CALL(*this, UpdateDownloadChannel()) in MockOmahaRequestParams()
46 this, &MockOmahaRequestParams::FakeUpdateDownloadChannel)); in MockOmahaRequestParams()
47 ON_CALL(*this, is_powerwash_allowed()) in MockOmahaRequestParams()
49 this, &MockOmahaRequestParams::fake_is_powerwash_allowed)); in MockOmahaRequestParams()
Dmock_p2p_manager.h33 ON_CALL(*this, SetDevicePolicy(testing::_)) in MockP2PManager()
36 ON_CALL(*this, IsP2PEnabled()) in MockP2PManager()
39 ON_CALL(*this, EnsureP2PRunning()) in MockP2PManager()
42 ON_CALL(*this, EnsureP2PNotRunning()) in MockP2PManager()
45 ON_CALL(*this, PerformHousekeeping()) in MockP2PManager()
48 ON_CALL(*this, LookupUrlForFile(testing::_, testing::_, testing::_, in MockP2PManager()
52 ON_CALL(*this, FileShare(testing::_, testing::_)) in MockP2PManager()
55 ON_CALL(*this, FileGetPath(testing::_)) in MockP2PManager()
58 ON_CALL(*this, FileGetSize(testing::_)) in MockP2PManager()
61 ON_CALL(*this, FileGetExpectedSize(testing::_)) in MockP2PManager()
[all …]
/system/update_engine/common/
Dmock_hardware.h33 ON_CALL(*this, IsOfficialBuild()) in MockHardware()
36 ON_CALL(*this, IsNormalBootMode()) in MockHardware()
39 ON_CALL(*this, AreDevFeaturesEnabled()) in MockHardware()
42 ON_CALL(*this, IsOOBEEnabled()) in MockHardware()
45 ON_CALL(*this, IsOOBEComplete(testing::_)) in MockHardware()
48 ON_CALL(*this, GetHardwareClass()) in MockHardware()
51 ON_CALL(*this, GetFirmwareVersion()) in MockHardware()
54 ON_CALL(*this, GetECVersion()) in MockHardware()
57 ON_CALL(*this, GetPowerwashCount()) in MockHardware()
60 ON_CALL(*this, GetNonVolatileDirectory(testing::_)) in MockHardware()
[all …]
Dtest_utils.h223 CHECK(this->processor_); in PerformAction()
224 if (this->HasOutputPipe()) { in PerformAction()
225 this->SetOutputObject(out_obj_); in PerformAction()
227 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
257 ASSERT_TRUE(this->processor_); in PerformAction()
258 if (this->HasInputObject()) { in PerformAction()
259 object_ = this->GetInputObject(); in PerformAction()
261 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
/system/core/libutils/include/utils/
DStrongPointer.h117 other->incStrong(this); in sp()
124 m_ptr->incStrong(this); in sp()
137 (static_cast<T*>(other))->incStrong(this); in sp()
144 m_ptr->incStrong(this); in sp()
156 m_ptr->decStrong(this); in ~sp()
164 if (otherPtr) otherPtr->incStrong(this);
165 if (oldPtr) oldPtr->decStrong(this);
168 return *this;
174 if (oldPtr) oldPtr->decStrong(this);
178 return *this;
[all …]
DRefBase.h453 if (other) m_refs = other->createWeak(this); in wp()
460 if (m_ptr) m_refs->incWeak(this); in wp()
468 m_refs = m_ptr->createWeak(this); in wp()
476 if (other) m_refs = other->createWeak(this); in wp()
485 m_refs->incWeak(this); in wp()
494 m_refs = m_ptr->createWeak(this); in wp()
501 if (m_ptr) m_refs->decWeak(this); in ~wp()
508 other ? other->createWeak(this) : 0;
509 if (m_ptr) m_refs->decWeak(this);
512 return *this;
[all …]
DFlattenable.h117 return static_cast<T const*>(this)->T::getFlattenedSize(); in getFlattenedSize()
121 return static_cast<T const*>(this)->T::getFdCount(); in getFdCount()
126 return static_cast<T const*>(this)->T::flatten(buffer, size, fds, count); in flatten()
131 return static_cast<T*>(this)->T::unflatten(buffer, size, fds, count); in unflatten()
159 return static_cast<T const*>(this)->T::isFixedSize(); in isFixedSize()
163 return static_cast<T const*>(this)->T::getFlattenedSize(); in getFlattenedSize()
167 return static_cast<T const*>(this)->T::flatten(buffer, size); in flatten()
171 return static_cast<T*>(this)->T::unflatten(buffer, size); in unflatten()
192 memcpy(buffer, static_cast<T const*>(this), sizeof(T)); in flatten()
196 memcpy(static_cast<T*>(this), buffer, sizeof(T)); in unflatten()
/system/core/libunwindstack/
DElfInterfaceArm.h38 iterator& operator++() { index_++; return *this; }
39 iterator& operator++(int increment) { index_ += increment; return *this; }
40 iterator& operator--() { index_--; return *this; }
41 iterator& operator--(int decrement) { index_ -= decrement; return *this; }
43 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; }
44 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; }
62 iterator begin() { return iterator(this, 0); } in begin()
63 iterator end() { return iterator(this, total_entries_); } in end()
/system/tools/hidl/test/errors/syntax/1.0/
DIEx1.hal5 * you may not use this file except in compliance with the License.
20 // bad; // can't recover from this yet
24 // bad; // can't recover from this yet
37 // 3 bad 33, // can't recover from this yet
39 // foo = NonExistentEnum, // can't recover from this yet
41 // good-day obj, // can't recover from this yet
45 // eat struct // can't recover from this yet
84 // union bad; // can't recover from this yet
85 // enum bad; // can't recover from this yet
92 // bad, // can't recover from this yet
/system/core/liblog/include_vndk/log/
Dlog_time.h81 return !(*this == T);
89 return !(*this < T);
97 return !(*this > T);
103 log_time local(*this);
108 log_time local(*this);
118 return !(*this == T);
125 return !(*this < T);
132 return !(*this > T);
138 log_time local(*this);
143 log_time local(*this);
/system/core/liblog/include/log/
Dlog_time.h81 return !(*this == T);
89 return !(*this < T);
97 return !(*this > T);
103 log_time local(*this);
108 log_time local(*this);
118 return !(*this == T);
125 return !(*this < T);
132 return !(*this > T);
138 log_time local(*this);
143 log_time local(*this);
Dlog_event_list.h169 return *this;
175 return *this;
181 return *this;
187 return *this;
193 return *this;
201 return *this;
208 return *this;
279 *this << value; in Append()
/system/connectivity/wifilogd/
Dprotocol.h56 return *this; in set_opcode()
61 return *this; in set_payload_len()
78 return *this; in set_data_len()
83 return *this; in set_tag_len()
88 return *this; in set_severity()
/system/security/keystore/include/keystore/
Dkeystore_return_types.h51 return *this;
55 return *this;
59 return *this;
79 inline bool operator!=(const ResponseCode& rhs) const { return !(*this == rhs); }
80 inline bool operator!=(const ErrorCode& rhs) const { return !(*this == rhs); }
123 return *this;
127 return *this;
131 return *this;
153 inline bool operator!=(const ResponseCode& rhs) const { return !(*this == rhs); }
154 inline bool operator!=(const ErrorCode& rhs) const { return !(*this == rhs); }
Dutils.h42 return *this;
45 SharedNullableIterator retval(*this);
46 ++(*this);
56 bool operator!=(const SharedNullableIterator& other) const { return !(*this == other); }
/system/libvintf/test/
Dutils-fake.h34 ON_CALL(*this, fetch(_, _)).WillByDefault(Invoke(&real_, &FileFetcher::fetch)); in MockFileFetcher()
46 ON_CALL(*this, mountSystem()).WillByDefault(Invoke([&] { in MockPartitionMounter()
50 ON_CALL(*this, umountSystem()).WillByDefault(Invoke([&] { in MockPartitionMounter()
54 ON_CALL(*this, mountVendor()).WillByDefault(Invoke([&] { in MockPartitionMounter()
58 ON_CALL(*this, umountVendor()).WillByDefault(Invoke([&] { in MockPartitionMounter()
/system/libvintf/include/vintf/
DVersion.h40 return !((*this) == other);
50 return other < (*this);
53 return !((*this) > other);
56 return !((*this) < other);
76 return !((*this) == other);
/system/libhidl/base/include/hidl/
DHidlSupport.h223 *this = other; in hidl_memory()
228 if (this != &other) {
234 return *this;
239 *this = std::move(other); in hidl_memory()
244 if (this != &other) {
251 return *this;
293 *this = other; in hidl_vec()
298 *this = std::move(other); in hidl_vec()
316 *this = other; in hidl_vec()
365 return *this;
[all …]
/system/update_engine/update_manager/
Dmock_policy.h35 ON_CALL(*this, UpdateCheckAllowed(testing::_, testing::_, testing::_, in MockPolicy()
39 ON_CALL(*this, UpdateCanStart(testing::_, testing::_, testing::_, in MockPolicy()
43 ON_CALL(*this, UpdateDownloadAllowed(testing::_, testing::_, testing::_, in MockPolicy()
47 ON_CALL(*this, P2PEnabled(testing::_, testing::_, testing::_, testing::_)) in MockPolicy()
50 ON_CALL(*this, P2PEnabledChanged(testing::_, testing::_, testing::_, in MockPolicy()
/system/bt/service/doc/
DIBluetoothGattServerCallback.txt5 * you may not use this file except in compliance with the License.
34 * been published and is discoverable. In this case handles of added service,
43 * the remote device wants to read from. If |is_long| is true, then this
45 * this request by calling IBluetoothGattServer.sendResponse with the given
49 * GATT_ERROR_INVALID_OFFSET. If |is_long| is true but this characteristic is
61 * the remote device wants to read from. If |is_long| is true, then this
63 * this request by calling IBluetoothGattServer.sendResponse with the given
67 * GATT_ERROR_INVALID_OFFSET. If |is_long| is true but this descriptor is
79 * this request by calling IBluetoothGattServer.sendResponse with the given
82 * |offset|. If |need_response| is false, then this is a "Write Without
[all …]
/system/libhidl/transport/manager/1.0/
DIServiceNotification.hal5 * you may not use this file except in compliance with the License.
25 * @param preexisting If true, this means the registration was
26 * pre-existing at the time this IServiceNotification
27 * object is itself registered. Otherwise, this means
/system/chre/util/include/chre/util/
Doptional_impl.h50 return *this;
59 return *this;
66 return *this;
74 return *this;
/system/sepolicy/tools/fc_sort/
DNOTICE7 of this license document, but changing it is not allowed.
24 this service if you wish), that you receive source code or can get it
40 (2) offer you this license which gives you legal permission to copy,
44 that everyone understands that there is no warranty for this free
53 program proprietary. To prevent this, we have made it clear that any
64 under the terms of this General Public License. The "Program", below,
73 covered by this License; they are outside its scope. The act of
83 notices that refer to this License and to the absence of any warranty;
84 and give any other recipients of the Program a copy of this License
101 parties under the terms of this License.
[all …]

12345678910>>...18