/frameworks/native/libs/binder/ |
D | IMemory.cpp | 48 sp<IMemoryHeap> find_heap(const sp<IBinder>& binder); 49 void free_heap(const sp<IBinder>& binder); 50 sp<IMemoryHeap> get_heap(const sp<IBinder>& binder); 60 void free_heap(const wp<IBinder>& binder); 91 static inline sp<IMemoryHeap> find_heap(const sp<IBinder>& binder) { in find_heap() argument 92 return gHeapCache->find_heap(binder); in find_heap() 94 static inline void free_heap(const sp<IBinder>& binder) { in free_heap() argument 95 gHeapCache->free_heap(binder); in free_heap() 97 static inline sp<IMemoryHeap> get_heap(const sp<IBinder>& binder) { in get_heap() argument 98 return gHeapCache->get_heap(binder); in get_heap() [all …]
|
D | ProcessState.cpp | 170 e.binder = NULL; in lookupHandleLocked() 190 IBinder* b = e->binder; in getStrongProxyForHandle() 220 e->binder = b; in getStrongProxyForHandle() 251 IBinder* b = e->binder; in getWeakProxyForHandle() 255 e->binder = b; in getWeakProxyForHandle() 266 void ProcessState::expungeHandle(int32_t handle, IBinder* binder) in expungeHandle() argument 275 if (e && e->binder == binder) e->binder = NULL; in expungeHandle()
|
D | Parcel.cpp | 87 if (obj.binder) { in acquire_object() 93 if (obj.binder) in acquire_object() 94 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who); in acquire_object() 124 if (obj.binder) { in release_object() 130 if (obj.binder) in release_object() 131 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->decWeak(who); in release_object() 162 const sp<IBinder>& binder, Parcel* out) in flatten_binder() argument 167 if (binder != NULL) { in flatten_binder() 168 IBinder *local = binder->localBinder(); in flatten_binder() 170 BpBinder *proxy = binder->remoteBinder(); in flatten_binder() [all …]
|
D | AppOpsManager.cpp | 48 sp<IBinder> binder = defaultServiceManager()->checkService(_appops); in getService() local 49 if (binder == NULL) { in getService() 60 service = interface_cast<IAppOpsService>(binder); in getService()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AWakeLock.cpp | 39 sp<IBinder> binder = mPowerManager->asBinder(); in ~AWakeLock() local 40 binder->unlinkToDeath(mDeathRecipient); in ~AWakeLock() 50 sp<IBinder> binder = in acquire() local 52 if (binder == NULL) { in acquire() 55 mPowerManager = interface_cast<IPowerManager>(binder); in acquire() 56 binder->linkToDeath(mDeathRecipient); in acquire() 60 sp<IBinder> binder = new BBinder(); in acquire() local 64 binder, String16("AWakeLock"), String16("media")); in acquire() 67 mWakeLockToken = binder; in acquire()
|
/frameworks/av/camera/camera2/ |
D | CaptureRequest.cpp | 69 sp<IBinder> binder(parcel->readStrongBinder()); in readFromParcel() local 71 __FUNCTION__, binder.get()); in readFromParcel() 75 if (binder != NULL) { in readFromParcel() 77 interface_cast<IGraphicBufferProducer>(binder); in readFromParcel() 107 sp<IBinder> binder; in writeToParcel() local 109 binder = surface->getIGraphicBufferProducer()->asBinder(); in writeToParcel() 118 parcel->writeStrongBinder(binder); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 89 IBinder binder; field in TelephonyRegistry.Record 112 return "{pkgForDebug=" + pkgForDebug + " binder=" + binder + " callback=" + callback in toString() 362 if (b == r.binder) { in addOnSubscriptionsChangedListener() 367 r.binder = b; in addOnSubscriptionsChangedListener() 387 remove(r.binder); in addOnSubscriptionsChangedListener() 426 mRemoveList.add(r.binder); in notifySubscriptionInfoChanged() 468 if (b == r.binder) { in listen() 473 r.binder = b; in listen() 503 remove(r.binder); in listen() 513 remove(r.binder); in listen() [all …]
|
/frameworks/av/media/libmedia/ |
D | IMediaDeathNotifier.cpp | 41 sp<IBinder> binder; in getMediaPlayerService() local 43 binder = sm->getService(String16("media.player")); in getMediaPlayerService() 44 if (binder != 0) { in getMediaPlayerService() 54 binder->linkToDeath(sDeathNotifier); in getMediaPlayerService() 55 sMediaPlayerService = interface_cast<IMediaPlayerService>(binder); in getMediaPlayerService()
|
D | mediametadataretriever.cpp | 43 sp<IBinder> binder; in getService() local 45 binder = sm->getService(String16("media.player")); in getService() 46 if (binder != 0) { in getService() 55 binder->linkToDeath(sDeathNotifier); in getService() 56 sService = interface_cast<IMediaPlayerService>(binder); in getService()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | BinderHolder.java | 60 public void setBinder(IBinder binder) { in setBinder() argument 61 mBinder = binder; in setBinder() 66 public BinderHolder(IBinder binder) { in BinderHolder() argument 67 mBinder = binder; in BinderHolder()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | RemoteListenerHelper.java | 57 IBinder binder = listener.asBinder(); in addListener() local 60 if (mListenerMap.containsKey(binder)) { in addListener() 65 binder.linkToDeath(deathListener, 0 /* flags */); in addListener() 72 mListenerMap.put(binder, deathListener); in addListener() 100 IBinder binder = listener.asBinder(); in removeListener() local 103 linkedListener = mListenerMap.remove(binder); in removeListener() 109 binder.unlinkToDeath(linkedListener, 0 /* flags */); in removeListener()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManager.java | 147 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), in requestRestore() local 149 if (binder != null) { in requestRestore() 150 session = new RestoreSession(mContext, binder); in requestRestore() 178 IRestoreSession binder = sService.beginRestoreSession(null, null); in beginRestoreSession() local 179 if (binder != null) { in beginRestoreSession() 180 session = new RestoreSession(mContext, binder); in beginRestoreSession()
|
/frameworks/av/media/libstagefright/ |
D | TimedEventQueue.cpp | 55 sp<IBinder> binder = mPowerManager->asBinder(); in ~TimedEventQueue() local 56 binder->unlinkToDeath(mDeathRecipient); in ~TimedEventQueue() 326 sp<IBinder> binder = in acquireWakeLock_l() local 328 if (binder == 0) { in acquireWakeLock_l() 331 mPowerManager = interface_cast<IPowerManager>(binder); in acquireWakeLock_l() 332 binder->linkToDeath(mDeathRecipient); in acquireWakeLock_l() 336 sp<IBinder> binder = new BBinder(); in acquireWakeLock_l() local 339 binder, in acquireWakeLock_l() 344 mWakeLockToken = binder; in acquireWakeLock_l()
|
/frameworks/av/services/audioflinger/ |
D | SchedulingPolicyService.cpp | 40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() local 41 if (binder == 0) { in requestPriority() 45 sps = interface_cast<ISchedulingPolicyService>(binder); in requestPriority()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 98 static void goDump(IBinder binder, FileDescriptor out, in goDump() argument 100 goDump(binder, out, args, DEFAULT_TIMEOUT); in goDump() 103 static void goDump(IBinder binder, FileDescriptor out, in goDump() argument 105 if (binder instanceof Binder) { in goDump() 108 binder.dump(out, args); in goDump() 116 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in goDump()
|
/frameworks/av/camera/ |
D | CameraBase.cpp | 74 sp<IBinder> binder; in getCameraService() local 76 binder = sm->getService(String16(kCameraServiceName)); in getCameraService() 77 if (binder != 0) { in getCameraService() 86 binder->linkToDeath(gDeathNotifier); in getCameraService() 87 gCameraService = interface_cast<ICameraService>(binder); in getCameraService()
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 102 sp<IBinder> binder = sm->getService(String16("media.log")); in main() local 103 if (binder != 0) { in main() 105 binder->dump(-1, args); in main()
|
/frameworks/native/cmds/servicemanager/ |
D | Android.mk | 14 LOCAL_SRC_FILES := bctest.c binder.c 22 LOCAL_SRC_FILES := service_manager.c binder.c
|
/frameworks/av/soundtrigger/ |
D | SoundTrigger.cpp | 63 sp<IBinder> binder; in getSoundTriggerHwService() local 65 binder = sm->getService(String16(kSoundTriggerHwServiceName)); in getSoundTriggerHwService() 66 if (binder != 0) { in getSoundTriggerHwService() 75 binder->linkToDeath(gDeathNotifier); in getSoundTriggerHwService() 76 gSoundTriggerHwService = interface_cast<ISoundTriggerHwService>(binder); in getSoundTriggerHwService()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 282 public void onServiceConnected(ComponentName component, IBinder binder) { in bind() 286 + binder.getInterfaceDescriptor()); in bind() 290 ServiceManager.addService(PAC_SERVICE_NAME, binder); in bind() 291 mProxyService = IProxyService.Stub.asInterface(binder); in bind() 316 public void onServiceConnected(ComponentName component, IBinder binder) { in bind() 317 IProxyCallback callbackService = IProxyCallback.Stub.asInterface(binder); in bind()
|
/frameworks/base/core/java/android/app/ |
D | JobSchedulerImpl.java | 35 /* package */ JobSchedulerImpl(IJobScheduler binder) { in JobSchedulerImpl() argument 36 mBinder = binder; in JobSchedulerImpl()
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 112 IBinder binder = callback.asBinder(); in register() local 115 binder.linkToDeath(cb, 0); in register() 116 mCallbacks.put(binder, cb); in register()
|
D | ServiceManagerNative.java | 124 IBinder binder = reply.readStrongBinder(); in getService() local 127 return binder; in getService() 136 IBinder binder = reply.readStrongBinder(); in checkService() local 139 return binder; in checkService()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | ServiceManagerPermissionTests.java | 39 Binder binder = new Binder(); in testAddService() local 40 ServiceManager.addService("activity", binder); in testAddService()
|
/frameworks/av/media/libstagefright/http/ |
D | HTTPHelper.cpp | 61 sp<IBinder> binder = in CreateHTTPServiceInCurrentJavaContext() local 64 httpService = interface_cast<IMediaHTTPService>(binder); in CreateHTTPServiceInCurrentJavaContext()
|