/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ServiceTest.java | 239 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 D | LocalReceiver.java | 55 context.bindService(new Intent(context, LocalService.class), sc, 0);
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
H A D | FakeApp.java | 135 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 D | AppWidgetHost.java | 140 bindService(); 143 private static void bindService() { method in class:AppWidgetHost 216 bindService(); 262 bindService();
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MessengerTest.java | 96 getContext().bindService(new Intent(mContext, MessengerService.class),
|
H A D | BinderThreadPriorityTest.java | 63 getContext().bindService(
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ServiceTestCase.java | 58 * 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 D | IsolatedContext.java | 80 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:IsolatedContext
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxManagerService.java | 57 context.bindService(new Intent(IBordeauxService.class.getName()),
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 131 if (!mContext.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) { 160 if (!context.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) {
|
H A D | BluetoothPan.java | 140 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 D | BluetoothPbap.java | 132 if (!mContext.bindService( 161 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) {
|
H A D | BluetoothHealth.java | 120 if (!mContext.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) { 486 if (!context.bindService(new Intent(IBluetoothHealth.class.getName()), mConnection, 0)) {
|
H A D | BluetoothInputDevice.java | 209 if (!mContext.bindService(new Intent(IBluetoothInputDevice.class.getName()), mConnection, 0)) { 240 if (!context.bindService(new Intent(IBluetoothInputDevice.class.getName()),
|
H A D | BluetoothHeadset.java | 244 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 D | WapPushOverSms.java | 83 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 D | ActivityTestMain.java | 166 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 D | ContextWrapper.java | 471 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 D | Context.java | 134 * 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 D | MediaScannerConnection.java | 116 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 408 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 D | KeyChain.java | 415 boolean isBound = context.bindService(new Intent(IKeyChainService.class.getName()),
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | FaceUnlock.java | 130 mContext.bindService(new Intent(IFaceLockInterface.class.getName()),
|
/frameworks/base/services/java/com/android/server/ |
H A D | ServiceWatcher.java | 179 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
|
/frameworks/base/services/java/com/android/server/dreams/ |
H A D | DreamController.java | 106 if (!mContext.bindService(intent, mCurrentDream,
|