Home
last modified time | relevance | path

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

123456789

/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
H A DStartDpcInsideSuwServiceConnectionTest.java134 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_serviceConnects()
155 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
179 verify(mRestoredActivity).unbindService(eq(restoredServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
206 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
231 verify(mRestoredActivity).unbindService(eq(restoredServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
257 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished()
311 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_serviceConnectsAndDisconnects()
339 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_serviceConnectsAndDisconnects_instanceStateSavedAndRestored()
364 verify(mRestoredActivity).unbindService(eq(restoredServiceConnection)); in testBindingSucceeds_serviceConnectsAndDisconnects_instanceStateSavedAndRestored()
393 verify(mActivity).unbindService(eq(mStartDpcInsideSuwServiceConnection)); in testBindingSucceeds_serviceConnectsTwice()
[all …]
/aosp12/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
H A DOomAdjPerfTest.java165 TargetPackageUtils.unbindService(STUB_PACKAGE1_NAME, STUB_PACKAGE2_NAME, 0); in runCUJWithOomComputationOnce()
189 TargetPackageUtils.unbindService(STUB_PACKAGE3_NAME, STUB_PACKAGE1_NAME, 0); in runCUJWithOomComputationOnce()
198 TargetPackageUtils.unbindService(STUB_PACKAGE1_NAME, STUB_PACKAGE2_NAME, 0); in runCUJWithOomComputationOnce()
200 TargetPackageUtils.unbindService(STUB_PACKAGE2_NAME, STUB_PACKAGE3_NAME, 0); in runCUJWithOomComputationOnce()
206 TargetPackageUtils.unbindService(STUB_PACKAGE3_NAME, STUB_PACKAGE2_NAME, 0); in runCUJWithOomComputationOnce()
212 TargetPackageUtils.unbindService(STUB_PACKAGE3_NAME, STUB_PACKAGE2_NAME, 0); in runCUJWithOomComputationOnce()
218 TargetPackageUtils.unbindService(STUB_PACKAGE3_NAME, STUB_PACKAGE2_NAME, 0); in runCUJWithOomComputationOnce()
224 TargetPackageUtils.unbindService(STUB_PACKAGE3_NAME, STUB_PACKAGE2_NAME, 0); in runCUJWithOomComputationOnce()
230 TargetPackageUtils.unbindService(STUB_PACKAGE3_NAME, STUB_PACKAGE2_NAME, 0); in runCUJWithOomComputationOnce()
235 TargetPackageUtils.unbindService(STUB_PACKAGE3_NAME, STUB_PACKAGE1_NAME, 0); in runCUJWithOomComputationOnce()
/aosp12/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderProxyCountingTest.java150 private void unbindService(ServiceConnection service) { in unbindService() method in BinderProxyCountingTest
152 sContext.unbindService(service); in unbindService()
216 unbindService(sTestAppConnection); in testBinderProxyCount()
253 unbindService(sTestAppConnection); in testBinderProxyLimitBoundary()
254 unbindService(sTestServiceConnection); in testBinderProxyLimitBoundary()
284 unbindService(sTestAppConnection); in testSetBinderProxyLimit()
285 unbindService(sTestServiceConnection); in testSetBinderProxyLimit()
342 unbindService(sTestAppConnection); in testRearmCallbackThreshold()
343 unbindService(sTestServiceConnection); in testRearmCallbackThreshold()
375 unbindService(sTestAppConnection); in testKillBadBehavingApp()
H A DBinderWorkSourceTest.java99 sContext.unbindService(mConnection); in tearDown()
100 sContext.unbindService(mNestedConnection); in tearDown()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
H A DControlsProviderLifecycleManager.kt111 context.unbindService(serviceConnection)
138 context.unbindService(this)
192 unbindService()
211 unbindService()
281 fun unbindService() { regex
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
H A DControlsProviderLifecycleManagerTest.kt97 manager.unbindService()
133 verify(mockContext).unbindService(serviceConnection)
141 manager.unbindService()
162 manager.unbindService()
H A DControlsBindingControllerImplTest.kt348 verify(providers[0]).unbindService()
353 verify(providers[0]).unbindService()
364 verify(providers[0], times(1)).unbindService()
/aosp12/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
H A DSimpleService.java79 unbindService(targetPkg); in onStartCommand()
117 private void unbindService(String targetPkg) { in unbindService() method in SimpleService
120 getApplicationContext().unbindService(conn); in unbindService()
/aosp12/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
H A DTransportClient.java233 mContext.unbindService(mConnection); in connectAsync()
270 mContext.unbindService(mConnection); in unbind()
275 mContext.unbindService(mConnection); in unbind()
450 mContext.unbindService(mConnection); in onServiceDisconnected()
481 mContext.unbindService(mConnection); in onBindingDied()
486 mContext.unbindService(mConnection); in onBindingDied()
695 mContext.unbindService(this); in referenceLost()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DExplicitHealthCheckController.java174 unbindService(); in syncRequests()
334 unbindService(); in bindService()
352 private void unbindService() { in unbindService() method in ExplicitHealthCheckController
355 mContext.unbindService(mConnection); in unbindService()
407 unbindService(); in initState()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGbaManager.java110 unbindService(); in handleMessage()
392 private void unbindService() { in unbindService() method in GbaManager
398 mContext.unbindService(mServiceConnection); in unbindService()
455 unbindService(); in rebindService()
517 unbindService(); in destroy()
H A DNetworkRegistrationManager.java242 private void unbindService() { in unbindService() method in NetworkRegistrationManager
254 mPhone.getContext().unbindService(mServiceConnection); in unbindService()
308 unbindService(); in rebindService()
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DExportVCardActivity.java217 public void unbindService(ServiceConnection conn) { in unbindService() method in ExportVCardActivity
219 super.unbindService(conn); in unbindService()
225 unbindService(this); in onDestroy()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DDataLoaderManagerService.java101 mContext.unbindService(connection); in bindToDataLoader()
196 mContext.unbindService(this);
256 mContext.unbindService(this);
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileServiceManager.java177 unbindService(); in setBindAllowed()
203 private void unbindService() { in unbindService() method in TileServiceManager
249 unbindService();
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A 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()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DServiceBinder.java158 mContext.unbindService(this); in onServiceConnected()
210 mContext.unbindService(this); in onNullBinding()
340 mContext.unbindService(mServiceConnection); in unbind()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DRebootEscrowProviderServerBasedImpl.java128 serviceConnection.unbindService(); in unwrapServerBlob()
187 serviceConnection.unbindService(); in wrapEscrowKey()
H A DResumeOnRebootServiceProvider.java131 public void unbindService() { in unbindService() method in ResumeOnRebootServiceProvider.ResumeOnRebootServiceConnection
133 mContext.unbindService(mServiceConnection); in unbindService()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsServiceController.java107 unbindService(); in onServiceConnected()
137 unbindService(); in onBindingDied()
434 unbindService(); in unbind()
616 private void unbindService() { in unbindService() method in ImsServiceController
621 mContext.unbindService(mImsServiceConnection); in unbindService()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DConnOnActivityStartTest.java114 unbindService(); in tearDownOnce()
145 private static void unbindService() { in unbindService() method in ConnOnActivityStartTest
147 mContext.unbindService(mServiceConnection); in unbindService()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGbaManagerTest.java183 unbindService(conn); in testBindServiceWhenPackageNameChanged()
286 private void unbindService(ServiceConnection conn) { in unbindService() method in GbaManagerTest
287 verify(mMockContext).unbindService(eq(conn)); in unbindService()
/aosp12/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerProvider.java46 mContext.unbindService(this); in destroy()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DMbmsGroupCallSession.java176 mContext.unbindService(mServiceConnection); in close()
310 mContext.unbindService(this); in bindAndInitialize()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DActivityManagerTest.java205 mContext.unbindService(autoConnection); in runOnce()
462 mContext.unbindService(autoConnection); in testAppFreezerWithAllowOomAdj()
605 mContext.unbindService(uid1P2.second); in testGetIsolatedProcesses()
621 mContext.unbindService(p.second); in testGetIsolatedProcesses()
624 mContext.unbindService(p.second); in testGetIsolatedProcesses()

123456789