/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/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/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/tests/AndroidTests/src/com/android/unit_tests/os/ |
D | MessengerTest.java | 96 getContext().bindService(new Intent(mContext, MessengerService.class), in setUp()
|
/frameworks/base/test-runner/android/test/ |
D | ServiceTestCase.java | 185 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
|
D | IsolatedContext.java | 55 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 102 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in connect()
|
/frameworks/base/vpn/java/android/net/vpn/ |
D | VpnManager.java | 145 if (!mContext.bindService(new Intent(ACTION_VPN_SERVICE), c, 0)) { in bindVpnService()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 117 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) { in BluetoothPbap()
|
D | BluetoothHeadset.java | 143 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) { in BluetoothHeadset()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 335 public boolean bindService(Intent service, ServiceConnection conn, in bindService() method in ContextWrapper 337 return mBase.bindService(service, conn, flags); in bindService()
|
D | Context.java | 986 public abstract boolean bindService(Intent service, ServiceConnection conn, in bindService() method in Context
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
D | GoogleLoginServiceTest.java | 62 getContext().bindService((new Intent()) in setUp()
|
/frameworks/base/core/java/android/accounts/ |
D | AuthenticatorBindHelper.java | 117 if (!mContext.bindService(intent, connection, Context.BIND_AUTO_CREATE)) { in bind()
|
/frameworks/base/test-runner/android/test/mock/ |
D | MockContext.java | 305 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in MockContext
|
/frameworks/base/docs/html/guide/developing/tools/ |
D | aidl.jd | 146 implementation when applicationContext.bindService() succeeds), and returns an 280 …<li>Call {@link android.content.Context#bindService(android.content.Intent,android.content.Service… 281 Context.bindService()}, passing in your ServiceConnection implementation. </li>
|
/frameworks/base/docs/html/guide/topics/ |
D | fundamentals.jd | 300 android.content.Context#bindService Context.bindService()}</code> to 304 (If the service is not already running, {@code bindService()} can 308 The activity would call {@code bindService()} to set up that connection, 1046 <code>{@link android.content.Context#bindService bindService()}</code> 1054 {@code bindService()}). If the connection is accepted, it returns 1465 <code>{@link android.content.Context#bindService Context.bindService()}</code>, 1469 If the service has not already been launched, {@code bindService()} can optionally 1481 establish a connection to the service by calling {@code bindService()}. 1527 <code>{@link android.content.Context#bindService Context.bindService()}</code>. 1543 the Intent object that was passed to {@code bindService} and [all …]
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | service-element.jd | 130 <code>{@link android.content.Context#bindService bindService()}</code>, or
|
/frameworks/base/services/java/com/android/server/ |
D | AccessibilityManagerService.java | 630 mContext.bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bind()
|
D | WallpaperManagerService.java | 429 if (!mContext.bindService(intent, newConn, in bindWallpaperComponentLocked()
|
D | InputMethodManagerService.java | 756 if (mContext.bindService(mCurIntent, this, Context.BIND_AUTO_CREATE)) { in startInputInnerLocked() 1021 mContext.bindService(mCurIntent, this, Context.BIND_AUTO_CREATE); in showCurrentInputLocked()
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.java | 153 public int bindService(IApplicationThread caller, IBinder token, in bindService() method
|
D | ApplicationContext.java | 135 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in ReceiverRestrictedContext 792 public boolean bindService(Intent service, ServiceConnection conn, in bindService() method in ApplicationContext 802 int res = ActivityManagerNative.getDefault().bindService( in bindService()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 420 mContext.bindService(intent, mServiceConnection, in initTts()
|
/frameworks/base/docs/html/guide/topics/security/ |
D | security.jd | 264 {@link android.content.Context#bindService Context.bindService()};
|