/system/core/libunwindstack/tests/ |
D | SymbolsTest.cpp | 73 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 78 ASSERT_TRUE(symbols.GetName<TypeParam>(0x500f, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 83 ASSERT_FALSE(symbols.GetName<TypeParam>(0x4fff, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 84 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5010, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 101 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 110 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 118 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 147 ASSERT_TRUE(symbols.GetName<TypeParam>(0x3005, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 152 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5004, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 157 ASSERT_TRUE(symbols.GetName<TypeParam>(0xa011, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() [all …]
|
/system/tools/aidl/ |
D | aidl_typenames.cpp | 89 if (!IsValidName(type->GetPackage()) || !IsValidName(type->GetName())) { in AddDefinedType() 101 if (!IsValidName(type->GetPackage()) || !IsValidName(type->GetName())) { in AddPreprocessedType() 132 if (it->second->GetName() == type_name) { in TryGetDefinedType() 138 if (it->second->GetName() == type_name) { in TryGetDefinedType() 164 const string& name = type.GetName(); in CanBeOutParameter() 166 return type.IsArray() || type.GetName() == "List" || type.GetName() == "Map" || in CanBeOutParameter() 167 type.GetName() == "ParcelFileDescriptor"; in CanBeOutParameter() 169 const AidlDefinedType* t = TryGetDefinedType(type.GetName()); in CanBeOutParameter() 170 CHECK(t != nullptr) << "Unrecognized type: '" << type.GetName() << "'"; in CanBeOutParameter()
|
D | generate_java.cpp | 115 << variable->GetName(); in generate_parcel_class() 124 out << "public static final android.os.Parcelable.Creator<" << parcel->GetName() << "> CREATOR = " in generate_parcel_class() 125 << "new android.os.Parcelable.Creator<" << parcel->GetName() << ">() {\n"; in generate_parcel_class() 127 out << " public " << parcel->GetName() in generate_parcel_class() 129 out << " " << parcel->GetName() << " _aidl_out = new " << parcel->GetName() << "();\n"; in generate_parcel_class() 134 out << " public " << parcel->GetName() << "[] newArray(int _aidl_size) {\n"; in generate_parcel_class() 135 out << " return new " << parcel->GetName() << "[_aidl_size];\n"; in generate_parcel_class() 163 .var = field->GetName(), in generate_parcel_class() 211 .var = field->GetName(), in generate_parcel_class()
|
D | aidl_language.cpp | 106 if (a.GetName() == name) { in HasAnnotation() 163 string ret = GetName(); in ToString() 197 const string& type_name = GetName(); in CheckValid() 214 if (GetName() == "void") { in CheckValid() 222 const auto definedType = typenames.TryGetDefinedType(GetName()); in CheckValid() 230 if (AidlTypenames::IsPrimitiveTypename(GetName()) && !IsArray()) { in CheckValid() 411 const std::string& type_string = type.GetName(); in As() 592 return GetName() + "(" + Join(arg_signatures, ", ") + ")"; in Signature() 600 string ret = (IsOneway() ? "oneway " : "") + GetType().Signature() + " " + GetName() + "(" + in ToString() 619 return GetName(); in GetCanonicalName() [all …]
|
D | aidl_to_java.cpp | 70 const string& aidl_name = aidl.GetName(); in JavaNameOf() 100 const string& name = aidl.GetName(); in DefaultJavaValueOf() 114 const string name = aidl.GetName(); in IsMarshallingUnsupportedFor() 118 const string& contained_type = aidl.GetTypeParameters().at(0)->GetName(); in IsMarshallingUnsupportedFor() 236 const string& contained_type = c.type.GetTypeParameters().at(0)->GetName(); in WriteToParcelFor() 312 const string type_name = c.type.GetName() + (c.type.IsArray() ? "[]" : ""); in WriteToParcelFor() 317 const AidlDefinedType* t = c.typenames.TryGetDefinedType(c.type.GetName()); in WriteToParcelFor() 318 CHECK(t != nullptr) << "Unknown type: " << c.type.GetName() << endl; in WriteToParcelFor() 433 const string& contained_type = c.type.GetTypeParameters().at(0)->GetName(); in CreateFromParcelFor() 511 const string type_name = c.type.GetName() + (c.type.IsArray() ? "[]" : ""); in CreateFromParcelFor() [all …]
|
D | aidl_to_cpp.cpp | 31 if (type.GetName() == "String" && !type.IsArray() && !type.IsUtf8InCpp()) { in ConstantValueDecorator() 42 output << method.GetId() << " /* " << method.GetName() << " */"; in GetTransactionIdFor()
|
D | aidl_apicheck.cpp | 116 new_constdecls.emplace(c->GetName(), c.get()); in are_compatible_interfaces() 120 const auto found = new_constdecls.find(old_c->GetName()); in are_compatible_interfaces() 123 << old_c->GetName(); in are_compatible_interfaces() 135 << old_c->GetName() << " from " << old_value << " to " << new_value << "."; in are_compatible_interfaces() 162 if (old_field->GetName() != new_field->GetName()) { in are_compatible_parcelables() 163 AIDL_ERROR(newer) << "Renamed field: " << old_field->GetName() << " to " in are_compatible_parcelables() 164 << new_field->GetName() << "."; in are_compatible_parcelables()
|
D | aidl_to_cpp_common.cpp | 28 string base_name = defined_type.GetName(); in ClassName() 47 return defined_type.GetName(); in ClassName() 86 return prefix + a.GetName(); in BuildVarName() 165 const string& aidl_name = aidl.GetName(); in GetTypeInfo() 216 string varName = isServer || isNdk ? BuildVarName(a) : a.GetName(); in WriteLogForArguments() 299 << "Json::Value(\"" << method.GetName() << "\");\n"; in GenLogAfterExecute() 339 if (method.GetType().GetName() != "void") { in GenLogAfterExecute()
|
D | generate_ndk.cpp | 177 out << "static const char* " << constant->GetName() << ";\n"; in GenerateConstantDeclarations() 199 out << constant->GetName() << " = " << constant->ValueString(AidlConstantValueDecorator) in GenerateConstantDeclarations() 213 out << "const char* " << clazz << "::" << constant->GetName() << " = " in GenerateConstantDefinitions() 233 return "(FIRST_CALL_TRANSACTION + " + std::to_string(m.GetId()) + " /*" + m.GetName() + "*/)"; in MethodId() 298 out << "return " << iface << "::getDefaultImpl()->" << method.GetName() << "("; in GenerateClientMethodDefinition() 312 if (method.GetType().GetName() != "void") { in GenerateClientMethodDefinition() 349 if (method.GetType().GetName() != "void") { in GenerateServerCaseDefinition() 370 out << "::ndk::ScopedAStatus _aidl_status = _aidl_impl->" << method.GetName() << "(" in GenerateServerCaseDefinition() 388 if (method.GetType().GetName() != "void") { in GenerateServerCaseDefinition() 454 const bool cacheable = !method->IsUserDefined() && method->GetName() == kGetInterfaceVersion && in GenerateClientSource() [all …]
|
D | generate_java_binder.cpp | 407 decl->name = method.GetName(); in generate_interface_method() 412 arg->GetName(), arg->GetType().IsArray() ? 1 : 0)); in generate_interface_method() 426 MethodCall* realCall = new MethodCall(THIS_VALUE, method.GetName()); in generate_stub_code() 479 new StringLiteralExpression(iface.GetName() + "::" in generate_stub_code() 480 + method.GetName() + "::server"))); in generate_stub_code() 488 if (method.GetType().GetName() == "void") { in generate_stub_code() 558 std::string outline_name = "onTransact$" + method.GetName() + "$"; in generate_stub_case_outline() 600 proxy->name = method.GetName(); in generate_proxy_method() 604 arg->GetName(), arg->GetType().IsArray() ? 1 : 0)); in generate_proxy_method() 621 if (method.GetType().GetName() != "void") { in generate_proxy_method() [all …]
|
D | generate_cpp.cpp | 118 literal += " " + a->GetName(); in BuildArgList() 156 method.GetName(), in BuildMethodDecl() 164 if (method.GetName() == kGetInterfaceVersion && options.Version()) { in BuildMetaMethodDecl() 234 kBinderStatusLiteral, bp_name, method.GetName(), in DefineClientTransaction() 253 kTraceVarName, interface.GetName().c_str(), method.GetName().c_str())); in DefineClientTransaction() 271 string var_name = ((a->IsOut()) ? "*" : "") + a->GetName(); in DefineClientTransaction() 315 arg_names.emplace_back(a->GetName()); in DefineClientTransaction() 324 i_name.c_str(), i_name.c_str(), method.GetName().c_str(), in DefineClientTransaction() 372 ArgList(a->GetName())))); in DefineClientTransaction() 402 if (method.GetName() == kGetInterfaceVersion && options.Version() > 0) { in DefineClientMetaTransaction() [all …]
|
D | type_namespace.h | 225 string name = Trim(aidl_type.IsArray() ? aidl_type.GetName() : aidl_type.ToString()); in Find() 316 std::string container = aidl_type.GetName(); in CanonicalizeContainerType() 373 if (aidl_type.GetName() == "void") { in GetValidatableType() 394 } else if (aidl_type.GetName() == "String" || in GetValidatableType() 395 aidl_type.GetName() == "java.lang.String") { in GetValidatableType() 398 *error_msg = StringPrintf("type '%s' may not be annotated as %s.", aidl_type.GetName().c_str(), in GetValidatableType() 423 aidl_type.GetName().c_str()); in GetValidatableType() 440 aidl_type.GetName().c_str(), in GetValidatableType()
|
D | type_namespace.cpp | 126 StringPrintf("parameter %s (argument %d): ", a.GetName().c_str(), arg_index); in GetArgType() 149 if (is_java_keyword(a.GetName().c_str())) { in GetArgType() 155 if (a.GetName().substr(0, 5) == "_aidl") { in GetArgType()
|
D | type_cpp.cpp | 149 name.push_back(defined_type.GetName()); in GetCppHeader() 169 : Type(ValidatableType::KIND_GENERATED, interface.GetPackage(), interface.GetName(), in BinderType() 182 name.push_back(interface.GetName()); in GetRawCppName() 198 : Type(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(), parcelable.GetName(), in NullableParcelableType() 214 : Type(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(), parcelable.GetName(), in ParcelableType() 217 parcelable.GetName(), cpp_header, GetCppName(parcelable),
|
D | aidl_language.h | 145 const string& GetName() const { return name_; } in GetName() function 157 return lhs.GetName() < rhs.GetName(); 160 return lhs.GetName() == rhs.GetName(); 203 const string& GetName() const { in GetName() function 273 std::string GetName() const { return name_; } in GetName() function 378 const std::string& GetName() const { return name_; } in GetName() function 418 const std::string& GetName() const { return name_; } in GetName() function 497 const std::string& GetName() const { return name_; }; in GetName() function
|
D | type_java.cpp | 323 std::make_unique<UserDataType>(this, p.GetPackage(), p.GetName(), false, true, filename)); in AddParcelableType() 329 auto stub = std::make_unique<Type>(this, b.GetPackage(), b.GetName() + ".Stub", in AddBinderType() 331 auto proxy = std::make_unique<Type>(this, b.GetPackage(), b.GetName() + ".Stub.Proxy", in AddBinderType() 333 auto defaultImpl = std::make_unique<Type>(this, b.GetPackage(), b.GetName() + ".Default", in AddBinderType() 335 auto type = std::make_unique<InterfaceType>(this, b.GetPackage(), b.GetName(), false, filename, in AddBinderType()
|
D | generate_aidl_mappings.cpp | 40 signature << method->GetName() << "|"; in generate_mappings()
|
D | aidl_to_ndk.cpp | 241 const string aidl_name = aidl.GetName(); in GetTypeAspect() 305 AIDL_FATAL(aidl.GetName()) << "Unrecognized mode type: " << static_cast<int>(mode); in NdkNameOf() 331 if (method.GetType().GetName() != "void") { in NdkArgList() 343 return "::ndk::ScopedAStatus " + class_prefix + method.GetName() + "(" + in NdkMethodDecl()
|
/system/update_engine/update_manager/ |
D | umtest_utils.h | 45 ASSERT_NE(nullptr, value.get()) << "Variable: " << variable->GetName(); in ExpectVariableHasValue() 46 EXPECT_EQ(expected, *value) << "Variable: " << variable->GetName(); in ExpectVariableHasValue() 55 EXPECT_EQ(nullptr, value.get()) << "Variable: " << variable->GetName(); in ExpectVariableNotSet()
|
D | evaluation_context.cc | 111 DLOG(INFO) << "ValueChanged() called for variable " << var->GetName(); in ValueChanged() 188 DLOG(INFO) << "Waiting for value on " << it.first->GetName(); in RunOnValueChangeOrTimeout() 232 variables->SetString(it.first->GetName(), it.second.ToString()); in DumpContext()
|
D | evaluation_context-inl.h | 43 LOG(WARNING) << "Error reading Variable " << var->GetName() << ": \"" in GetValue()
|
D | fake_variable.h | 56 *errmsg = this->GetName() + " is an empty FakeVariable"; in GetValue()
|
/system/tools/aidl/tests/android/aidl/tests/ |
D | INamedCallback.aidl | 20 String GetName(); in GetName() method
|
/system/core/libunwindstack/ |
D | Symbols.cpp | 58 bool Symbols::GetName(uint64_t addr, Memory* elf_memory, std::string* name, uint64_t* func_offset) { in GetName() function in unwindstack::Symbols 132 template bool Symbols::GetName<Elf32_Sym>(uint64_t, Memory*, std::string*, uint64_t*); 133 template bool Symbols::GetName<Elf64_Sym>(uint64_t, Memory*, std::string*, uint64_t*);
|
/system/bt/common/ |
D | message_loop_thread_unittest.cc | 46 void GetName(std::promise<std::string> name_promise) { in GetName() function in MessageLoopThreadTest 64 GetName(std::move(name_promise)); in SleepAndGetName() 145 base::BindOnce(&MessageLoopThreadTest::GetName, base::Unretained(this), in TEST_F() 149 ASSERT_EQ(name, message_loop_thread.GetName()); in TEST_F()
|