Home
last modified time | relevance | path

Searched refs:mConnectionManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
DPersistentConnectionManagerTest.java64 private PersistentConnectionManager<Proxy> mConnectionManager; field in PersistentConnectionManagerTest
70 mConnectionManager = new PersistentConnectionManager<>( in setup()
106 mConnectionManager.start(); in testConnect()
115 mConnectionManager.start(); in testRetryOnBindFailure()
137 mConnectionManager.start(); in testStopDoesNotReconnect()
144 mConnectionManager.stop(); in testStopDoesNotReconnect()
155 mConnectionManager.start(); in testAttemptOnPackageChange()
169 mConnectionManager.addConnectionCallback(mConnectionCallback); in testAddConnectionCallback()
175 mConnectionManager.removeConnectionCallback(mConnectionCallback); in testRemoveConnectionCallback()
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java281 private ExtensionConnectionManager mConnectionManager = new ExtensionConnectionManager(); field in CameraExtensionCharacteristics.CameraExtensionManagerGlobal
293 if (mConnectionManager.getConnection(extension) != null) { in releaseProxyConnectionLocked()
294 ctx.unbindService(mConnectionManager.getConnection(extension)); in releaseProxyConnectionLocked()
295 mConnectionManager.setConnection(extension, null); in releaseProxyConnectionLocked()
296 mConnectionManager.setProxy(extension, null); in releaseProxyConnectionLocked()
297 mConnectionManager.resetConnectionCount(extension); in releaseProxyConnectionLocked()
302 if (mConnectionManager.getConnection(extension) == null) { in connectToProxyLocked()
339 mConnectionManager.setConnection(extension, null); in connectToProxyLocked()
340 mConnectionManager.setProxy(extension, null); in connectToProxyLocked()
347 mConnectionManager.setProxy(extension, proxy); in connectToProxyLocked()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java216 private ConnectivityManager mConnectionManager; field in RILTest
303 mConnectionManager = mock(ConnectivityManager.class); in setUp()
315 doReturn(true).when(mConnectionManager).isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in setUp()
316 doReturn(mConnectionManager).when(context) in setUp()