Home
last modified time | relevance | path

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

1234

/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()
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()
163 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in kill()
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()
DServiceManagerNative.java100 public IBinder asBinder() in asBinder() method in ServiceManagerNative
111 public IBinder asBinder() { in asBinder() method in ServiceManagerProxy
167 data.writeStrongBinder(controller.asBinder()); in setPermissionController()
DIInterface.java30 public IBinder asBinder(); in asBinder() method
/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.java200 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals()
201 .mTarget.asBinder()); in equals()
208 return mTarget.asBinder().hashCode(); in hashCode()
217 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString()
227 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
252 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writeIntentSenderOrNullToParcel()
DContentService.java148 IBinder binder = oc.mObserver.asBinder(); in notifyChange()
154 if (oe.observer.asBinder() == binder) { in notifyChange()
481 observer.asBinder().linkToDeath(this, 0); in ObserverEntry()
569 IBinder observerBinder = observer.asBinder(); in removeObserverLocked()
573 if (entry.observer.asBinder() == observerBinder) { in removeObserverLocked()
590 IBinder observerBinder = observer == null ? null : observer.asBinder(); in collectMyObserversLocked()
596 if (entry.observer.asBinder() == observerBinder && !selfNotify) { in collectMyObserversLocked()
/frameworks/base/media/libmedia/
DIMediaPlayerService.cpp64 data.writeStrongBinder(client->asBinder()); in create()
99 data.writeStrongBinder(client->asBinder()); in create()
171 reply->writeStrongBinder(player->asBinder()); in onTransact()
184 reply->writeStrongBinder(player->asBinder()); in onTransact()
197 reply->writeStrongBinder(player->asBinder()); in onTransact()
212 reply->writeStrongBinder(player->asBinder()); in onTransact()
219 reply->writeStrongBinder(recorder->asBinder()); in onTransact()
226 reply->writeStrongBinder(retriever->asBinder()); in onTransact()
232 reply->writeStrongBinder(omx->asBinder()); in onTransact()
/frameworks/base/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.cpp217 reply->writeStrongBinder( getMemory(&offset, &size)->asBinder() ); in onTransact()
242 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()
298 asBinder().get(), parcel_fd, size, err, strerror(-err)); in assertReallyMapped()
315 asBinder().get(), size, fd, strerror(errno)); in assertReallyMapped()
/frameworks/base/tools/aidl/
Dgenerate_java.cpp93 Method* asBinder = new Method; in StubClass() local
94 asBinder->modifiers = PUBLIC; in StubClass()
95 asBinder->returnType = IBINDER_TYPE; in StubClass()
96 asBinder->name = "asBinder"; in StubClass()
97 asBinder->statements = new StatementBlock; in StubClass()
98 asBinder->statements->Add(new ReturnStatement(THIS_VALUE)); in StubClass()
99 this->elements.push_back(asBinder); in StubClass()
220 Method* asBinder = new Method; in ProxyClass() local
221 asBinder->modifiers = PUBLIC; in ProxyClass()
222 asBinder->returnType = IBINDER_TYPE; in ProxyClass()
[all …]
/frameworks/base/core/java/android/app/
DPendingIntent.java443 return mTarget.asBinder().equals(((PendingIntent)otherObj) in equals()
444 .mTarget.asBinder()); in equals()
451 return mTarget.asBinder().hashCode(); in hashCode()
460 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString()
470 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
495 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writePendingIntentOrNullToParcel()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java64 mSession.wallpaperOffsetsComplete(asBinder()); in dispatchWallpaperOffsets()
74 mSession.wallpaperCommandComplete(asBinder(), null); in dispatchWallpaperCommand()
/frameworks/base/services/java/com/android/server/am/
DConnectionRecord.java41 pw.println(prefix + "conn=" + conn.asBinder() in dump()
66 sb.append(Integer.toHexString(System.identityHashCode(conn.asBinder()))); in toString()
DReceiverList.java106 sb.append((receiver.asBinder() instanceof Binder) ? " local:" : " remote:"); in toString()
107 sb.append(Integer.toHexString(System.identityHashCode(receiver.asBinder()))); in toString()
/frameworks/base/services/java/com/android/server/
DInputMethodManagerService.java177 binding = new InputBinding(null, inputContext.asBinder(), uid, pid); in ClientState()
583 mClients.put(client.asBinder(), new ClientState(client, in addClient()
590 mClients.remove(client.asBinder()); in removeClient()
595 if (target.asBinder() instanceof Binder) { in executeOrSendMessage()
606 + mCurClient.client.asBinder()); in unbindCurrentClientLocked()
683 ClientState cs = mClients.get(client.asBinder()); in startInputLocked()
686 + client.asBinder()); in startInputLocked()
708 + cs.client.asBinder()); in startInputLocked()
854 && mCurMethod.asBinder() == method.asBinder()) { in onSessionCreated()
1019 || mCurClient.client.asBinder() != client.asBinder()) { in showSoftInput()
[all …]
/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
DIMountServiceListener.java56 public IBinder asBinder() { in asBinder() method in IMountServiceListener.Stub
99 public IBinder asBinder() { in asBinder() method in IMountServiceListener.Stub.Proxy
/frameworks/base/libs/camera/
DICameraService.cpp63 data.writeStrongBinder(cameraClient->asBinder()); in connect()
97 reply->writeStrongBinder(camera->asBinder()); in onTransact()
DICameraClient.cpp60 data.writeStrongBinder(imageData->asBinder()); in dataCallback()
72 data.writeStrongBinder(imageData->asBinder()); in dataCallbackTimestamp()
/frameworks/base/libs/surfaceflinger_client/
DISurfaceComposer.cpp181 sp<IBinder> b = createConnection()->asBinder(); in onTransact()
186 sp<IBinder> b = createClientConnection()->asBinder(); in onTransact()
226 sp<IBinder> b = getCblk()->asBinder(); in onTransact()
239 reply->writeStrongBinder(heap->asBinder()); in onTransact()
DISurfaceComposerClient.cpp80 data.writeStrongBinder(sur->asBinder()); in getTokenForSurface()
142 reply->writeStrongBinder(ctl->asBinder()); in onTransact()
185 reply->writeStrongBinder(s->asBinder()); in onTransact()
/frameworks/base/include/binder/
DIInterface.h31 sp<IBinder> asBinder();
32 sp<const IBinder> asBinder() const;

1234