Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/app/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/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java135 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/
Dservice_testing.jd87 {@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/
Dbound-services.jd78 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 …]
Dservices.jd87 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/
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/core/java/android/content/
DContextWrapper.java392 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()
DContext.java1399 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/
DWapPushOverSms.java83 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/
DMessengerTest.java96 getContext().bindService(new Intent(mContext, MessengerService.class), in setUp()
DBinderThreadPriorityTest.java63 getContext().bindService( in setUp()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxManagerService.java55 context.bindService(new Intent(IBordeauxService.class.getName()), in bindServices()
/frameworks/base/test-runner/src/android/test/
DServiceTestCase.java233 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
DIsolatedContext.java80 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext
/frameworks/base/services/java/com/android/server/location/
DGeocoderProxy.java64 mContext.bindService(mIntent, mServiceConnection, in reconnect()
DLocationProviderProxy.java81 mContext.bindService(mIntent, mServiceConnection, in reconnect()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java355 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/
DBluetoothPbap.java117 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) { in BluetoothPbap()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java116 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in connect()
/frameworks/base/core/java/android/service/dreams/
DDreamManagerService.java133 if (!mContext.bindService(intent, this, Context.BIND_AUTO_CREATE)) { in bindDreamComponentL()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java163 this.bindService(new Intent(IWapPushManager.class.getName()), conn, in onStart()
/frameworks/base/keystore/java/android/security/
DKeyChain.java430 boolean isBound = context.bindService(new Intent(IKeyChainService.class.getName()), in bind()
/frameworks/base/core/java/android/app/
DContextImpl.java134 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/
DFaceUnlock.java163 mContext.bindService(new Intent(IFaceLockInterface.class.getName()), in start()

123