Home
last modified time | relevance | path

Searched refs:unbindService (Results 1 – 25 of 125) sorted by relevance

12345

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DStartDpcInsideSuwServiceConnectionTest.java131 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_serviceConnects()
152 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
176 verify(mRestoredActivity).unbindService(eq(restoredServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
203 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
228 verify(mRestoredActivity).unbindService(eq(restoredServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
254 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished()
281 verify(mRestoredActivity, never()).unbindService(eq(restoredServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished()
308 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_serviceConnectsAndDisconnects()
336 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_serviceConnectsAndDisconnects_instanceStateSavedAndRestored()
361 verify(mRestoredActivity).unbindService(eq(restoredServiceConnection)); in testBindingSucceeds_serviceConnectsAndDisconnects_instanceStateSavedAndRestored()
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxServiceProviderImplUnitTest.java135 Mockito.lenient().doNothing().when(mSpyContext).unbindService(Mockito.any()); in testBindSandboxFailure()
147 unbindService(mCallingInfo); in testUnbindSandbox_SandboxDoesNotExist()
155 unbindService(mCallingInfo); in testUnbindSandboxAfterBinding()
190 unbindService(mCallingInfo); in testSandboxDiedWhileUnbound()
205 unbindService(mCallingInfo); in testBindSandboxAfterDeath_SandboxWasUnbound()
287 private void unbindService(CallingInfo callingInfo) { in unbindService() method in SdkSandboxServiceProviderImplUnitTest
288 Mockito.lenient().doNothing().when(mSpyContext).unbindService(Mockito.any()); in unbindService()
289 mServiceProvider.unbindService(callingInfo); in unbindService()
319 .unbindService(Mockito.any()); in verifyUnbindServiceInvocation()
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/
DControlCenterMirroringDataSourceImplTest.kt72 private val unbindService: (MirroringServiceConnection) -> Unit = mock() in <lambda>() constant in com.android.car.carlauncher.datasources.ControlCenterMirroringDataSourceImplTest
85 unbindService, in <lambda>()
117 unbindService, in <lambda>()
140 unbindService, in <lambda>()
174 unbindService, in <lambda>()
213 unbindService, in <lambda>()
230 verify(unbindService).invoke(bindServiceConnection!!) in <lambda>()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/
DFederatedComputeManagerTest.java185 verify(mContext, times(1)).unbindService(any()); in testScheduleFederatedCompute()
204 verify(mContext, times(1)).unbindService(any()); in testScheduleFederatedCompute()
223 verify(mContext, times(1)).unbindService(any()); in testScheduleFederatedCompute()
257 verify(mContext, times(1)).unbindService(any()); in testScheduleFederatedCompute()
280 verify(mContext, times(1)).unbindService(any()); in testScheduleFederatedCompute()
303 verify(mContext, times(1)).unbindService(any()); in testScheduleFederatedCompute()
331 public void unbindService(ServiceConnection conn) {} in unbindService() method in FederatedComputeManagerTest.MyTestContext
/packages/services/Telecomm/src/com/android/server/telecom/
DCallScreeningServiceHelper.java64 mContext.unbindService(mServiceConnection); in unbindCallScreeningService()
140 mContext.unbindService(this); in bindAndGetCallIdentification()
156 mContext.unbindService(this); in bindAndGetCallIdentification()
179 mContext.unbindService(serviceConnection); in bindAndGetCallIdentification()
DServiceBinder.java159 mContext.unbindService(this); in onServiceConnected()
211 mContext.unbindService(this); in onNullBinding()
365 mContext.unbindService(mServiceConnection); in unbind()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DLocationAccessCheckTest.java345 unbindService(); in clearPackageData()
420 unbindService(); in uninstallTestApp()
424 private static void unbindService() { in unbindService() method in LocationAccessCheckTest
426 sContext.unbindService(sConnection); in unbindService()
433 unbindService(); in installForegroundAccessApp()
543 unbindService(); in resetPermissionController()
572 unbindService(); in locationUnbind()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginExecutorServiceProviderImpl.java89 public void unbindService() { in unbindService() method in PluginExecutorServiceProviderImpl
91 mContext.unbindService(mConnection); in unbindService()
DPluginExecutorServiceProvider.java35 void unbindService(); in unbindService() method
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportVCardActivity.java217 public void unbindService(ServiceConnection conn) { in unbindService() method in ExportVCardActivity
219 super.unbindService(conn); in unbindService()
225 unbindService(this); in onDestroy()
DNfcImportVCardActivity.java90 unbindService(NfcImportVCardActivity.this); in onCancelled()
99 unbindService(NfcImportVCardActivity.this); in onPostExecute()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java543 unbindService(); in startOrBindService()
562 unbindService(); in stopOrUnbindService()
567 private void unbindService() { in unbindService() method in VendorServiceController.VendorServiceConnection
569 mUserContext.unbindService(this); in unbindService()
604 unbindService(); in onBindingDied()
615 unbindService(); in onNullBinding()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallDiagnosticServiceControllerTest.java178 verify(mContextProxy).unbindService(eq(mServiceConnection)); in testRemoveSimCallCausesRemoveAndUnbind()
193 verify(mContextProxy, never()).unbindService(eq(mServiceConnection)); in testAddTwo()
199 verify(mContextProxy).unbindService(eq(mServiceConnection)); in testAddTwo()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DDlcClient.java115 mContext.unbindService(mServiceConnection); in bindLocked()
131 mContext.unbindService(mServiceConnection); in unbindLocked()
/packages/modules/RemoteKeyProvisioning/system-server/src/android/security/rkp/service/
DRegistrationProxy.java192 context.unbindService(connection); in createAsync()
199 context.unbindService(connection); in createAsync()
205 context.unbindService(connection); in createAsync()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStartDpcInsideSuwServiceConnection.java149 context.unbindService(this); in tryBindService()
176 context.unbindService(this); in unbind()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxServiceProviderImpl.java137 mContext.unbindService(serviceConnection); in bindService()
181 public void unbindService(CallingInfo callingInfo) { in unbindService() method in SdkSandboxServiceProviderImpl
191 mContext.unbindService(sandbox.getServiceConnection()); in unbindService()
DSdkSandboxServiceProvider.java75 void unbindService(CallingInfo callingInfo); in unbindService() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarOccupantConnectionServiceTest.java382 verify(mContext).unbindService(serviceConnection); in testUnregisterReceiverWithReceiverServiceBound()
408 verify(mContext).unbindService(serviceConnection); in testUnregisterReceiverWithoutReceiverServiceBound()
443 verify(mContext, never()).unbindService(any()); in testUnregisterReceiverWithOtherReceiversLeft()
652 verify(mContext).unbindService(serviceConnection); in testCancelConnection()
865 verify(mContext).unbindService(serviceConnection); in testDisconnect()
912 verify(mContext).unbindService(serviceConnection); in testConnectedSenderDied()
940 verify(mContext).unbindService(serviceConnection); in testConnectingSenderDiedWithoutReceiverServiceBound()
972 verify(mContext).unbindService(serviceConnection); in testConnectingSenderDiedWithReceiverServiceBound()
/packages/modules/Wifi/service/java/com/android/server/wifi/mockwifi/
DMockWifiServiceUtil.java132 mContext.unbindService(mMockNl80211ServiceConnection); in unbindMockModemService()
133 mContext.unbindService(mMockSupplicantServiceConnection); in unbindMockModemService()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java254 doNothing().when(mContext).unbindService(any()); in setUp()
351 verify(mContext, timeout(WAIT_TIMEOUT_MS).times(VALID_PACKAGE_COUNT)).unbindService(any()); in testStartRemoteTaskClientService()
429 verify(mContext, never()).unbindService(any()); in testStartRemoteTaskClientServiceUserLocked_unbindWhileWaiting()
676 verify(mContext, timeout(WAIT_TIMEOUT_MS)).unbindService(any()); in testRemoveCarRemoteTaskClient_removeActiveTasks()
897 verify(mContext, timeout(WAIT_TIMEOUT_MS)).unbindService(any()); in testUnbindServiceAfterTaskComplete()
904 verify(mContext, timeout(WAIT_TIMEOUT_MS).times(2)).unbindService(any()); in testUnbindServiceAfterTaskComplete()
931 verify(mContext, never()).unbindService(any()); in testUnbindServiceAfterTimeout()
934 verify(mContext, timeout(2000)).unbindService(any()); in testUnbindServiceAfterTimeout()
981 verify(mContext, times(VALID_PACKAGE_COUNT)).unbindService(any()); in testUnbindAllServiceOnShutdownPrepare()
986 verify(mContext, times(VALID_PACKAGE_COUNT)).unbindService(any()); in testUnbindAllServiceOnShutdownPrepare()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DInstrumentClusterServiceTest.java138 doNothing().when(mContext).unbindService(any()); in setUp()
195 verify(mContext).unbindService(any()); in testOnServiceDisconnected()
/packages/modules/NetworkStack/tests/integration/common/android/net/networkstack/
DTestNetworkStackServiceClient.kt89 InstrumentationRegistry.getInstrumentation().context.unbindService(serviceConnection) in disconnect()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java182 verify(mContext).unbindService(eq(mHostEmulationManager.getPaymentConnection())); in testOnPreferredPaymentServiceChanged_nullService()
222 verify(mContext).unbindService(eq(mHostEmulationManager.getPaymentConnection())); in testOnPreferredPaymentServiceChanged_previouslyBoundService()
394 verify(mContext).unbindService(eq(mHostEmulationManager.getServiceConnection())); in testOnPreferredForegroundServiceChanged_nullService()
408 verify(mContext).unbindService(eq(mHostEmulationManager.getServiceConnection())); in testOnPreferredForegroundServiceChanged_nullService_previouslyBoundService()
965 verify(mContext).unbindService(mServiceConnectionArgumentCaptor.capture()); in testOnHostEmulationDeactivated_activeService_enableObserveModeAfterTransaction()
1040 verify(mContext).unbindService(mServiceConnectionArgumentCaptor.capture()); in testOnOffHostAidSelected_activeServiceBound_stateXfer()
1068 verify(mContext).unbindService(mServiceConnectionArgumentCaptor.capture()); in testOnOffHostAidSelected_activeServiceBound_stateNonXfer()
1185 verify(mContext).unbindService(eq(mHostEmulationManager.getPaymentConnection())); in testPaymentServiceConnectionOnBindingDied_successfulRebind()
1213 verify(mContext).unbindService(eq(mHostEmulationManager.getPaymentConnection())); in testPaymentServiceConnectionOnBindingDied_rebindOnTap()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinServiceConnection.java91 mContext.unbindService(this); in unbindPinService()

12345