Searched refs:mConnections (Results 1 – 7 of 7) sorted by relevance
56 mConnections.remove(connection);63 private List<SelfManagedConnection> mConnections = new ArrayList<>(); field in CtsSelfManagedConnectionService146 if (mConnections != null && mConnections.size() > 0) { in tearDown()147 mConnections.forEach(connection -> { in tearDown()152 mConnections.clear(); in tearDown()180 mConnections.add(connection); in createSelfManagedConnection()188 return new ArrayList<>(mConnections); in getConnections()
26 mConnections.remove(connection);34 List<CtsConnection> mConnections = new ArrayList<>(); field in CtsSelfManagedConnectionService63 return new ArrayList<CtsConnection>(mConnections); in getConnections()74 if (mConnections.size() > 0) { in waitForAndGetConnection()75 return mConnections.get(0); in waitForAndGetConnection()111 mConnections.add(connection); in createConnection()
46 mConnections.remove(connection);54 private List<CtsConnection> mConnections = new ArrayList<>(); field in CtsConnectionService83 return new ArrayList<CtsConnection>(mConnections); in getConnections()94 if (mConnections.size() > 0) { in waitForAndGetConnection()95 return mConnections.get(0); in waitForAndGetConnection()156 mConnections.add(connection); in createManagedConnection()
51 final ServiceConnectionHandler[] mConnections; field in ServiceProcessController85 mConnections = new ServiceConnectionHandler[serviceIntents.length]; in ServiceProcessController()87 mConnections[i] = new ServiceConnectionHandler(mContext, serviceIntents[i], in ServiceProcessController()183 return mConnections[index]; in getConnection()207 for (int i=0; i<mConnections.length; i++) { in ensureProcessGone()208 mConnections[i].bind(timeout); in ensureProcessGone()211 for (int i=0; i<mConnections.length; i++) { in ensureProcessGone()212 IBinder serviceBinder = mConnections[i].getServiceIBinder(); in ensureProcessGone()213 mConnections[i].unbind(timeout); in ensureProcessGone()
39 private final ArrayList<CreatorConnection> mConnections = new ArrayList<>(); field in ServiceCreator63 mConnections.add(conn);88 for (final CreatorConnection conn : mConnections) { in onDestroy()
146 private final Map<String, FutureConnection<IUntrustedTouchTestService>> mConnections = field in WindowUntrustedTouchTest214 for (FutureConnection<IUntrustedTouchTestService> connection : mConnections.values()) { in tearDown()217 mConnections.clear(); in tearDown()1022 for (FutureConnection<IUntrustedTouchTestService> connection : mConnections.values()) { in removeOverlays()1051 return mConnections.computeIfAbsent(packageName, this::connect).get(TIMEOUT_MS); in getService()
188 FutureConnection<ICrossProcessSurfaceControlViewHostTestService>> mConnections = field in SurfaceControlViewHostTests258 mConnections.values()) { in tearDown()261 mConnections.clear(); in tearDown()1271 return mConnections.computeIfAbsent("android.server.wm.scvh", this::connect) in getService()