/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
LocalServiceTest.java | 77 IBinder service = bindService(startIntent);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PrintSpoolerProvider.java | 37 mContext.bindService(intent, this, 0);
|
/cts/tests/tests/app/src/android/app/cts/ |
ServiceTest.java | 167 * The connection is established by calling Context.bindService(), 170 * If the service has not already been launched, bindService() can optionally launch it. 179 mContext.bindService(service, conn, 0); 184 mContext.bindService(service, conn2, 0); 210 mContext.bindService(service, conn, 0); 236 mContext.bindService(service, conn, 0); 256 mContext.bindService(service, conn, 0); 277 mContext.bindService( 441 mContext.bindService( 457 mContext.bindService(intent, conn, 0) [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 | 210 getContext().bindService(mService, conn1, 0); 215 getContext().bindService(mService, conn2, 0); 246 getContext().bindService(mService, conn1, 0); 277 getContext().bindService(mService, conn1, 0); 301 getContext().bindService(mService, conn1, 0);
|
ParcelFileDescriptorProcessTest.java | 100 getContext().bindService(redIntent, redConn, 0); 101 getContext().bindService(blueIntent, blueConn, 0);
|
/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,
|
/frameworks/opt/telephony/src/java/android/telephony/ |
CarrierMessagingServiceManager.java | 64 return context.bindService(intent, mCarrierMessagingServiceConnection,
|
/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();
|
/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),
|
/frameworks/base/test-runner/src/android/test/ |
ServiceTestCase.java | 55 * test methods calls {@link #startService} or {@link #bindService}. This gives you an 61 * or {@link #bindService ServiceTestCase.bindService()}, the test case calls 64 * {@link android.app.Service#bindService(Intent, ServiceConnection, int) 65 * Service.bindService(Intent, ServiceConnection, int)}, as appropriate. It also stores 89 * startService() or bindService(). The test framework provides a 121 * a test calls {@link #startService} or {@link #bindService}. 146 * by {@link #bindService}. 203 * {@link android.content.Context#bindService(Intent, ServiceConnection, int) 204 * Context.bindService(Intent, ServiceConnection, flags)} with a [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
BaseBindingActivity.java | 142 bindService(service,
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHost.java | 136 bindService(); 140 private static void bindService() { 246 bindService();
|
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/ |
KeyguardTestActivity.java | 126 private void bindService() { 132 if (!bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) { 152 bindService();
|
/cts/tests/tests/security/src/android/security/cts/ |
SeccompBpfTest.java | 158 if (!getContext().bindService(intent, this, Context.BIND_AUTO_CREATE)) {
|
/external/chromium_org/tools/android/memconsumer/java/src/org/chromium/memconsumer/ |
MemConsumer.java | 94 bindService(new Intent(this, ResidentService.class),
|
/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/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
SetAlarm.java | 115 if (!getContext().bindService(mServceIntent, mConn, Context.BIND_AUTO_CREATE)) {
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxManagerService.java | 57 context.bindService(new Intent(IBordeauxService.class.getName()),
|
/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);
|