/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 239 getContext().bindService(service, conn, 0); in bindExpectResult() 244 getContext().bindService(service, conn2, 0); in bindExpectResult() 274 getContext().bindService(service, conn, 0); in bindExpectResult() 304 getContext().bindService(service, conn, 0); in bindExpectResult() 328 getContext().bindService(service, conn, 0); in bindExpectResult() 345 getContext().bindService( in bindAutoExpectResult() 366 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE); in bindExpectNoPermission() 459 getContext().bindService( in testLocalUnbindTwice()
|
D | LocalReceiver.java | 55 context.bindService(new Intent(context, LocalService.class), sc, 0); in onReceive()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerTest.java | 82 when(mMockContext.bindService(any(), any(), anyInt())).thenReturn(true); in setUp() 110 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); in testBindService() 129 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testBindFailureWhenBound() 364 verify(mMockContext, times(2)).bindService(any(), any(), anyInt()); in testAutoBindAfterBinderDied() 382 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testNoAutoBindBeforeTimeout() 403 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testUnbindCauseAutoBindCancelAfterBinderDied() 424 verify(mMockContext, times(2)).bindService(any(), any(), anyInt()); in testBindCauseAutoBindCancelAfterBinderDied() 431 verify(mMockContext).bindService(any(), serviceCaptor.capture(), anyInt()); in bindAndConnectService()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeApp.java | 135 bindService(new Intent(this, FakeCoreService.class), mServiceConnection, in onCreate() 137 bindService(new Intent(this, FakeCoreService2.class), mServiceConnection2, in onCreate() 139 bindService(new Intent(this, FakeCoreService3.class), mServiceConnection3, in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceManager.java | 127 bindService(); in setBindRequested() 157 bindService(); in setBindAllowed() 169 private void bindService() { in bindService() method in TileServiceManager
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
D | PostMessageTest.java | 83 mServiceRule.bindService(postMessageServiceIntent, in setup() 120 mServiceRule.bindService(customTabsServiceIntent, in setup()
|
D | PostMessageServiceConnectionTest.java | 78 mServiceRule.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setup()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 163 bindService(); in AppWidgetHost() 166 private static void bindService() { in bindService() method in AppWidgetHost 283 bindService(); in getAppWidgetIds()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerProvider.java | 35 mContext.bindService(intent, this, 0); in PrintSpoolerProvider()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CarrierMessagingServiceManager.java | 64 return context.bindService(intent, mCarrierMessagingServiceConnection, in bindToCarrierMessagingService()
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
D | PostMessageServiceConnection.java | 51 return context.bindService(intent, this, Context.BIND_AUTO_CREATE); in bindSessionToPostMessageService()
|
D | CustomTabsClient.java | 70 return context.bindService(intent, connection, in bindCustomTabsService()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessengerTest.java | 96 getContext().bindService(new Intent(mContext, MessengerService.class), in setUp()
|
D | BinderThreadPriorityTest.java | 63 getContext().bindService( in setUp()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 174 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in TestableContext 177 return super.bindService(service, conn, flags); in bindService()
|
/frameworks/base/test-runner/src/android/test/ |
D | ServiceTestCase.java | 236 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
|
D | IsolatedContext.java | 82 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | OSUManager.java | 100 mContext.bindService(new Intent(mContext, FlowService.class), new ServiceConnection() { in setOSUSelection() 124 mContext.bindService(new Intent(mContext, FlowService.class), new ServiceConnection() { in networkDeleted()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxManagerService.java | 57 context.bindService(new Intent(IBordeauxService.class.getName()), in bindServices()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | RemoteIntArray.java | 119 InstrumentationRegistry.getContext().bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bindLocked()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 339 mContext.bindService(intent, mConnection, in bind() 377 mContext.bindService(intent, mProxyConnection, in bind()
|
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
D | SetAlarm.java | 115 if (!getContext().bindService(mServceIntent, mConn, Context.BIND_AUTO_CREATE)) { in connectToAlarmService()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 119 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in connect()
|
/frameworks/base/core/java/android/content/pm/permission/ |
D | RuntimePermissionPresenter.java | 154 mBound = mContext.bindService(intent, this, in processMessage()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerController.java | 155 mContext.bindService(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in bindToService()
|