Searched defs:variable (Results 1 - 5 of 5) sorted by relevance

/system/update_engine/update_manager/
H A Dumtest_utils.h27 #include "update_engine/update_manager/variable.h"
39 // Calls GetValue on |variable| and expects its result to be |expected|.
41 static void ExpectVariableHasValue(const T& expected, Variable<T>* variable) { argument
42 ASSERT_NE(nullptr, variable);
44 variable->GetValue(DefaultTimeout(), nullptr));
45 ASSERT_NE(nullptr, value.get()) << "Variable: " << variable->GetName();
46 EXPECT_EQ(expected, *value) << "Variable: " << variable->GetName();
49 // Calls GetValue on |variable| and expects its result to be null.
51 static void ExpectVariableNotSet(Variable<T>* variable) { argument
52 ASSERT_NE(nullptr, variable);
[all...]
H A Dvariable_unittest.cc17 #include "update_engine/update_manager/variable.h"
90 void ValueChanged(BaseVariable* variable) { argument
91 calls_.push_back(variable);
115 // Simulate a value change on the variable's implementation.
141 void ValueChanged(BaseVariable* variable) override {
143 variable->RemoveObserver(observer);
H A Dgeneric_variables_unittest.cc49 // Assign a different value to the source variable.
142 // Ensures that the variable returns null when the callback is null.
188 void ValueChanged(BaseVariable* variable) { argument
/system/tools/aidl/
H A Dast_java.h115 Variable* variable = nullptr; member in struct:android::aidl::java::Field
119 Field(int modifiers, Variable* variable);
/system/core/fastboot/
H A Dfastboot.cpp363 " getvar <variable> Display a bootloader variable.\n"
1685 std::string variable = next_arg(&args); local
1686 fb_queue_display(variable, variable);
1817 // in for old bootloaders. Legacy bootloaders do not have the slot-count variable but

Completed in 116 milliseconds