Searched refs:variable (Results 1 - 19 of 19) 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
H A Dvariable.h33 // The VariableMode specifies important behavior of the variable in terms of
34 // whether, how and when the value of the variable changes.
41 // Poll variables, or synchronous variables, represent a variable with a value
44 // the variable changes, it has to be queried again.
55 // depend on the variable's type, implemented by all the variables.
58 // Interface for observing changes on variable value.
63 // Called when the value on the variable changes.
64 virtual void ValueChanged(BaseVariable* variable) = 0;
72 DCHECK(observer_list_.empty()) << "Don't destroy the variable without "
76 // Returns the variable nam
[all...]
/system/extras/micro_bench/
H A DAndroid.mk9 LOCAL_CFLAGS := -Wall -Werror -Wno-error=unused-variable
23 LOCAL_CFLAGS := -Wall -Werror -Wno-error=unused-variable
/system/chre/build/nanoapp/
H A Dapp.mk11 $(error "The NANOAPP_NAME variable must be set to the name of the nanoapp. \
16 $(error "The NANOAPP_ID variable must be set to the ID of the nanoapp. \
21 $(error "The NANOAPP_VERSION variable must be set to the version of the nanoapp. \
26 $(error "The NANOAPP_NAME_STRING variable must be set to the friendly name of \
44 variable")
52 # This variable indicates to the variants that some post-processing may be
/system/chre/build/
H A Dcommon.mk8 $(warning The OPT_LEVEL variable is unset. Defaulting to 0.)
13 $(error "The OUTPUT_NAME variable must be set to the name of the desired \
/system/extras/power_profile/camera_avg/
H A Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/power_profile/camera_flashlight/
H A Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/power_profile/gps_on/
H A Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/
H A Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/
H A Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/
H A Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/tests/sdcard/
H A DAndroid.mk16 # define the BIONIC_TESTS environment variable to build the test programs
/system/tools/aidl/
H A Dast_java.cpp67 Field::Field(int m, Variable* v) : ClassElement(), modifiers(m), variable(v) {}
74 to->Write("%s %s", this->variable->type->JavaType().c_str(),
75 this->variable->name.c_str());
H A Dast_java.h115 Variable* variable = nullptr; member in struct:android::aidl::java::Field
119 Field(int modifiers, Variable* variable);
/system/bt/doc/
H A Dpower_management.md88 while this variable is declared as an extern in the `bta_dm_int.h` file, it only
/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
/system/iot/attestation/at-factory-tool/
H A Datftman_unittest.py731 def MockGetVar(self, variable):
732 return self.status_map.get(variable)

Completed in 452 milliseconds