Lines Matching refs:conn
233 TestConnection conn = new TestConnection(true, false);
239 getContext().bindService(service, conn, 0);
253 getContext().unbindService(conn);
266 getContext().unbindService(conn);
268 conn = new TestConnection(true, true);
272 conn.setMonitor(true);
274 getContext().bindService(service, conn, 0);
283 getContext().unbindService(conn);
291 conn.setMonitor(false);
296 getContext().unbindService(conn);
298 conn = new TestConnection(true, true);
302 conn.setMonitor(true);
304 getContext().bindService(service, conn, 0);
313 getContext().unbindService(conn);
321 conn.setMonitor(false);
323 getContext().unbindService(conn);
328 getContext().bindService(service, conn, 0);
336 getContext().unbindService(conn);
340 TestConnection conn = new TestConnection(false, true);
343 conn.setMonitor(true);
346 service, conn, Context.BIND_AUTO_CREATE);
352 getContext().unbindService(conn);
359 getContext().unbindService(conn);
364 TestConnection conn = new TestConnection(false, false);
366 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE);
371 getContext().unbindService(conn);
458 EmptyConnection conn = new EmptyConnection();
460 new Intent(SERVICE_LOCAL_GRANTED), conn, 0);
461 getContext().unbindService(conn);
463 getContext().unbindService(conn);