Home
last modified time | relevance | path

Searched refs:conn2 (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/src/android/app/cts/
DServiceTest.java580 TestConnection conn2 = new TestConnection(false, false); in bindExpectResult() local
590 mContext.bindService(service, conn2, 0); in bindExpectResult()
593 mContext.unbindService(conn2); in bindExpectResult()
598 mContext.unbindService(conn2); in bindExpectResult()
1442 NullServiceConnection conn2 = new NullServiceConnection(); in testNullServiceBinder() local
1448 assertTrue(mContext.bindService(intent, conn2, Context.BIND_AUTO_CREATE)); in testNullServiceBinder()
1449 conn2.waitForNullBinding(DELAY); in testNullServiceBinder()
1450 assertTrue(conn2.nullBindingReceived()); in testNullServiceBinder()
1453 mContext.unbindService(conn2); in testNullServiceBinder()
1505 IsolatedConnection conn2 = null; in testBindIsolatedServiceInstances() local
[all …]
DActivityManagerProcessStateTest.java300 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testUidImportanceListener() local
340 conn2.bind(); in testUidImportanceListener()
342 IBinder service2 = conn2.getServiceIBinder(); in testUidImportanceListener()
344 conn2.unbind(); in testUidImportanceListener()
403 conn2.bind(); in testUidImportanceListener()
414 conn2.unbind(); in testUidImportanceListener()
429 conn2.bind(); in testUidImportanceListener()
448 conn2.unbind(); in testUidImportanceListener()
645 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testBackgroundCheckStopsService() local
676 conn2.bind(); in testBackgroundCheckStopsService()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java207 MockServiceConnection conn2 = new MockServiceConnection(false, false); in testTransact() local
218 getContext().bindService(mService, conn2, 0); in testTransact()
221 getContext().unbindService(conn2); in testTransact()
228 getContext().unbindService(conn2); in testTransact()