/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
ServiceConnectionHandler.java | 59 if (!mContext.bindService(mIntent, this, Context.BIND_WAIVE_PRIORITY)) { 132 if (!mContext.bindService(mIntent, mMainBinding, Context.BIND_AUTO_CREATE)) { 192 mContext.bindService(mIntent, this, Context.BIND_WAIVE_PRIORITY);
|
/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 | 35 mContext.bindService(intent, this, 0);
|
/packages/services/Car/tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/ |
WritingActivity.java | 52 bindService(
|
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
ExternalServiceTest.java | 58 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 69 getContext().bindService(intent, mConnection, 82 getContext().bindService(intent, mConnection, 95 getContext().bindService(intent, mConnection, 108 getContext().bindService(intent, mConnection, 120 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 133 assertTrue(getContext().bindService(intent, mConnection, 160 assertTrue(getContext().bindService(intent, creatorConnection, Context.BIND_AUTO_CREATE)); 208 assertTrue(getContext().bindService(intent, mConnection, 251 assertTrue(getContext().bindService(intent, initialConn [all...] |
/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 | 373 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 375 bindService(intent, mSecondaryConnection, Context.BIND_AUTO_CREATE); 563 if (bindService(mBindIntent, conn, Context.BIND_AUTO_CREATE)) { 576 if (bindService(mBindIntent, conn, 590 if (bindService(mBindIntent, 604 if (bindService(mBindIntent, conn, 618 if (bindService(mBindIntent, conn, 632 if (bindService(mBindIntent, conn, 646 if (bindService(mBindIntent, conn,
|
/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);
|
/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/support/customtabs/tests/src/android/support/customtabs/ |
PostMessageTest.java | 79 mContext.bindService(postMessageServiceIntent, 116 mContext.bindService(customTabsServiceIntent,
|
/packages/apps/Nfc/src/com/android/nfc/ |
DtaServiceConnector.java | 46 public void bindService() { 49 mContext.bindService(createExplicitFromImplicitIntent(mContext,intent),
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
MainActivity.java | 66 bindService(intent, mServiceConnection, Service.BIND_AUTO_CREATE);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
CarrierMessagingServiceManager.java | 64 return context.bindService(intent, mCarrierMessagingServiceConnection,
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
PostMessageServiceConnection.java | 51 return context.bindService(intent, this, Context.BIND_AUTO_CREATE);
|
/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/app/src/android/app/cts/ |
ServiceTest.java | 269 * The connection is established by calling Context.bindService(), 272 * If the service has not already been launched, bindService() can optionally launch it. 281 mContext.bindService(service, conn, 0); 286 mContext.bindService(service, conn2, 0); 312 mContext.bindService(service, conn, 0); 338 mContext.bindService(service, conn, 0); 358 mContext.bindService(service, conn, 0); 379 mContext.bindService( [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
ImsServiceControllerTest.java | 82 when(mMockContext.bindService(any(), any(), anyInt())).thenReturn(true); 95 * Tests that Context.bindService is called with the correct parameters when we call bind. 110 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); 117 * Verify that if bind is called multiple times, we only call bindService once. 129 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); 364 verify(mMockContext, times(2)).bindService(any(), any(), anyInt()); 368 * Ensure that bindService has only been called once before automatic rebind occurs. 382 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); 403 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); 408 * call to bindService [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
PdfRender.java | 75 mContext.bindService(mIntent, this, Context.BIND_AUTO_CREATE); 82 context.bindService(mIntent, mConnection, Context.BIND_AUTO_CREATE);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
OpenCVLibrary.java | 122 if (context.bindService(intent, conn, Context.BIND_AUTO_CREATE)) {
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyServiceClient.java | 67 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE
|
RemoteSocketFactoryClient.java | 69 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE);
|
/cts/tests/tests/security/src/android/security/cts/ |
IsolatedProcessTest.java | 72 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
|
/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),
|