Searched refs:conn1 (Results 1 – 2 of 2) sorted by relevance
206 MockServiceConnection conn1 = new MockServiceConnection(true, false); in testTransact() local213 getContext().bindService(mService, conn1, 0); in testTransact()227 getContext().unbindService(conn1); in testTransact()240 getContext().unbindService(conn1); in testTransact()242 conn1 = new MockServiceConnection(true, true); in testTransact()247 conn1.setMonitor(true); in testTransact()249 getContext().bindService(mService, conn1, 0); in testTransact()258 getContext().unbindService(conn1); in testTransact()266 conn1.setMonitor(false); in testTransact()271 getContext().unbindService(conn1); in testTransact()[all …]
1232 NullServiceConnection conn1 = new NullServiceConnection(); in testNullServiceBinder() local1235 assertTrue(mContext.bindService(intent, conn1, Context.BIND_AUTO_CREATE)); in testNullServiceBinder()1236 conn1.waitForNullBinding(DELAY); in testNullServiceBinder()1237 assertTrue(conn1.nullBindingReceived()); in testNullServiceBinder()1243 mContext.unbindService(conn1); in testNullServiceBinder()