Home
last modified time | relevance | path

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

/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/fs_mgr/libdm/
Ddm_test.cpp59 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice()
60 valid_ = dm_.CreateDevice(name, table); in TempDevice()
63 : dm_(other.dm_), name_(other.name_), valid_(other.valid_) { in TempDevice()
64 other.valid_ = false; in TempDevice()
67 if (valid_) { in ~TempDevice()
72 if (!valid_) { in Destroy()
75 valid_ = false; in Destroy()
102 bool valid() const { return valid_; } in valid()
109 valid_ = other.valid_; in operator =()
110 other.valid_ = false; in operator =()
[all …]
Ddm_target.cpp65 : DmTarget(start, length), valid_(true) { in DmTargetVerity()
95 valid_ = false; in SetVerityMode()
/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 GetGlobalVariable()
147 if (!valid_) { in GetBuildID()
154 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/core/libunwindstack/include/unwindstack/
DElf.h86 bool valid() { return valid_; } in valid()
118 bool valid_ = false;
/system/core/libunwindstack/tests/
DElfFake.h51 ElfFake(Memory* memory) : Elf(memory) { valid_ = true; } in ElfFake()
54 void FakeSetValid(bool valid) { valid_ = valid; } in FakeSetValid()
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h121 bool Valid() const override { return valid_; } in Valid()
126 bool valid_; variable
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp76 : valid_(true), in ScannerImpl()
115 valid_ = false; in Invalidate()
119 if (!valid_) { in CheckIsValid()
123 return valid_; in CheckIsValid()
Dscanner_impl.h102 bool valid_; variable