Home
last modified time | relevance | path

Searched refs:interface_cast (Results 1 – 25 of 126) sorted by relevance

123456

/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp63 return interface_cast<IMediaMetadataRetriever>(reply.readStrongBinder()); in createMetadataRetriever()
76 return interface_cast<IMediaPlayer>(reply.readStrongBinder()); in create()
85 return interface_cast<IMediaRecorder>(reply.readStrongBinder()); in createMediaRecorder()
110 return interface_cast<IRemoteDisplay>(reply.readStrongBinder()); in listenForRemoteDisplay()
117 return interface_cast<IMediaCodecList>(reply.readStrongBinder()); in getCodecList()
132 interface_cast<IMediaPlayerClient>(data.readStrongBinder()); in onTransact()
175 interface_cast<IRemoteDisplayClient>(data.readStrongBinder())); in onTransact()
DIMediaMetadataRetriever.cpp131 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtTime()
149 return interface_cast<IMemory>(reply.readStrongBinder()); in getImageAtIndex()
170 return interface_cast<IMemory>(reply.readStrongBinder()); in getImageRectAtIndex()
188 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtIndex()
200 return interface_cast<IMemory>(reply.readStrongBinder()); in extractAlbumArt()
250 interface_cast<IMediaHTTPService>(data.readStrongBinder()); in onTransact()
296 interface_cast<IDataSource>(data.readStrongBinder()); in onTransact()
DIMediaHTTPService.cpp51 return interface_cast<IMediaHTTPConnection>(reply.readStrongBinder()); in makeHTTPConnection()
DIStreamSource.cpp90 interface_cast<IStreamListener>(data.readStrongBinder())); in onTransact()
101 interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService()
172 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
179 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
203 *outService = interface_cast<INTERFACE>(sm->getService(name)); in getService()
DIInterface.h48 inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) in interface_cast() function
64 return interface_cast<INTERFACE>(obj); in checked_interface_cast()
/frameworks/native/include/binder/
DIServiceManager.h165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService()
172 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
179 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
203 *outService = interface_cast<INTERFACE>(sm->getService(name)); in getService()
DIInterface.h48 inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) in interface_cast() function
64 return interface_cast<INTERFACE>(obj); in checked_interface_cast()
/frameworks/native/libs/binder/rust/src/
Dservice.rs137 fn interface_cast<T: FromIBinder + ?Sized>(service: Option<SpIBinder>) -> Result<Strong<T>> { in interface_cast() function
179 interface_cast(get_service(name)) in get_interface()
185 interface_cast(check_service(name)) in check_interface()
191 interface_cast(wait_for_service(name)) in wait_for_interface()
/frameworks/av/services/tuner/
DTunerHelper.cpp28 using ::android::interface_cast;
54 packageMgr = interface_cast<IPackageManagerNative>(binder); in checkTunerFeature()
/frameworks/av/services/medialog/
DIMediaLogService.cpp81 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
90 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/media/utils/
DSchedulingPolicyService.cpp57 sps = interface_cast<ISchedulingPolicyService>(binder); in requestPriority()
85 sps = interface_cast<ISchedulingPolicyService>(binder); in requestCpusetBoost()
DProcessInfo.cpp56 sp<IProcessInfoService> service = interface_cast<IProcessInfoService>(binder); in checkProcessExistent()
91 sp<IProcessInfoService> service = interface_cast<IProcessInfoService>(binder); in getPriority()
/frameworks/native/libs/binder/tests/
DbinderRpcBenchmark.cpp44 using android::interface_cast;
203 sp<IBinderRpcBenchmark> iface = interface_cast<IBinderRpcBenchmark>(binder); in BM_repeatTwoPageString()
233 sp<IBinderRpcBenchmark> iface = interface_cast<IBinderRpcBenchmark>(binder); in BM_throughputForTransportAndBytes()
255 sp<IBinderRpcBenchmark> iface = interface_cast<IBinderRpcBenchmark>(binder); in BM_collectProxies()
288 sp<IBinderRpcBenchmark> iface = interface_cast<IBinderRpcBenchmark>(binder); in BM_repeatBinder()
/frameworks/av/media/libmediaplayerservice/
DActivityManager.cpp33 sp<IActivityManager> am = interface_cast<IActivityManager>(binder); in openContentProviderFile()
/frameworks/native/libs/vr/libvr_manager/
Dtrusted_uids.cpp42 bool trusted = interface_cast<IPermissionController>(binder)->checkPermission( in IsTrustedUid()
/frameworks/av/camera/
DICamera.cpp360 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
375 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
406 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
492 sp<ICameraClient> cameraClient = interface_cast<ICameraClient>(data.readStrongBinder()); in onTransact()
510 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
/frameworks/av/media/libaudioclient/
DRecordingActivityTracker.cpp31 mAudioManager = interface_cast<IAudioManager>(binder); in RecordingActivityTracker()
/frameworks/native/libs/binder/
DActivityManager.cpp41 service = interface_cast<IActivityManager>(binder); in getService()
61 service = interface_cast<IActivityManager>(binder); in getService()
/frameworks/base/services/core/jni/
Dcom_android_server_gpu_GpuService.cpp34 return interface_cast<android::IGpuService>(binder); in getGpuService()
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp46 mComposer = interface_cast<gui::ISurfaceComposer>(sm->checkService(name)); in updateVsync()
/frameworks/base/libs/services/src/os/
DDropBoxManager.cpp190 sp<IDropBoxManagerService> service = interface_cast<IDropBoxManagerService>( in addData()
224 sp<IDropBoxManagerService> service = interface_cast<IDropBoxManagerService>( in addFile()
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderClient.cpp38 using android::interface_cast;
84 aaudioService = interface_cast<IAAudioService>(binder); in getAAudioService()
/frameworks/av/media/libstagefright/http/
DHTTPHelper.cpp64 httpService = interface_cast<IMediaHTTPService>(binder); in CreateHTTPServiceInCurrentJavaContext()
/frameworks/av/services/audioflinger/afutils/
DVibrator.cpp41 sExternalVibratorService = interface_cast<os::IExternalVibratorService>(binder); in getExternalVibratorService()

123456