Home
last modified time | relevance | path

Searched refs:Interface (Results 1 – 25 of 97) sorted by relevance

1234

/system/libhidl/transport/include/hidl/
DLegacySupport.h53 template <class Interface, class ExpectInterface = Interface>
56 return registerPassthroughServiceImplementation(Interface::descriptor,
65 template <class Interface, class ExpectInterface = Interface>
69 status_t result = registerPassthroughServiceImplementation<Interface, ExpectInterface>(name);
78 template <class Interface, class ExpectInterface = Interface>
81 return defaultPassthroughServiceImplementation<Interface, ExpectInterface>("default",
93 template <class Interface, class ExpectInterface = Interface>
97 Interface::descriptor, ExpectInterface::descriptor,
111 template <class Interface, class ExpectInterface = Interface>
116 registerLazyPassthroughServiceImplementation<Interface, ExpectInterface>(name);
[all …]
/system/tools/hidl/
DInterface.cpp43 const std::unique_ptr<ConstantExpression> Interface::FLAG_ONE_WAY =
46 const std::unique_ptr<ConstantExpression> Interface::FLAG_CLEAR_BUF =
50 Interface::Interface(const std::string& localName, const FQName& fullName, const Location& location, in Interface() function in android::Interface
54 std::string Interface::typeName() const { in typeName()
58 const Hash* Interface::getFileHash() const { in getFileHash()
62 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
93 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
137 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
185 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
203 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod()
[all …]
DInterface.h38 struct Interface : public Scope { struct
42 Interface(const std::string& localName, const FQName& fullName, const Location& location, argument
57 const Interface* superType() const; argument
61 std::vector<const Interface *> superTypeChain() const;
64 std::vector<const Interface *> typeChain() const;
160 Formatter& out, const std::string& prefix, const std::vector<const Interface*>& chain, argument
163 DISALLOW_COPY_AND_ASSIGN(Interface);
168 InterfaceAndMethod(const Interface *iface, Method *method) in InterfaceAndMethod()
172 const Interface *interface() const { return mInterface; } in interface()
176 const Interface *mInterface;
DAST.h40 struct Interface;
200 const Interface *getInterface() const;
216 bool addMethod(Method* method, Interface* iface);
217 bool addAllReservedMethodsToInterface(Interface* iface);
301 using MethodGenerator = std::function<void(const Method*, const Interface*)>;
310 …void generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInterfa…
312 … const Method* method, const Interface* superInterface) const;
314 const Method* method, const Interface* superInterface) const;
319 void generateStubSource(Formatter& out, const Interface* iface) const;
322 const Interface* superInterface) const;
[all …]
DgenerateVts.cpp34 const Interface* iface = mRootScope.getInterface(); in emitVtsTypeDeclarations()
53 const Interface *iface = AST::getInterface(); in generateVts()
75 const Interface* iface = mRootScope.getInterface(); in generateVts()
83 for (const Interface* superInterface : iface->superTypeChain()) { in generateVts()
DgenerateCpp.cpp219 const Interface *iface = getInterface(); in generateInterfaceHeader()
261 const Interface *superType = iface->superType(); in generateInterfaceHeader()
301 const Interface* superType = tuple.interface(); in generateInterfaceHeader()
347 for (const Interface *superType : iface->typeChain()) { in generateInterfaceHeader()
397 const Interface *iface = getInterface(); in generateHwBinderHeader()
441 const Interface &iface = static_cast<const Interface &>(arg->type()); in wrapPassthroughArg()
462 void AST::generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInt… in generatePassthroughMethod()
604 const Interface* iface = mRootScope.getInterface(); in generateMethods()
606 const Interface *prevIterface = nullptr; in generateMethods()
609 const Interface *superInterface = tuple.interface(); in generateMethods()
[all …]
DgenerateJavaImpl.cpp28 const Interface* iface = mRootScope.getInterface(); in generateJavaImpl()
40 const Interface* prevInterface = nullptr; in generateJavaImpl()
48 const Interface* superInterface = tuple.interface(); in generateJavaImpl()
DgenerateCppImpl.cpp84 const Interface* iface = mRootScope.getInterface(); in generateCppImplHeader()
113 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplHeader() argument
141 const Interface* iface = mRootScope.getInterface(); in generateCppImplSource()
150 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplSource() argument
DgenerateInheritanceHierarchy.cpp31 const Interface* callingIface = mRootScope.getInterface(); in generateInheritanceHierarchy()
38 for (const Interface* iface : mRootScope.getInterface()->superTypeChain()) { in generateInheritanceHierarchy()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/
DIDeprecated.rs20 pub trait IDeprecated: binder::Interface + Send {
30 pub trait IDeprecatedAsync<P>: binder::Interface + Send {
35 pub trait IDeprecatedAsyncServer: binder::Interface + Send {
42 T: IDeprecatedAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DINamedCallback.rs19 pub trait INamedCallback: binder::Interface + Send {
29 pub trait INamedCallbackAsync<P>: binder::Interface + Send {
34 pub trait INamedCallbackAsyncServer: binder::Interface + Send {
42 T: INamedCallbackAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DINewName.rs19 pub trait INewName: binder::Interface + Send {
29 pub trait INewNameAsync<P>: binder::Interface + Send {
34 pub trait INewNameAsyncServer: binder::Interface + Send {
42 T: INewNameAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DIOldName.rs19 pub trait IOldName: binder::Interface + Send {
29 pub trait IOldNameAsync<P>: binder::Interface + Send {
34 pub trait IOldNameAsyncServer: binder::Interface + Send {
42 T: IOldNameAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DICircular.rs19 pub trait ICircular: binder::Interface + Send {
29 pub trait ICircularAsync<P>: binder::Interface + Send {
34 pub trait ICircularAsyncServer: binder::Interface + Send {
42 T: ICircularAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DIDeprecated.rs20 pub trait IDeprecated: binder::Interface + Send {
30 pub trait IDeprecatedAsync<P>: binder::Interface + Send {
35 pub trait IDeprecatedAsyncServer: binder::Interface + Send {
42 T: IDeprecatedAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DINamedCallback.rs19 pub trait INamedCallback: binder::Interface + Send {
29 pub trait INamedCallbackAsync<P>: binder::Interface + Send {
34 pub trait INamedCallbackAsyncServer: binder::Interface + Send {
42 T: INamedCallbackAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DIOldName.rs19 pub trait IOldName: binder::Interface + Send {
29 pub trait IOldNameAsync<P>: binder::Interface + Send {
34 pub trait IOldNameAsyncServer: binder::Interface + Send {
42 T: IOldNameAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DINewName.rs19 pub trait INewName: binder::Interface + Send {
29 pub trait INewNameAsync<P>: binder::Interface + Send {
34 pub trait INewNameAsyncServer: binder::Interface + Send {
42 T: INewNameAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
DICircular.rs19 pub trait ICircular: binder::Interface + Send {
29 pub trait ICircularAsync<P>: binder::Interface + Send {
34 pub trait ICircularAsyncServer: binder::Interface + Send {
42 T: ICircularAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
/system/security/keystore2/src/
Dmetrics.rs27 use android_security_metrics::binder::{BinderFeatures, Interface, Result as BinderResult, Strong};
50 impl Interface for Metrics {}
/system/tools/hidl/lint/lints/
DmethodVersions.cpp90 const Interface* iface = ast.getInterface(); in methodVersions()
112 const std::vector<const Interface*>& superTypeChain = iface->superTypeChain(); in methodVersions()
115 [&](const Interface* superType) -> bool { in methodVersions()
Doneway.cpp39 static InterfaceMethodType getInterfaceOnewayType(const Interface& iface, in getInterfaceOnewayType()
73 const Interface* iface = ast.getInterface(); in onewayLint()
/system/tools/hidl/hidl2aidl/
DAidlHelper.h31 struct Interface;
109 static void emitAidl(const Interface& interface, Formatter& out,
113 const Interface& interface);
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/nested/
DINestedService.rs19 pub trait INestedService: binder::Interface + Send {
30 pub trait INestedServiceAsync<P>: binder::Interface + Send {
36 pub trait INestedServiceAsyncServer: binder::Interface + Send {
45 T: INestedServiceAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
52 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
242 pub trait ICallback: binder::Interface + Send {
252 pub trait ICallbackAsync<P>: binder::Interface + Send {
257 pub trait ICallbackAsyncServer: binder::Interface + Send {
265 T: ICallbackAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
272 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/nested/
DINestedService.rs19 pub trait INestedService: binder::Interface + Send {
30 pub trait INestedServiceAsync<P>: binder::Interface + Send {
36 pub trait INestedServiceAsyncServer: binder::Interface + Send {
45 T: INestedServiceAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
52 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()
242 pub trait ICallback: binder::Interface + Send {
252 pub trait ICallbackAsync<P>: binder::Interface + Send {
257 pub trait ICallbackAsyncServer: binder::Interface + Send {
265 T: ICallbackAsyncServer + binder::Interface + Send + Sync + 'static, in new_async_binder()
272 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder()

1234