/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
D | ServiceBindPerfTest.java | 58 private void bindService(Intent intent, ServiceConnection serviceConnection, int flags) { 59 final boolean success = mContext.bindService(intent, serviceConnection, flags); 74 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 96 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 124 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 153 bindService(intentNoOom, serviceConnectionNoOom, Context.BIND_AUTO_CREATE);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderProxyCountingTest.java | 123 private ServiceConnection bindService(final Consumer<IBinder> consumer, Intent intent) in bindService() method in BinderProxyCountingTest 139 sContext.bindService(intent, connection, in bindService() 199 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent); in testBinderProxyCount() 225 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent); in testBinderProxyLimitBoundary() 226 sTestServiceConnection = bindService(sTestServiceConsumer, sTestServiceIntent); in testBinderProxyLimitBoundary() 262 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent); in testSetBinderProxyLimit() 263 sTestServiceConnection = bindService(sTestServiceConsumer, sTestServiceIntent); in testSetBinderProxyLimit() 295 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent); in testRearmCallbackThreshold() 296 sTestServiceConnection = bindService(sTestServiceConsumer, sTestServiceIntent); in testRearmCallbackThreshold() 353 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent); in testKillBadBehavingApp()
|
D | MessengerTest.java | 96 getContext().bindService(new Intent(mContext, MessengerService.class), in setUp()
|
/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerTest.java | 93 when(mMockContext.bindService(any(), any(), anyInt())).thenReturn(true); in setUp() 122 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); in testBindService() 142 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testBindFailureWhenBound() 452 verify(mMockContext, times(2)).bindService(any(), any(), anyInt()); in testAutoBindAfterBinderDied() 471 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testNoAutoBindBeforeTimeout() 494 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testUnbindCauseAutoBindCancelAfterBinderDied() 516 verify(mMockContext, times(2)).bindService(any(), any(), anyInt()); in testBindCauseAutoBindCancelAfterBinderDied() 524 verify(mMockContext).bindService(any(), serviceCaptor.capture(), anyInt()); in bindAndConnectService()
|
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
D | SuggestionServiceTest.java | 68 IBinder binder = mServiceTestRule.bindService(mMockServiceIntent); in dismissSuggestion_shouldCallImplementation() 79 IBinder binder = mServiceTestRule.bindService(mMockServiceIntent); in launchSuggestion_shouldCallImplementation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkRegistrationManager.java | 68 bindService(); in NetworkRegistrationManager() 177 private boolean bindService() { in bindService() method in NetworkRegistrationManager 183 return mPhone.getContext().bindService(intent, new NetworkServiceConnection(), in bindService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceManager.java | 125 bindService(); in setBindRequested() 155 bindService(); in setBindAllowed() 167 private void bindService() { in bindService() method in TileServiceManager
|
/frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/ |
D | PostMessageTest.java | 80 mContext.bindService(postMessageServiceIntent, in setup() 117 mContext.bindService(customTabsServiceIntent, in setup()
|
D | PostMessageServiceConnectionTest.java | 79 mServiceRule.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setup()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | FrameworkShadowContextImpl.java | 35 return bindService(service, connection, flags); in bindServiceAsUser()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerProvider.java | 37 mContext.bindService(intent, this, BIND_AUTO_CREATE); in PrintSpoolerProvider()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 116 bindService(); in setUpOnce() 129 private static void bindService() throws Exception { in bindService() method in ConnOnActivityStartTest 148 mContext.bindService(intent, mServiceConnection, in bindService()
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
D | MainActivity.java | 66 bindService(intent, mServiceConnection, Service.BIND_AUTO_CREATE); in onResume()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CarrierMessagingServiceManager.java | 64 return context.bindService(intent, mCarrierMessagingServiceConnection, in bindToCarrierMessagingService()
|
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/ |
D | PostMessageServiceConnection.java | 53 return context.bindService(intent, this, Context.BIND_AUTO_CREATE); in bindSessionToPostMessageService()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 73 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext
|
D | ServiceTestCase.java | 231 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 166 bindService(context); in AppWidgetHost() 169 private static void bindService(Context context) { in bindService() method in AppWidgetHost
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/ |
D | TestHelper.java | 69 bound = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); in connect()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 337 mContext.bindService(intent, mConnection, in bind() 375 mContext.bindService(intent, mProxyConnection, in bind()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | RemoteIntArray.java | 119 InstrumentationRegistry.getContext().bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bindLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsServiceFeatureQueryManager.java | 61 boolean bindStarted = mContext.bindService(imsServiceIntent, this, serviceFlags); in start()
|