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

123

/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/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeApp.java135 bindService(new Intent(this, FakeCoreService.class), mServiceConnection,
137 bindService(new Intent(this, FakeCoreService2.class), mServiceConnection2,
139 bindService(new Intent(this, FakeCoreService3.class), mServiceConnection3,
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java140 bindService();
143 private static void bindService() { method in class:AppWidgetHost
216 bindService();
262 bindService();
/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.java58 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
64 * or {@link #bindService ServiceTestCase.bindService()}, the test case calls
67 * {@link android.app.Service#bindService(Intent, ServiceConnection, int)
68 * Service.bindService(Intent, ServiceConnection, int)}, as appropriate. It also stores
92 * startService() or bindService(). The test framework provides a
124 * a test calls {@link #startService} or {@link #bindService}.
149 * by {@link #bindService}.
206 * {@link android.content.Context#bindService(Intent, ServiceConnection, int)
207 * Context.bindService(Inten
233 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/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxManagerService.java57 context.bindService(new Intent(IBordeauxService.class.getName()),
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java131 if (!mContext.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) {
160 if (!context.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) {
H A DBluetoothPan.java140 Log.d(TAG, "BluetoothPan() call bindService");
141 if (!context.bindService(new Intent(IBluetoothPan.class.getName()),
145 Log.d(TAG, "BluetoothPan(), bindService called");
172 Log.d(TAG, "onBluetoothStateChange(on) call bindService");
173 if (!mContext.bindService(new Intent(IBluetoothPan.class.getName()),
177 Log.d(TAG, "BluetoothPan(), bindService called");
H A DBluetoothPbap.java132 if (!mContext.bindService(
161 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) {
H A DBluetoothHealth.java120 if (!mContext.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) {
486 if (!context.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) {
H A DBluetoothInputDevice.java209 if (!mContext.bindService(new Intent(IBluetoothInputDevice.class.getName()), mConnection, 0)) {
240 if (!context.bindService(new Intent(IBluetoothInputDevice.class.getName()),
H A DBluetoothHeadset.java244 if (!mContext.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
273 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java83 mOwner.bindService(new Intent(IWapPushManager.class.getName()),
98 mOwner.bindService(new Intent(IWapPushManager.class.getName()),
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java166 if (bindService(intent, conn, Context.BIND_AUTO_CREATE)) {
240 if (bindService(intent, conn, Context.BIND_AUTO_CREATE, 0)) {
263 if (bindService(intent, conn, Context.BIND_AUTO_CREATE, mSecondUser)) {
/frameworks/base/core/java/android/content/
H A DContextWrapper.java471 public boolean bindService(Intent service, ServiceConnection conn, method in class:ContextWrapper
473 return mBase.bindService(service, conn, flags);
478 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userHandle) { method in class:ContextWrapper
479 return mBase.bindService(service, conn, flags, userHandle);
H A DContext.java134 * Flag for {@link #bindService}: automatically create the service as long
157 * Flag for {@link #bindService}: include debugging help for mismatched
167 * Flag for {@link #bindService}: don't allow this binding to raise
179 * Flag for {@link #bindService}: indicates that the client application
188 * Flag for {@link #bindService}: allow the process hosting the bound
198 * Flag for {@link #bindService}: don't impact the scheduling or
206 * Flag for {@link #bindService}: this service is very important to
214 * Flag for {@link #bindService}: If binding from an activity, allow the
224 * Flag for {@link #bindService}: If binding from an activity, consider
236 * Flag for {@link #bindService}
1672 public abstract boolean bindService(Intent service, ServiceConnection conn, method in class:Context
1680 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userHandle) { method in class:Context
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java116 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java408 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:MockContext
414 public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) { method in class:MockContext
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java415 boolean isBound = context.bindService(new Intent(IKeyChainService.class.getName()),
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DFaceUnlock.java130 mContext.bindService(new Intent(IFaceLockInterface.class.getName()),
/frameworks/base/services/java/com/android/server/
H A DServiceWatcher.java179 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
/frameworks/base/services/java/com/android/server/dreams/
H A DDreamController.java106 if (!mContext.bindService(intent, mCurrentDream,

Completed in 2022 milliseconds

123