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.java611 TestConnection conn2 = new TestConnection(false, false); in bindExpectResult() local
621 mContext.bindService(service, conn2, 0); in bindExpectResult()
624 mContext.unbindService(conn2); in bindExpectResult()
629 mContext.unbindService(conn2); in bindExpectResult()
1519 NullServiceConnection conn2 = new NullServiceConnection(); in testNullServiceBinder() local
1525 assertTrue(mContext.bindService(intent, conn2, Context.BIND_AUTO_CREATE)); in testNullServiceBinder()
1526 conn2.waitForNullBinding(DELAY); in testNullServiceBinder()
1527 assertTrue(conn2.nullBindingReceived()); in testNullServiceBinder()
1530 mContext.unbindService(conn2); in testNullServiceBinder()
1582 IsolatedConnection conn2 = null; in testBindIsolatedServiceInstances() local
[all …]
DActivityManagerProcessStateTest.java343 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testUidImportanceListener() local
383 conn2.bind(); in testUidImportanceListener()
385 IBinder service2 = conn2.getServiceIBinder(); in testUidImportanceListener()
387 conn2.unbind(); in testUidImportanceListener()
446 conn2.bind(); in testUidImportanceListener()
457 conn2.unbind(); in testUidImportanceListener()
472 conn2.bind(); in testUidImportanceListener()
491 conn2.unbind(); in testUidImportanceListener()
688 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testBackgroundCheckStopsService() local
719 conn2.bind(); in testBackgroundCheckStopsService()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DBinderIntegrationTest.java210 MockServiceConnection conn2 = new MockServiceConnection(false, false); in testTransact() local
221 getContext().bindService(mService, conn2, 0); in testTransact()
224 getContext().unbindService(conn2); in testTransact()
231 getContext().unbindService(conn2); in testTransact()