Home
last modified time | relevance | path

Searched refs:GetType (Results 1 – 25 of 41) sorted by relevance

12

/system/tools/aidl/
Dgenerate_java_binder.cpp405 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 …]
Dgenerate_ndk.cpp176 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 …]
Daidl_apicheck.cpp95 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()
Dgenerate_aidl_mappings.cpp42 signature << arg->GetType().ToString() << ","; in generate_mappings()
45 signature << method->GetType().GetLanguageType<java::Type>()->JavaType(); in generate_mappings()
Dgenerate_java.cpp107 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()
Dtype_namespace.cpp130 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()
Dgenerate_cpp.cpp104 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 …]
Daidl_to_cpp_common.cpp209 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/
Dencrypt_connection_view.h33 CHECK(view.GetType() == Link::PacketType::ENCRYPT_CONNECTION || in GetEncryptConnection()
34 view.GetType() == Link::PacketType::ENCRYPT_CONNECTION_RESPONSE); in GetEncryptConnection()
Dinquiry_view.h34 CHECK(view.GetType() == Link::PacketType::INQUIRY); in GetInquiry()
38 Inquiry::InquiryType GetType() { in GetType() function
Dio_capability_view.h33 CHECK(view.GetType() == Link::PacketType::IO_CAPABILITY_RESPONSE || in GetIoCapability()
34 view.GetType() == Link::PacketType::IO_CAPABILITY_REQUEST); in GetIoCapability()
Dle_advertisement_view.h36 …CHECK(view.GetType() == Link::PacketType::LE_ADVERTISEMENT || view.GetType() == Link::PacketType::… in GetLeAdvertisementView()
Dinquiry_response_view.h34 CHECK(view.GetType() == Link::PacketType::INQUIRY_RESPONSE); in GetInquiryResponse()
38 Inquiry::InquiryType GetType() { in GetType() function
Dio_capability_negative_response_view.h33 CHECK(view.GetType() == Link::PacketType::IO_CAPABILITY_NEGATIVE_RESPONSE); in GetIoCapabilityNegativeResponse()
Ddisconnect_view.h33 CHECK(view.GetType() == Link::PacketType::DISCONNECT); in GetDisconnect()
Dpage_response_view.h33 CHECK(view.GetType() == Link::PacketType::PAGE_RESPONSE); in GetPageResponse()
Dlink_layer_packet_view.h38 Link::PacketType GetType() const;
Dpage_view.h33 CHECK(view.GetType() == Link::PacketType::PAGE); in GetPage()
Dresponse_view.h35 CHECK(view.GetType() == Link::PacketType::RESPONSE); in GetResponse()
Dcommand_view.h35 CHECK(view.GetType() == Link::PacketType::COMMAND); in GetCommand()
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dlink_layer_packet_builder_test.cc102 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/
Dloopback.cc84 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()
Dsniffer.cc54 source.ToString().c_str(), dest.ToString().c_str(), static_cast<int>(packet.GetType())); in IncomingPacket()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer.h36 Phy::Type GetType() { in GetType() function
/system/apex/apexd/
Dapex_database.cpp82 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()

12