Searched refs:bindService (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java239 getContext().bindService(service, conn, 0);
244 getContext().bindService(service, conn2, 0);
274 getContext().bindService(service, conn, 0);
304 getContext().bindService(service, conn, 0);
328 getContext().bindService(service, conn, 0);
345 getContext().bindService(
366 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE);
459 getContext().bindService(
H A DLocalReceiver.java55 context.bindService(new Intent(context, LocalService.class), sc, 0);
/frameworks/base/services/java/com/android/server/location/
H A DGeocoderProxy.java50 mContext.bindService(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
61 mContext.bindService(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
H A DLocationProviderProxy.java68 mContext.bindService(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
79 mContext.bindService(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerTest.java96 getContext().bindService(new Intent(mContext, MessengerService.class),
H A DBinderThreadPriorityTest.java63 getContext().bindService(
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java52 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
58 * or {@link #bindService ServiceTestCase.bindService()}, the test case calls
61 * {@link android.app.Service#bindService(Intent, ServiceConnection, int)
62 * Service.bindService(Intent, ServiceConnection, int)}, as appropriate. It also stores
86 * startService() or bindService(). The test framework provides a
118 * a test calls {@link #startService} or {@link #bindService}.
143 * by {@link #bindService}.
200 * {@link android.content.Context#bindService(Intent, ServiceConnection, int)
201 * Context.bindService(Inten
227 protected IBinder bindService(Intent intent) { method in class:ServiceTestCase
[all...]
H A DIsolatedContext.java80 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:IsolatedContext
/frameworks/base/vpn/java/android/net/vpn/
H A DVpnManager.java155 if (!mContext.bindService(new Intent(ACTION_VPN_SERVICE), c, 0)) {
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothPbap.java117 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) {
H A DBluetoothHeadset.java160 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java117 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
/frameworks/base/core/java/android/content/
H A DContextWrapper.java345 public boolean bindService(Intent service, ServiceConnection conn, method in class:ContextWrapper
347 return mBase.bindService(service, conn, flags);
H A DContext.java81 * Flag for {@link #bindService}: automatically create the service as long
99 * Flag for {@link #bindService}: include debugging help for mismatched
109 * Flag for {@link #bindService}: don't allow this binding to raise
1021 * managed by {@link #bindService}: it requires the service to remain
1050 * @see #bindService
1127 public abstract boolean bindService(Intent service, ServiceConnection conn, method in class:Context
1136 * bindService().
1138 * @see #bindService
H A DSyncManager.java435 if (!mContext.bindService(intent, new InitializerServiceConnection(account, authority, mContext,
936 final boolean bindResult = mContext.bindService(intent, this,
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java267 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) {
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java315 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:MockContext
/frameworks/base/core/java/android/app/
H A DIActivityManager.java162 public int bindService(IApplicationThread caller, IBinder token, method in interface:IActivityManager
H A DContextImpl.java153 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:ReceiverRestrictedContext
158 //return mContext.bindService(service, interfaceName, conn, flags);
868 public boolean bindService(Intent service, ServiceConnection conn, method in class:ContextImpl
878 int res = ActivityManagerNative.getDefault().bindService(
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java467 boolean bound = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE);
/frameworks/base/services/java/com/android/server/
H A DAccessibilityManagerService.java684 mContext.bindService(mIntent, this, Context.BIND_AUTO_CREATE);
H A DInputMethodManagerService.java791 if (mContext.bindService(mCurIntent, this, Context.BIND_AUTO_CREATE)) {
1071 mContext.bindService(mCurIntent, this, Context.BIND_AUTO_CREATE);
H A DWallpaperManagerService.java552 if (!mContext.bindService(intent, newConn,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java837 public boolean bindService(Intent arg0, ServiceConnection arg1, int arg2) { method in class:BridgeContext
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java1540 Log.v(TAG, "performing bindService to " + authenticatorInfo.componentName);
1542 if (!mContext.bindService(intent, this, Context.BIND_AUTO_CREATE)) {
1544 Log.v(TAG, "bindService to " + authenticatorInfo.componentName + " failed");

Completed in 420 milliseconds

12