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.java573 TestConnection conn2 = new TestConnection(false, false); in bindExpectResult() local
583 mContext.bindService(service, conn2, 0); in bindExpectResult()
586 mContext.unbindService(conn2); in bindExpectResult()
591 mContext.unbindService(conn2); in bindExpectResult()
1233 NullServiceConnection conn2 = new NullServiceConnection(); in testNullServiceBinder() local
1239 assertTrue(mContext.bindService(intent, conn2, Context.BIND_AUTO_CREATE)); in testNullServiceBinder()
1240 conn2.waitForNullBinding(DELAY); in testNullServiceBinder()
1241 assertTrue(conn2.nullBindingReceived()); in testNullServiceBinder()
1244 mContext.unbindService(conn2); in testNullServiceBinder()
1296 IsolatedConnection conn2 = null; in testBindIsolatedServiceInstances() local
[all …]
DActivityManagerProcessStateTest.java266 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testUidImportanceListener() local
306 conn2.bind(); in testUidImportanceListener()
308 IBinder service2 = conn2.getServiceIBinder(); in testUidImportanceListener()
310 conn2.unbind(); in testUidImportanceListener()
369 conn2.bind(); in testUidImportanceListener()
380 conn2.unbind(); in testUidImportanceListener()
395 conn2.bind(); in testUidImportanceListener()
414 conn2.unbind(); in testUidImportanceListener()
604 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testBackgroundCheckStopsService() local
635 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()