HomeSort by relevance Sort by last modified time
    Searched refs:bindService (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /development/samples/ApiDemos/tests/src/com/example/android/apis/app/
LocalServiceTest.java 77 IBinder service = bindService(startIntent);
  /cts/tests/tests/app/src/android/app/cts/
ServiceTest.java 173 * The connection is established by calling Context.bindService(),
176 * If the service has not already been launched, bindService() can optionally launch it.
185 mContext.bindService(service, conn, 0);
190 mContext.bindService(service, conn2, 0);
216 mContext.bindService(service, conn, 0);
242 mContext.bindService(service, conn, 0);
262 mContext.bindService(service, conn, 0);
283 mContext.bindService(
300 mContext.bindService(service, conn, Context.BIND_AUTO_CREATE);
454 mContext.bindService(
    [all...]
IntentServiceTest.java 97 mContext.bindService(mIntent, conn, Context.BIND_AUTO_CREATE);
  /frameworks/base/core/tests/coretests/src/android/app/activity/
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(
LocalReceiver.java 55 context.bindService(new Intent(context, LocalService.class), sc, 0);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
RemoteService.java 364 bindService(new Intent(IRemoteService.class.getName()),
366 bindService(new Intent(ISecondary.class.getName()),
551 if (bindService(new Intent(IRemoteService.class.getName()),
565 if (bindService(new Intent(IRemoteService.class.getName()),
579 if (bindService(new Intent(IRemoteService.class.getName()),
593 if (bindService(new Intent(IRemoteService.class.getName()),
607 if (bindService(new Intent(IRemoteService.class.getName()),
621 if (bindService(new Intent(IRemoteService.class.getName()),
635 if (bindService(new Intent(IRemoteService.class.getName()),
LocalServiceActivities.java 126 bindService(new Intent(Binding.this,
  /cts/tests/tests/os/src/android/os/cts/
BinderTest.java 211 getContext().bindService(mService, conn1, 0);
216 getContext().bindService(mService, conn2, 0);
247 getContext().bindService(mService, conn1, 0);
278 getContext().bindService(mService, conn1, 0);
302 getContext().bindService(mService, conn1, 0);
ProcessTest.java 72 getContext().bindService(new Intent(ISecondary.class.getName()),
RemoteCallbackListTest.java 63 assertTrue(mContext.bindService(new Intent(ISecondary.class.getName()),
  /frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
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,
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainServiceTest.java 79 mIsBoundSupport = bindService(new Intent(IKeyChainServiceTestSupport.class.getName()),
84 private void bindService() {
85 mIsBoundService = bindService(new Intent(IKeyChainService.class.getName()),
195 bindService();
  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 136 bindService();
140 private static void bindService() {
223 bindService();
242 bindService();
285 bindService();
  /cts/tests/tests/uidisolation/src/android/uidisolation/cts/
ServiceRunnerActivity.java 106 bindService(new Intent(this, isolated
  /frameworks/base/core/tests/coretests/src/android/os/
MessengerTest.java 96 getContext().bindService(new Intent(mContext, MessengerService.class),
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
BaseBindingActivity.java 142 bindService(service,
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ApplicationTest.java 119 assertTrue(Robolectric.application.bindService(new Intent(""), service, Context.BIND_AUTO_CREATE));
136 Robolectric.application.bindService(new Intent(""), service, Context.BIND_AUTO_CREATE);
152 Robolectric.application.bindService(new Intent(""), service, Context.BIND_AUTO_CREATE);
167 assertFalse(Robolectric.application.bindService(new Intent("refuseToBind"), service, Context.BIND_AUTO_CREATE));
  /frameworks/base/test-runner/src/android/test/
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(Intent, ServiceConnection, flags)} with a
    [all...]
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
BordeauxManagerService.java 57 context.bindService(new Intent(IBordeauxService.class.getName()),
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
ServiceProxy.java 157 return mContext.bindService(mIntent, mConnection, Context.BIND_AUTO_CREATE);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContextWrapper.java 249 public boolean bindService(Intent intent, final ServiceConnection serviceConnection, int i) {
250 return getShadowApplication().bindService(intent, serviceConnection, i);
  /frameworks/base/core/java/android/bluetooth/
BluetoothA2dp.java 131 if (!mContext.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) {
160 if (!context.bindService(new Intent(IBluetoothA2dp.class.getName()), mConnection, 0)) {
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");
BluetoothPbap.java 132 if (!mContext.bindService(
161 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
WapPushOverSms.java 84 mOwner.bindService(new Intent(IWapPushManager.class.getName()),
100 mOwner.bindService(new Intent(IWapPushManager.class.getName()),

Completed in 1363 milliseconds

1 2 3 4