Home
last modified time | relevance | path

Searched refs:INTERFACE (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/include/binder/
DIInterface.h47 template<typename INTERFACE>
48 inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) in interface_cast()
50 return INTERFACE::asInterface(obj); in interface_cast()
57 template<typename INTERFACE>
58 inline sp<INTERFACE> checked_interface_cast(const sp<IBinder>& obj) in checked_interface_cast()
60 if (obj->getInterfaceDescriptor() != INTERFACE::descriptor) { in checked_interface_cast()
64 return interface_cast<INTERFACE>(obj); in checked_interface_cast()
69 template <typename INTERFACE>
70 class LIBBINDER_EXPORTED BnInterface : public INTERFACE, public BBinder {
74 typedef INTERFACE BaseInterface;
[all …]
DIServiceManager.h162 template<typename INTERFACE>
163 sp<INTERFACE> waitForService(const String16& name) { in waitForService()
165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService()
168 template<typename INTERFACE>
169 sp<INTERFACE> waitForDeclaredService(const String16& name) { in waitForDeclaredService()
172 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
175 template <typename INTERFACE>
176 sp<INTERFACE> checkDeclaredService(const String16& name) { in checkDeclaredService()
179 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
182 template<typename INTERFACE>
[all …]
/frameworks/native/libs/binder/include/binder/
DIInterface.h47 template<typename INTERFACE>
48 inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) in interface_cast()
50 return INTERFACE::asInterface(obj); in interface_cast()
57 template<typename INTERFACE>
58 inline sp<INTERFACE> checked_interface_cast(const sp<IBinder>& obj) in checked_interface_cast()
60 if (obj->getInterfaceDescriptor() != INTERFACE::descriptor) { in checked_interface_cast()
64 return interface_cast<INTERFACE>(obj); in checked_interface_cast()
69 template <typename INTERFACE>
70 class LIBBINDER_EXPORTED BnInterface : public INTERFACE, public BBinder {
74 typedef INTERFACE BaseInterface;
[all …]
DIServiceManager.h162 template<typename INTERFACE>
163 sp<INTERFACE> waitForService(const String16& name) { in waitForService()
165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService()
168 template<typename INTERFACE>
169 sp<INTERFACE> waitForDeclaredService(const String16& name) { in waitForDeclaredService()
172 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
175 template <typename INTERFACE>
176 sp<INTERFACE> checkDeclaredService(const String16& name) { in checkDeclaredService()
179 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
182 template<typename INTERFACE>
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DCameraHybridInterface.h32 typename INTERFACE,
36 typedef H2BConverter<HINTERFACE, INTERFACE, BNINTERFACE> CBase; // Converter Base
37 typedef INTERFACE BaseInterface;
91 typename INTERFACE,
93 status_t H2BConverter<HINTERFACE, INTERFACE, BNINTERFACE>::
111 typename INTERFACE,
113 status_t H2BConverter<HINTERFACE, INTERFACE, BNINTERFACE>::
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h191 template <typename INTERFACE>
192 class BnCInterface : public INTERFACE {
202 return INTERFACE::descriptor + ("/" + std::string(instance)); in makeServiceName()
220 template <typename INTERFACE>
221 class BpCInterface : public INTERFACE {
318 template <typename INTERFACE> in defineClass()
319 SpAIBinder BnCInterface<INTERFACE>::asBinder() { in defineClass()
334 template <typename INTERFACE> in defineClass()
335 SpAIBinder BpCInterface<INTERFACE>::asBinder() { in defineClass()
/frameworks/base/services/incremental/
DServiceWrappers.h215 template <class INTERFACE>
216 sp<INTERFACE> getRealService(std::string_view serviceName) const;
DServiceWrappers.cpp394 template <class INTERFACE>
395 sp<INTERFACE> RealServiceManager::getRealService(std::string_view serviceName) const { in getRealService()
401 return interface_cast<INTERFACE>(binder); in getRealService()
/frameworks/base/tools/processors/staledataclass/src/android/processor/staledataclass/
DStaleDataclassProcessor.kt194 || it.kind == ElementKind.INTERFACE in <lambda>()
/frameworks/base/tools/processors/immutability/src/android/processor/immutability/
DImmutabilityProcessor.kt220 if (classType.getKind() != ElementKind.INTERFACE) { in <lambda>()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
Dandroid-22.txt42497 field public static final int INTERFACE = 512; // 0x200
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...