Home
last modified time | relevance | path

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

12345678910>>...67

/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h116 accessBlobData(this) = nullptr; in TKeymasterBlob()
117 accessBlobSize(this) = 0; in TKeymasterBlob()
121 accessBlobSize(this) = 0; in TKeymasterBlob()
122 accessBlobData(this) = dup_buffer(data, size); in TKeymasterBlob()
123 if (accessBlobData(this)) accessBlobSize(this) = size; in TKeymasterBlob()
127 accessBlobSize(this) = 0; in TKeymasterBlob()
128 accessBlobData(this) = new (std::nothrow) uint8_t[size]; in TKeymasterBlob()
129 if (accessBlobData(this)) accessBlobSize(this) = size; in TKeymasterBlob()
133 accessBlobSize(this) = 0; in TKeymasterBlob()
134 accessBlobData(this) = dup_buffer(accessBlobData(&blob), accessBlobSize(&blob)); in TKeymasterBlob()
[all …]
/system/memory/libmemunreachable/
DLinkedList.h25 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/logging/liblog/include/log/
Dlog_time.h62 return !(*this == T);
70 return !(*this < T);
78 return !(*this > T);
86 return !(*this == T);
93 return !(*this < T);
100 return !(*this > T);
105 if (*this <= T) {
106 return *this = log_time(EPOCH);
109 if (this->tv_nsec < T.tv_nsec) {
110 --this->tv_sec;
[all …]
/system/update_engine/common/
Dmock_hardware.h33 ON_CALL(*this, IsOfficialBuild()) in MockHardware()
35 ON_CALL(*this, IsNormalBootMode()) in MockHardware()
38 ON_CALL(*this, AreDevFeaturesEnabled()) in MockHardware()
41 ON_CALL(*this, IsOOBEEnabled()) in MockHardware()
43 ON_CALL(*this, IsOOBEComplete(testing::_)) in MockHardware()
45 ON_CALL(*this, GetHardwareClass()) in MockHardware()
48 ON_CALL(*this, GetMinKernelKeyVersion()) in MockHardware()
51 ON_CALL(*this, GetMinFirmwareKeyVersion()) in MockHardware()
54 ON_CALL(*this, GetMaxFirmwareKeyRollforward()) in MockHardware()
57 ON_CALL(*this, SetMaxFirmwareKeyRollforward()) in MockHardware()
[all …]
Dtest_utils.h189 CHECK(this->processor_); in PerformAction()
190 if (this->HasOutputPipe()) { in PerformAction()
191 this->SetOutputObject(out_obj_); in PerformAction()
193 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
222 ASSERT_TRUE(this->processor_); in PerformAction()
223 if (this->HasInputObject()) { in PerformAction()
224 object_ = this->GetInputObject(); in PerformAction()
226 this->processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
/system/extras/module_ndk_libs/libnativehelper/include_jni/
Djni.h496 { return functions->GetVersion(this); } in GetVersion()
500 { return functions->DefineClass(this, name, loader, buf, bufLen); } in DefineClass()
503 { return functions->FindClass(this, name); } in FindClass()
506 { return functions->FromReflectedMethod(this, method); } in FromReflectedMethod()
509 { return functions->FromReflectedField(this, field); } in FromReflectedField()
512 { return functions->ToReflectedMethod(this, cls, methodID, isStatic); } in ToReflectedMethod()
515 { return functions->GetSuperclass(this, clazz); } in GetSuperclass()
518 { return functions->IsAssignableFrom(this, clazz1, clazz2); } in IsAssignableFrom()
521 { return functions->ToReflectedField(this, cls, fieldID, isStatic); } in ToReflectedField()
524 { return functions->Throw(this, obj); } in Throw()
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DStructuredParcelable.rs127 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option()
128 let this = if let Some(this) = this { in serialize_option() localVariable
130 this in serialize_option()
135 subparcel.write(&this.shouldContainThreeFs)?; in serialize_option()
136 subparcel.write(&this.f)?; in serialize_option()
137 subparcel.write(&this.shouldBeJerry)?; in serialize_option()
138 subparcel.write(&this.shouldBeByteBar)?; in serialize_option()
139 subparcel.write(&this.shouldBeIntBar)?; in serialize_option()
140 subparcel.write(&this.shouldBeLongBar)?; in serialize_option()
141 subparcel.write(&this.shouldContainTwoByteFoos)?; in serialize_option()
[all …]
DParcelableForToString.rs64 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option()
65 let this = if let Some(this) = this { in serialize_option() localVariable
67 this in serialize_option()
72 subparcel.write(&this.intValue)?; in serialize_option()
73 subparcel.write(&this.intArray)?; in serialize_option()
74 subparcel.write(&this.longValue)?; in serialize_option()
75 subparcel.write(&this.longArray)?; in serialize_option()
76 subparcel.write(&this.doubleValue)?; in serialize_option()
77 subparcel.write(&this.doubleArray)?; in serialize_option()
78 subparcel.write(&this.floatValue)?; in serialize_option()
[all …]
DGenericStructuredParcelable.rs22 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option()
23 let this = if let Some(this) = this { in serialize_option() localVariable
25 this in serialize_option()
30 subparcel.write(&this.a)?; in serialize_option()
31 subparcel.write(&this.b)?; in serialize_option()
DOtherParcelableForToString.rs20 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option()
21 let this = if let Some(this) = this { in serialize_option() localVariable
23 this in serialize_option()
28 subparcel.write(&this.field)?; in serialize_option()
/system/update_engine/cros/
Dmock_p2p_manager.h33 ON_CALL(*this, SetDevicePolicy(testing::_)) in MockP2PManager()
36 ON_CALL(*this, IsP2PEnabled()) in MockP2PManager()
38 ON_CALL(*this, EnsureP2PRunning()) in MockP2PManager()
41 ON_CALL(*this, EnsureP2PNotRunning()) in MockP2PManager()
44 ON_CALL(*this, PerformHousekeeping()) in MockP2PManager()
47 ON_CALL(*this, in MockP2PManager()
51 ON_CALL(*this, FileShare(testing::_, testing::_)) in MockP2PManager()
53 ON_CALL(*this, FileGetPath(testing::_)) in MockP2PManager()
55 ON_CALL(*this, FileGetSize(testing::_)) in MockP2PManager()
57 ON_CALL(*this, FileGetExpectedSize(testing::_)) in MockP2PManager()
[all …]
Dmock_omaha_request_params.h34 ON_CALL(*this, GetAppId()) in MockOmahaRequestParams()
36 testing::Invoke(this, &MockOmahaRequestParams::FakeGetAppId)); in MockOmahaRequestParams()
37 ON_CALL(*this, SetTargetChannel(testing::_, testing::_, testing::_)) in MockOmahaRequestParams()
39 this, &MockOmahaRequestParams::FakeSetTargetChannel)); in MockOmahaRequestParams()
40 ON_CALL(*this, UpdateDownloadChannel()) in MockOmahaRequestParams()
42 this, &MockOmahaRequestParams::FakeUpdateDownloadChannel)); in MockOmahaRequestParams()
43 ON_CALL(*this, ShouldPowerwash()) in MockOmahaRequestParams()
45 this, &MockOmahaRequestParams::FakeShouldPowerwash)); in MockOmahaRequestParams()
/system/bt/gd/l2cap/
Dsignal_id.h64 return *this;
68 struct SignalId tmp = *this;
69 ++*this;
76 return *this;
80 struct SignalId tmp = *this;
81 --*this;
/system/bt/gd/security/record/
Dsecurity_record.h76 this->is_authenticated_ = is_authenticated; in SetAuthenticated()
80 return this->is_authenticated_; in IsAuthenticated()
84 this->requires_mitm_protection_ = requires_mitm_protection; in SetRequiresMitmProtection()
88 return this->requires_mitm_protection_; in RequiresMitmProtection()
92 this->is_encryption_required_ = is_encryption_required; in SetIsEncryptionRequired()
96 return this->is_encryption_required_; in IsEncryptionRequired()
104 this->is_temporary_ = is_temp; in SetIsTemporary()
108 return this->is_temporary_; in IsTemporary()
/system/unwinding/libunwindstack/
DElfInterfaceArm.h40 iterator& operator++() { index_++; return *this; }
41 iterator& operator++(int increment) { index_ += increment; return *this; }
42 iterator& operator--() { index_--; return *this; }
43 iterator& operator--(int decrement) { index_ -= decrement; return *this; }
45 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; }
46 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; }
64 iterator begin() { return iterator(this, 0); } in begin()
65 iterator end() { return iterator(this, total_entries_); } in end()
DDwarfDebugFrame.h32 this->cie32_value_ = static_cast<uint32_t>(-1); in DwarfDebugFrame()
33 this->cie64_value_ = static_cast<uint64_t>(-1); in DwarfDebugFrame()
38 return this->entries_offset_ + pointer; in GetCieOffsetFromFde32()
42 return this->entries_offset_ + pointer; in GetCieOffsetFromFde64()
/system/core/libutils/include/utils/
DRefBase.h485 return !(*this == o);
557 m_refs = other ? m_refs = other->createWeak(this) : nullptr; in wp()
563 m_refs = other ? other->createWeak(this) : nullptr; in wp()
568 weakref_type* newRefs = other ? other->createWeak(this) : nullptr;
569 if (m_ptr) m_refs->decWeak(this);
572 return *this;
578 weakref_type* newRefs = other ? other->createWeak(this) : 0;
579 if (m_ptr) m_refs->decWeak(this);
582 return *this;
590 if (m_ptr) m_refs->incWeak(this); in wp()
[all …]
DStrongPointer.h111 return o == *this;
116 return o != *this;
244 other->incStrong(this); in sp()
253 (static_cast<T*>(other))->incStrong(this); in sp()
262 other->incStrong(this);
264 if (oldPtr) oldPtr->decStrong(this);
267 return *this;
275 m_ptr->incStrong(this); in sp()
287 m_ptr->incStrong(this); in sp()
305 m_ptr->decStrong(this); in ~sp()
[all …]
/system/vold/
DCryptoType.h37 return CryptoType(this->config_name, this->kernel_name, size); in set_keysize()
40 return CryptoType(property, this->kernel_name, this->keysize); in set_config_name()
43 return CryptoType(this->config_name, crypto, this->keysize); in set_kernel_name()
/system/security/keystore/include/keystore/
Dkeystore_return_types.h53 return *this;
57 return *this;
61 return *this;
82 inline bool operator!=(const ResponseCode& rhs) const { return !(*this == rhs); }
83 inline bool operator!=(const ErrorCode& rhs) const { return !(*this == rhs); }
130 return *this;
134 return *this;
138 return *this;
160 inline bool operator!=(const ResponseCode& rhs) const { return !(*this == rhs); }
161 inline bool operator!=(const ErrorCode& rhs) const { return !(*this == rhs); }
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/unions/
DEnumUnion.rs19 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option()
20 let this = if let Some(this) = this { in serialize_option() localVariable
22 this in serialize_option()
26 match this { in serialize_option()
DUnionInUnion.rs19 …fn serialize_option(this: Option<&Self>, parcel: &mut binder::parcel::Parcel) -> binder::Result<()… in serialize_option()
20 let this = if let Some(this) = this { in serialize_option() localVariable
22 this in serialize_option()
26 match this { in serialize_option()
/system/sepolicy/private/
Dtechnical_debt.cil9 ; Unfortunately, we can't currently express this in module policy language:
16 ; Unfortunately, we can't currently express this in module policy language:
20 ; Unfortunately, we can't currently express this in module policy language:
24 ; Unfortunately, we can't currently express this in module policy language:
28 ; Unfortunately, we can't currently express this in module policy language:
33 ; Unfortunately, we can't currently express this in module policy language:
38 ; Unfortunately, we can't currently express this in module policy language:
43 ; Unfortunately, we can't currently express this in module policy language:
48 ; Unfortunately, we can't currently express this in module policy language:
54 ; Unfortunately, we can't currently express this in module policy language:
[all …]
/system/sepolicy/prebuilts/api/31.0/private/
Dtechnical_debt.cil9 ; Unfortunately, we can't currently express this in module policy language:
16 ; Unfortunately, we can't currently express this in module policy language:
20 ; Unfortunately, we can't currently express this in module policy language:
24 ; Unfortunately, we can't currently express this in module policy language:
28 ; Unfortunately, we can't currently express this in module policy language:
33 ; Unfortunately, we can't currently express this in module policy language:
38 ; Unfortunately, we can't currently express this in module policy language:
43 ; Unfortunately, we can't currently express this in module policy language:
48 ; Unfortunately, we can't currently express this in module policy language:
54 ; Unfortunately, we can't currently express this in module policy language:
[all …]
/system/bt/vendor_libs/test_vendor_lib/desktop/
Dtest_environment.h70 [this]() { return async_manager_.GetNextUserId(); },
71 [this](test_vendor_lib::AsyncUserId user_id,
77 [this](test_vendor_lib::AsyncUserId user_id,
84 [this](test_vendor_lib::AsyncUserId user) {
88 [this](test_vendor_lib::AsyncTaskId task) {
92 [this](const std::string& server, int port) {

12345678910>>...67