/system/tools/aidl/ |
D | type_java.h | 32 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 …]
|
D | type_cpp.cpp | 47 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 …]
|
D | type_cpp.h | 33 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 …]
|
D | ast_java.h | 52 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 …]
|
D | type_java.cpp | 43 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 …]
|
D | generate_java_binder.cpp | 37 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 …]
|
D | generate_java.h | 45 using Type = ::android::aidl::java::Type; variable 48 Variable* Get(const Type* type);
|
D | generate_cpp.cpp | 115 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 …]
|
D | ast_java_unittest.cpp | 44 Type class_type(&types, "TestClass", ValidatableType::KIND_GENERATED, in TEST() 46 Type extend_type(&types, "SuperClass", ValidatableType::KIND_BUILT_IN, in TEST()
|
D | ast_java.cpp | 94 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/ |
D | error.h | 39 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 …]
|
D | error.cc | 69 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()
|
D | connection_diagnostics.h | 128 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,
|
D | testing.h | 94 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/ |
D | error.h | 35 enum Type { enum 47 void Populate(Type type, 53 Type type() const { return type_; } in type() 63 Type type, 75 Type type_;
|
D | error_unittest.cc | 40 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/ |
D | action_processor.cc | 46 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()
|
D | mock_action.h | 40 ON_CALL(*this, Type()).WillByDefault(testing::Return("MockAction")); in MockAction() 47 MOCK_CONST_METHOD0(Type, std::string());
|
/system/connectivity/shill/net/ |
D | netlink_attribute.h | 46 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/ |
D | ipc_manager.h | 39 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/ |
D | VolumeBase.h | 50 enum class Type { enum 80 Type getType() { return mType; } in getType() 105 explicit VolumeBase(Type type); 128 Type mType;
|
/system/update_engine/ |
D | omaha_request_action.h | 58 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/ |
D | socket.cpp | 110 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/ |
D | Network.h | 28 enum Type { enum 40 virtual Type getType() const = 0;
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 349 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
|