/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/external/ |
D | CloseShadeRightAfterClickTestB339290820.kt | 174 override fun bindServiceAsUser( in bindServiceAsUser() method in ContextWrapperDelayedBind 180 executor.execute { super.bindServiceAsUser(service, conn, flags, user) } in bindServiceAsUser() 184 override fun bindServiceAsUser( in bindServiceAsUser() method in ContextWrapperDelayedBind 190 executor.execute { super.bindServiceAsUser(service, conn, flags, user) } in bindServiceAsUser() 194 override fun bindServiceAsUser( in bindServiceAsUser() method in ContextWrapperDelayedBind 201 executor.execute { super.bindServiceAsUser(service, conn, flags, handler, user) } in bindServiceAsUser() 205 override fun bindServiceAsUser( in bindServiceAsUser() method in ContextWrapperDelayedBind 212 executor.execute { super.bindServiceAsUser(service, conn, flags, handler, user) } in bindServiceAsUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsProviderLifecycleManagerTest.kt | 140 `when`(mockContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer { in testNullBinding() 247 `when`(falseContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(false) in testFalseBindCallsUnbind() 262 verify(falseContext).bindServiceAsUser(any(), captor.capture(), anyInt(), any()) in testFalseBindCallsUnbind() 284 `when`(bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true) in testOnPackageUpdateWhileBound_unbound_thenBindAgain() 305 inOrder.verify(mockContext).bindServiceAsUser(any(), any(), anyInt(), any()) in testOnPackageUpdateWhileBound_unbound_thenBindAgain() 311 `when`(bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true) in testOnPackageUpdateWhenNotBound_nothingHappens() 339 `when`(bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true) in testRebindForPanelWithSameFlags() 355 verify(mockContext).bindServiceAsUser(any(), any(), capture(flagsCaptor), any()) in testRebindForPanelWithSameFlags() 361 verify(mockContext).bindServiceAsUser(any(), any(), eq(flagsCaptor.value), any()) in testRebindForPanelWithSameFlags() 367 `when`(bindServiceAsUser(any(), any(), anyInt(), any())) in testBindAfterSecurityExceptionWorks() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
D | TransportConnectionManagerTest.java | 68 when(mContext.bindServiceAsUser( in setUp() 84 .bindServiceAsUser( in testGetTransportClient() 103 .bindServiceAsUser( in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent()
|
D | TransportConnectionTest.java | 124 when(mContext.bindServiceAsUser( in setUp() 147 .bindServiceAsUser( in testConnectAsync_callsBindService() 200 when(mContext.bindServiceAsUser( in testConnectAsync_whenFrameworkDoesntBind_callsListener() 216 when(mContext.bindServiceAsUser( in testConnectAsync_whenFrameworkDoesNotBind_releasesConnection() 563 .bindServiceAsUser( in verifyBindServiceAsUserAndCaptureServiceConnection()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/ |
D | ObservableServiceConnectionTest.java | 142 when(mContext.bindServiceAsUser(eq(mIntent), eq(connection), anyInt(), in testDisconnect() 174 when(mContext.bindServiceAsUser(eq(mIntent), eq(connection), anyInt(), in testUnbind() 194 when(mContext.bindServiceAsUser(eq(mIntent), eq(connection), anyInt(), in testBindServiceThrowsError() 211 when(mContext.bindServiceAsUser(eq(mIntent), eq(connection), anyInt(), in testUnbindDoesNotCallUnbindServiceWhenBindThrowsError()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | InputMethodBindingControllerTest.java | 116 .bindServiceAsUser( in testBindCurrentMethod_notConnected() 158 .bindServiceAsUser( in testBindCurrentMethodWithMainConnection() 191 .bindServiceAsUser( in testBindCurrentMethodWithVisibleConnection()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 467 when(falseContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(false); in testFalseBindCallsUnbind() 482 verify(falseContext).bindServiceAsUser(any(), captor.capture(), anyInt(), any()); in testFalseBindCallsUnbind() 507 verify(falseContext).bindServiceAsUser(any(), any(), eq(flags), any()); in testVersionUDoesNotBindsAllowBackgroundActivity() 531 verify(falseContext).bindServiceAsUser(any(), any(), eq(flags), any()); in testVersionLessThanUBindsAllowBackgroundActivity() 538 when(mockContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true); in testNullBindingCallsUnbind() 553 verify(mockContext).bindServiceAsUser(any(), captor.capture(), anyInt(), any()); in testNullBindingCallsUnbind()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | PersistentConnectionTest.java | 133 when(context.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), anyInt(), in testAll() 148 verify(context).bindServiceAsUser( in testAll() 330 when(context.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), anyInt(), in testReconnectFiresAfterUnbind() 379 when(context.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), anyInt(), in testResetBackoff()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 296 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in TestableContext 300 return super.bindServiceAsUser(service, conn, flags, handler, user); in bindServiceAsUser() 307 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in TestableContext 311 return super.bindServiceAsUser(service, conn, flags, user); in bindServiceAsUser()
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | AppClipsServiceConnector.java | 90 boolean bindService = mContext.bindServiceAsUser(serviceIntent, serviceConnection, in connectToServiceAndProcessRequest()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 892 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in ContextWrapper 894 return mBase.bindServiceAsUser(service, conn, flags, user); in bindServiceAsUser() 899 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, in bindServiceAsUser() method in ContextWrapper 901 return mBase.bindServiceAsUser(service, conn, flags, user); in bindServiceAsUser() 906 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in ContextWrapper 908 return mBase.bindServiceAsUser(service, conn, flags, handler, user); in bindServiceAsUser() 913 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, in bindServiceAsUser() method in ContextWrapper 915 return mBase.bindServiceAsUser(service, conn, flags, handler, user); in bindServiceAsUser()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionController.java | 83 mContext.bindServiceAsUser(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE, in start()
|
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/ |
D | DreamControllerTest.java | 104 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true); in setup() 309 verify(mContext).bindServiceAsUser(any(), mServiceConnectionACaptor.capture(), anyInt(), in captureServiceConnection()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recents/ |
D | OverviewProxyServiceTest.kt | 210 verify(spyContext, atLeast(1)).bindServiceAsUser(any(), any(), anyInt(), any()) in connectToOverviewService_primaryUser_expectBindService() 225 verify(spyContext, times(0)).bindServiceAsUser(any(), any(), anyInt(), any()) in connectToOverviewService_nonPrimaryUser_expectNoBindService()
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceProxy.java | 86 context.bindServiceAsUser( in register()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvRemoteProviderProxy.java | 114 mBound = mContext.bindServiceAsUser(service, this, in bind()
|
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/ |
D | RemoteSystemCaptionsManagerService.java | 135 boolean willBind = mContext.bindServiceAsUser(mIntent, mServiceConnection, flags, in handleEnsureBound()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ManagedServicesTest.java | 884 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in reregisterService_checksAppIsApproved_pkg() 915 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in reregisterService_checksAppIsApproved_pkg_secondary() 946 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in reregisterService_checksAppIsApproved_cn() 977 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in reregisterService_checksAppIsApproved_cn_secondary() 1008 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in reregisterService_checksAppIsNotApproved_cn_secondary() 1038 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in unbindOtherUserServices() 1164 doReturn(true).when(context).bindServiceAsUser(any(), any(), anyInt(), any()); in testUpgradeAppNoPermissionNoRebind() 1537 when(context.bindServiceAsUser(any(), captor.capture(), anyInt(), any())) in testOnNullBinding() 1564 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in testOnServiceConnected() 1592 when(context.bindServiceAsUser(any(), any(), anyInt(), any())).thenAnswer(invocation -> { in testSetComponentState() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacProxyService.java | 375 mContext.bindServiceAsUser(intent, mConnection, in bind() 417 mContext.bindServiceAsUser(intent, mProxyConnection, in bind()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScoreServiceTest.java | 885 verify(mContext).bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bind_notBound() 898 when(mContext.bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bind_alreadyBound() 909 verify(mContext, times(1)).bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bind_alreadyBound() 922 when(mContext.bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bindFails() 949 when(mContext.bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_unbind_alreadyBound()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | FullBackupObbConnection.java | 67 backupManagerService.getContext().bindServiceAsUser( in establish()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rotationresolver/ |
D | RotationResolverManagerPerUserServiceTest.java | 74 doReturn(true).when(mContext).bindServiceAsUser(any(), any(), anyInt(), any()); in setUp()
|
/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/ |
D | ScreenshotHelperTest.java | 72 doReturn(true).when(mContext).bindServiceAsUser(any(), any(), anyInt(), any()); in setUp()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintServiceRecommendationService.java | 142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection, in RemotePrintServiceRecommendationService()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | MusicFxHelperTest.java | 126 .bindServiceAsUser(anyObject(), anyObject(), anyInt(), anyObject()); in openSessionWithResList() 212 .bindServiceAsUser(anyObject(), anyObject(), anyInt(), anyObject()); in testBroadcastIntentWithPackage() 219 .bindServiceAsUser(anyObject(), anyObject(), anyInt(), anyObject()); in testBroadcastIntentWithPackage()
|