/system/update_engine/update_manager/ |
D | umtest_utils.h | 41 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()
|
D | variable_unittest.cc | 87 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/ |
D | variables.cc | 27 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/tools/aidl/ |
D | generate_java.cpp | 47 inline string getter_name(const AidlVariableDeclaration& variable) { in getter_name() argument 48 return "get" + variable.GetCapitalizedName(); in getter_name() 50 inline string setter_name(const AidlVariableDeclaration& variable) { in setter_name() argument 51 return "set" + variable.GetCapitalizedName(); in setter_name() 390 for (const auto& variable : parcel->GetFields()) { in generate_parcel_class() local 392 out << GenerateComments(*variable); in generate_parcel_class() 393 out << GenerateAnnotations(*variable); in generate_parcel_class() 396 if (variable->GetType().GetName() == "ParcelableHolder" || parcel->IsJavaOnlyImmutable()) { in generate_parcel_class() 399 out << JavaSignatureOf(variable->GetType(), typenames) << " " << variable->GetName(); in generate_parcel_class() 400 if (!parcel->IsJavaOnlyImmutable() && variable->GetDefaultValue()) { in generate_parcel_class() [all …]
|
D | generate_rust.cpp | 510 for (const auto& variable : parcel->GetFields()) { in GenerateParcelBody() local 511 GenerateDeprecated(out, *variable); in GenerateParcelBody() 512 auto field_type = RustNameOf(variable->GetType(), typenames, StorageMode::PARCELABLE_FIELD); in GenerateParcelBody() 513 out << "pub " << variable->GetName() << ": " << field_type << ",\n"; in GenerateParcelBody() 526 for (const auto& variable : parcel->GetFields()) { in GenerateParcelDefault() local 527 if (variable->GetDefaultValue()) { in GenerateParcelDefault() 528 out << variable->GetName() << ": " << variable->ValueString(ConstantValueDecorator) << ",\n"; in GenerateParcelDefault() 530 out << variable->GetName() << ": Default::default(),\n"; in GenerateParcelDefault() 545 for (const auto& variable : parcel->GetFields()) { in GenerateParcelSerializeBody() local 546 if (!TypeHasDefault(variable->GetType(), typenames)) { in GenerateParcelSerializeBody() [all …]
|
D | aidl_to_cpp_common.cpp | 446 for (const auto& variable : decl.GetFields()) { in ReadFromParcel() local 447 out << fmt::format("case {}: {{\n", variable->GetName()); in ReadFromParcel() 449 const auto& type = variable->GetType(); in ReadFromParcel() 454 out << fmt::format("set<{}>({});\n", variable->GetName(), value); in ReadFromParcel() 461 out << fmt::format("set<{}>(std::move({}));\n", variable->GetName(), value); in ReadFromParcel() 485 for (const auto& variable : decl.GetFields()) { in WriteToParcel() local 486 out << fmt::format("case {}: return ", variable->GetName()); in WriteToParcel() 487 ctx.write_func(out, "get<" + variable->GetName() + ">()", variable->GetType()); in WriteToParcel()
|
D | generate_cpp.cpp | 1105 string GetInitializer(const AidlTypenames& typenames, const AidlVariableDeclaration& variable) { in GetInitializer() argument 1106 string cppType = CppNameOf(variable.GetType(), typenames); in GetInitializer() 1107 return cppType + "(" + variable.ValueString(ConstantValueDecorator) + ")"; in GetInitializer() 1135 for (const auto& variable : parcel.GetFields()) { in BuildReadFromParcel() local 1137 string method = ParcelReadMethodOf(variable->GetType(), typenames); in BuildReadFromParcel() 1140 ParcelReadCastOf(variable->GetType(), typenames, in BuildReadFromParcel() 1141 "&" + variable->GetName())))); in BuildReadFromParcel() 1158 for (const auto& variable : parcel.GetFields()) { in BuildWriteToParcel() local 1159 string method = ParcelWriteMethodOf(variable->GetType(), typenames); in BuildWriteToParcel() 1163 ParcelWriteCastOf(variable->GetType(), typenames, variable->GetName())))); in BuildWriteToParcel() [all …]
|
/system/testing/gtest_extras/ |
D | Options.cpp | 83 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/unwinding/libunwindstack/ |
D | Global.cpp | 61 std::string variable(var_str); in FindAndReadVariable() local 85 if (elf->GetGlobalVariableOffset(variable, &ptr) && ptr != 0) { in FindAndReadVariable()
|
/system/tools/hidl/test/error_test/missing_variable_type/1.0/ |
D | required_error | 1 is missing a variable name
|
/system/bt/gd/common/ |
D | init_flags.cc | 32 …ParseBoolFlag(const std::vector<std::string>& flag_pair, const std::string& flag, bool* variable) { in ParseBoolFlag() argument 40 *variable = *value; in ParseBoolFlag()
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/ |
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/ |
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_avg/ |
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/ |
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/logging/liblog/ |
D | README.protocol.md | 72 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/simpleperf/demo/SimpleperfExamplePureJava/ |
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/ |
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/JavaApi/ |
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 76 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
/system/extras/simpleperf/demo/CppApi/ |
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 76 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
/system/extras/simpleperf/scripts/ |
D | pylintrc | 9 variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
/system/chre/build/ |
D | common.mk | 8 $(warning The OPT_LEVEL variable is unset. Defaulting to 0.)
|
/system/bpf/libbpf_android/ |
D | Android.bp | 89 "-Wno-error=unused-variable", 111 "-Wno-error=unused-variable",
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | Global.h | 49 void FindAndReadVariable(Maps* maps, const char* variable);
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/ |
D | CMakeLists.txt | 23 # variable. Because CMake includes system libraries in the search path by 28 find_library( # Sets the name of the path variable.
|