Home
last modified time | relevance | path

Searched refs:valid_ (Results 1 – 15 of 15) sorted by relevance

/system/core/fs_mgr/libdm/
Dtest_util.h40 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice()
41 valid_ = dm_.CreateDevice(name, table, &path_, std::chrono::seconds(5)); in TempDevice()
44 : dm_(other.dm_), name_(other.name_), path_(other.path_), valid_(other.valid_) { in TempDevice()
45 other.valid_ = false; in TempDevice()
48 if (valid_) { in ~TempDevice()
53 if (!valid_) { in Destroy()
56 valid_ = false; in Destroy()
61 bool valid() const { return valid_; } in valid()
68 valid_ = other.valid_;
69 other.valid_ = false;
[all …]
Ddm_target.cpp70 : DmTarget(start, length), valid_(true) { in DmTargetVerity()
100 valid_ = false; in SetVerityMode()
Dloop_control.cpp163 valid_ = control_.Attach(fd_.get(), timeout_ms, &device_); in Init()
/system/nvram/messages/include/nvram/messages/
Doptional.h27 explicit Optional(ValueType value) : value_(value), valid_(true) {} in Optional()
29 bool valid() const { return valid_; } in valid()
34 valid_ = true; in Activate()
41 valid_ = false; in Clear()
46 bool valid_ = false; variable
/system/core/libunwindstack/
DElf.cpp54 valid_ = interface_->Init(&load_bias_); in Init()
55 if (valid_) { in Init()
61 return valid_; in Init()
67 if (!valid_ || interface_->gnu_debugdata_offset() == 0) { in InitGnuDebugdata()
93 valid_ = false; in Invalidate()
98 if (!valid_) { in GetSoname()
110 return valid_ && (interface_->GetFunctionName(addr, name, func_offset) || in GetFunctionName()
116 if (!valid_) { in GetGlobalVariableOffset()
151 if (!valid_) { in GetBuildID()
158 if (valid_) { in GetLastError()
[all …]
/system/update_engine/common/
Dhash_calculator.cc30 HashCalculator::HashCalculator() : valid_(false) { in HashCalculator()
31 valid_ = (SHA256_Init(&ctx_) == 1); in HashCalculator()
32 LOG_IF(ERROR, !valid_) << "SHA256_Init failed"; in HashCalculator()
38 TEST_AND_RETURN_FALSE(valid_); in Update()
Dhash_calculator.h85 bool valid_; variable
/system/bt/test/headless/
Dget_options.h34 virtual bool IsValid() const { return valid_; }; in IsValid()
55 bool valid_{true};
Dget_options.cc108 valid_ = false; in ProcessOption()
127 valid_ = false; in GetOpt()
/system/core/fs_mgr/libdm/include/libdm/
Dloop_control.h74 bool valid() const { return valid_; } in valid()
89 bool valid_ = false; variable
Ddm_target.h133 bool Valid() const override { return valid_; } in Valid()
138 bool valid_; variable
/system/core/libunwindstack/include/unwindstack/
DElf.h86 bool valid() { return valid_; } in valid()
118 bool valid_ = false;
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp73 : valid_(true), in ScannerImpl()
103 valid_ = false; in Invalidate()
107 if (!valid_) { in CheckIsValid()
111 return valid_; in CheckIsValid()
Dscanner_impl.h91 bool valid_; variable
/system/core/libunwindstack/tests/
DElfFake.h51 ElfFake(Memory* memory) : Elf(memory) { valid_ = true; } in ElfFake()
54 void FakeSetValid(bool valid) { valid_ = valid; } in FakeSetValid()