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

123456

/frameworks/native/include/binder/
H A DMap.h25 namespace binder { namespace in namespace:android
30 * Convenience typedef for ::std::map<::std::string,::android::binder::Value>
34 } // namespace binder
H A DValue.h26 #include <binder/Parcelable.h>
27 #include <binder/PersistableBundle.h>
28 #include <binder/Map.h>
37 namespace binder { namespace in namespace:android
90 Value(const binder::Map& value);
106 Value& operator=(const binder::Map& rhs);
121 void putMap(const binder::Map& value);
136 bool getMap(binder::Map* out) const;
182 } // namespace binder
/frameworks/native/libs/binder/include/binder/
H A DMap.h25 namespace binder { namespace in namespace:android
30 * Convenience typedef for ::std::map<::std::string,::android::binder::Value>
34 } // namespace binder
H A DValue.h26 #include <binder/Parcelable.h>
27 #include <binder/PersistableBundle.h>
28 #include <binder/Map.h>
37 namespace binder { namespace in namespace:android
90 Value(const binder::Map& value);
106 Value& operator=(const binder::Map& rhs);
121 void putMap(const binder::Map& value);
136 bool getMap(binder::Map* out) const;
182 } // namespace binder
/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.cpp17 #include <binder/IActivityManager.h>
18 #include <binder/IBinder.h>
19 #include <binder/IServiceManager.h>
32 sp<IBinder> binder = sm->getService(String16("activity")); local
33 sp<IActivityManager> am = interface_cast<IActivityManager>(binder);
/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/native/libs/vr/libvr_manager/
H A Dtrusted_uids.cpp6 #include <binder/IPermissionController.h>
7 #include <binder/IServiceManager.h>
34 sp<IBinder> binder = defaultServiceManager()->getService(String16("permission")); local
35 if (binder == 0) {
42 bool trusted = interface_cast<IPermissionController>(binder)->checkPermission(
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp25 #include <binder/IPCThreadState.h>
26 #include <binder/ProcessState.h>
27 #include <binder/IServiceManager.h>
56 // binder on death notification instead.
108 sp<IBinder> binder = sm->getService(String16("media.log")); local
109 if (binder != 0) {
111 binder->dump(-1, args);
/frameworks/av/media/libstagefright/foundation/
H A DAWakeLock.cpp24 #include <binder/IPCThreadState.h>
25 #include <binder/IServiceManager.h>
39 sp<IBinder> binder = IInterface::asBinder(mPowerManager); 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/utils/
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);
H A DProcessInfo.cpp23 #include <binder/IPCThreadState.h>
24 #include <binder/IProcessInfoService.h>
25 #include <binder/IServiceManager.h>
32 sp<IBinder> binder = defaultServiceManager()->getService(String16("processinfo")); local
33 sp<IProcessInfoService> service = interface_cast<IProcessInfoService>(binder);
/frameworks/base/core/java/android/net/
H A DCaptivePortal.java40 public CaptivePortal(IBinder binder) { argument
41 mBinder = binder;
/frameworks/native/libs/gui/view/
H A DSurface.cpp21 #include <binder/Parcel.h>
73 sp<IBinder> binder; local
75 res = parcel->readNullableStrongBinder(&binder);
77 ALOGE("%s: Can't read strong binder", __FUNCTION__);
81 graphicBufferProducer = interface_cast<IGraphicBufferProducer>(binder);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DStateMachineDeathRecipient.java25 * Allows StateMachine instances to subscribe to binder death.
47 * Listen for the death of a binder.
52 * @param binder remote object to listen for death.
56 public boolean linkToDeath(IBinder binder) { argument
59 binder.linkToDeath(this, 0);
64 mLinkedBinder = binder;
80 * Called by the binder subsystem upon remote object death.
/frameworks/support/compat/java/android/support/v4/app/
H A DBundleCompat.java64 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
78 sPutIBinderMethod.invoke(bundle, key, binder);
110 * @param binder The {@link IBinder} to put.
112 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
114 bundle.putBinder(key, binder);
116 BundleCompatBaseImpl.putBinder(bundle, key, 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);
/frameworks/av/media/ndk/
H A DNdkMediaCrypto.cpp29 #include <binder/IServiceManager.h>
41 sp<IBinder> binder = sm->getService(String16("media.drm")); local
43 sp<IMediaDrmService> service = interface_cast<IMediaDrmService>(binder);
/frameworks/av/services/audioflinger/
H A DServiceUtilities.cpp17 #include <binder/AppOpsManager.h>
18 #include <binder/IPCThreadState.h>
19 #include <binder/IServiceManager.h>
20 #include <binder/PermissionCache.h>
35 // This is often used to validate binder interface calls within audioserver
39 // A trusted calling UID may specify the client UID as part of a binder interface call.
80 sp<IBinder> binder = sm->getService(String16("permission")); local
81 if (binder == 0) {
86 sp<IPermissionController> permCtrl = interface_cast<IPermissionController>(binder);
/frameworks/base/core/java/android/app/
H A DJobSchedulerImpl.java37 /* package */ JobSchedulerImpl(IJobScheduler binder) { argument
38 mBinder = binder;
/frameworks/av/services/oboeservice/
H A DAAudioClientTracker.cpp23 #include <binder/IPCThreadState.h>
75 sp<IBinder> binder = IInterface::asBinder(client); local
76 status_t status = binder->linkToDeath(notificationClient);
/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/base/services/tests/notification/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java149 private final IBinder binder = new LocalBinder(); field in class:NotificationListenerServiceTest.TestListenerService
158 return binder;

Completed in 2438 milliseconds

123456