Home
last modified time | relevance | path

Searched refs:bindService (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/
DServiceTest.java239 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()
DLocalReceiver.java55 context.bindService(new Intent(context, LocalService.class), sc, 0); in onReceive()
/frameworks/base/docs/html/intl/ja/guide/topics/
Dfundamentals.jd171bindService Context.bindService()}</code> に渡すと、呼び出し側のコンポーネントと対象となるサービスの間の継続中の接続を確立できます。サービスは、<code…
551 …れたときには通知を受けることができます。通知があり次第、<code>{@link android.content.Context#bindService bindService()}</code>…
555 サービスの <code>{@link android.app.Service#onBind onBind()}</code> メソッドは、受け取ったインテント({@code bindService(…
789bindService 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/
DMessengerTest.java96 getContext().bindService(new Intent(mContext, MessengerService.class), in setUp()
/frameworks/base/test-runner/android/test/
DServiceTestCase.java185 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
DIsolatedContext.java55 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java102 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in connect()
/frameworks/base/vpn/java/android/net/vpn/
DVpnManager.java145 if (!mContext.bindService(new Intent(ACTION_VPN_SERVICE), c, 0)) { in bindVpnService()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java117 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) { in BluetoothPbap()
DBluetoothHeadset.java143 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) { in BluetoothHeadset()
/frameworks/base/core/java/android/content/
DContextWrapper.java335 public boolean bindService(Intent service, ServiceConnection conn, in bindService() method in ContextWrapper
337 return mBase.bindService(service, conn, flags); in bindService()
DContext.java986 public abstract boolean bindService(Intent service, ServiceConnection conn, in bindService() method in Context
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DGoogleLoginServiceTest.java62 getContext().bindService((new Intent()) in setUp()
/frameworks/base/core/java/android/accounts/
DAuthenticatorBindHelper.java117 if (!mContext.bindService(intent, connection, Context.BIND_AUTO_CREATE)) { in bind()
/frameworks/base/test-runner/android/test/mock/
DMockContext.java305 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in MockContext
/frameworks/base/docs/html/guide/developing/tools/
Daidl.jd146 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/
Dfundamentals.jd300 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/
Dservice-element.jd130 <code>{@link android.content.Context#bindService bindService()}</code>, or
/frameworks/base/services/java/com/android/server/
DAccessibilityManagerService.java630 mContext.bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bind()
DWallpaperManagerService.java429 if (!mContext.bindService(intent, newConn, in bindWallpaperComponentLocked()
DInputMethodManagerService.java756 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/
DIActivityManager.java153 public int bindService(IApplicationThread caller, IBinder token, in bindService() method
DApplicationContext.java135 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/
DTextToSpeech.java420 mContext.bindService(intent, mServiceConnection, in initTts()
/frameworks/base/docs/html/guide/topics/security/
Dsecurity.jd264 {@link android.content.Context#bindService Context.bindService()};

12