/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
D | ServiceBindPerfTest.java | 59 private void bindService(Intent intent, ServiceConnection serviceConnection, int flags) { 60 final boolean success = mContext.bindService(intent, serviceConnection, flags); 75 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 97 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 125 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE); 154 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 | BinderWorkSourceTest.java | 81 sContext.bindService( in setUp() 84 sContext.bindService( in setUp()
|
D | BinderWorkSourceNestedService.java | 64 context.bindService(
|
D | MessengerTest.java | 92 getContext().bindService(new Intent(mContext, MessengerService.class), in setUp()
|
D | BinderProxyTest.java | 113 mContext.bindService( in testGetExtension()
|
D | BinderThreadPriorityTest.java | 62 getContext().bindService( in setUp()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 238 getContext().bindService(service, conn, 0); in bindExpectResult() 243 getContext().bindService(service, conn2, 0); in bindExpectResult() 273 getContext().bindService(service, conn, 0); in bindExpectResult() 303 getContext().bindService(service, conn, 0); in bindExpectResult() 327 getContext().bindService(service, conn, 0); in bindExpectResult() 344 getContext().bindService( in bindAutoExpectResult() 365 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE); in bindExpectNoPermission() 458 getContext().bindService( in testLocalUnbindTwice()
|
D | LocalReceiver.java | 55 context.bindService(new Intent(context, LocalService.class), sc, 0); in onReceive()
|
/frameworks/base/test-runner/api/ |
D | lint-baseline.txt | 56 MissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, android.conten… 57 Missing nullability on parameter `service` in method `bindService` 58 MissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, android.conten… 59 Missing nullability on parameter `conn` in method `bindService` 60 MissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, int, java.util… 61 Missing nullability on parameter `service` in method `bindService` 62 MissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, int, java.util… 63 Missing nullability on parameter `executor` in method `bindService` 64 MissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, int, java.util… 65 Missing nullability on parameter `conn` in method `bindService`
|
/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/core/tests/coretests/src/android/service/settings/suggestions/ |
D | SuggestionServiceTest.java | 69 IBinder binder = mServiceTestRule.bindService(mMockServiceIntent); in dismissSuggestion_shouldCallImplementation() 80 IBinder binder = mServiceTestRule.bindService(mMockServiceIntent); in launchSuggestion_shouldCallImplementation()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerTest.java | 96 when(mMockContext.bindService(any(), any(), anyInt())).thenReturn(true); in setUp() 128 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); in testBindService() 148 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testBindFailureWhenBound() 600 verify(mMockContext, times(2)).bindService(any(), any(), anyInt()); in testAutoBindAfterBinderDied() 619 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testNoAutoBindBeforeTimeout() 642 verify(mMockContext, times(1)).bindService(any(), any(), anyInt()); in testUnbindCauseAutoBindCancelAfterBinderDied() 664 verify(mMockContext, times(2)).bindService(any(), any(), anyInt()); in testBindCauseAutoBindCancelAfterBinderDied() 669 ServiceConnection connection = bindService(testFeatures); in bindAndNullServiceError() 675 ServiceConnection connection = bindService(testFeatures); in bindAndConnectService() 682 private ServiceConnection bindService( in bindService() method in ImsServiceControllerTest [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 74 public boolean bindService(Intent service, ServiceConnection conn, int flags) { in bindService() method in IsolatedContext 79 public boolean bindService(Intent service, int flags, Executor executor, in bindService() method in IsolatedContext
|
D | ServiceTestCase.java | 231 protected IBinder bindService(Intent intent) { in bindService() method in ServiceTestCase
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceManager.java | 143 bindService(); in setBindRequested() 173 bindService(); in setBindAllowed() 185 private void bindService() { in bindService() method in TileServiceManager
|
/frameworks/base/test-mock/api/ |
D | lint-baseline.txt | 36 MissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.uti… 37 Missing nullability on parameter `service` in method `bindService` 38 MissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.uti… 39 Missing nullability on parameter `executor` in method `bindService` 40 MissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.uti… 41 Missing nullability on parameter `conn` in method `bindService`
|
/frameworks/base/services/core/java/com/android/server/ |
D | ExplicitHealthCheckController.java | 291 private void bindService() { in bindService() method in ExplicitHealthCheckController 335 bindService(); in bindService() 450 bindService(); in prepareServiceLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkRegistrationManager.java | 262 private void bindService(String packageName) { in bindService() method in NetworkRegistrationManager 289 if (!mPhone.getContext().bindService(intent, mServiceConnection, in bindService() 310 bindService(packageName); in rebindService()
|
/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/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 171 bindService(context); in AppWidgetHost() 174 private static void bindService(Context context) { in bindService() method in AppWidgetHost
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 329 mContext.bindService(intent, mConnection, in bind() 367 mContext.bindService(intent, mProxyConnection, in bind()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | RemoteIntArray.java | 120 InstrumentationRegistry.getContext().bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bindLocked()
|