Home
last modified time | relevance | path

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

12

/system/tools/hidl/
DInterface.cpp43 const std::unique_ptr<ConstantExpression> Interface::FLAG_ONE_WAY =
46 Interface::Interface(const std::string& localName, const FQName& fullName, const Location& location, in Interface() function in android::Interface
50 std::string Interface::typeName() const { in typeName()
54 const Hash* Interface::getFileHash() const { in getFileHash()
58 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
89 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
133 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
181 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
199 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod()
232 bool Interface::fillDescriptorChainMethod(Method *method) const { in fillDescriptorChainMethod()
[all …]
DInterface.h38 struct Interface : public Scope { struct
41 Interface(const std::string& localName, const FQName& fullName, const Location& location, argument
54 const Interface* superType() const; argument
58 std::vector<const Interface *> superTypeChain() const;
61 std::vector<const Interface *> typeChain() const;
158 Formatter& out, const std::string& prefix, const std::vector<const Interface*>& chain, argument
161 DISALLOW_COPY_AND_ASSIGN(Interface);
166 InterfaceAndMethod(const Interface *iface, Method *method) in InterfaceAndMethod()
170 const Interface *interface() const { return mInterface; } in interface()
174 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.cpp30 const Interface* callingIface = mRootScope.getInterface(); in generateInheritanceHierarchy()
37 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;
54 Interface *getInterface() const;
/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/hidl2aidl/
DAidlHelper.h28 struct Interface;
62 static void emitAidl(const Interface& interface, const Coordinator& coordinator);
64 static std::vector<const Method*> getUserDefinedMethods(const Interface& interface);
DAidlInterface.cpp42 const Interface& iface) { in emitAidlMethodParams()
64 std::vector<const Method*> AidlHelper::getUserDefinedMethods(const Interface& interface) { in getUserDefinedMethods()
66 for (const Interface* iface : interface.typeChain()) { in getUserDefinedMethods()
145 void AidlHelper::emitAidl(const Interface& interface, const Coordinator& coordinator) { in emitAidl()
160 std::vector<const Interface*> typeChain = interface.typeChain(); in emitAidl()
/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/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/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.txt12 method public java.util.List<hal.manifest.Interface> get_interface();
27 public class Interface {
28 ctor public Interface();
/system/libvintf/xsd/compatibilityMatrix/api/
Dcurrent.txt56 method public java.util.List<compatibility.matrix.Interface> get_interface();
62 public class Interface {
63 ctor public Interface();
/system/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c403 typedef struct Interface Interface; typedef
405 struct Interface { struct
440 __QAIC_SLIM_EXPORT const Interface __QAIC_SLIM(chre_slpi_slim) = {6,&(methodArrays[0]),0,0,&(method…
/system/libhidl/transport/memory/token/1.0/
DIMemoryToken.hal19 * Interface which composes shared memory

12