Searched refs:binder (Results 251 - 275 of 888) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/os/
H A DServiceManager.java139 final IBinder binder = getService(name);
140 if (binder != null) {
141 return binder;
253 final IBinder binder = getIServiceManager().getService(name);
302 return 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>
190 sp<IBinder> binder; local
195 EXPECT_FALSE(binder != NULL);
196 binder = reply.readStrongBinder();
197 EXPECT_TRUE(binder != NULL);
202 return binder;
559 sp<IBinder> binder local
581 sp<IBinder> binder = addServer(); local
604 sp<IBinder> binder = addServer(); local
943 sp<IBinder> binder; local
1046 sp<IBinder> binder; local
1064 sp<IBinder> binder; local
1173 sp<IBinder> binder = new BBinder(); local
[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/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestBase.java96 final int callingUid = caller.binder.callingUid;
97 final int callingPid = caller.binder.callingPid;
99 final long origId = serviceContext.binder.clearCallingIdentity();
101 serviceContext.binder.callingUid = callingUid;
102 serviceContext.binder.callingPid = callingPid;
103 serviceContext.binder.callingPermissions.put(callingUid, caller.permissions);
108 serviceContext.binder.restoreCallingIdentity(origId);
/frameworks/native/libs/binder/
H A DValue.cpp19 #include <binder/Value.h>
23 #include <binder/IBinder.h>
24 #include <binder/Parcel.h>
25 #include <binder/Map.h>
26 #include <private/binder/ParcelValTypes.h>
40 using android::binder::Value;
43 using namespace android::binder;
80 namespace binder { namespace in namespace:android
279 DEF_TYPE_ACCESSORS(::android::binder::Map, Map)
416 } // namespace binder
[all...]
H A DPermissionCache.cpp21 #include <binder/IPCThreadState.h>
22 #include <binder/IServiceManager.h>
23 #include <binder/PermissionCache.h>
/frameworks/av/camera/ndk/impl/
H A DACameraManager.cpp84 sp<IBinder> binder; local
86 binder = sm->getService(String16(kCameraServiceName));
87 if (binder != nullptr) {
96 binder->linkToDeath(mDeathNotifier);
97 mCameraService = interface_cast<hardware::ICameraService>(binder);
131 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get());
143 binder::Status res =
235 binder::Status serviceRet = cs->supportsCameraApi(String16(deviceStatus.first),
297 binder::Status CameraManagerGlobal::CameraServiceListener::onStatusChanged(
305 return binder
[all...]
H A DACameraManager.h26 #include <binder/IServiceManager.h>
81 virtual binder::Status onStatusChanged(int32_t status, const String16& cameraId);
84 virtual binder::Status onTorchStatusChanged(int32_t, const String16&) {
85 return binder::Status::ok();
/frameworks/av/media/libaudioclient/tests/
H A Dtest_create_audiorecord.cpp22 #include <binder/MemoryBase.h>
23 #include <binder/MemoryDealer.h>
24 #include <binder/MemoryHeapBase.h>
H A Dtest_create_audiotrack.cpp22 #include <binder/MemoryBase.h>
23 #include <binder/MemoryDealer.h>
24 #include <binder/MemoryHeapBase.h>
/frameworks/av/media/libmediametrics/
H A DIMediaAnalyticsService.cpp23 #include <binder/Parcel.h>
24 #include <binder/IMemory.h>
25 #include <binder/IPCThreadState.h>
76 // this will be a binder call with appropriate timing
/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/services/tests/servicestests/src/com/android/server/wm/
H A DRecentsAnimationControllerTest.java107 private static void verifyNoMoreInteractionsExceptAsBinder(IInterface binder) { argument
108 verify(binder, atLeast(0)).asBinder();
109 verifyNoMoreInteractions(binder);
/frameworks/native/include/binder/
H A DIPCThreadState.h21 #include <binder/Parcel.h>
22 #include <binder/ProcessState.h>
72 static void expungeHandle(int32_t handle, IBinder* binder);
88 // Call blocks until the number of executing binder threads is less than
89 // the maximum number of binder threads threads allowed for this process.
/frameworks/native/libs/binder/include/binder/
H A DIPCThreadState.h21 #include <binder/Parcel.h>
22 #include <binder/ProcessState.h>
72 static void expungeHandle(int32_t handle, IBinder* binder);
88 // Call blocks until the number of executing binder threads is less than
89 // the maximum number of binder threads threads allowed for this process.
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/
H A DCustomTabsSessionToken.java71 IBinder binder = BundleCompat.getBinder(b, CustomTabsIntent.EXTRA_SESSION);
72 if (binder == null) return null;
73 return new CustomTabsSessionToken(ICustomTabsCallback.Stub.asInterface(binder));
/frameworks/av/camera/include/camera/
H A DICameraRecordingProxy.h21 #include <binder/IInterface.h>
H A DICameraRecordingProxyListener.h21 #include <binder/IInterface.h>
/frameworks/av/camera/include/camera/camera2/
H A DCaptureRequest.h22 #include <binder/Parcelable.h>
55 // Optional way of passing surface list since passing Surface over binder
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A Dservice.cpp22 #include <binder/ProcessState.h>
/frameworks/av/include/camera/
H A DICameraRecordingProxy.h21 #include <binder/IInterface.h>
H A DICameraRecordingProxyListener.h21 #include <binder/IInterface.h>
/frameworks/av/include/camera/camera2/
H A DCaptureRequest.h22 #include <binder/Parcelable.h>
55 // Optional way of passing surface list since passing Surface over binder
/frameworks/av/include/media/
H A DIAudioPolicyServiceClient.h22 #include <binder/IInterface.h>
H A DIDataSource.h20 #include <binder/IInterface.h>
30 // A binder interface for implementing a stagefright DataSource remotely.

Completed in 321 milliseconds

<<11121314151617181920>>