Searched refs:binder (Results 151 - 175 of 785) sorted by relevance

1234567891011>>

/frameworks/base/cmds/bootanimation/
H A Dbootanimation_main.cpp22 #include <binder/IPCThreadState.h>
23 #include <binder/ProcessState.h>
24 #include <binder/IServiceManager.h>
/frameworks/base/core/jni/
H A Dandroid_os_HwRemoteBinder.h47 Mutex& lock(); // Use with care; specifically for mutual exclusion during binder death
58 static jobject NewObject(JNIEnv *env, const sp<hardware::IBinder> &binder);
61 JNIEnv *env, jobject thiz, const sp<hardware::IBinder> &binder);
64 void setBinder(const sp<hardware::IBinder> &binder);
H A Dandroid_os_HwRemoteBinder.cpp254 JNIEnv *env, const sp<hardware::IBinder> &binder) {
263 JHwRemoteBinder::GetNativeContext(env, obj)->setBinder(binder);
269 JNIEnv *env, jobject thiz, const sp<hardware::IBinder> &binder)
270 : mBinder(binder) {
293 void JHwRemoteBinder::setBinder(const sp<hardware::IBinder> &binder) { argument
294 mBinder = binder;
308 sp<JHwRemoteBinder> binder = (JHwRemoteBinder *)nativeContext; local
310 if (binder != NULL) {
311 binder->decStrong(NULL /* id */);
335 sp<hardware::IBinder> binder local
253 NewObject( JNIEnv *env, const sp<hardware::IBinder> &binder) argument
268 JHwRemoteBinder( JNIEnv *env, jobject thiz, const sp<hardware::IBinder> &binder) argument
362 sp<hardware::IBinder> binder = context->getBinder(); local
389 sp<hardware::IBinder> binder = context->getBinder(); local
[all...]
/frameworks/native/libs/binder/
H A DIAppOpsCallback.cpp19 #include <binder/IAppOpsCallback.h>
22 #include <binder/Parcel.h>
25 #include <private/binder/Static.h>
H A DIResultReceiver.cpp19 #include <binder/IResultReceiver.h>
22 #include <binder/Parcel.h>
25 #include <private/binder/Static.h>
H A DIShellCallback.cpp22 #include <binder/IShellCallback.h>
25 #include <binder/Parcel.h>
28 #include <private/binder/Static.h>
H A DStatic.cpp20 #include <private/binder/Static.h>
22 #include <binder/BufferedTextOutput.h>
23 #include <binder/IPCThreadState.h>
H A DProcessState.cpp19 #include <binder/ProcessState.h>
22 #include <binder/BpBinder.h>
23 #include <binder/IPCThreadState.h>
26 #include <binder/IServiceManager.h>
30 #include <private/binder/binder_module.h>
31 #include <private/binder/Static.h>
74 gProcess = new ProcessState("/dev/binder");
184 e.binder = NULL;
204 IBinder* b = e->binder;
234 e->binder
280 expungeHandle(int32_t handle, IBinder* binder) argument
[all...]
H A DIServiceManager.cpp19 #include <binder/IServiceManager.h>
22 #include <binder/IPCThreadState.h>
23 #include <binder/Parcel.h>
28 #include <private/binder/Static.h>
106 sp<IBinder> binder = defaultServiceManager()->checkService(_permission); local
107 if (binder == NULL) {
116 pc = interface_cast<IPermissionController>(binder);
H A DAppOpsManager.cpp18 #include <binder/AppOpsManager.h>
19 #include <binder/Binder.h>
20 #include <binder/IServiceManager.h>
67 sp<IBinder> binder = defaultServiceManager()->checkService(_appops); local
68 if (binder == NULL) {
80 service = interface_cast<IAppOpsService>(binder);
/frameworks/base/services/core/java/com/android/server/location/
H A DActivityRecognitionProxy.java106 IBinder binder = mServiceWatcher.getBinder();
107 if (binder == null) {
108 Log.e(TAG, "Null binder found on connection.");
113 descriptor = binder.getInterfaceDescriptor();
121 IActivityRecognitionHardwareWatcher.Stub.asInterface(binder);
139 IActivityRecognitionHardwareClient.Stub.asInterface(binder);
H A DRemoteListenerHelper.java62 IBinder binder = listener.asBinder();
65 if (mListenerMap.containsKey(binder)) {
70 binder.linkToDeath(deathListener, 0 /* flags */);
77 mListenerMap.put(binder, deathListener);
105 IBinder binder = listener.asBinder();
108 linkedListener = mListenerMap.remove(binder);
114 binder.unlinkToDeath(linkedListener, 0 /* flags */);
/frameworks/native/cmds/dumpstate/
H A DDumpstateService.cpp53 binder::Status DumpstateService::setListener(const std::string& name,
59 return binder::Status::ok();
63 return binder::Status::ok();
68 return binder::Status::ok();
75 return binder::Status::ok();
/frameworks/av/camera/
H A DCameraBase.cpp27 #include <binder/IPCThreadState.h>
28 #include <binder/IServiceManager.h>
29 #include <binder/IMemory.h>
106 // establish binder interface to camera service
119 sp<IBinder> binder; local
121 binder = sm->getService(String16(kCameraServiceName));
122 if (binder != 0) {
131 binder->linkToDeath(gDeathNotifier);
132 gCameraService = interface_cast<::android::hardware::ICameraService>(binder);
148 binder
[all...]
/frameworks/av/media/libmedia/
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/services/camera/libcameraservice/
H A DCameraService.h26 #include <binder/AppOpsManager.h>
27 #include <binder/BinderService.h>
28 #include <binder/IAppOpsCallback.h>
106 virtual binder::Status getNumberOfCameras(int32_t type, int32_t* numCameras);
108 virtual binder::Status getCameraInfo(int cameraId,
110 virtual binder::Status getCameraCharacteristics(const String16& cameraId,
112 virtual binder::Status getCameraVendorTagDescriptor(
115 virtual binder::Status getCameraVendorTagCache(
119 virtual binder::Status connect(const sp<hardware::ICameraClient>& cameraClient,
125 virtual binder
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java185 final long ident = mContext.binder.clearCallingIdentity();
196 mContext.binder.restoreCallingIdentity(ident);
397 mMockContext.binder.callingUid = ANOTHER_ADMIN_UID;
401 mMockContext.binder.callingUid = DpmMockContext.CALLER_UID;
405 mMockContext.binder.callingUid = ANOTHER_ADMIN_UID;
485 mContext.binder.callingUid = 1234567;
500 mContext.binder.callingUid = DpmMockContext.CALLER_UID;
549 mContext.binder.callingUid = 1234567;
619 mContext.binder.callingUid = DpmMockContext.SYSTEM_UID;
657 mContext.binder
[all...]
/frameworks/base/services/core/
H A DAndroid.mk7 LOCAL_AIDL_INCLUDES := system/netd/server/binder
13 ../../../../system/netd/server/binder/android/net/INetd.aidl \
14 ../../../../system/netd/server/binder/android/net/metrics/INetdEventListener.aidl \
15 ../../../native/cmds/installd/binder/android/os/IInstalld.aidl \
18 system/netd/server/binder
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp26 #include <binder/Binder.h>
27 #include <binder/IBinder.h>
28 #include <binder/IPCThreadState.h>
29 #include <binder/IServiceManager.h>
175 sp<IBinder> binder; local
180 EXPECT_FALSE(binder != NULL);
181 binder = reply.readStrongBinder();
182 EXPECT_TRUE(binder != NULL);
187 return binder;
499 sp<IBinder> binder local
521 sp<IBinder> binder = addServer(); local
544 sp<IBinder> binder = addServer(); local
758 sp<IBinder> binder; local
823 sp<IBinder> binder; local
841 sp<IBinder> binder; local
950 sp<IBinder> binder = new BBinder(); local
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioBinderClient.cpp22 #include <binder/IServiceManager.h>
57 sp<IBinder> binder; local
64 binder = sm->getService(String16(AAUDIO_SERVICE_NAME)); // This will wait a while.
65 if (binder != 0) {
70 if (binder != 0) {
73 gAAudioService = interface_cast<IAAudioService>(binder);
/frameworks/native/cmds/cmd/
H A Dcmd.cpp20 #include <binder/Parcel.h>
21 #include <binder/ProcessState.h>
22 #include <binder/IResultReceiver.h>
23 #include <binder/IServiceManager.h>
24 #include <binder/IShellCallback.h>
25 #include <binder/TextOutput.h>
128 // a binder thread from userspace when we call startThreadPool().
/frameworks/base/core/java/android/os/
H A DServiceManager.java71 final IBinder binder = getService(name);
72 if (binder != null) {
73 return binder;
/frameworks/native/include/binder/
H A DProcessState.h20 #include <binder/IBinder.h>
39 * a different binder driver dev node. It must be called *before*
40 * any call to ProcessState::self(). /dev/binder remains the default.
65 void expungeHandle(int32_t handle, IBinder* binder);
85 IBinder* binder; member in struct:android::ProcessState::handle_entry
98 // Number of binder threads current executing a command.
100 // Maximum number for binder threads allowed for this process.
/frameworks/native/libs/binder/include/binder/
H A DProcessState.h20 #include <binder/IBinder.h>
39 * a different binder driver dev node. It must be called *before*
40 * any call to ProcessState::self(). /dev/binder remains the default.
65 void expungeHandle(int32_t handle, IBinder* binder);
85 IBinder* binder; member in struct:android::ProcessState::handle_entry
98 // Number of binder threads current executing a command.
100 // Maximum number for binder threads allowed for this process.
/frameworks/native/libs/sensor/include/sensor/
H A DSensorManager.h26 #include <binder/IBinder.h>
27 #include <binder/IPCThreadState.h>
28 #include <binder/IServiceManager.h>

Completed in 383 milliseconds

1234567891011>>