Home
last modified time | relevance | path

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

12345678910>>...15

/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/core/include/utils/
DStrongPointer.h120 other->incStrong(this); in sp()
127 m_ptr->incStrong(this); in sp()
140 ((T*) other)->incStrong(this); in sp()
147 m_ptr->incStrong(this); in sp()
159 m_ptr->decStrong(this); in ~sp()
166 otherPtr->incStrong(this);
168 m_ptr->decStrong(this);
170 return *this;
176 m_ptr->decStrong(this);
179 return *this;
[all …]
DRefBase.h184 delete static_cast<const T*>(this); in decStrong()
318 if (other) m_refs = other->createWeak(this); in wp()
325 if (m_ptr) m_refs->incWeak(this); in wp()
333 m_refs = m_ptr->createWeak(this); in wp()
341 if (other) m_refs = other->createWeak(this); in wp()
350 m_refs->incWeak(this); in wp()
359 m_refs = m_ptr->createWeak(this); in wp()
366 if (m_ptr) m_refs->decWeak(this); in ~wp()
373 other ? other->createWeak(this) : 0;
374 if (m_ptr) m_refs->decWeak(this);
[all …]
DFlattenable.h110 return static_cast<T const*>(this)->T::getFlattenedSize(); in getFlattenedSize()
114 return static_cast<T const*>(this)->T::getFdCount(); in getFdCount()
119 return static_cast<T const*>(this)->T::flatten(buffer, size, fds, count); in flatten()
124 return static_cast<T*>(this)->T::unflatten(buffer, size, fds, count); in unflatten()
152 return static_cast<T const*>(this)->T::isFixedSize(); in isFixedSize()
156 return static_cast<T const*>(this)->T::getFlattenedSize(); in getFlattenedSize()
160 return static_cast<T const*>(this)->T::flatten(buffer, size); in flatten()
164 return static_cast<T*>(this)->T::unflatten(buffer, size); in unflatten()
185 *reinterpret_cast<T*>(buffer) = *static_cast<T const*>(this); in flatten()
189 *static_cast<T*>(this) = *reinterpret_cast<T const*>(buffer); in unflatten()
DString8.h219 { String8 p(*this); p.appendPath(leaf); return p; } in appendPathCopy()
287 return *this;
293 return *this;
299 return *this;
304 String8 tmp(*this);
312 return *this;
317 String8 tmp(*this);
DList.h138 return *this;
141 _Iter tmp(*this);
147 return *this;
150 _Iter tmp(*this);
315 if (this == &right)
316 return *this; // self-assignment
327 return *this;
/system/update_engine/common/
Dmock_hardware.h33 ON_CALL(*this, IsOfficialBuild()) in MockHardware()
36 ON_CALL(*this, IsNormalBootMode()) in MockHardware()
39 ON_CALL(*this, IsOOBEComplete(testing::_)) in MockHardware()
42 ON_CALL(*this, GetHardwareClass()) in MockHardware()
45 ON_CALL(*this, GetFirmwareVersion()) in MockHardware()
48 ON_CALL(*this, GetECVersion()) in MockHardware()
51 ON_CALL(*this, GetPowerwashCount()) in MockHardware()
54 ON_CALL(*this, GetNonVolatileDirectory(testing::_)) in MockHardware()
57 ON_CALL(*this, GetPowerwashSafeDirectory(testing::_)) in MockHardware()
Dtest_utils.h230 CHECK(this->processor_); in PerformAction()
231 if (this->HasOutputPipe()) { in PerformAction()
232 this->SetOutputObject(out_obj_); in PerformAction()
234 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
264 ASSERT_TRUE(this->processor_); in PerformAction()
265 if (this->HasInputObject()) { in PerformAction()
266 object_ = this->GetInputObject(); in PerformAction()
268 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
/system/core/include/log/
Dlog_read.h75 return !(*this == T);
85 return !(*this < T);
95 return !(*this > T);
100 log_time local(*this);
106 log_time local(*this);
117 return !(*this == T);
126 return !(*this < T);
135 return !(*this > T);
140 log_time local(*this);
146 log_time local(*this);
/system/connectivity/shill/doc/
Dservice-api.txt34 code is returned by this call.
62 For Ethernet devices this method can only be used
65 a connection. If no cable is plugged in this
69 then this request is ignored and AlreadyConnected
73 connecting then this request is ignored and
77 connecting then it is terminated before this request
96 For Ethernet devices this will remove all
98 interface down. If no cable is plugged in this
112 this service, it will be re-configured there.
131 must already be loaded before this method is
[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.
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
84 * |is_prepare_write| is true, then the implementation should not commit this
[all …]
DIBluetoothGattClientCallback.txt5 * you may not use this file except in compliance with the License.
34 * device that this service belongs to can be obtained from the |service_id|
35 * structure. |is_primary| is true if this refers to a primary service,
36 * otherwise this refers to a secondary service.
48 * The service that this characteristic belongs to can be obtained from the
57 * service and characteristic that this descriptor belongs to can be obtained
73 * this operation was performed on. On success, |value| will contain the
84 * this operation was performed on.
100 * code in case of an error. |descriptor_id| refers to the descriptor this
111 * code in case of an error. |descriptor_id| refers to the descriptor 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 …]
/system/core/metricsd/uploader/proto/
Dchrome_user_metrics_extension.proto5 * you may not use this file except in compliance with the License.
19 // Note: this protobuf must be compatible with the one in chromium.
40 // The product corresponding to this log. The field type is int32 instead of
45 // this field.
50 // For Chrome clients, this id is unique to a top-level (one level above the
52 // all Chrome user profiles contained in this user data directory.
58 // The session id for this user.
/system/connectivity/apmanager/
Ddevice.h55 return this->iface_name == other.iface_name && in Equals()
56 this->device_name == other.device_name && in Equals()
57 this->iface_index == other.iface_index && in Equals()
58 this->iface_type == other.iface_type; in Equals()
/system/core/
DNOTICE4 == in this case for the Android-specific code. ==
16 == in this case for Apache Commons code. ==
28 == in this case for Jakarta Commons Logging. ==
40 == in this case for the Nuance code. ==
49 == in this case for the Media Codecs code. ==
59 == in this case for the TagSoup code. ==
65 Version 2.0. You may obtain a copy of this license at
67 additional legal rights not granted by this license.
78 == in this case for Additional Codecs code. ==
88 == in this case for the Audio Effects code. ==
[all …]
/system/connectivity/shill/net/
Dndisc.h29 memset(this, 0, sizeof(*this)); in NDUserOptionHeader()
/system/connectivity/shill/mobile_operator_db/
Dmobile_operator_db.proto5 // you may not use this file except in compliance with the License.
32 // A regular expression specifying the values that are *accepted* by this
68 // Use this filter to restrict when the OnlinePortal is valid.
77 // A unique identifier for this M[V]NO.
87 // List of localized names for this provider.
90 // Indicates that this provider requires roaming and the customer is not
128 // are impossible to distinguish using MCCMNC/name. In such a case, this bool
130 // Note that if you're using this property, you should DTRT, and find out why
140 // MNO this international MVNO belongs to.
/system/core/toolbox/
DNOTICE4 you may not use this file except in compliance with the License.
24 notice, this list of conditions and the following disclaimer.
26 notice, this list of conditions and the following disclaimer in
52 notice, this list of conditions and the following disclaimer.
54 notice, this list of conditions and the following disclaimer in the
57 may be used to endorse or promote products derived from this software
81 notice, this list of conditions and the following disclaimer.
83 notice, this list of conditions and the following disclaimer in the
86 may be used to endorse or promote products derived from this software
113 notice, this list of conditions and the following disclaimer.
[all …]
/system/keymaster/
DList.h138 return *this;
141 _Iter tmp(*this);
147 return *this;
150 _Iter tmp(*this);
315 if (this == &right)
316 return *this; // self-assignment
327 return *this;
/system/core/include/sysutils/
DList.h139 return *this;
142 _Iter tmp(*this);
148 return *this;
151 _Iter tmp(*this);
316 if (this == &right)
317 return *this; // self-assignment
328 return *this;

12345678910>>...15