Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsSelfManagedConnectionService.java60 mConnections.remove(connection);
67 private List<SelfManagedConnection> mConnections = new ArrayList<>(); field in CtsSelfManagedConnectionService
151 if (mConnections != null && mConnections.size() > 0) { in tearDown()
152 mConnections.forEach(connection -> { in tearDown()
157 mConnections.clear(); in tearDown()
182 mConnections.add(connection); in createSelfManagedConnection()
190 return new ArrayList<>(mConnections); in getConnections()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsSelfManagedConnectionService.java23 mConnections.remove(connection);
31 List<CtsConnection> mConnections = new ArrayList<>(); field in CtsSelfManagedConnectionService
60 return new ArrayList<CtsConnection>(mConnections); in getConnections()
71 if (mConnections.size() > 0) { in waitForAndGetConnection()
72 return mConnections.get(0); in waitForAndGetConnection()
108 mConnections.add(connection); in createConnection()
DCtsConnectionService.java43 mConnections.remove(connection);
51 private List<CtsConnection> mConnections = new ArrayList<>(); field in CtsConnectionService
80 return new ArrayList<CtsConnection>(mConnections); in getConnections()
91 if (mConnections.size() > 0) { in waitForAndGetConnection()
92 return mConnections.get(0); in waitForAndGetConnection()
152 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/
DWindowUntrustedTouchTest.java131 private final Map<String, FutureConnection<IUntrustedTouchTestService>> mConnections = field in WindowUntrustedTouchTest
190 for (FutureConnection<IUntrustedTouchTestService> connection : mConnections.values()) { in tearDown()
193 mConnections.clear(); in tearDown()
1035 for (FutureConnection<IUntrustedTouchTestService> connection : mConnections.values()) { in removeOverlays()
1072 return mConnections.computeIfAbsent(packageName, this::connect).get(TIMEOUT_MS);