Searched refs:asBinder (Results 26 - 50 of 139) sorted by relevance

123456

/frameworks/base/core/java/android/accounts/
H A DAccountAuthenticatorResponse.java85 dest.writeStrongBinder(mAccountAuthenticatorResponse.asBinder());
/frameworks/base/core/java/android/database/
H A DBulkCursorDescriptor.java57 out.writeStrongBinder(cursor.asBinder());
H A DCursorToBulkCursorAdaptor.java65 remoteObserver.asBinder().linkToDeath(recipient, 0);
72 return mRemote.asBinder().unlinkToDeath(recipient, 0);
/frameworks/base/core/java/android/os/
H A DResultReceiver.java111 out.writeStrongBinder(mReceiver.asBinder());
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/textservice/
H A DITextServicesManager_Stub_Delegate.java105 public IBinder asBinder() { method in class:ITextServicesManager_Stub_Delegate.FakeTextServicesManager
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java36 public IBinder asBinder() { method in class:BridgePowerManager
H A DBridgeWindow.java103 public IBinder asBinder() { method in class:BridgeWindow
/frameworks/native/libs/gui/
H A DSurface.cpp92 return lhs->mSurface->asBinder() == rhs->mSurface->asBinder();
181 parcel->writeStrongBinder(sur!=0 ? sur->asBinder() : NULL);
258 parcel->writeStrongBinder(sur != NULL ? sur->asBinder() : NULL);
259 parcel->writeStrongBinder(st != NULL ? st->asBinder() : NULL);
335 sp<IBinder> Surface::asBinder() const { function in class:android::Surface
336 return mSurface!=0 ? mSurface->asBinder() : 0;
H A DISensorServer.cpp94 reply->writeStrongBinder(connection->asBinder());
H A DISurfaceComposer.cpp138 err = data.writeStrongBinder(surfaceTexture->asBinder());
238 sp<IBinder> b = createConnection()->asBinder();
243 sp<IBinder> b = createGraphicBufferAlloc()->asBinder();
283 reply->writeStrongBinder(heap->asBinder());
299 reply->writeStrongBinder(connection->asBinder());
/frameworks/base/core/java/android/app/
H A DPendingIntent.java804 return mTarget.asBinder().equals(((PendingIntent)otherObj)
805 .mTarget.asBinder());
812 return mTarget.asBinder().hashCode();
821 sb.append(mTarget != null ? mTarget.asBinder() : null);
831 out.writeStrongBinder(mTarget.asBinder());
856 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder()
/frameworks/native/libs/binder/
H A DIMemory.cpp219 reply->writeStrongBinder( getMemory(&offset, &size)->asBinder() );
244 sp<IBinder> binder = const_cast<BpMemoryHeap*>(this)->asBinder();
258 sp<IBinder> binder = const_cast<BpMemoryHeap*>(this)->asBinder();
267 sp<IBinder> binder(const_cast<BpMemoryHeap*>(this)->asBinder());
302 asBinder().get(), parcel_fd, size, err, strerror(-err));
319 asBinder().get(), size, fd, strerror(errno));
/frameworks/av/camera/
H A DICameraClient.cpp61 data.writeStrongBinder(imageData->asBinder());
77 data.writeStrongBinder(imageData->asBinder());
H A DCamera.cpp84 camera->asBinder()->linkToDeath(c);
128 c->mCamera->asBinder()->linkToDeath(c);
141 mCamera->asBinder()->unlinkToDeath(this);
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java193 if (current.mSyncContext.getSyncContextBinder() == syncContext.asBinder()) {
285 return mISyncAdapterImpl.asBinder();
/frameworks/base/services/java/com/android/server/am/
H A DReceiverList.java111 sb.append((receiver.asBinder() instanceof Binder) ? " local:" : " remote:");
112 sb.append(Integer.toHexString(System.identityHashCode(receiver.asBinder())));
/frameworks/av/media/libmedia/
H A DIAudioRecord.cpp90 reply->writeStrongBinder(getCblk()->asBinder());
H A DIMediaDeathNotifier.cpp107 sMediaPlayerService->asBinder()->unlinkToDeath(this);
H A DIAudioTrack.cpp139 data.writeStrongBinder(buffer->asBinder());
177 reply->writeStrongBinder(getCblk()->asBinder());
216 reply->writeStrongBinder(buffer->asBinder());
H A DIMediaRecorder.cpp70 data.writeStrongBinder(camera->asBinder());
71 data.writeStrongBinder(proxy->asBinder());
215 data.writeStrongBinder(listener->asBinder());
452 reply->writeStrongBinder(surfaceMediaSource->asBinder());
H A DIRemoteDisplayClient.cpp45 data.writeStrongBinder(surfaceTexture->asBinder());
/frameworks/base/cmds/system_server/library/
H A Dsystem_init.cpp60 sm->asBinder()->linkToDeath(grim, grim.get(), 0);
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp164 if (cameraClient->asBinder() == client->getCameraClient()->asBinder()) {
214 cameraClient->asBinder()->linkToDeath(this);
230 sp<Client> client = findClientUnsafe(cameraClient->asBinder(), outIndex);
263 if (cameraClient == client->getCameraClient()->asBinder()) {
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java105 client.asBinder().linkToDeath(this, 0);
143 mClient.asBinder().unlinkToDeath(this, 0);
286 mService.mH.removeMessages(H.DRAG_START_TIMEOUT, window.asBinder());
338 IBinder token = window.asBinder();
362 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, window.asBinder());
379 Slog.d(WindowManagerService.TAG, "Drag into new candidate view @ " + window.asBinder());
385 Slog.d(WindowManagerService.TAG, "Drag from old candidate view @ " + window.asBinder());
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp246 mLiveNodes.add(observer->asBinder(), instance);
247 observer->asBinder()->linkToDeath(this);
257 ssize_t index = mLiveNodes.indexOfKey(instance->observer()->asBinder());
266 instance->observer()->asBinder()->unlinkToDeath(this);

Completed in 425 milliseconds

123456