Home
last modified time | relevance | path

Searched refs:conn1 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java206 MockServiceConnection conn1 = new MockServiceConnection(true, false); in testTransact() local
213 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 …]
/cts/tests/app/src/android/app/cts/
DServiceTest.java1131 NullServiceConnection conn1 = new NullServiceConnection(); in testNullServiceBinder() local
1134 assertTrue(mContext.bindService(intent, conn1, Context.BIND_AUTO_CREATE)); in testNullServiceBinder()
1135 conn1.waitForNullBinding(DELAY); in testNullServiceBinder()
1136 assertTrue(conn1.nullBindingReceived()); in testNullServiceBinder()
1142 mContext.unbindService(conn1); in testNullServiceBinder()