Home
last modified time | relevance | path

Searched refs:variable (Results 1 – 25 of 56) sorted by relevance

123

/system/update_engine/update_manager/
Dumtest_utils.h41 static void ExpectVariableHasValue(const T& expected, Variable<T>* variable) { in ExpectVariableHasValue() argument
42 ASSERT_NE(nullptr, variable); in ExpectVariableHasValue()
44 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableHasValue()
45 ASSERT_NE(nullptr, value.get()) << "Variable: " << variable->GetName(); in ExpectVariableHasValue()
46 EXPECT_EQ(expected, *value) << "Variable: " << variable->GetName(); in ExpectVariableHasValue()
51 static void ExpectVariableNotSet(Variable<T>* variable) { in ExpectVariableNotSet() argument
52 ASSERT_NE(nullptr, variable); in ExpectVariableNotSet()
54 variable->GetValue(DefaultTimeout(), nullptr)); in ExpectVariableNotSet()
55 EXPECT_EQ(nullptr, value.get()) << "Variable: " << variable->GetName(); in ExpectVariableNotSet()
Dvariable_unittest.cc87 void ValueChanged(BaseVariable* variable) { calls_.push_back(variable); } in ValueChanged() argument
136 void ValueChanged(BaseVariable* variable) override { in ValueChanged() argument
138 variable->RemoveObserver(observer); in ValueChanged()
/system/linkerconfig/modules/
Dvariables.cc27 std::optional<std::string> Variables::GetValue(const std::string& variable) { in GetValue() argument
29 if (variables_.find(variable) != variables_.end() && in GetValue()
30 !variables_[variable].empty()) { in GetValue()
31 return {variables_[variable]}; in GetValue()
35 std::string prop_value = android::base::GetProperty(variable, ""); in GetValue()
/system/testing/gtest_extras/
DOptions.cpp83 std::string variable(arg); in PrintError() local
84 std::transform(variable.begin(), variable.end(), variable.begin(), in PrintError()
86 printf("env[%s] %s\n", variable.c_str(), msg.c_str()); in PrintError()
335 std::string variable(entry.first); in Process() local
336 std::transform(variable.begin(), variable.end(), variable.begin(), in Process()
338 char* env = getenv(variable.c_str()); in Process()
/system/tools/aidl/
Dgenerate_java.cpp106 for (const auto& variable : parcel->GetFields()) { in generate_parcel_class() local
108 out << variable->GetType().GetComments() << "\n"; in generate_parcel_class()
109 for (const auto& a : generate_java_annotations(variable->GetType())) { in generate_parcel_class()
114 if (variable->GetType().GetName() == "ParcelableHolder" || parcel->IsImmutable()) { in generate_parcel_class()
117 out << JavaSignatureOf(variable->GetType(), typenames) << " " << variable->GetName(); in generate_parcel_class()
118 if (!parcel->IsImmutable() && variable->GetDefaultValue()) { in generate_parcel_class()
119 out << " = " << variable->ValueString(ConstantValueDecorator); in generate_parcel_class()
120 } else if (variable->GetType().GetName() == "ParcelableHolder") { in generate_parcel_class()
122 out << " = new " << JavaSignatureOf(variable->GetType(), typenames) << "("; in generate_parcel_class()
Dgenerate_cpp.cpp1076 for (const auto& variable : parcel.GetFields()) { in BuildParcelHeader() local
1077 AddHeaders(variable->GetType(), typenames, includes); in BuildParcelHeader()
1085 for (const auto& variable : parcel.GetFields()) { in BuildParcelHeader() local
1086 variable_name.push_back(variable->GetName()); in BuildParcelHeader()
1087 rhs_variable_name.push_back("rhs." + variable->GetName()); in BuildParcelHeader()
1100 for (const auto& variable : parcel.GetFields()) { in BuildParcelHeader() local
1103 std::string cppType = CppNameOf(variable->GetType(), typenames); in BuildParcelHeader()
1104 out << cppType.c_str() << " " << variable->GetName().c_str(); in BuildParcelHeader()
1105 if (variable->GetDefaultValue()) { in BuildParcelHeader()
1106 out << " = " << cppType.c_str() << "(" << variable->ValueString(ConstantValueDecorator) in BuildParcelHeader()
[all …]
/system/core/libunwindstack/
DGlobal.cpp61 std::string variable(var_str); in FindAndReadVariable() local
84 if (elf->GetGlobalVariableOffset(variable, &ptr) && ptr != 0) { in FindAndReadVariable()
/system/tools/hidl/test/error_test/missing_variable_type/1.0/
Drequired_error1 is missing a variable name
/system/extras/power_profile/camera_avg/
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/
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/
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/core/liblog/
DREADME.protocol.md72 single character priority, followed by a variable length null terminated string for the tag, and
73 finally a variable length null terminated string for the message.
80 android_event_header_t struct followed by a variable number of android_event_*_t
/system/extras/power_profile/camera_flashlight/
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/CppApi/
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
76 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/
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/JavaApi/
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
76 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/
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/bpf/libbpf_android/
DAndroid.bp76 "-Wno-error=unused-variable",
98 "-Wno-error=unused-variable",
/system/bt/gd/packet/parser/test/
DAndroid.bp22 "variable.cc",
/system/chre/build/
Dcommon.mk8 $(warning The OPT_LEVEL variable is unset. Defaulting to 0.)
/system/extras/simpleperf/scripts/
Dpylintrc9 variable-rgx=[a-z_][a-z0-9_]{0,30}$
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/
DCMakeLists.txt23 # variable. Because CMake includes system libraries in the search path by
28 find_library( # Sets the name of the path variable.
/system/core/libunwindstack/include/unwindstack/
DGlobal.h49 void FindAndReadVariable(Maps* maps, const char* variable);
/system/bt/build/
DAndroid.bp39 // struct BT_HDR is defined as a variable-size header in a struct.
40 "-Wno-gnu-variable-sized-type-not-at-end",
/system/core/toolbox/
DAndroid.bp6 "-Wno-unused-const-variable",

123