Home
last modified time | relevance | path

Searched refs:mConnections (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsSelfManagedConnectionService.java56 mConnections.remove(connection);
63 private List<SelfManagedConnection> mConnections = new ArrayList<>(); field in CtsSelfManagedConnectionService
146 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsSelfManagedConnectionService.java26 mConnections.remove(connection);
34 List<CtsConnection> mConnections = new ArrayList<>(); field in CtsSelfManagedConnectionService
63 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()
DCtsConnectionService.java46 mConnections.remove(connection);
54 private List<CtsConnection> mConnections = new ArrayList<>(); field in CtsConnectionService
83 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()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceProcessController.java51 final ServiceConnectionHandler[] mConnections; field in ServiceProcessController
85 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()
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DServiceCreator.java39 private final ArrayList<CreatorConnection> mConnections = new ArrayList<>(); field in ServiceCreator
63 mConnections.add(conn);
88 for (final CreatorConnection conn : mConnections) { in onDestroy()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java146 private final Map<String, FutureConnection<IUntrustedTouchTestService>> mConnections = field in WindowUntrustedTouchTest
214 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()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java188 FutureConnection<ICrossProcessSurfaceControlViewHostTestService>> mConnections = field in SurfaceControlViewHostTests
258 mConnections.values()) { in tearDown()
261 mConnections.clear(); in tearDown()
1271 return mConnections.computeIfAbsent("android.server.wm.scvh", this::connect) in getService()