Home
last modified time | relevance | path

Searched refs:asBinder (Results 1 – 25 of 174) sorted by relevance

1234567

/frameworks/base/core/java/android/os/
DMessenger.java60 return mTarget.asBinder(); in getBinder()
72 return mTarget.asBinder().equals(((Messenger)otherObj) in equals()
73 .mTarget.asBinder()); in equals()
80 return mTarget.asBinder().hashCode(); in hashCode()
88 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
113 out.writeStrongBinder(messenger != null ? messenger.mTarget.asBinder() in writeMessengerOrNullToParcel()
DRemoteCallback.java76 return mTarget.asBinder().equals(((RemoteCallback)otherObj) in equals()
77 .mTarget.asBinder()); in equals()
84 return mTarget.asBinder().hashCode(); in hashCode()
92 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
DRemoteCallbackList.java67 mCallbacks.remove(mCallback.asBinder()); in binderDied()
112 IBinder binder = callback.asBinder(); in register()
143 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister()
145 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in unregister()
164 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in kill()
DServiceManagerNative.java103 public IBinder asBinder() in asBinder() method in ServiceManagerNative
114 public IBinder asBinder() { in asBinder() method in ServiceManagerProxy
189 data.writeStrongBinder(controller.asBinder()); in setPermissionController()
/frameworks/base/core/java/android/view/
DWindowId.java133 if (observer.mRegistrations.containsKey(mToken.asBinder())) { in registerFocusObserver()
137 observer.mRegistrations.put(mToken.asBinder(), this); in registerFocusObserver()
150 if (observer.mRegistrations.remove(mToken.asBinder()) == null) { in unregisterFocusObserver()
168 return mToken.asBinder().equals(((WindowId) otherObj) in equals()
169 .mToken.asBinder()); in equals()
176 return mToken.asBinder().hashCode(); in hashCode()
185 sb.append(mToken != null ? mToken.asBinder() : null); in toString()
195 out.writeStrongBinder(mToken.asBinder()); in writeToParcel()
/frameworks/base/services/common_time/
Dcommon_clock_service.cpp102 if (mListeners[i]->asBinder() == listener->asBinder()) in registerListener()
109 return listener->asBinder()->linkToDeath(this); in registerListener()
120 if (mListeners[i]->asBinder() == listener->asBinder()) { in unregisterListener()
121 mListeners[i]->asBinder()->unlinkToDeath(this); in unregisterListener()
139 if (mListeners[i]->asBinder() == who) { in binderDied()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp74 data.writeStrongBinder(client->asBinder()); in create()
96 data.writeStrongBinder(heap->asBinder()); in decode()
119 data.writeStrongBinder(heap->asBinder()); in decode()
180 data.writeStrongBinder(client->asBinder()); in listenForRemoteDisplay()
220 reply->writeStrongBinder(player->asBinder()); in onTransact()
265 reply->writeStrongBinder(recorder->asBinder()); in onTransact()
271 reply->writeStrongBinder(retriever->asBinder()); in onTransact()
277 reply->writeStrongBinder(omx->asBinder()); in onTransact()
283 reply->writeStrongBinder(crypto->asBinder()); in onTransact()
289 reply->writeStrongBinder(drm->asBinder()); in onTransact()
[all …]
DIMediaLogService.cpp45 data.writeStrongBinder(shared->asBinder()); in registerWriter()
55 data.writeStrongBinder(shared->asBinder()); in unregisterWriter()
/frameworks/base/core/java/android/speech/
DRecognitionService.java96 if (DBG) Log.d(TAG, "created new mCurrentCallback, listener = " + listener.asBinder()); in dispatchStartListening()
114 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchStopListening()
128 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchCancel()
315 if (DBG) Log.d(TAG, "startListening called by:" + listener.asBinder()); in startListening()
324 if (DBG) Log.d(TAG, "stopListening called by:" + listener.asBinder()); in stopListening()
332 if (DBG) Log.d(TAG, "cancel called by:" + listener.asBinder()); in cancel()
/frameworks/base/core/java/android/content/
DIntentSender.java289 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals()
290 .mTarget.asBinder()); in equals()
297 return mTarget.asBinder().hashCode(); in hashCode()
306 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString()
316 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
341 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writeIntentSenderOrNullToParcel()
/frameworks/native/libs/binder/
DIInterface.cpp30 sp<IBinder> IInterface::asBinder() in asBinder() function in android::IInterface
35 sp<const IBinder> IInterface::asBinder() const in asBinder() function in android::IInterface
DIMemory.cpp219 reply->writeStrongBinder( getMemory(&offset, &size)->asBinder() ); in onTransact()
244 sp<IBinder> binder = const_cast<BpMemoryHeap*>(this)->asBinder(); in ~BpMemoryHeap()
256 sp<IBinder> binder = const_cast<BpMemoryHeap*>(this)->asBinder(); in ~BpMemoryHeap()
265 sp<IBinder> binder(const_cast<BpMemoryHeap*>(this)->asBinder()); in assertMapped()
300 asBinder().get(), parcel_fd, size, err, strerror(-err)); in assertReallyMapped()
317 asBinder().get(), size, fd, strerror(errno)); in assertReallyMapped()
/frameworks/av/camera/
DICameraService.cpp154 data.writeStrongBinder(cameraClient->asBinder()); in connect()
176 data.writeStrongBinder(cameraCb->asBinder()); in connectPro()
201 data.writeStrongBinder(cameraCb->asBinder()); in connectDevice()
219 data.writeStrongBinder(listener->asBinder()); in addListener()
230 data.writeStrongBinder(listener->asBinder()); in removeListener()
292 reply->writeStrongBinder(camera->asBinder()); in onTransact()
312 reply->writeStrongBinder(camera->asBinder()); in onTransact()
332 reply->writeStrongBinder(camera->asBinder()); in onTransact()
DICameraRecordingProxy.cpp48 data.writeStrongBinder(listener->asBinder()); in startRecording()
66 data.writeStrongBinder(mem->asBinder()); in releaseRecordingFrame()
/frameworks/base/tools/aidl/
Dgenerate_java_binder.cpp56 Method* asBinder = new Method; in StubClass() local
57 asBinder->modifiers = PUBLIC | OVERRIDE; in StubClass()
58 asBinder->returnType = IBINDER_TYPE; in StubClass()
59 asBinder->name = "asBinder"; in StubClass()
60 asBinder->statements = new StatementBlock; in StubClass()
61 asBinder->statements->Add(new ReturnStatement(THIS_VALUE)); in StubClass()
62 this->elements.push_back(asBinder); in StubClass()
183 Method* asBinder = new Method; in ProxyClass() local
184 asBinder->modifiers = PUBLIC | OVERRIDE; in ProxyClass()
185 asBinder->returnType = IBINDER_TYPE; in ProxyClass()
[all …]
/frameworks/base/services/java/com/android/server/
DCountryDetectorService.java56 mKey = listener.asBinder(); in Receiver()
127 removeListener(listener.asBinder()); in removeCountryListener()
134 listener.asBinder().linkToDeath(r, 0); in addListener()
135 mReceivers.put(listener.asBinder(), r); in addListener()
/frameworks/native/services/batteryservice/
DIBatteryPropertiesRegistrar.cpp37 data.writeStrongBinder(listener->asBinder()); in registerListener()
44 data.writeStrongBinder(listener->asBinder()); in unregisterListener()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java79 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets()
100 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()
/frameworks/base/core/java/android/os/storage/
DIMountShutdownObserver.java55 public IBinder asBinder() { in asBinder() method in IMountShutdownObserver.Stub
86 public IBinder asBinder() { in asBinder() method in IMountShutdownObserver.Stub.Proxy
DIObbActionListener.java56 public IBinder asBinder() { in asBinder() method in IObbActionListener.Stub
91 public IBinder asBinder() { in asBinder() method in IObbActionListener.Stub.Proxy
/frameworks/base/services/java/com/android/server/wm/
DSession.java107 client.asBinder().linkToDeath(this, 0); in Session()
145 mClient.asBinder().unlinkToDeath(this, 0); in binderDied()
288 mService.mH.removeMessages(H.DRAG_START_TIMEOUT, window.asBinder()); in performDrag()
340 IBinder token = window.asBinder(); in reportDropResult()
364 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, window.asBinder()); in reportDropResult()
381 Slog.d(WindowManagerService.TAG, "Drag into new candidate view @ " + window.asBinder()); in dragRecipientEntered()
387 Slog.d(WindowManagerService.TAG, "Drag from old candidate view @ " + window.asBinder()); in dragRecipientExited()
/frameworks/base/core/java/android/app/
DPendingIntent.java873 return mTarget.asBinder().equals(((PendingIntent)otherObj) in equals()
874 .mTarget.asBinder()); in equals()
881 return mTarget.asBinder().hashCode(); in hashCode()
890 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString()
900 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
925 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writePendingIntentOrNullToParcel()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp113 data.writeStrongBinder(producer->asBinder()); in captureScreen()
134 err = data.writeStrongBinder(bufferProducer->asBinder()); in authenticateSurfaceTexture()
242 sp<IBinder> b = createConnection()->asBinder(); in onTransact()
248 sp<IBinder> b = createGraphicBufferAlloc()->asBinder(); in onTransact()
304 reply->writeStrongBinder(connection->asBinder()); in onTransact()
/frameworks/base/services/java/com/android/server/am/
DConnectionRecord.java43 pw.println(prefix + "conn=" + conn.asBinder() in dump()
106 sb.append(Integer.toHexString(System.identityHashCode(conn.asBinder()))); in toString()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp44 BasicClient(cameraService, remoteCallback->asBinder(), clientPackageName, in CameraDeviceClientBase()
141 int idx = mStreamMap.indexOfKey(gbp->asBinder()); in submitRequest()
284 ssize_t index = mStreamMap.indexOfKey(bufferProducer->asBinder()); in createStream()
313 binder = bufferProducer->asBinder(); in createStream()
368 mStreamMap.add(bufferProducer->asBinder(), streamId); in createStream()
486 getRemoteCallback()->asBinder().get(), in dump()

1234567