Searched refs:bindService (Results 51 - 75 of 78) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/util/
H A DAsyncChannel.java243 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
466 // Unlink only when bindService isn't used
864 // Link to death only when bindService isn't used and not already linked.
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java187 bound = mContext.bindService(intent, mServiceConnection,
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/
H A DAssistantTest.java116 bindService(startIntent);
/frameworks/base/services/core/java/com/android/server/
H A DMmsServiceBroker.java241 if (!mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) {
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContext.java575 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:MockContext
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java111 if (comp == null || !context.bindService(intent, this, Context.BIND_AUTO_CREATE)) {
112 Rlog.e(TAG, "bindService() for wappush manager failed");
117 if (DBG) Rlog.v(TAG, "bindService() for wappush manager succeeded");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsServiceController.java398 return mContext.bindService(intent, connection, flags);
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationManagerCompat.java466 record.bound = mContext.bindService(intent, this, Service.BIND_AUTO_CREATE
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DRegisteredMediaRouteProvider.java229 mBound = getContext().bindService(service, this, Context.BIND_AUTO_CREATE);
/frameworks/base/core/java/android/app/
H A DContextImpl.java136 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:ReceiverRestrictedContext
1609 public boolean bindService(Intent service, ServiceConnection conn, method in class:ContextImpl
1672 int res = ActivityManager.getService().bindService(
H A DIActivityManager.aidl145 int bindService(in IApplicationThread caller, in IBinder token, in Intent service,
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaController2Impl.java187 // Use bindService() instead of startForegroundService() to start session service for three
194 // With bindService(), developers only need to take care about Service.onBind()
200 // and using bindService() will be better fit with it.
208 result = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE);
/frameworks/base/core/java/android/content/
H A DContext.java240 * Flag for {@link #bindService}: automatically create the service as long
263 * Flag for {@link #bindService}: include debugging help for mismatched
273 * Flag for {@link #bindService}: don't allow this binding to raise
285 * Flag for {@link #bindService}: indicates that the client application
294 * Flag for {@link #bindService}: allow the process hosting the bound
304 * Flag for {@link #bindService}: don't impact the scheduling or
312 * Flag for {@link #bindService}: this service is very important to
320 * Flag for {@link #bindService}: If binding from an activity, allow the
329 * @hide Flag for {@link #bindService}: allows binding to a service provided
338 * @hide Flag for {@link #bindService}
2902 public abstract boolean bindService(@RequiresPermission Intent service, method in class:Context
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBstatsCpuTimesValidationTest.java738 sContext.bindService(launchIntent, connection, Context.BIND_AUTO_CREATE
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java741 mContext.bindService(intent, AsyncRenderer.this, Context.BIND_AUTO_CREATE);
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java442 if (!mContext.bindService(intent, mServiceConnection,
668 // clear calling identity so bindService does not fail
693 // clear calling identity so bindService does not fail
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
H A DEuiccConnector.java87 * Maximum amount of time to wait for a connection to be established after bindService returns
552 * <p>This is a transient state. If bindService returns true, we enter {@link DisconnectedState}
980 return mContext.bindService(intent, this,
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java181 public boolean bindService( method in class:ContextFixture.FakeContext
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DWapPushTest.java470 getContext().bindService(new Intent(IDataVerify.class.getName()),
483 IBinder service = bindService(startIntent);
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java817 boolean bound = mContext.bindService(intent, connection, Context.BIND_AUTO_CREATE);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java1303 if(ActivityManager.getService().bindService(
2028 bindService(intent, connection, new UserHandle(userId));
3493 private void bindService(Intent intent, ServiceConnection connection, method in class:AppWidgetServiceImpl
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1241 public boolean bindService(Intent arg0, ServiceConnection arg1, int arg2) { method in class:BridgeContext
/frameworks/support/media/src/main/java/android/support/v4/media/
H A DMediaBrowserCompat.java1060 bound = mContext.bindService(intent, mServiceConnection,
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java3149 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java7577 mKeyguardDelegate.bindService(mContext);

Completed in 1062 milliseconds

1234