Home
last modified time | relevance | path

Searched refs:IInterface (Results 1 – 25 of 255) sorted by relevance

1234567891011

/frameworks/native/libs/binder/
DIInterface.cpp25 IInterface::IInterface() in IInterface() function in android::IInterface
29 IInterface::~IInterface() { in ~IInterface()
33 sp<IBinder> IInterface::asBinder(const IInterface* iface) in asBinder()
36 return const_cast<IInterface*>(iface)->onAsBinder(); in asBinder()
40 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) in asBinder()
57 *ret = android::IInterface::asBinder((android::IInterface*)self); in _ZN7android10IInterface8asBinderEv()
64 *ret = android::IInterface::asBinder((android::IInterface*)self); in _ZNK7android10IInterface8asBinderEv()
DProcessInfoService.cpp42 if (IInterface::asBinder(pis)->isBinderAlive()) return err; in getProcessStatesImpl()
75 if (IInterface::asBinder(pis)->isBinderAlive()) return err; in getProcessStatesScoresImpl()
/frameworks/native/services/thermalservice/
DThermalService.cpp70 if (IInterface::asBinder(mListeners[i]) == in registerThermalEventListener()
71 IInterface::asBinder(listener)) { in registerThermalEventListener()
77 IInterface::asBinder(listener)->linkToDeath(this); in registerThermalEventListener()
94 if (IInterface::asBinder(mListeners[i]) == in unregisterThermalEventListener()
95 IInterface::asBinder(listener)) { in unregisterThermalEventListener()
96 IInterface::asBinder(mListeners[i])->unlinkToDeath(this); in unregisterThermalEventListener()
109 if (IInterface::asBinder(mListeners[i]) == who) { in binderDied()
/frameworks/native/libs/binder/include/binder/
DIInterface.h27 class IInterface : public virtual RefBase
30 IInterface();
31 static sp<IBinder> asBinder(const IInterface*);
32 static sp<IBinder> asBinder(const sp<IInterface>&);
35 virtual ~IInterface();
53 virtual sp<IInterface> queryLocalInterface(const String16& _descriptor);
115 inline sp<IInterface> BnInterface<INTERFACE>::queryLocalInterface( in queryLocalInterface()
DIMemory.h32 class IMemoryHeap : public IInterface
70 class IMemory : public IInterface
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp70 data.writeStrongBinder(IInterface::asBinder(client)); in create()
120 data.writeStrongBinder(IInterface::asBinder(client)); in listenForRemoteDisplay()
148 reply->writeStrongBinder(IInterface::asBinder(player)); in onTransact()
155 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact()
161 reply->writeStrongBinder(IInterface::asBinder(retriever)); in onTransact()
167 reply->writeStrongBinder(IInterface::asBinder(omx)); in onTransact()
174 reply->writeStrongBinder(IInterface::asBinder(hdcp)); in onTransact()
199 reply->writeStrongBinder(IInterface::asBinder(display)); in onTransact()
205 reply->writeStrongBinder(IInterface::asBinder(mcl)); in onTransact()
DIMediaExtractorService.cpp46 data.writeStrongBinder(IInterface::asBinder(source)); in makeExtractor()
97 reply->writeStrongBinder(IInterface::asBinder(ex)); in onTransact()
108 reply->writeStrongBinder(IInterface::asBinder(source)); in onTransact()
DIMediaCodecService.cpp70 reply->writeStrongBinder(IInterface::asBinder(omx)); in onTransact()
76 reply->writeStrongBinder(IInterface::asBinder(omxStore)); in onTransact()
/frameworks/base/libs/common_time/
Dcommon_clock_service.cpp102 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) in registerListener()
109 return IInterface::asBinder(listener)->linkToDeath(this); in registerListener()
120 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { in unregisterListener()
121 IInterface::asBinder(mListeners[i])->unlinkToDeath(this); in unregisterListener()
139 if (IInterface::asBinder(mListeners[i]) == who) { in binderDied()
/frameworks/native/include/vr/vr_manager/
Dvr_manager.h26 class IVrStateCallbacks : public IInterface {
47 class IPersistentVrStateCallbacks : public IInterface {
68 class IVrManager : public IInterface {
/frameworks/base/services/core/java/com/android/server/utils/
DManagedApplicationService.java28 import android.os.IInterface;
96 private IInterface mBoundInterface;
172 IInterface asInterface(IBinder binder); in asInterface()
173 boolean checkType(IInterface service); in checkType()
180 void runEvent(IInterface service) throws RemoteException; in runEvent()
258 IInterface iface; in sendEvent()
333 IInterface iface = null; in connect()
/frameworks/native/libs/vr/libvr_manager/
Dvr_manager.cpp100 data.writeStrongBinder(IInterface::asBinder(cb)); in registerListener()
107 data.writeStrongBinder(IInterface::asBinder(cb)); in unregisterListener()
115 data.writeStrongBinder(IInterface::asBinder(cb)); in registerPersistentVrStateListener()
123 data.writeStrongBinder(IInterface::asBinder(cb)); in unregisterPersistentVrStateListener()
/frameworks/av/soundtrigger/
DISoundTriggerClient.cpp47 data.writeStrongBinder(IInterface::asBinder(eventMemory)); in onRecognitionEvent()
57 data.writeStrongBinder(IInterface::asBinder(eventMemory)); in onSoundModelEvent()
66 data.writeStrongBinder(IInterface::asBinder(eventMemory)); in onServiceStateChange()
/frameworks/av/media/libstagefright/omx/
DOMX.cpp139 mLiveNodes.add(IInterface::asBinder(observer), instance); in allocateNode()
140 IInterface::asBinder(observer)->linkToDeath(this); in allocateNode()
154 ssize_t index = mLiveNodes.indexOfKey(IInterface::asBinder(instance->observer())); in freeNode()
164 IInterface::asBinder(instance->observer())->unlinkToDeath(this); in freeNode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java56 import android.os.IInterface;
187 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); in bindService()
204 IInterface service = mServiceByServiceConnection.remove(connection); in unbindService()
471 private final Map<ComponentName, IInterface> mServiceByComponentName =
472 new HashMap<ComponentName, IInterface>();
473 private final Map<String, IInterface> mServiceByPackageName =
474 new HashMap<String, IInterface>();
478 private final Map<IInterface, ComponentName> mComponentNameByService =
479 new HashMap<IInterface, ComponentName>();
480 private final Map<ServiceConnection, IInterface> mServiceByServiceConnection =
[all …]
/frameworks/base/core/java/android/database/
DIBulkCursor.java21 import android.os.IInterface;
31 public interface IBulkCursor extends IInterface {
/frameworks/av/media/libstagefright/include/media/stagefright/
DPersistentSurface.h46 parcel->writeStrongBinder(IInterface::asBinder(mBufferProducer)); in writeToParcel()
47 parcel->writeStrongBinder(IInterface::asBinder(mBufferSource)); in writeToParcel()
/frameworks/av/include/media/
DIStreamSource.h29 struct IStreamSource : public IInterface {
47 struct IStreamListener : public IInterface {
DIHDCP.h24 struct IHDCPObserver : public IInterface {
34 struct IHDCP : public IInterface {
/frameworks/av/media/libmedia/include/media/
DIStreamSource.h29 struct IStreamSource : public IInterface {
47 struct IStreamListener : public IInterface {
DIHDCP.h24 struct IHDCPObserver : public IInterface {
34 struct IHDCP : public IInterface {
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java27 import android.os.IInterface;
53 void go(IInterface iface, FileDescriptor fd, String prefix, in go()
84 static void go(Caller caller, IInterface iface, FileDescriptor out, in go()
89 static void go(Caller caller, IInterface iface, FileDescriptor out, in go()
/frameworks/av/drm/libmediadrm/
DIMediaDrmService.cpp72 reply->writeStrongBinder(IInterface::asBinder(crypto)); in onTransact()
78 reply->writeStrongBinder(IInterface::asBinder(drm)); in onTransact()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java43 import android.os.IInterface;
151 abstract protected IInterface asInterface(IBinder binder); in asInterface()
153 abstract protected boolean checkType(IInterface service); in checkType()
166 private ManagedServiceInfo newServiceInfo(IInterface service, in newServiceInfo()
485 private ManagedServiceInfo getServiceFromTokenLocked(IInterface service) { in getServiceFromTokenLocked()
498 protected ManagedServiceInfo checkServiceTokenLocked(IInterface service) { in checkServiceTokenLocked()
508 public void unregisterService(IInterface service, int userid) { in unregisterService()
515 public void registerService(IInterface service, ComponentName component, int userid) { in registerService()
867 IInterface mService; in registerServiceLocked()
943 private ManagedServiceInfo removeServiceImpl(IInterface service, final int userid) { in removeServiceImpl()
[all …]
/frameworks/native/libs/gui/
DLayerState.cpp46 output.writeStrongBinder(IInterface::asBinder(barrierGbp)); in write()
85 output.writeStrongBinder(IInterface::asBinder(client)); in write()
107 output.writeStrongBinder(IInterface::asBinder(surface)); in write()

1234567891011