Home
last modified time | relevance | path

Searched refs:IInterface (Results 1 – 25 of 253) 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()
DIMemory.cpp236 reply->writeStrongBinder( IInterface::asBinder(getMemory(&offset, &size)) ); in onTransact()
262 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap()
274 sp<IBinder> binder = IInterface::asBinder(this); in ~BpMemoryHeap()
284 sp<IBinder> binder(IInterface::asBinder(const_cast<BpMemoryHeap*>(this))); in assertMapped()
323 IInterface::asBinder(this).get(), in assertReallyMapped()
340 IInterface::asBinder(this).get(), size, fd, strerror(errno)); in assertReallyMapped()
/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()
/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/base/services/core/java/com/android/server/utils/
DManagedApplicationService.java26 import android.os.IInterface;
62 private IInterface mBoundInterface;
80 IInterface asInterface(IBinder binder); in asInterface()
81 boolean checkType(IInterface service); in checkType()
88 void runEvent(IInterface service) throws RemoteException; in runEvent()
148 IInterface iface; in sendEvent()
202 IInterface iface = null; in connect()
/frameworks/native/include/vr/vr_manager/
Dvr_manager.h26 class IVrStateCallbacks : public IInterface {
47 class IPersistentVrStateCallbacks : public IInterface {
68 class IVrManager : public IInterface {
/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.cpp135 mLiveNodes.add(IInterface::asBinder(observer), instance); in allocateNode()
136 IInterface::asBinder(observer)->linkToDeath(this); in allocateNode()
150 ssize_t index = mLiveNodes.indexOfKey(IInterface::asBinder(instance->observer())); in freeNode()
160 IInterface::asBinder(instance->observer())->unlinkToDeath(this); in freeNode()
/frameworks/base/core/java/android/database/
DIBulkCursor.java21 import android.os.IInterface;
31 public interface IBulkCursor extends IInterface {
/frameworks/av/media/libstagefright/include/
DPersistentSurface.h46 parcel->writeStrongBinder(IInterface::asBinder(mBufferProducer)); in writeToParcel()
47 parcel->writeStrongBinder(IInterface::asBinder(mBufferSource)); in writeToParcel()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java55 import android.os.IInterface;
184 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); in bindService()
201 IInterface service = mServiceByServiceConnection.remove(connection); in unbindService()
455 private final Map<ComponentName, IInterface> mServiceByComponentName =
456 new HashMap<ComponentName, IInterface>();
457 private final Map<String, IInterface> mServiceByPackageName =
458 new HashMap<String, IInterface>();
461 private final Map<IInterface, ComponentName> mComponentNameByService =
462 new HashMap<IInterface, ComponentName>();
463 private final Map<ServiceConnection, IInterface> mServiceByServiceConnection =
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java48 import android.os.IInterface;
154 abstract protected IInterface asInterface(IBinder binder); in asInterface()
156 abstract protected boolean checkType(IInterface service); in checkType()
169 private ManagedServiceInfo newServiceInfo(IInterface service, in newServiceInfo()
278 public ManagedServiceInfo getServiceFromTokenLocked(IInterface service) { in getServiceFromTokenLocked()
291 public ManagedServiceInfo checkServiceTokenLocked(IInterface service) { in checkServiceTokenLocked()
301 public void unregisterService(IInterface service, int userid) { in unregisterService()
308 public void registerService(IInterface service, ComponentName component, int userid) { in registerService()
684 IInterface mService; in registerServiceLocked()
760 private ManagedServiceInfo removeServiceImpl(IInterface service, final int userid) { in removeServiceImpl()
[all …]
/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/av/drm/libmediadrm/
DIMediaDrmService.cpp72 reply->writeStrongBinder(IInterface::asBinder(crypto)); in onTransact()
78 reply->writeStrongBinder(IInterface::asBinder(drm)); in onTransact()
/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/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()
/frameworks/base/services/core/java/com/android/server/location/
DRemoteListenerHelper.java24 import android.os.IInterface;
34 abstract class RemoteListenerHelper<TListener extends IInterface> {
124 protected interface ListenerOperation<TListener extends IInterface> {

1234567891011