/system/bt/gd/l2cap/ |
D | signal_id.h | 26 constexpr SignalId(uint8_t value) : value_(value) {} in SignalId() 27 constexpr SignalId() : value_(1) {} in SignalId() 31 return value_; in Value() 35 return value_ != 0; in IsValid() 47 uint8_t value_; 54 return lhs.value_ == rhs.value_; 62 value_++; 63 if (value_ == 0) value_++; 74 value_--; 75 if (value_ == 0) value_ = 0xff;
|
/system/update_engine/update_manager/ |
D | boxed_value.h | 59 BoxedValue() : value_(nullptr), deleter_(nullptr), printer_(nullptr) {} in BoxedValue() 65 : value_(static_cast<const void*>(value)), in BoxedValue() 75 : value_(other.value_), in BoxedValue() 78 other.value_ = nullptr; in BoxedValue() 87 deleter_(value_); in ~BoxedValue() 90 const void* value() const { return value_; } in value() 95 if (!value_) in ToString() 97 return printer_(value_); in ToString() 113 const void* value_;
|
D | generic_variables.h | 190 value_(value) {} in AsyncCopyVariable() 193 bool should_notify = !(has_value_ && new_value == value_); in SetValue() 194 value_ = new_value; in SetValue() 216 return new T(value_); in GetValue() 224 T value_; variable
|
/system/security/keystore/include/keystore/ |
D | keystore_concurrency.h | 28 LockedType* value_; variable 32 UnlockProxyLockHelper() : value_(nullptr) {} in UnlockProxyLockHelper() 34 : unlock_(std::move(unlock)), value_(value) {} in UnlockProxyLockHelper() 36 if (unlock_) unlock_(value_); in ~UnlockProxyLockHelper() 39 : unlock_(std::move(rhs.unlock_)), value_(rhs.value_) { in UnlockProxyLockHelper() 40 rhs.value_ = nullptr; in UnlockProxyLockHelper() 47 value_ = std::move(rhs.value_); 48 rhs.value_ = nullptr; 58 return value_; in value() 60 const LockedType* value() const { return value_; } in value() [all …]
|
/system/nvram/messages/include/nvram/messages/ |
D | optional.h | 27 explicit Optional(ValueType value) : value_(value), valid_(true) {} in Optional() 30 const ValueType& value() const { return value_; } in value() 35 value_ = ValueType{}; in Activate() 36 return value_; in Activate() 45 ValueType value_{};
|
/system/keymaster/include/keymaster/ |
D | remote_provisioning_utils.h | 39 : status_code_(0), value_(std::move(val)) {} // NOLINT(google-explicit-constructor) in StatusOr() 45 return &value_.value(); 49 return value_.value(); 53 return std::move(value_).value(); 61 T moveValue() { return std::move(value_).value(); } in moveValue() 65 std::optional<T> value_; variable
|
/system/bt/gd/cert/ |
D | cert_self_test_lib.py | 58 self.value_ = value 62 return "BogusRpc value = " + str(self.value_) 66 yield [field, self.value_] 135 lambda data: data.value_ == 1, timeout=timedelta(milliseconds=300), at_least_times=2) 140 … event_stream.assert_event_occurs(lambda data: data.value_ == 1, timeout=timedelta(seconds=1)) 146 … event_stream.assert_event_occurs(lambda data: data.value_ == 4, timeout=timedelta(seconds=1)) 156 lambda data: data.value_ < 4, timeout=timedelta(seconds=1), at_most_times=3) 163 lambda data: data.value_ > 1, timeout=timedelta(seconds=1), at_most_times=2) 266 assertThat(event_stream).emits(lambda data: data.value_ == 1) 271 … assertThat(event_stream).emits(lambda data: data.value_ == 1).then(lambda data: data.value_ == 3) [all …]
|
/system/bt/gd/packet/parser/fields/ |
D | fixed_scalar_field.cc | 23 : FixedField("fixed_scalar", size, loc), value_(value) {} in FixedScalarField() 34 s << value_; in GenValue() 38 s << "+" << value_; in GenStringRepresentation() 42 s << "let " << GetName() << ": " << GetRustDataType() << " = " << value_ << ";"; in GenRustWriter()
|
D | fixed_enum_field.cc | 23 : FixedField("fixed_enum", enum_def->size_, loc), enum_(enum_def), value_(value) {} in FixedEnumField() 34 s << enum_->name_ << "::" << value_; in GenValue()
|
D | fixed_enum_field.h | 42 std::string value_; variable
|
D | fixed_scalar_field.h | 48 const int64_t value_;
|
/system/bt/service/common/bluetooth/ |
D | avrcp_string_value.h | 27 AvrcpStringValue(int id, const std::string& value) : id_(id), value_(value){}; in AvrcpStringValue() 31 const std::string& value() const { return value_; } in value() 35 std::string value_; variable
|
D | avrcp_int_value.h | 29 int value() const { return value_; } in value() 33 int value_ = 0; variable
|
D | avrcp_int_value.cc | 23 AvrcpIntValue::AvrcpIntValue(int id, int value) : id_(id), value_(value) {} in AvrcpIntValue()
|
/system/update_engine/common/ |
D | dynamic_partition_control_interface.h | 48 constexpr explicit FeatureFlag(Value value) : value_(value) {} in FeatureFlag() 49 constexpr bool IsEnabled() const { return value_ != Value::NONE; } in IsEnabled() 50 constexpr bool IsRetrofit() const { return value_ == Value::RETROFIT; } in IsRetrofit() 51 constexpr bool IsLaunch() const { return value_ == Value::LAUNCH; } in IsLaunch() 54 Value value_;
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_avrcp_string_value.cc | 33 status = parcel->writeString16(String16(value_.c_str(), value_.size())); in writeToParcel() 48 value_ = String8(value).string(); in readFromParcel()
|
D | bluetooth_avrcp_int_value.cc | 33 status = parcel->writeInt32(value_); in writeToParcel() 47 value_ = tmp; in readFromParcel()
|
/system/keymaster/include/keymaster/cppcose/ |
D | cppcose.h | 92 : value_(std::move(val)) {} in ErrMsgOr() 94 explicit operator bool() const { return value_.has_value(); } 97 assert(value_); 98 return &value_.value(); 101 assert(value_); 102 return value_.value(); 105 assert(value_); 106 return std::move(value_).value(); 113 assert(value_); in moveValue() 114 return std::move(value_).value(); in moveValue() [all …]
|
/system/core/fs_mgr/libstorage_literals/storage_literals/ |
D | storage_literals.h | 26 explicit constexpr Size(uint64_t count) : value_(count) {} in Size() 28 constexpr uint64_t bytes() const { return value_ << power; } in bytes() 29 constexpr uint64_t count() const { return value_; } in count() 33 uint64_t value_;
|
/system/tools/aidl/ |
D | aidl_const_expressions.cpp | 450 str_values.push_back(v->value_); in Array() 483 AIDL_ERROR(this) << "Invalid constant value: " + value_; in ValueString() 492 << ") for a const value (" << value_ << ")"; in ValueString() 496 AIDL_ERROR(this) << "Invalid value (" << value_ << ") for enum " in ValueString() 500 return decorator(type, value_); in ValueString() 570 if (!ParseFloating(value_, &parsed_value)) { in ValueString() 571 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString() 579 if (!ParseFloating(value_, &parsed_value)) { in ValueString() 580 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString() 647 AIDL_ERROR(this) << "Invalid array element: " << value->value_; in evaluate() [all …]
|
/system/update_engine/payload_consumer/ |
D | cached_file_descriptor_unittest.cc | 77 int value_{1}; member in chromeos_update_engine::CachedFileDescriptorTest 87 brillo::Blob blob_in(kFileSize, value_); in TEST_F() 98 brillo::Blob blob_in(kFileSize, value_); in TEST_F() 150 brillo::Blob blob_in(kFileSize, value_); in TEST_F() 161 std::fill_n(&blob_in[seek], kCacheSize, value_); in TEST_F() 176 std::fill_n(&blob_in[seek], less_than_cache_size, value_); in TEST_F() 192 std::fill_n(&blob_in[seek], less_than_cache_size, value_); in TEST_F()
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_common.h | 150 : attribute_(attribute), value_(value) {} in AttributeEntry() 158 std::string value() const { return value_; } in value() 168 size_t size() const { return kHeaderSize() + value_.size(); } in size() 172 if (value_.size() > new_size) { in resize() 173 value_.resize(new_size); in resize() 177 bool empty() { return value_.empty(); } in empty() 185 std::string value_; variable
|
/system/teeui/libteeui/include/teeui/ |
D | utils.h | 333 Numeric value_; 337 constexpr Coordinate() : value_{} {} 338 constexpr Coordinate(Numeric value) : value_(value) {} 343 value_ = bits::round(other.count()); 345 value_ = other.count(); 351 constexpr Coordinate operator-(const Coordinate& v) const { return value_ - v.value_; } 352 constexpr Coordinate operator+(const Coordinate& v) const { return value_ + v.value_; } 354 value_ -= v.value_; 358 value_ += v.value_; 361 constexpr Coordinate operator*(const Coordinate& v) const { return value_ * v.value_; } [all …]
|
/system/core/libprocessgroup/ |
D | task_profiles.h | 101 : attribute_(attribute), value_(value) {} in SetAttributeAction() 108 std::string value_; variable 147 : filepath_(filepath), value_(value), logfailures_(logfailures) {} in WriteFileAction() 153 std::string filepath_, value_;
|
/system/keymaster/ng/include/ |
D | keymaster_tags.h | 309 NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {} 311 NullOr(ValueT&& value) : value_(std::forward<ValueT>(value)), null_(false) {} 315 const ValueT& value() const& { return value_; } 316 ValueT& value() & { return value_; } 317 ValueT&& value() && { return std::move(value_); } 320 ValueT value_;
|