/system/tools/aidl/ |
D | generate_java_binder.cpp | 405 decl->returnType = method.GetType().GetLanguageType<Type>()->JavaType(); in generate_interface_method() 406 decl->returnTypeDimension = method.GetType().IsArray() ? 1 : 0; in generate_interface_method() 408 decl->annotations = generate_java_annotations(method.GetType()); in generate_interface_method() 411 decl->parameters.push_back(new Variable(arg->GetType().GetLanguageType<Type>()->JavaType(), in generate_interface_method() 412 arg->GetName(), arg->GetType().IsArray() ? 1 : 0)); in generate_interface_method() 441 const Type* t = arg->GetType().GetLanguageType<Type>(); in generate_stub_code() 443 v->dimension = arg->GetType().IsArray() ? 1 : 0; in generate_stub_code() 452 .type = arg->GetType(), in generate_stub_code() 460 if (!arg->GetType().IsArray()) { in generate_stub_code() 488 if (method.GetType().GetName() == "void") { in generate_stub_code() [all …]
|
D | generate_ndk.cpp | 176 if (value.GetType() == AidlConstantValue::Type::STRING) { in GenerateConstantDeclarations() 185 if (value.GetType() == AidlConstantValue::Type::HEXIDECIMAL || in GenerateConstantDeclarations() 186 value.GetType() == AidlConstantValue::Type::INTEGRAL) { in GenerateConstantDeclarations() 197 if (value.GetType() == AidlConstantValue::Type::HEXIDECIMAL || in GenerateConstantDeclarations() 198 value.GetType() == AidlConstantValue::Type::INTEGRAL) { in GenerateConstantDeclarations() 212 if (value.GetType() == AidlConstantValue::Type::STRING) { in GenerateConstantDefinitions() 275 WriteToParcelFor({out, types, arg->GetType(), "_aidl_in.get()", prefix + var_name}); in GenerateClientMethodDefinition() 278 } else if (arg->IsOut() && arg->GetType().IsArray()) { in GenerateClientMethodDefinition() 312 if (method.GetType().GetName() != "void") { in GenerateClientMethodDefinition() 314 ReadFromParcelFor({out, types, method.GetType(), "_aidl_out.get()", "_aidl_return"}); in GenerateClientMethodDefinition() [all …]
|
D | aidl_apicheck.cpp | 95 compatible &= are_compatible_types(old_m->GetType(), new_m->GetType()); in are_compatible_interfaces() 104 compatible &= are_compatible_types(old_a.GetType(), new_a.GetType()); in are_compatible_interfaces() 129 compatible &= are_compatible_types(old_c->GetType(), new_c->GetType()); in are_compatible_interfaces() 157 compatible &= are_compatible_types(old_field->GetType(), new_field->GetType()); in are_compatible_parcelables()
|
D | generate_aidl_mappings.cpp | 42 signature << arg->GetType().ToString() << ","; in generate_mappings() 45 signature << method->GetType().GetLanguageType<java::Type>()->JavaType(); in generate_mappings()
|
D | generate_java.cpp | 107 const Type* type = variable->GetType().GetLanguageType<Type>(); in generate_parcel_class() 110 out << variable->GetType().GetComments() << "\n"; in generate_parcel_class() 111 for (const auto& a : generate_java_annotations(variable->GetType())) { in generate_parcel_class() 114 out << "public " << type->JavaType() << (variable->GetType().IsArray() ? "[]" : "") << " " in generate_parcel_class() 162 .type = field->GetType(), in generate_parcel_class() 210 .type = field->GetType(), in generate_parcel_class()
|
D | type_namespace.cpp | 130 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg, context); in GetArgType() 136 const bool can_be_out = typenames_.CanBeOutParameter(a.GetType()); in GetArgType() 138 AIDL_ERROR(a) << error_prefix << "'" << a.GetType().ToString() in GetArgType()
|
D | generate_cpp.cpp | 104 const Type* type = a->GetType().GetLanguageType<Type>(); in BuildArgList() 113 if (!type->IsCppPrimitive() || a->GetType().IsArray()) { in BuildArgList() 127 const Type* return_type = method.GetType().GetLanguageType<Type>(); in BuildArgList() 200 const Type* cpp_type = a.GetType().GetLanguageType<Type>(); in DeclareLocalVariable() 270 const Type* type = a->GetType().GetLanguageType<Type>(); in DefineClientTransaction() 284 } else if (a->IsOut() && a->GetType().IsArray()) { in DefineClientTransaction() 317 if (method.GetType().GetLanguageType<Type>() != types.VoidType()) { in DefineClientTransaction() 350 const Type* return_type = method.GetType().GetLanguageType<Type>(); in DefineClientTransaction() 366 a->GetType().GetLanguageType<Type>()->ReadFromParcelMethod(); in DefineClientTransaction() 496 const Type* return_type = method.GetType().GetLanguageType<Type>(); in HandleServerTransaction() [all …]
|
D | aidl_to_cpp_common.cpp | 209 if (!CanWriteLog(a.GetType())) { in WriteLogForArguments() 220 WriteLogFor(*(writer.get()), a.GetType(), varName, isPointer, logElementVarName + "[\"value\"]", in WriteLogForArguments() 339 if (method.GetType().GetName() != "void") { in GenLogAfterExecute() 340 WriteLogFor(*(writer.get()), method.GetType(), returnVarName, !isServer, in GenLogAfterExecute()
|
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | encrypt_connection_view.h | 33 CHECK(view.GetType() == Link::PacketType::ENCRYPT_CONNECTION || in GetEncryptConnection() 34 view.GetType() == Link::PacketType::ENCRYPT_CONNECTION_RESPONSE); in GetEncryptConnection()
|
D | inquiry_view.h | 34 CHECK(view.GetType() == Link::PacketType::INQUIRY); in GetInquiry() 38 Inquiry::InquiryType GetType() { in GetType() function
|
D | io_capability_view.h | 33 CHECK(view.GetType() == Link::PacketType::IO_CAPABILITY_RESPONSE || in GetIoCapability() 34 view.GetType() == Link::PacketType::IO_CAPABILITY_REQUEST); in GetIoCapability()
|
D | le_advertisement_view.h | 36 …CHECK(view.GetType() == Link::PacketType::LE_ADVERTISEMENT || view.GetType() == Link::PacketType::… in GetLeAdvertisementView()
|
D | inquiry_response_view.h | 34 CHECK(view.GetType() == Link::PacketType::INQUIRY_RESPONSE); in GetInquiryResponse() 38 Inquiry::InquiryType GetType() { in GetType() function
|
D | io_capability_negative_response_view.h | 33 CHECK(view.GetType() == Link::PacketType::IO_CAPABILITY_NEGATIVE_RESPONSE); in GetIoCapabilityNegativeResponse()
|
D | disconnect_view.h | 33 CHECK(view.GetType() == Link::PacketType::DISCONNECT); in GetDisconnect()
|
D | page_response_view.h | 33 CHECK(view.GetType() == Link::PacketType::PAGE_RESPONSE); in GetPageResponse()
|
D | link_layer_packet_view.h | 38 Link::PacketType GetType() const;
|
D | page_view.h | 33 CHECK(view.GetType() == Link::PacketType::PAGE); in GetPage()
|
D | response_view.h | 35 CHECK(view.GetType() == Link::PacketType::RESPONSE); in GetResponse()
|
D | command_view.h | 35 CHECK(view.GetType() == Link::PacketType::COMMAND); in GetCommand()
|
/system/bt/vendor_libs/test_vendor_lib/packets/test/ |
D | link_layer_packet_builder_test.cc | 102 ASSERT_EQ(view.GetType(), Link::PacketType::DISCONNECT); in TEST_F() 120 ASSERT_EQ(view.GetType(), Link::PacketType::ENCRYPT_CONNECTION); in TEST_F() 142 ASSERT_EQ(view.GetType(), Link::PacketType::ENCRYPT_CONNECTION_RESPONSE); in TEST_F() 163 ASSERT_EQ(view.GetType(), Link::PacketType::INQUIRY); in TEST_F() 166 ASSERT_EQ(InquiryView::GetInquiry(view).GetType(), inquiry_type); in TEST_F() 183 ASSERT_EQ(view.GetType(), Link::PacketType::INQUIRY_RESPONSE); in TEST_F() 189 ASSERT_EQ(inquiry_response.GetType(), Inquiry::InquiryType::STANDARD); in TEST_F() 209 ASSERT_EQ(view.GetType(), Link::PacketType::INQUIRY_RESPONSE); in TEST_F() 214 ASSERT_EQ(inquiry_response.GetType(), Inquiry::InquiryType::RSSI); in TEST_F() 235 ASSERT_EQ(view.GetType(), Link::PacketType::INQUIRY_RESPONSE); in TEST_F() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | loopback.cc | 84 LOG_INFO(LOG_TAG, "Got a packet of type %d", static_cast<int>(packet.GetType())); in IncomingPacket() 85 …if (packet.GetDestinationAddress() == properties_.GetLeAddress() && packet.GetType() == Link::Pack… in IncomingPacket()
|
D | sniffer.cc | 54 source.ToString().c_str(), dest.ToString().c_str(), static_cast<int>(packet.GetType())); in IncomingPacket()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | phy_layer.h | 36 Phy::Type GetType() { in GetType() function
|
/system/apex/apexd/ |
D | apex_database.cpp | 82 BlockDeviceType GetType() const { in GetType() function in android::apex::__anonc3d8388d0111::BlockDevice 193 switch (block.GetType()) { in resolveMountInfo() 208 if (slaves.empty() || slaves[0].GetType() != LoopDevice) { in resolveMountInfo()
|