/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 | 79 mContext.bindService(postMessageServiceIntent, in setup() 116 mContext.bindService(customTabsServiceIntent, in setup()
|
D | PostMessageServiceConnectionTest.java | 78 mServiceRule.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setup()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerProvider.java | 35 mContext.bindService(intent, this, 0); in PrintSpoolerProvider()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 115 bindService(); in setUpOnce() 127 private static void bindService() throws Exception { in bindService() method in ConnOnActivityStartTest 146 mContext.bindService(intent, mServiceConnection, in bindService()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CarrierMessagingServiceManager.java | 64 return context.bindService(intent, mCarrierMessagingServiceConnection, in bindToCarrierMessagingService()
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
D | MainActivity.java | 66 bindService(intent, mServiceConnection, Service.BIND_AUTO_CREATE); in onResume()
|
/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/test-runner/src/android/test/ |
D | ServiceTestCase.java | 236 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
|
D | IsolatedContext.java | 81 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsUtils.java | 83 context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE); in startBinding()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 230 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in TestableContext 233 return super.bindService(service, conn, flags); in bindService()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 165 bindService(context); in AppWidgetHost() 168 private static void bindService(Context context) { in bindService() method in AppWidgetHost
|
/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/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()
|