Home
last modified time | relevance | path

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

123

/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;
161 Formatter& out, const std::string& prefix, const std::vector<const Interface*>& chain, argument
164 DISALLOW_COPY_AND_ASSIGN(Interface);
169 InterfaceAndMethod(const Interface *iface, Method *method) in InterfaceAndMethod()
173 const Interface *interface() const { return mInterface; } in interface()
177 const Interface *mInterface;
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()
DAST.h40 struct Interface;
203 const Interface *getInterface() const;
219 bool addMethod(Method* method, Interface* iface);
220 bool addAllReservedMethodsToInterface(Interface* iface);
304 using MethodGenerator = std::function<void(const Method*, const Interface*)>;
313 …void generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInterfa…
315 … const Method* method, const Interface* superInterface) const;
317 const Method* method, const Interface* superInterface) const;
324 void generateStubSource(Formatter& out, const Interface* iface) const;
327 const Interface* superInterface) const;
[all …]
DgenerateCpp.cpp219 const Interface *iface = getInterface(); in generateInterfaceHeader()
261 const Interface *superType = iface->superType(); in generateInterfaceHeader()
343 for (const Interface *superType : iface->typeChain()) { in generateInterfaceHeader()
393 const Interface *iface = getInterface(); in generateHwBinderHeader()
437 const Interface &iface = static_cast<const Interface &>(arg->type()); in wrapPassthroughArg()
458 void AST::generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInt… in generatePassthroughMethod()
600 const Interface* iface = mRootScope.getInterface(); in generateMethods()
602 const Interface *prevIterface = nullptr; in generateMethods()
605 const Interface *superInterface = tuple.interface(); in generateMethods()
638 const Interface* iface = mRootScope.getInterface(); in generateStubHeader()
[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()
DgenerateCppAdapter.cpp59 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterHeader() argument
109 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterSource() argument
131 const Interface* interface = static_cast<const Interface*>(type); in generateAdapterMethod()
DgenerateJava.cpp142 const Interface* iface = mRootScope.getInterface(); in generateJava()
148 const Interface *superType = iface->superType(); in generateJava()
314 const Interface *prevInterface = nullptr; in generateJava()
318 const Interface *superInterface = tuple.interface(); in generateJava()
367 out << Interface::FLAG_ONE_WAY->javaValue(); in generateJava()
503 const Interface *superInterface = tuple.interface(); in generateJava()
DScope.h33 struct Interface;
57 Interface *getInterface() const;
/system/bt/doc/
Ddirectory_layout.md15 * btif - *Bluetooth Interface* - JNI interface to Android.
19 * hci - *Host Controller Interface* - Communication protocol with Bluetooth chip.
22 * osi - *Operating System Interface* - General resource support for stack.
/system/security/keystore2/src/
Dmetrics.rs26 use android_security_metrics::binder::{BinderFeatures, Interface, Result as BinderResult, Strong};
49 impl Interface for Metrics {}
/system/tools/hidl/hidl2aidl/
DAidlHelper.h31 struct Interface;
100 static void emitAidl(const Interface& interface, const Coordinator& coordinator,
104 const Interface& interface);
DAidlInterface.cpp42 const Interface& iface) { in emitAidlMethodParams()
65 const Interface& interface) { in getUserDefinedMethods()
67 for (const Interface* iface : interface.typeChain()) { in getUserDefinedMethods()
174 const Interface& interface, const Coordinator& coordinator, in emitAidl()
191 for (const Interface* iface : interface.typeChain()) { in emitAidl()
DAidlNamedType.cpp122 const Interface& iface = static_cast<const Interface&>(namedType); in emitAidl()
/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/bt/btif/include/
Dbtif_hf.h31 Interface* GetInterface();
/system/bt/include/hardware/
Dbluetooth_headset_interface.h29 class Interface {
31 virtual ~Interface() = default;
/system/tools/aidl/tests/rust/
Dtest_service.rs28 self, BinderFeatures, Interface, ParcelFileDescriptor, SpIBinder,
43 impl Interface for NamedCallback {}
53 impl Interface for OldName {}
64 impl Interface for NewName {}
77 impl Interface for TestService {}
317 impl Interface for FooInterface {}
/system/hardware/interfaces/net/netd/1.1/
DINetd.hal32 * @param ifname Interface name specified by the route, or an empty
55 * @param ifname Interface name specified by the route, or an empty
77 * @param ifname Interface name to add to the OEM network.
89 * @param ifname Interface name to remove from the OEM network.
/system/libhidl/transport/token/1.0/
DITokenManager.hal31 * @param store Interface which can later be fetched with the returned token.
48 * @return store Interface registered with createToken and the corresponding
/system/libvintf/xsd/halManifest/api/
Dcurrent.txt13 method public java.util.List<hal.manifest.Interface> get_interface();
29 public class Interface {
30 ctor public Interface();

123