/system/update_engine/update_manager/ |
H A D | umtest_utils.h | 27 #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 D | variable_unittest.cc | 17 #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 D | generic_variables_unittest.cc | 49 // 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 D | variable.h | 33 // 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 D | Android.mk | 9 LOCAL_CFLAGS := -Wall -Werror -Wno-error=unused-variable 23 LOCAL_CFLAGS := -Wall -Werror -Wno-error=unused-variable
|
/system/chre/build/nanoapp/ |
H A D | app.mk | 11 $(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 D | common.mk | 8 $(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 D | gradlew.bat | 29 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 D | gradlew.bat | 29 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 D | gradlew.bat | 29 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 D | gradlew.bat | 29 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 D | gradlew.bat | 29 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 D | gradlew.bat | 29 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 D | Android.mk | 16 # define the BIONIC_TESTS environment variable to build the test programs
|
/system/tools/aidl/ |
H A D | ast_java.cpp | 67 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 D | ast_java.h | 115 Variable* variable = nullptr; member in struct:android::aidl::java::Field 119 Field(int modifiers, Variable* variable);
|
/system/bt/doc/ |
H A D | power_management.md | 88 while this variable is declared as an extern in the `bta_dm_int.h` file, it only
|
/system/core/fastboot/ |
H A D | fastboot.cpp | 363 " 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 D | atftman_unittest.py | 731 def MockGetVar(self, variable): 732 return self.status_map.get(variable)
|