/system/tools/aidl/ |
D | generate_java.cpp | 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() 120 } else if (variable->GetType().GetName() == "ParcelableHolder") { in generate_parcel_class() 122 out << " = new " << JavaSignatureOf(variable->GetType(), typenames) << "("; in generate_parcel_class() 186 .type = field->GetType(), in generate_parcel_class() 213 JavaSignatureOf(field->GetType(), typenames), field->GetName())); in generate_parcel_class() 217 if (field->GetType().GetName() == "List") { in generate_parcel_class() 220 } else if (field->GetType().GetName() == "Map") { in generate_parcel_class() [all …]
|
D | generate_ndk.cpp | 210 includes.insert(headerFilePath(method->GetType())); in GenerateHeaderIncludes() 212 includes.insert(headerFilePath(argument->GetType())); in GenerateHeaderIncludes() 220 includes.insert(headerFilePath(field->GetType())); in GenerateHeaderIncludes() 256 CHECK(value.GetType() != AidlConstantValue::Type::UNARY && in GenerateConstantDeclarations() 257 value.GetType() != AidlConstantValue::Type::BINARY); in GenerateConstantDeclarations() 258 if (value.GetType() == AidlConstantValue::Type::STRING) { in GenerateConstantDeclarations() 267 CHECK(value.GetType() != AidlConstantValue::Type::UNARY && in GenerateConstantDeclarations() 268 value.GetType() != AidlConstantValue::Type::BINARY); in GenerateConstantDeclarations() 269 if (value.GetType() == AidlConstantValue::Type::BOOLEAN || in GenerateConstantDeclarations() 270 value.GetType() == AidlConstantValue::Type::INT8 || in GenerateConstantDeclarations() [all …]
|
D | generate_cpp.cpp | 106 const bool nonCopyable = IsNonCopyableType(a->GetType(), typenames); in BuildArgList() 110 literal = CppNameOf(a->GetType(), typenames); in BuildArgList() 115 const auto definedType = typenames.TryGetDefinedType(a->GetType().GetName()); in BuildArgList() 118 const bool isPrimitive = AidlTypenames::IsPrimitiveTypename(a->GetType().GetName()); in BuildArgList() 122 if (!(isPrimitive || isEnum || nonCopyable) || a->GetType().IsArray()) { in BuildArgList() 142 if (method.GetType().GetName() != "void") { in BuildArgList() 145 literal = CppNameOf(method.GetType(), typenames) + "*"; in BuildArgList() 226 string type = CppNameOf(a.GetType(), typenamespaces); in DeclareLocalVariable() 299 const string& method = ParcelWriteMethodOf(a->GetType(), typenames); in DefineClientTransaction() 303 ParcelWriteCastOf(a->GetType(), typenames, var_name)))); in DefineClientTransaction() [all …]
|
D | aidl_checkapi.cpp | 59 if (kIgnoreAnnotations.find(annotation.GetType()) == kIgnoreAnnotations.end()) { in get_strict_annotations() 126 compatible &= are_compatible_types(old_m->GetType(), new_m->GetType()); in are_compatible_interfaces() 135 compatible &= are_compatible_types(old_a.GetType(), new_a.GetType()); in are_compatible_interfaces() 160 compatible &= are_compatible_types(old_c->GetType(), new_c->GetType()); in are_compatible_interfaces() 201 compatible &= are_compatible_types(old_field->GetType(), new_field->GetType()); in are_compatible_parcelables() 229 if (!new_field->GetDefaultValue() && !has_usable_nil_type(new_field->GetType())) { in are_compatible_parcelables()
|
D | generate_aidl_mappings.cpp | 43 signature << java::JavaSignatureOf(arg->GetType(), typenames) << ","; in generate_mappings() 46 signature << java::JavaSignatureOf(method->GetType(), typenames); in generate_mappings()
|
D | generate_java_binder.cpp | 405 decl->returnType = JavaSignatureOf(method.GetType(), typenames); in generate_interface_method() 407 decl->annotations = generate_java_annotations(method.GetType()); in generate_interface_method() 410 … auto var = std::make_shared<Variable>(JavaSignatureOf(arg->GetType(), typenames), arg->GetName()); in generate_interface_method() 411 var->annotations = generate_java_annotations(arg->GetType()); in generate_interface_method() 461 std::shared_ptr<Variable> v = stubArgs.Get(arg->GetType(), typenames); in generate_stub_code() 470 .type = arg->GetType(), in generate_stub_code() 478 if (!arg->GetType().IsArray()) { in generate_stub_code() 481 InstantiableJavaSignatureOf(arg->GetType(), typenames)))); in generate_stub_code() 483 generate_new_array(arg->GetType(), typenames, statements, v, transact_data); in generate_stub_code() 492 if (method.GetType().GetName() == "void") { in generate_stub_code() [all …]
|
D | aidl_language.cpp | 252 if (a.GetType() == type) { in GetAnnotation() 337 if (supported_annotations.find(annotation.GetType()) == supported_annotations.end()) { in CheckValid() 570 return default_value_->ValueString(GetType(), decorator); in ValueString() 692 arg_signatures.emplace_back(arg->GetType().ToString()); in Signature() 702 string ret = (IsOneway() ? "oneway " : "") + GetType().Signature() + " " + GetName() + "(" + in ToString() 815 if (field->GetType().IsHidden()) { in Dump() 842 success = success && typenames.CanBeImmutable(v->GetType()); in CheckValid() 948 if (!v->GetType().LanguageSpecificCheckValid(typenames, lang)) { in LanguageSpecificCheckValid() 1046 if (!m->GetType().LanguageSpecificCheckValid(typenames, lang)) { in LanguageSpecificCheckValid() 1050 if (!arg->GetType().LanguageSpecificCheckValid(typenames, lang)) { in LanguageSpecificCheckValid() [all …]
|
D | aidl_to_cpp_common.cpp | 213 if (!CanWriteLog(a.GetType())) { in WriteLogForArguments() 224 WriteLogFor(*(writer.get()), a.GetType(), varName, isPointer, logElementVarName + "[\"value\"]", in WriteLogForArguments() 343 if (method.GetType().GetName() != "void") { in GenLogAfterExecute() 344 WriteLogFor(*(writer.get()), method.GetType(), returnVarName, !isServer, in GenLogAfterExecute()
|
D | aidl.cpp | 667 switch (constant->GetValue().GetType()) { in load_and_validate_aidl() 686 << static_cast<int>(constant->GetValue().GetType()); in load_and_validate_aidl() 723 check(method->GetType(), method.get()); in load_and_validate_aidl() 725 check(arg->GetType(), method.get()); in load_and_validate_aidl() 730 check(field->GetType(), field.get()); in load_and_validate_aidl()
|
D | aidl_to_ndk.cpp | 430 std::string type = NdkNameOf(types, a->GetType(), mode); in NdkArgList() 435 if (method.GetType().GetName() != "void") { in NdkArgList() 436 std::string type = NdkNameOf(types, method.GetType(), StorageMode::OUT_ARGUMENT); in NdkArgList()
|
D | aidl_language.h | 183 const Type& GetType() const { return schema_.type; } in GetType() function 341 const AidlTypeSpecifier& GetType() const { return *type_; } in GetType() function 464 Type GetType() const { return final_type_; } in GetType() function 550 const AidlTypeSpecifier& GetType() const { return *type_; } in GetType() function 559 return value_->ValueString(GetType(), decorator); in ValueString() 588 const AidlTypeSpecifier& GetType() const { return *type_; } in GetType() function
|
D | aidl_unittest.cpp | 356 EXPECT_FALSE(interface->GetMethods()[0]->GetType().IsNullable()); in TEST_P() 366 EXPECT_TRUE(interface->GetMethods()[0]->GetType().IsNullable()); in TEST_P() 376 EXPECT_FALSE(interface->GetMethods()[0]->GetType().IsUtf8InCpp()); in TEST_P() 386 EXPECT_TRUE(interface->GetMethods()[0]->GetType().IsUtf8InCpp()); in TEST_P() 526 const AidlTypeSpecifier& ret_type = method->GetType(); in TEST_P()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | loopback.cc | 70 LOG_INFO("Got a packet of type %d", static_cast<int>(packet.GetType())); in IncomingPacket() 72 packet.GetType() == model::packets::PacketType::LE_SCAN) { in IncomingPacket()
|
D | sniffer.cc | 53 model::packets::PacketTypeText(packet.GetType()).c_str()); in IncomingPacket()
|
D | remote_loopback_device.cc | 51 model::packets::PacketType type = packet.GetType(); in IncomingPacket()
|
D | device.cc | 32 phy_layers_[phy->GetType()].push_back(phy); in RegisterPhyLayer()
|
D | beacon.cc | 81 packet.GetType() == model::packets::PacketType::LE_SCAN) { in IncomingPacket()
|
D | scripted_beacon.cc | 204 packet.GetType() == model::packets::PacketType::LE_SCAN) { in IncomingPacket()
|
/system/apex/apexd/ |
D | apex_database.cpp | 68 BlockDeviceType GetType() const { in GetType() function in android::apex::__anon837c15e40111::BlockDevice 138 if (dev.GetType() != LoopDevice) { in PopulateLoopInfo() 194 switch (block.GetType()) { in resolveMountInfo()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | phy_layer.h | 47 Phy::Type GetType() { in GetType() function
|
D | phy_layer_factory.h | 36 Phy::Type GetType();
|
D | test_model.cc | 159 devices_[dev_index]->UnregisterPhyLayer(phys_[phy_index].GetType(), in DelDeviceFromPhy() 167 if (phy_type == phys_[i].GetType()) { in AddLinkLayerConnection()
|
D | phy_layer_factory.cc | 25 Phy::Type PhyLayerFactory::GetType() { in GetType() function in test_vendor_lib::PhyLayerFactory
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | packet_stream_unittest.cc | 79 EXPECT_EQ(DATA_TYPE_COMMAND, command->GetType()); in CheckedReceiveCommand()
|
D | link_layer_socket_device_test.cc | 101 ASSERT_EQ(Link::PacketType::COMMAND, received_view.GetType()); in ValidatePacket()
|