Searched defs:binder (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/av/include/common_time/
H A DICommonTimeConfig.h23 #include <binder/IInterface.h>
24 #include <binder/IServiceManager.h>
58 sp<IBinder> binder = defaultServiceManager()->checkService( local
60 sp<ICommonTimeConfig> clk = interface_cast<ICommonTimeConfig>(binder);
H A DICommonClock.h23 #include <binder/IInterface.h>
24 #include <binder/IServiceManager.h>
93 sp<IBinder> binder = defaultServiceManager()->checkService( local
95 sp<ICommonClock> clk = interface_cast<ICommonClock>(binder);
/frameworks/av/media/libstagefright/http/
H A DHTTPHelper.cpp61 sp<IBinder> binder = local
64 httpService = interface_cast<IMediaHTTPService>(binder);
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp24 #include <binder/Parcel.h>
69 sp<IBinder> binder(parcel->readStrongBinder());
70 ALOGV("%s: Read surface binder = %p",
71 __FUNCTION__, binder.get());
75 if (binder != NULL) {
77 interface_cast<IGraphicBufferProducer>(binder);
107 sp<IBinder> binder; local
109 binder = surface->getIGraphicBufferProducer()->asBinder();
118 parcel->writeStrongBinder(binder);
/frameworks/av/media/libstagefright/foundation/
H A DAWakeLock.cpp24 #include <binder/IPCThreadState.h>
25 #include <binder/IServiceManager.h>
39 sp<IBinder> binder = mPowerManager->asBinder(); local
40 binder->unlinkToDeath(mDeathRecipient);
50 sp<IBinder> binder = local
52 if (binder == NULL) {
55 mPowerManager = interface_cast<IPowerManager>(binder);
56 binder->linkToDeath(mDeathRecipient);
60 sp<IBinder> binder = new BBinder(); local
64 binder, String1
[all...]
/frameworks/av/media/mediaserver/
H A Dmain_mediaserver.cpp24 #include <binder/IPCThreadState.h>
25 #include <binder/ProcessState.h>
26 #include <binder/IServiceManager.h>
51 // binder on death notification instead.
102 sp<IBinder> binder = sm->getService(String16("media.log")); local
103 if (binder != 0) {
105 binder->dump(-1, args);
/frameworks/av/services/audioflinger/
H A DSchedulingPolicyService.cpp20 #include <binder/IServiceManager.h>
40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); local
41 if (binder == 0) {
45 sps = interface_cast<ISchedulingPolicyService>(binder);
/frameworks/base/core/java/android/app/
H A DJobSchedulerImpl.java35 /* package */ JobSchedulerImpl(IJobScheduler binder) { argument
36 mBinder = binder;
/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp21 #include <binder/IServiceManager.h>
22 #include <binder/IPCThreadState.h>
27 // client singleton for binder interface to services
33 // establish binder interface to MediaPlayerService
41 sp<IBinder> binder; local
43 binder = sm->getService(String16("media.player"));
44 if (binder != 0) {
54 binder->linkToDeath(sDeathNotifier);
55 sMediaPlayerService = interface_cast<IMediaPlayerService>(binder);
H A DIMediaHTTPConnection.cpp23 #include <binder/IMemory.h>
24 #include <binder/Parcel.h>
75 sp<IBinder> binder = reply.readStrongBinder(); local
76 mMemory = interface_cast<IMemory>(binder);
H A Dmediametadataretriever.cpp23 #include <binder/IServiceManager.h>
24 #include <binder/IPCThreadState.h>
33 // client singleton for binder interface to service
43 sp<IBinder> binder; local
45 binder = sm->getService(String16("media.player"));
46 if (binder != 0) {
55 binder->linkToDeath(sDeathNotifier);
56 sService = interface_cast<IMediaPlayerService>(binder);
/frameworks/av/media/ndk/
H A DNdkMediaCrypto.cpp28 #include <binder/IServiceManager.h>
50 sp<IBinder> binder = local
54 interface_cast<IMediaPlayerService>(binder);
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DBinderHolder.java60 public void setBinder(IBinder binder) { argument
61 mBinder = binder;
66 public BinderHolder(IBinder binder) { argument
67 mBinder = binder;
/frameworks/native/include/binder/
H A DProcessState.h20 #include <binder/IBinder.h>
58 void expungeHandle(int32_t handle, IBinder* binder);
76 IBinder* binder; member in struct:android::ProcessState::handle_entry
/frameworks/native/libs/binder/
H A DAppOpsManager.cpp17 #include <binder/AppOpsManager.h>
18 #include <binder/Binder.h>
19 #include <binder/IServiceManager.h>
48 sp<IBinder> binder = defaultServiceManager()->checkService(_appops); local
49 if (binder == NULL) {
60 service = interface_cast<IAppOpsService>(binder);
H A DIServiceManager.cpp19 #include <binder/IServiceManager.h>
22 #include <binder/IPCThreadState.h>
23 #include <binder/Parcel.h>
27 #include <private/binder/Static.h>
105 sp<IBinder> binder = defaultServiceManager()->checkService(_permission); local
106 if (binder == NULL) {
115 pc = interface_cast<IPermissionController>(binder);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DDataVerify.java96 private final IDataVerifyStub binder = new IDataVerifyStub(); field in class:DataVerify
114 return binder;
/frameworks/base/services/core/java/com/android/server/am/
H A DIntentBindRecord.java39 IBinder binder; field in class:IntentBindRecord
40 /** Set when we have initiated a request for this binder. */
42 /** Set when we have received the requested binder. */
60 pw.print(prefix); pw.print("binder="); pw.println(binder);
/frameworks/av/camera/
H A DCameraBase.cpp24 #include <binder/IPCThreadState.h>
25 #include <binder/IServiceManager.h>
26 #include <binder/IMemory.h>
67 // establish binder interface to camera service
74 sp<IBinder> binder; local
76 binder = sm->getService(String16(kCameraServiceName));
77 if (binder != 0) {
86 binder->linkToDeath(gDeathNotifier);
87 gCameraService = interface_cast<ICameraService>(binder);
157 ALOGW("mediaserver's remote binder Camer
[all...]
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java73 * @param observer If non-null, this binder points to an object that will receive
102 * @param observer If non-null, this binder points to an object that will receive
137 * @param observer If non-null, this binder points to an object that will receive
176 RestoreSession(Context context, IRestoreSession binder) { argument
178 mBinder = binder;
182 * We wrap incoming binder calls with a private class implementation that
/frameworks/base/core/java/com/android/internal/os/
H A DTransferPipe.java98 static void goDump(IBinder binder, FileDescriptor out, argument
100 goDump(binder, out, args, DEFAULT_TIMEOUT);
103 static void goDump(IBinder binder, FileDescriptor out, argument
105 if (binder instanceof Binder) {
108 binder.dump(out, args);
116 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args);
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp35 #include <binder/IServiceManager.h>
37 #include <binder/IPCThreadState.h>
55 sp<IBinder> binder = mPowerManager->asBinder(); local
56 binder->unlinkToDeath(mDeathRecipient);
326 sp<IBinder> binder = local
328 if (binder == 0) {
331 mPowerManager = interface_cast<IPowerManager>(binder);
332 binder->linkToDeath(mDeathRecipient);
336 sp<IBinder> binder = new BBinder(); local
339 binder,
[all...]
/frameworks/av/soundtrigger/
H A DSoundTrigger.cpp23 #include <binder/IPCThreadState.h>
24 #include <binder/IServiceManager.h>
25 #include <binder/IMemory.h>
63 sp<IBinder> binder; local
65 binder = sm->getService(String16(kSoundTriggerHwServiceName));
66 if (binder != 0) {
75 binder->linkToDeath(gDeathNotifier);
76 gSoundTriggerHwService = interface_cast<ISoundTriggerHwService>(binder);
234 ALOGW("SoundTrigger server binder Died ");
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp27 #include <binder/IServiceManager.h>
65 sp<IBinder> binder = local
69 interface_cast<IMediaPlayerService>(binder);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeUI.java203 public void remoteVolumeChanged(ISessionController binder, int flags) argument
205 MediaController controller = new MediaController(mContext, binder);

Completed in 488 milliseconds

123