/frameworks/native/libs/binder/ |
D | IMemory.cpp | 49 sp<IMemoryHeap> find_heap(const sp<IBinder>& binder); 50 void free_heap(const sp<IBinder>& binder); 51 sp<IMemoryHeap> get_heap(const sp<IBinder>& binder); 61 void free_heap(const wp<IBinder>& binder); 92 static inline sp<IMemoryHeap> find_heap(const sp<IBinder>& binder) { in find_heap() argument 93 return gHeapCache->find_heap(binder); in find_heap() 95 static inline void free_heap(const sp<IBinder>& binder) { in free_heap() argument 96 gHeapCache->free_heap(binder); in free_heap() 98 static inline sp<IMemoryHeap> get_heap(const sp<IBinder>& binder) { in get_heap() argument 99 return gHeapCache->get_heap(binder); in get_heap() [all …]
|
D | ProcessState.cpp | 171 e.binder = NULL; in lookupHandleLocked() 191 IBinder* b = e->binder; in getStrongProxyForHandle() 221 e->binder = b; in getStrongProxyForHandle() 252 IBinder* b = e->binder; in getWeakProxyForHandle() 256 e->binder = b; in getWeakProxyForHandle() 267 void ProcessState::expungeHandle(int32_t handle, IBinder* binder) in expungeHandle() argument 276 if (e && e->binder == binder) e->binder = NULL; in expungeHandle()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 69 virtual binder::Status submitRequest( 75 virtual binder::Status submitRequestList( 80 virtual binder::Status cancelRequest(int requestId, 84 virtual binder::Status beginConfigure(); 86 virtual binder::Status endConfigure(bool isConstrainedHighSpeed = false); 89 virtual binder::Status deleteStream(int streamId); 91 virtual binder::Status createStream( 97 virtual binder::Status createInputStream(int width, int height, int format, 102 virtual binder::Status getInputSurface( 107 virtual binder::Status createDefaultRequest(int templateId, [all …]
|
D | CameraDeviceClient.cpp | 34 binder::Status::fromServiceSpecificError(errorCode, \ 38 binder::Status::fromServiceSpecificError(errorCode, \ 111 binder::Status CameraDeviceClient::submitRequest( in submitRequest() 120 binder::Status CameraDeviceClient::submitRequestList( in submitRequestList() 128 binder::Status res = binder::Status::ok(); in submitRequestList() 257 binder::Status CameraDeviceClient::cancelRequest( in cancelRequest() 265 binder::Status res; in cancelRequest() 298 binder::Status CameraDeviceClient::beginConfigure() { in beginConfigure() 301 return binder::Status::ok(); in beginConfigure() 304 binder::Status CameraDeviceClient::endConfigure(bool isConstrainedHighSpeed) { in endConfigure() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AWakeLock.cpp | 39 sp<IBinder> binder = IInterface::asBinder(mPowerManager); in ~AWakeLock() local 40 binder->unlinkToDeath(mDeathRecipient); in ~AWakeLock() 50 sp<IBinder> binder = in acquire() local 52 if (binder == NULL) { in acquire() 55 mPowerManager = interface_cast<IPowerManager>(binder); in acquire() 56 binder->linkToDeath(mDeathRecipient); in acquire() 60 sp<IBinder> binder = new BBinder(); in acquire() local 64 binder, String16("AWakeLock"), String16("media")); in acquire() 67 mWakeLockToken = binder; in acquire()
|
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 75 virtual binder::Status onStatusChanged(int32_t status, int32_t cameraId) { in onStatusChanged() 79 return binder::Status::ok(); in onStatusChanged() 82 virtual binder::Status onTorchStatusChanged(int32_t status, const String16& cameraId) { in onTorchStatusChanged() 86 return binder::Status::ok(); in onTorchStatusChanged() 167 virtual binder::Status onDeviceError(int errorCode, in onDeviceError() 176 return binder::Status::ok(); in onDeviceError() 179 virtual binder::Status onDeviceIdle() { in onDeviceIdle() 184 return binder::Status::ok(); in onDeviceIdle() 187 virtual binder::Status onCaptureStarted(const CaptureResultExtras& resultExtras, in onCaptureStarted() 195 return binder::Status::ok(); in onCaptureStarted() [all …]
|
/frameworks/av/camera/camera2/ |
D | CaptureRequest.cpp | 71 sp<IBinder> binder(parcel->readStrongBinder()); in readFromParcel() local 73 __FUNCTION__, binder.get()); in readFromParcel() 77 if (binder != NULL) { in readFromParcel() 79 interface_cast<IGraphicBufferProducer>(binder); in readFromParcel() 116 sp<IBinder> binder; in writeToParcel() local 118 binder = IInterface::asBinder(surface->getIGraphicBufferProducer()); in writeToParcel() 127 parcel->writeStrongBinder(binder); in writeToParcel()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 105 virtual binder::Status getNumberOfCameras(int32_t type, int32_t* numCameras); 107 virtual binder::Status getCameraInfo(int cameraId, 109 virtual binder::Status getCameraCharacteristics(int cameraId, 111 virtual binder::Status getCameraVendorTagDescriptor( 115 virtual binder::Status connect(const sp<hardware::ICameraClient>& cameraClient, 121 virtual binder::Status connectLegacy(const sp<hardware::ICameraClient>& cameraClient, 127 virtual binder::Status connectDevice( 133 virtual binder::Status addListener(const sp<hardware::ICameraServiceListener>& listener); 134 virtual binder::Status removeListener( 137 virtual binder::Status getLegacyParameters( [all …]
|
/frameworks/native/libs/binder/tests/ |
D | binderLibTest.cpp | 171 sp<IBinder> binder; in addServer() local 176 EXPECT_FALSE(binder != NULL); in addServer() 177 binder = reply.readStrongBinder(); in addServer() 178 EXPECT_TRUE(binder != NULL); in addServer() 183 return binder; in addServer() 499 sp<IBinder> binder = addServer(); in TEST_F() local 500 ASSERT_TRUE(binder != NULL); in TEST_F() 501 ret = binder->linkToDeath(testDeathRecipient); in TEST_F() 508 ret = binder->unlinkToDeath(testDeathRecipient); in TEST_F() 521 sp<IBinder> binder = addServer(); in TEST_F() local [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 90 IBinder binder; field in TelephonyRegistry.Record 115 return "{callingPackage=" + callingPackage + " binder=" + binder in toString() 387 if (b == r.binder) { in addOnSubscriptionsChangedListener() 392 r.binder = b; in addOnSubscriptionsChangedListener() 413 remove(r.binder); in addOnSubscriptionsChangedListener() 446 mRemoveList.add(r.binder); in notifySubscriptionInfoChanged() 502 if (b == r.binder) { in listen() 507 r.binder = b; in listen() 540 remove(r.binder); in listen() 550 remove(r.binder); in listen() [all …]
|
/frameworks/av/camera/ |
D | CameraBase.cpp | 94 sp<IBinder> binder; in getCameraService() local 96 binder = sm->getService(String16(kCameraServiceName)); in getCameraService() 97 if (binder != 0) { in getCameraService() 106 binder->linkToDeath(gDeathNotifier); in getCameraService() 107 gCameraService = interface_cast<::android::hardware::ICameraService>(binder); in getCameraService() 123 binder::Status ret; in connect() 214 binder::Status res = cs->getNumberOfCameras( in getNumberOfCameras() 231 binder::Status res = cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo() 240 binder::Status res = cs->addListener(listener); in addServiceListener() 249 binder::Status res = cs->removeListener(listener); in removeServiceListener()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | TelephonyRegistryMock.java | 42 IBinder binder; field in TelephonyRegistryMock.Record 67 return "{callingPackage=" + callingPackage + " binder=" + binder in toString() 84 private void remove(IBinder binder) { in remove() argument 88 if (mRecords.get(i).binder == binder) { in remove() 119 if (b == r.binder) { in addOnSubscriptionsChangedListener() 124 r.binder = b; in addOnSubscriptionsChangedListener() 138 remove(r.binder); in addOnSubscriptionsChangedListener() 167 mRemoveList.add(r.binder); in notifySubscriptionInfoChanged()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ViewWithTagTest.java | 31 ViewWithTagBinding binder = initBinder(); in test() local 32 binder.setStr("i don't have tag"); in test() 33 binder.executePendingBindings(); in test() 34 ViewGroup root = (ViewGroup) binder.getRoot(); in test()
|
/frameworks/av/media/libmedia/ |
D | IMediaDeathNotifier.cpp | 41 sp<IBinder> binder; in getMediaPlayerService() local 43 binder = sm->getService(String16("media.player")); in getMediaPlayerService() 44 if (binder != 0) { in getMediaPlayerService() 54 binder->linkToDeath(sDeathNotifier); in getMediaPlayerService() 55 sMediaPlayerService = interface_cast<IMediaPlayerService>(binder); in getMediaPlayerService()
|
D | mediametadataretriever.cpp | 43 sp<IBinder> binder; in getService() local 45 binder = sm->getService(String16("media.player")); in getService() 46 if (binder != 0) { in getService() 55 binder->linkToDeath(sDeathNotifier); in getService() 56 sService = interface_cast<IMediaPlayerService>(binder); in getService()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | RemoteListenerHelper.java | 62 IBinder binder = listener.asBinder(); in addListener() local 65 if (mListenerMap.containsKey(binder)) { in addListener() 70 binder.linkToDeath(deathListener, 0 /* flags */); in addListener() 77 mListenerMap.put(binder, deathListener); in addListener() 105 IBinder binder = listener.asBinder(); in removeListener() local 108 linkedListener = mListenerMap.remove(binder); in removeListener() 114 binder.unlinkToDeath(linkedListener, 0 /* flags */); in removeListener()
|
D | ActivityRecognitionProxy.java | 106 IBinder binder = mServiceWatcher.getBinder(); in bindProvider() local 107 if (binder == null) { in bindProvider() 113 descriptor = binder.getInterfaceDescriptor(); in bindProvider() 121 IActivityRecognitionHardwareWatcher.Stub.asInterface(binder); in bindProvider() 139 IActivityRecognitionHardwareClient.Stub.asInterface(binder); in bindProvider()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 114 final long ident = mContext.binder.clearCallingIdentity(); in initializeDpms() 125 mContext.binder.restoreCallingIdentity(ident); in initializeDpms() 326 mMockContext.binder.callingUid = ANOTHER_ADMIN_UID; in testSetActiveAdmin_multiUsers() 330 mMockContext.binder.callingUid = DpmMockContext.CALLER_UID; in testSetActiveAdmin_multiUsers() 334 mMockContext.binder.callingUid = ANOTHER_ADMIN_UID; in testSetActiveAdmin_multiUsers() 414 mContext.binder.callingUid = 1234567; in testRemoveActiveAdmin_SecurityException() 429 mContext.binder.callingUid = DpmMockContext.CALLER_UID; in testRemoveActiveAdmin_userNotRunningOrLocked() 479 mContext.binder.callingUid = 1234567; in testRemoveActiveAdmin_fromDifferentUserWithINTERACT_ACROSS_USERS_FULL() 577 mContext.binder.callingUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in setDeviceOwner() 599 mContext.binder.callingUid = DpmMockContext.CALLER_UID; in setDeviceOwner() [all …]
|
/frameworks/native/cmds/atrace/ |
D | atrace.rc | 26 chown root shell /sys/kernel/debug/tracing/events/binder/binder_transaction/enable 27 chown root shell /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable 28 chown root shell /sys/kernel/debug/tracing/events/binder/binder_lock/enable 29 chown root shell /sys/kernel/debug/tracing/events/binder/binder_locked/enable 30 chown root shell /sys/kernel/debug/tracing/events/binder/binder_unlock/enable 52 chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_transaction/enable 53 chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable 54 chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_lock/enable 55 chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_locked/enable 56 chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_unlock/enable
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 83 IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) { in register() argument 85 RequestInfo requestInfo = buildRequestInfo(request, messenger, binder, callingUid, in register() 214 Messenger messenger, IBinder binder, int callingUid, in buildRequestInfo() argument 217 return new UserUsageRequestInfo(this, request, messenger, binder, callingUid, in buildRequestInfo() 222 return new NetworkUsageRequestInfo(this, request, messenger, binder, callingUid, in buildRequestInfo() 242 Messenger messenger, IBinder binder, int callingUid, in RequestInfo() argument 247 mBinder = binder; in RequestInfo() 337 Messenger messenger, IBinder binder, int callingUid, in NetworkUsageRequestInfo() argument 339 super(statsObserver, request, messenger, binder, callingUid, accessLevel); in NetworkUsageRequestInfo() 379 Messenger messenger, IBinder binder, int callingUid, in UserUsageRequestInfo() argument [all …]
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
D | ViewDataBinding.java | 877 protected static void setBindingInverseListener(ViewDataBinding binder, in setBindingInverseListener() argument 881 binder.removeOnPropertyChangedCallback( in setBindingInverseListener() 885 binder.addOnPropertyChangedCallback(listener); in setBindingInverseListener() 1081 public WeakListener(ViewDataBinding binder, int localFieldId, in WeakListener() argument 1083 super(binder); in WeakListener() 1111 ViewDataBinding binder = get(); in getBinder() local 1112 if (binder == null) { in getBinder() 1115 return binder; in getBinder() 1123 public WeakPropertyListener(ViewDataBinding binder, int localFieldId) { in WeakPropertyListener() argument 1124 mListener = new WeakListener<Observable>(binder, localFieldId, this); in WeakPropertyListener() [all …]
|
/frameworks/base/services/core/ |
D | Android.mk | 7 LOCAL_AIDL_INCLUDES := system/netd/server/binder 13 ../../../../system/netd/server/binder/android/net/INetd.aidl \ 14 ../../../../system/netd/server/binder/android/net/metrics/IDnsEventListener.aidl \ 17 system/netd/server/binder
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | BundleCompat.java | 53 public static void putBinder(Bundle bundle, String key, IBinder binder) { in putBinder() argument 55 BundleCompatJellybeanMR2.putBinder(bundle, key, binder); in putBinder() 57 BundleCompatDonut.putBinder(bundle, key, binder); in putBinder()
|
/frameworks/av/media/utils/ |
D | SchedulingPolicyService.cpp | 40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() local 41 if (binder == 0) { in requestPriority() 45 sps = interface_cast<ISchedulingPolicyService>(binder); in requestPriority()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 78 sp<IBinder> binder; in getCameraService() local 80 binder = sm->getService(String16(kCameraServiceName)); in getCameraService() 81 if (binder != nullptr) { in getCameraService() 90 binder->linkToDeath(mDeathNotifier); in getCameraService() 91 mCameraService = interface_cast<hardware::ICameraService>(binder); in getCameraService() 121 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); in getCameraService() 249 binder::Status CameraManagerGlobal::CameraServiceListener::onStatusChanged( in onStatusChanged() 257 return binder::Status::ok(); in onStatusChanged() 314 … binder::Status serviceRet = cs->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, in getOrCreateCameraIdListLocked() 427 binder::Status serviceRet = cs->getCameraCharacteristics(cameraId, &rawMetadata); in getCameraCharacteristics() [all …]
|