/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/update_engine/common/ |
D | dynamic_partition_control_interface.h | 35 constexpr explicit FeatureFlag(Value value) : value_(value) {} in FeatureFlag() 36 constexpr bool IsEnabled() const { return value_ != Value::NONE; } in IsEnabled() 37 constexpr bool IsRetrofit() const { return value_ == Value::RETROFIT; } in IsRetrofit() 38 constexpr bool IsLaunch() const { return value_ == Value::LAUNCH; } in IsLaunch() 41 Value 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/bt/gd/cert/ |
D | cert_self_test.py | 61 self.value_ = value 65 return "BogusRpc value = " + str(self.value_) 69 yield [field, self.value_] 146 … lambda data: data.value_ == 1, timeout=timedelta(milliseconds=300), at_least_times=2) 150 … event_stream.assert_event_occurs(lambda data: data.value_ == 1, timeout=timedelta(seconds=1)) 155 … event_stream.assert_event_occurs(lambda data: data.value_ == 4, timeout=timedelta(seconds=1)) 164 lambda data: data.value_ < 4, timeout=timedelta(seconds=1), at_most_times=3) 170 lambda data: data.value_ > 1, timeout=timedelta(seconds=1), at_most_times=2) 261 assertThat(event_stream).emits(lambda data: data.value_ == 1) 265 … 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()
|
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 | 43 const int64_t value_; variable
|
D | enum_field.h | 48 std::string value_; variable
|
D | enum_field.cc | 24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
|
/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/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 | 356 AIDL_ERROR(other) << "Failed to parse expression as integer: " << other.value_; in ShallowIntegralCopy() 387 AIDL_ERROR(this) << "Invalid constant value: " + value_; in ValueString() 455 std::string_view raw_view(value_.c_str()); in ValueString() 462 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString() 471 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString() 539 AIDL_ERROR(this) << "Invalid array element: " << value->value_; in evaluate() 563 if ((value_ != "true") && (value_ != "false")) { in evaluate() 564 AIDL_ERROR(this) << "Invalid constant boolean value: " << value_; in evaluate() 568 final_value_ = (value_ == "true") ? 1 : 0; in evaluate() 579 final_string_value_ = value_; in evaluate() [all …]
|
/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/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/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/keymaster/ng/include/ |
D | keymaster_tags.h | 311 NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {} 313 NullOr(ValueT&& value) : value_(std::forward<ValueT>(value)), null_(false) {} 317 const ValueT& value() const & { return value_; } 318 ValueT& value() & { return value_; } 319 ValueT&& value() && { return std::move(value_); } 322 ValueT value_;
|
/system/libbase/ |
D | result_test.cpp | 313 TestStruct(int value) : value_(value) {} in TEST() 314 TestStruct(Result<TestStruct> result, int value) : value_(result->value_ * value) {} in TEST() 315 int value_; in TEST() member 324 EXPECT_EQ(36, result->value_); in TEST()
|