Home
last modified time | relevance | path

Searched refs:mConnection (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java77 private MockConnection mConnection; field in CallDetailsTest
92 mConnection = (MockConnection) connection; in setUp()
162 mConnection.setConnectionCapabilities( in testCallLocalVideoCapability()
166 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_RX); in testCallLocalVideoCapability()
169 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_TX); in testCallLocalVideoCapability()
172 mConnection.setConnectionCapabilities( in testCallLocalVideoCapability()
176 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_RX); in testCallLocalVideoCapability()
179 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_TX); in testCallLocalVideoCapability()
183 mConnection.setActive(); in testCallLocalVideoCapability()
185 mConnection.setConnectionCapabilities( in testCallLocalVideoCapability()
[all …]
DExternalCallTest.java38 private MockConnection mConnection; field in ExternalCallTest
54 mConnection = (MockConnection) connection; in setUp()
85 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter( in testPullExternalCall()
97 mConnection.setConnectionCapabilities(0); in testNonPullableExternalCall()
100 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter( in testNonPullableExternalCall()
DRemoteConnectionTest.java52 MockConnection mConnection; field in RemoteConnectionTest
66 mConnection.setActive(); in testRemoteConnectionOutgoingCall()
70 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
76 assertConnectionState(mConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
82 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
88 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
103 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
109 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionIncomingCallAccept()
124 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallReject()
130 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionIncomingCallReject()
[all …]
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java42 private Connection mConnection = new Connection(); field in ExternalServiceTest
49 if (mConnection.service != null) in tearDown()
50 getContext().unbindService(mConnection); in tearDown()
58 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindIsolated()
69 getContext().bindService(intent, mConnection, in testFailBindExternalIsolated()
82 getContext().bindService(intent, mConnection, in testFailBindExternalExported()
95 getContext().bindService(intent, mConnection, in testFailBindExternalNonExported()
108 getContext().bindService(intent, mConnection, in testFailBindExternalNonIsolated()
120 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindWithoutBindExternal()
133 assertTrue(getContext().bindService(intent, mConnection, in testBindExternalService()
[all …]
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DServiceRunnerActivity.java79 private ServiceConnection mConnection = new ServiceConnection() { field in ServiceRunnerActivity
109 mConnection, Context.BIND_AUTO_CREATE); in doBindService()
115 unbindService(mConnection); in doUnbindService()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileWidgetPrimaryUserTest.java58 private Connection mConnection; field in CrossProfileWidgetPrimaryUserTest
67 mConnection = new Connection(); in setUp()
68 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setUp()
69 mConnection.waitForService(); in setUp()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsImportanceTests.java96 context.bindService(intent, mConnection, in setUp()
98 synchronized (mConnection) { in setUp()
100 mConnection.wait(WAIT_TIME_MS); in setUp()
111 context.unbindService(mConnection); in tearDown()
205 private final ServiceConnection mConnection = new ServiceConnection() { field in AlertWindowsImportanceTests
211 synchronized (mConnection) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java55 protected final ServiceConnection mConnection = new ServiceConnection() { field in ProjectionActivity
126 bindService(mStartIntent, mConnection, Context.BIND_AUTO_CREATE); in onSurfaceTextureAvailable()
144 unbindService(mConnection); in onSurfaceTextureDestroyed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java120 protected final ServiceConnection mConnection = new ServiceConnection() { field in ProjectionOffscreenActivity
174 bindService(new Intent(this, ProjectionService.class), mConnection, in onCreate()
189 if (mConnection != null) { in onDestroy()
190 unbindService(mConnection); in onDestroy()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java70 private Connection mConnection; field in LauncherAppsTests
89 mConnection = new Connection(); in setUp()
90 mInstrumentation.getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setUp()
91 mConnection.waitForService(); in setUp()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java399 private ServiceConnection mConnection = new ServiceConnection() { field in ErrorLoggingService.ErrorServiceConnection
424 … mContext.bindService(new Intent(mContext, ErrorLoggingService.class), mConnection, in blockingGetBoundService()
445 … mContext.bindService(new Intent(mContext, ErrorLoggingService.class), mConnection, in getBoundService()
462 … mContext.bindService(new Intent(mContext, ErrorLoggingService.class), mConnection, in start()
478 mContext.unbindService(mConnection); in stop()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java101 private ServiceConnection mConnection = new ServiceConnection() { field in MessengerTest
119 getContext().bindService(new Intent(mContext, MessengerService.class), mConnection, in setUp()
131 getContext().unbindService(mConnection); in tearDown()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java1023 private DefaultHttpServerConnection mConnection; field in CtsTestServer.ServerThread.HandleResponseTask
1031 this.mConnection = connection; in HandleResponseTask()
1040 mConnection.sendResponseHeader(response); in run()
1041 mConnection.sendResponseEntity(response); in run()
1042 mConnection.close(); in run()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java1454 private final ServiceConnection mConnection = new ServiceConnection() { field in EncodeVirtualDisplayWithCompositionTest.RemoteVirtualDisplayPresentation
1478 mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connect()
1485 mContext.unbindService(mConnection); in disconnect()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java1269 protected final UsbDeviceConnection mConnection; field in UsbDeviceTestActivity.TestThread
1289 mConnection = connection; in TestThread()
1470 UsbRequest request = mConnection.requestWait(); in run()