Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 124) sorted by relevance

12345

/system/tools/aidl/
Dtype_java.h32 class Type : public ValidatableType {
37 Type(const JavaTypeNamespace* types, const std::string& name, int kind,
39 Type(const JavaTypeNamespace* types, const std::string& package,
42 virtual ~Type() = default;
66 std::unique_ptr<Type> m_array_type;
69 Type();
70 Type(const Type&);
78 class BasicArrayType : public Type {
99 class BasicType : public Type {
118 class FileDescriptorArrayType : public Type {
[all …]
Dtype_cpp.cpp47 Type* const kNoArrayType = nullptr;
48 Type* const kNoNullableType = nullptr;
70 class VoidType : public Type {
72 VoidType() : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, "void", in VoidType()
79 class PrimitiveType : public Type {
90 : Type(kind, package, aidl_type, {header}, cpp_type, read_method, in PrimitiveType()
125 Type* nullable_type = nullptr) in PrimitiveType()
126 : Type(kind, package, aidl_type, {header, "vector"}, cpp_type, read_method, in PrimitiveType()
137 class ByteType : public Type {
157 Type* array_type, in ByteType()
[all …]
Dtype_cpp.h33 class Type : public ValidatableType {
35 Type(int kind, // from ValidatableType
42 Type* array_type = nullptr,
43 Type* nullable_type = nullptr,
46 virtual ~Type() = default;
52 const Type* ArrayType() const override { return array_type_.get(); } in ArrayType()
53 const Type* NullableType() const override { return nullable_type_.get(); } in NullableType()
84 const std::unique_ptr<Type> array_type_;
85 const std::unique_ptr<Type> nullable_type_;
87 DISALLOW_COPY_AND_ASSIGN(Type);
[all …]
Dast_java.h52 class Type; variable
87 const Type* type = nullptr;
92 Variable(const Type* type, const std::string& name);
93 Variable(const Type* type, const std::string& name, int dimension);
102 const Type* clazz;
106 FieldVariable(const Type* clazz, const std::string& name);
152 const Type* cast;
155 Assignment(Variable* lvalue, Expression* rvalue, const Type* cast);
162 const Type* clazz = nullptr;
170 MethodCall(const Type* clazz, const std::string& name);
[all …]
Dtype_java.cpp43 Type::Type(const JavaTypeNamespace* types, const string& name, int kind, in Type() function in android::aidl::java::Type
45 : Type(types, "", name, kind, canWriteToParcel, canBeOut, "", -1) {} in Type()
47 Type::Type(const JavaTypeNamespace* types, const string& package, in Type() function in android::aidl::java::Type
57 string Type::CreatorName() const { return ""; } in CreatorName()
59 string Type::InstantiableName() const { return JavaType(); } in InstantiableName()
61 void Type::WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel, in WriteToParcel()
69 void Type::CreateFromParcel(StatementBlock* addTo, Variable* v, in CreateFromParcel()
77 void Type::ReadFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, in ReadFromParcel()
85 Expression* Type::BuildWriteToParcelFlags(int flags) const { in BuildWriteToParcelFlags()
104 : Type(types, name, ValidatableType::KIND_BUILT_IN, true, false), in BasicType()
[all …]
Dgenerate_java_binder.cpp37 StubClass(const Type* type, const InterfaceType* interfaceType,
54 StubClass::StubClass(const Type* type, const InterfaceType* interfaceType, in StubClass()
179 ProxyClass(const JavaTypeNamespace* types, const Type* type,
187 ProxyClass::ProxyClass(const JavaTypeNamespace* types, const Type* type, in ProxyClass()
223 static void generate_new_array(const Type* t, StatementBlock* addTo, in generate_new_array()
237 static void generate_write_to_parcel(const Type* t, StatementBlock* addTo, in generate_write_to_parcel()
242 static void generate_create_from_parcel(const Type* t, StatementBlock* addTo, in generate_create_from_parcel()
248 static void generate_read_from_parcel(const Type* t, StatementBlock* addTo, in generate_read_from_parcel()
287 decl->returnType = method.GetType().GetLanguageType<Type>(); in generate_method()
293 new Variable(arg->GetType().GetLanguageType<Type>(), arg->GetName(), in generate_method()
[all …]
Dgenerate_java.h45 using Type = ::android::aidl::java::Type; variable
48 Variable* Get(const Type* type);
Dgenerate_cpp.cpp115 const Type* type = a->GetType().GetLanguageType<Type>(); in BuildArgList()
137 const Type* return_type = method.GetType().GetLanguageType<Type>(); in BuildArgList()
199 const Type* cpp_type = a.GetType().GetLanguageType<Type>(); in DeclareLocalVariable()
285 const Type* type = a->GetType().GetLanguageType<Type>(); in DefineClientTransaction()
334 const Type* return_type = method.GetType().GetLanguageType<Type>(); in DefineClientTransaction()
350 a->GetType().GetLanguageType<Type>()->ReadFromParcelMethod(); in DefineClientTransaction()
417 const Type* return_type = method.GetType().GetLanguageType<Type>(); in HandleServerTransaction()
439 const Type* type = a->GetType().GetLanguageType<Type>(); in HandleServerTransaction()
486 const Type* type = a->GetType().GetLanguageType<Type>(); in HandleServerTransaction()
664 const Type* type = argument->GetType().GetLanguageType<Type>(); in BuildInterfaceHeader()
[all …]
Dast_java_unittest.cpp44 Type class_type(&types, "TestClass", ValidatableType::KIND_GENERATED, in TEST()
46 Type extend_type(&types, "SuperClass", ValidatableType::KIND_BUILT_IN, in TEST()
Dast_java.cpp94 Variable::Variable(const Type* t, const string& n) in Variable()
97 Variable::Variable(const Type* t, const string& n, int d) in Variable()
114 FieldVariable::FieldVariable(const Type* c, const string& n) in FieldVariable()
153 Assignment::Assignment(Variable* l, Expression* r, const Type* c) in Assignment()
176 MethodCall::MethodCall(const Type* t, const string& n) : clazz(t), name(n) {} in MethodCall()
186 MethodCall::MethodCall(const Type* t, const string& n, int argc = 0, ...) in MethodCall()
224 NewExpression::NewExpression(const Type* t) : type(t) {} in NewExpression()
226 NewExpression::NewExpression(const Type* t, int argc = 0, ...) : type(t) { in NewExpression()
246 NewArrayExpression::NewArrayExpression(const Type* t, Expression* s) in NewArrayExpression()
268 Cast::Cast(const Type* t, Expression* e) : type(t), expression(e) {} in Cast()
[all …]
/system/connectivity/shill/
Derror.h39 enum Type { enum
71 explicit Error(Type type); // Uses the default message for |type|.
72 Error(Type type, const std::string& message);
75 void Populate(Type type); // Uses the default message for |type|.
76 void Populate(Type type, const std::string& message);
77 void Populate(Type type,
89 Type type() const { return type_; } in type()
96 static std::string GetDBusResult(Type type);
97 static std::string GetDefaultMessage(Type type);
102 Error* error, Type type,
[all …]
Derror.cc69 Error::Error(Type type) { in Error()
73 Error::Error(Type type, const string& message) { in Error()
79 void Error::Populate(Type type) { in Populate()
83 void Error::Populate(Type type, const string& message) { in Populate()
89 void Error::Populate(Type type, in Populate()
119 string Error::GetDBusResult(Type type) { in GetDBusResult()
125 string Error::GetDefaultMessage(Type type) { in GetDefaultMessage()
132 Error* error, Type type, const string& message) { in PopulateAndLog()
Dconnection_diagnostics.h128 enum Type { enum
160 Event(Type type_in, Phase phase_in, Result result_in, in Event()
166 Type type;
235 void AddEvent(Type type, Phase phase, Result result);
239 void AddEventWithMessage(Type type, Phase phase, Result result,
293 void OnPingHostComplete(Type ping_event_type, const IPAddress& address_pinged,
328 bool DoesPreviousEventMatch(Type type, Phase phase, Result result,
Dtesting.h94 SetErrorTypeInArgumentAction(Error::Type error_type, bool warn_default) in SetErrorTypeInArgumentAction()
114 Error::Type error_type_;
139 SetErrorTypeInArgument(Error::Type error_type) { in SetErrorTypeInArgument()
/system/connectivity/apmanager/
Derror.h35 enum Type { enum
47 void Populate(Type type,
53 Type type() const { return type_; } in type()
63 Type type,
75 Type type_;
Derror_unittest.cc40 void PopulateError(Error* error, Error::Type type) { in PopulateError()
44 void PopulateError(Error* error, Error::Type type, string message) { in PopulateError()
49 void VerifyDBusError(Error::Type type, const string& expected_error_code) { in VerifyDBusError()
/system/update_engine/common/
Daction_processor.cc46 LOG(INFO) << "ActionProcessor: starting " << current_action_->Type(); in StartProcessing()
59 << (current_action_ ? current_action_->Type() : "") in StopProcessing()
82 LOG(INFO) << "ActionProcessor: suspending " << current_action_->Type(); in SuspendProcessing()
95 LOG(INFO) << "ActionProcessor: resuming " << current_action_->Type(); in ResumeProcessing()
112 string old_type = current_action_->Type(); in ActionComplete()
143 LOG(INFO) << "ActionProcessor: starting " << current_action_->Type(); in StartNextActionOrFinish()
Dmock_action.h40 ON_CALL(*this, Type()).WillByDefault(testing::Return("MockAction")); in MockAction()
47 MOCK_CONST_METHOD0(Type, std::string());
/system/connectivity/shill/net/
Dnetlink_attribute.h46 enum Type { enum
59 Type datatype, const char* datatype_string);
73 Type datatype() const { return datatype_; } in datatype()
140 Type datatype_;
149 static const Type kType;
167 static const Type kType;
186 static const Type kType;
204 static const Type kType;
222 static const Type kType;
241 static const Type kType;
[all …]
/system/bt/service/ipc/
Dipc_manager.h39 enum Type { enum
53 virtual void OnIPCHandlerStarted(Type type) = 0;
57 virtual void OnIPCHandlerStopped(Type type) = 0;
79 bool Start(Type type, Delegate* delegate);
/system/vold/
DVolumeBase.h50 enum class Type { enum
80 Type getType() { return mType; } in getType()
105 explicit VolumeBase(Type type);
128 Type mType;
/system/update_engine/
Domaha_request_action.h58 enum Type { enum
81 explicit OmahaEvent(Type in_type) in OmahaEvent()
85 OmahaEvent(Type in_type, Result in_result, ErrorCode in_error_code) in OmahaEvent()
90 Type type;
162 std::string Type() const override { return StaticType(); } in Type() function
/system/core/fastboot/
Dsocket.cpp110 enum class Type { kClient, kServer }; enum in UdpSocket
112 UdpSocket(Type type, cutils_socket_t sock);
125 UdpSocket::UdpSocket(Type type, cutils_socket_t sock) : Socket(sock) { in UdpSocket()
128 if (type == Type::kServer) { in UdpSocket()
251 return std::unique_ptr<UdpSocket>(new UdpSocket(UdpSocket::Type::kClient, sock)); in NewClient()
271 return std::unique_ptr<UdpSocket>(new UdpSocket(UdpSocket::Type::kServer, sock)); in NewServer()
/system/netd/server/
DNetwork.h28 enum Type { enum
40 virtual Type getType() const = 0;
/system/keymaster/include/keymaster/
Dauthorization_set.h349 template <keymaster_tag_t Tag, keymaster_tag_type_t Type>
350 bool GetTagValue(TypedTag<Type, Tag> tag, typename TagValueType<Type>::value_type* val) const { in GetTagValue() argument
373 template <keymaster_tag_t Tag, keymaster_tag_type_t Type, typename KeymasterEnum>
374 bool push_back(TypedEnumTag<Type, Tag, KeymasterEnum> tag, KeymasterEnum val) { in push_back() argument
412 template <keymaster_tag_t Tag, keymaster_tag_type_t Type>
413 bool push_back(TypedTag<Type, Tag> tag, typename TypedTag<Type, Tag>::value_type val) { in push_back() argument
417 template <keymaster_tag_t Tag, keymaster_tag_type_t Type>
418 bool push_back(TypedTag<Type, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument

12345