/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 239 getContext().bindService(service, conn, 0); in bindExpectResult() 244 getContext().bindService(service, conn2, 0); in bindExpectResult() 274 getContext().bindService(service, conn, 0); in bindExpectResult() 304 getContext().bindService(service, conn, 0); in bindExpectResult() 328 getContext().bindService(service, conn, 0); in bindExpectResult() 345 getContext().bindService( in bindAutoExpectResult() 366 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE); in bindExpectNoPermission() 459 getContext().bindService( in testLocalUnbindTwice()
|
D | LocalReceiver.java | 55 context.bindService(new Intent(context, LocalService.class), sc, 0); in onReceive()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeApp.java | 135 bindService(new Intent(this, FakeCoreService.class), mServiceConnection, in onCreate() 137 bindService(new Intent(this, FakeCoreService2.class), mServiceConnection2, in onCreate() 139 bindService(new Intent(this, FakeCoreService3.class), mServiceConnection3, in onCreate()
|
/frameworks/base/docs/html/tools/testing/ |
D | service_testing.jd | 87 {@link android.test.ServiceTestCase#bindService(Intent) ServiceTestCase.bindService()}. This 92 Notice that the parameters to <code>ServiceTestCase.bindService()</code>are different from 93 those for <code>Service.bindService()</code>. For the <code>ServiceTestCase</code> version, 95 <code>ServiceTestCase.bindService()</code> returns an object that subclasses 153 {@link android.content.Context#bindService(Intent,ServiceConnection,int) Context.bindService()}.
|
/frameworks/base/docs/html/guide/components/ |
D | bound-services.jd | 78 android.content.Context#bindService bindService()}. 97 <p>A client can bind to the service by calling {@link android.content.Context#bindService 98 bindService()}. When it does, it must provide an implementation of {@link 100 android.content.Context#bindService bindService()} method returns immediately without a value, but 268 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 293 /** Defines callbacks for service binding, passed to bindService() */ 474 bindService(new Intent(this, MessengerService.class), mConnection, 510 {@link android.content.Context#bindService bindService()}. The Android 514 <p>The binding is asynchronous. {@link android.content.Context#bindService 515 bindService()} returns immediately and does <em>not</em> return the {@link android.os.IBinder} to [all …]
|
D | services.jd | 87 android.content.Context#bindService bindService()}. A bound service offers a client-server 155 service (such as to perform RPC), by calling {@link android.content.Context#bindService 156 bindService()}. In your implementation of this method, you must provide an interface that clients 177 {@link android.content.Context#bindService bindService()} to create the service (and {@link 615 android.content.Context#bindService bindService()} in order to create a long-standing connection 626 {@link android.content.Context#bindService bindService()} to retrieve the interface and 741 android.content.Context#bindService bindService()}. The client then communicates with the service 754 android.content.Context#bindService bindService()}. In cases like this, {@link 771 with {@link android.content.Context#bindService bindService()}.</p> 791 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()} [all …]
|
/frameworks/base/docs/html/intl/ja/guide/topics/ |
D | fundamentals.jd | 171 …bindService Context.bindService()}</code> に渡すと、呼び出し側のコンポーネントと対象となるサービスの間の継続中の接続を確立できます。サービスは、<code… 551 …れたときには通知を受けることができます。通知があり次第、<code>{@link android.content.Context#bindService bindService()}</code>… 555 サービスの <code>{@link android.app.Service#onBind onBind()}</code> メソッドは、受け取ったインテント({@code bindService(… 789 …bindService Context.bindService()}</code> を呼び出して確立し、<code>{@link android.content.Context#unbindSer… 794 …とします。その後、たとえばユーザーがプレーヤーを操作したい場合や再生中の曲に関する情報を入手したい場合には、アクティビティから {@code bindService()} を呼び出してサービスとの… 818 …rtService()}</code> または <code>{@link android.content.Context#bindService Context.bindService()}</c… 828 <code>{@link android.app.Service#onBind onBind()}</code> コールバックには {@code bindService()} に渡された Inten… 832 次の図に、サービスのコールバック メソッドを示します。なお、{@code startService()} で作成されたサービスと、{@code bindService()} で作成されたサービスを分…
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 392 public boolean bindService(Intent service, ServiceConnection conn, in bindService() method in ContextWrapper 394 return mBase.bindService(service, conn, flags); in bindService() 399 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) { in bindService() method in ContextWrapper 400 return mBase.bindService(service, conn, flags, userId); in bindService()
|
D | Context.java | 1399 public abstract boolean bindService(Intent service, ServiceConnection conn, in bindService() method in Context 1407 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) { in bindService() method in Context
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 83 mOwner.bindService(new Intent(IWapPushManager.class.getName()), in bindWapPushManager() 98 mOwner.bindService(new Intent(IWapPushManager.class.getName()), in rebindWapPushManager()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessengerTest.java | 96 getContext().bindService(new Intent(mContext, MessengerService.class), in setUp()
|
D | BinderThreadPriorityTest.java | 63 getContext().bindService( in setUp()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxManagerService.java | 55 context.bindService(new Intent(IBordeauxService.class.getName()), in bindServices()
|
/frameworks/base/test-runner/src/android/test/ |
D | ServiceTestCase.java | 233 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
|
D | IsolatedContext.java | 80 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext
|
/frameworks/base/services/java/com/android/server/location/ |
D | GeocoderProxy.java | 64 mContext.bindService(mIntent, mServiceConnection, in reconnect()
|
D | LocationProviderProxy.java | 81 mContext.bindService(mIntent, mServiceConnection, in reconnect()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 355 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in MockContext 361 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) { in bindService() method in MockContext
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 117 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) { in BluetoothPbap()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 116 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in connect()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamManagerService.java | 133 if (!mContext.bindService(intent, this, Context.BIND_AUTO_CREATE)) { in bindDreamComponentL()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | ClientTest.java | 163 this.bindService(new Intent(IWapPushManager.class.getName()), conn, in onStart()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyChain.java | 430 boolean isBound = context.bindService(new Intent(IKeyChainService.class.getName()), in bind()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 134 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in ReceiverRestrictedContext 1181 public boolean bindService(Intent service, ServiceConnection conn, in bindService() method in ContextImpl 1183 return bindService(service, conn, flags, UserId.getUserId(Process.myUid())); in bindService() 1188 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) { in bindService() method in ContextImpl 1204 int res = ActivityManagerNative.getDefault().bindService( in bindService()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | FaceUnlock.java | 163 mContext.bindService(new Intent(IFaceLockInterface.class.getName()), in start()
|