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.java530 TestConnection conn2 = new TestConnection(false, false); in bindExpectResult() local
540 mContext.bindService(service, conn2, 0); in bindExpectResult()
543 mContext.unbindService(conn2); in bindExpectResult()
548 mContext.unbindService(conn2); in bindExpectResult()
1132 NullServiceConnection conn2 = new NullServiceConnection(); in testNullServiceBinder() local
1138 assertTrue(mContext.bindService(intent, conn2, Context.BIND_AUTO_CREATE)); in testNullServiceBinder()
1139 conn2.waitForNullBinding(DELAY); in testNullServiceBinder()
1140 assertTrue(conn2.nullBindingReceived()); in testNullServiceBinder()
1143 mContext.unbindService(conn2); in testNullServiceBinder()
1195 IsolatedConnection conn2 = null; in testBindIsolatedServiceInstances() local
[all …]
DActivityManagerProcessStateTest.java238 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testUidImportanceListener() local
278 conn2.bind(); in testUidImportanceListener()
280 IBinder service2 = conn2.getServiceIBinder(); in testUidImportanceListener()
282 conn2.unbind(); in testUidImportanceListener()
341 conn2.bind(); in testUidImportanceListener()
352 conn2.unbind(); in testUidImportanceListener()
367 conn2.bind(); in testUidImportanceListener()
386 conn2.unbind(); in testUidImportanceListener()
576 ServiceConnectionHandler conn2 = new ServiceConnectionHandler(mContext, mService2Intent, in testBackgroundCheckStopsService() local
607 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()