Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/media/mca/filterfw/native/core/
H A Dstatistics.h51 : gain_(gain), n_(0), value_(0.0f) {} in RCFilter()
54 value_ = n_++ ? gain_ * measurement + (1.0f - gain_) * value_ : measurement; in Add()
60 float Output() const { return value_; } in Output()
65 float value_; variable
/aosp14/frameworks/base/tools/aapt2/
H A DDominatorTree.cpp43 CHECK(new_child->value_) << "cannot add a root or empty node as a child"; in TryAddChild()
44 if (value_ && !Dominates(new_child.get())) { in TryAddChild()
92 return value_->config.Dominates(other->value_->config); in Dominates()
H A DDominatorTree.h56 : value_(value), parent_(parent) {}
58 inline ResourceConfigValue* value() const { return value_; } in value()
62 inline bool is_root_node() const { return !value_; } in is_root_node()
74 ResourceConfigValue* value_; variable
/aosp14/system/core/fs_mgr/libstorage_literals/storage_literals/
H A Dstorage_literals.h26 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_;
/aosp14/frameworks/base/tools/aapt2/test/
H A DBuilders.h90 explicit ValueBuilder(Args&&... args) : value_(new T{std::forward<Args>(args)...}) { in ValueBuilder()
95 value_->SetSource(android::Source{std::forward<Args>(args)...}); in SetSource()
100 value_->SetComment(str); in SetComment()
105 return std::move(value_); in Build()
111 std::unique_ptr<Value> value_; variable
/aosp14/system/core/libprocessgroup/
H A Dtask_profiles.cpp223 if (!WriteStringToFile(value_, path)) { in WriteValueToFile()
235 PLOG(ERROR) << "Failed to write '" << value_ << "' to " << path; in WriteValueToFile()
272 if (!WriteStringToFile(value_, path)) { in ExecuteForUID()
281 PLOG(ERROR) << "Failed to write '" << value_ << "' to " << path; in ExecuteForUID()
484 : task_path_(task_path), proc_path_(proc_path), value_(value), logfailures_(logfailures) { in WriteFileAction()
489 bool WriteFileAction::WriteValueToFile(const std::string& value_, ResourceCacheType cache_type, in WriteValueToFile() argument
491 std::string value(value_); in WriteValueToFile()
559 return WriteValueToFile(value_, ProfileAction::RCT_PROCESS, uid, pid, logfailures_); in ExecuteForProcess()
583 WriteValueToFile(value_, ProfileAction::RCT_TASK, uid, t_pid, logfailures_); in ExecuteForProcess()
592 return WriteValueToFile(value_, ProfileAction::RCT_TASK, getuid(), tid, logfailures_); in ExecuteForTask()
H A Dtask_profiles.h125 : attribute_(attribute), value_(value), optional_(optional) {} in SetAttributeAction()
136 std::string value_; variable
182 std::string task_path_, proc_path_, value_;
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetsProvider.h126 PathOrDebugName(std::string value, bool is_path) : value_(std::move(value)), is_path_(is_path) { in PathOrDebugName()
128 std::string value_; member
/aosp14/frameworks/base/startop/view_compiler/
H A Ddex_builder.h132 size_t value() const { return value_; } in value()
134 constexpr Value() : value_{0}, kind_{Kind::kInvalid} {} in Value()
139 size_t value_; variable
142 constexpr Value(size_t value, Kind kind) : value_{value}, kind_{kind} {} in Value()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetsProvider.cpp77 return is_path_ ? &value_ : nullptr; in GetPath()
81 return value_; in GetDebugName()