/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallDetailsTest.java | 87 private MockConnection mConnection; field in CallDetailsTest 102 mConnection = (MockConnection) connection; in setUp() 177 mConnection.setConnectionCapabilities( in testCallLocalVideoCapability() 181 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_RX); in testCallLocalVideoCapability() 184 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_TX); in testCallLocalVideoCapability() 187 mConnection.setConnectionCapabilities( in testCallLocalVideoCapability() 191 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_RX); in testCallLocalVideoCapability() 194 mConnection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORTS_VT_REMOTE_TX); in testCallLocalVideoCapability() 198 mConnection.setActive(); in testCallLocalVideoCapability() 200 mConnection.setConnectionCapabilities( in testCallLocalVideoCapability() [all …]
|
D | CallDiagnosticServiceTest.java | 43 private MockConnection mConnection; field in CallDiagnosticServiceTest 67 if (mConnection != null ) { in tearDown() 68 mConnection.onDisconnect(); in tearDown() 69 mConnection.destroy(); in tearDown() 92 mConnection.putExtras(connectionExtras); in testAddCallAndPassValues() 135 mConnection.onDisconnect(); in testAddMultipleCalls() 136 mConnection.destroy(); in testAddMultipleCalls() 137 mConnection = null; in testAddMultipleCalls() 208 mConnection.sendConnectionEvent(Connection.EVENT_DEVICE_TO_DEVICE_MESSAGE, message); in testReceiveD2DMessage() 233 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter( in testSendD2DMessage() [all …]
|
D | RemoteConnectionTest.java | 58 MockConnection mConnection; field in RemoteConnectionTest 72 mConnection.setActive(); in testRemoteConnectionOutgoingCall() 76 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 82 assertConnectionState(mConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall() 88 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 94 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall() 109 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept() 115 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionIncomingCallAccept() 130 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallReject() 136 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionIncomingCallReject() [all …]
|
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | ExternalServiceTest.java | 43 private Connection mConnection = new Connection(); field in ExternalServiceTest 50 if (mConnection.service != null) in tearDown() 51 getContext().unbindService(mConnection); in tearDown() 59 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindIsolated() 70 getContext().bindService(intent, mConnection, in testFailBindExternalIsolated() 83 getContext().bindService(intent, mConnection, in testFailBindExternalExported() 96 getContext().bindService(intent, mConnection, in testFailBindExternalNonExported() 109 getContext().bindService(intent, mConnection, in testFailBindExternalNonIsolated() 121 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindWithoutBindExternal() 134 assertTrue(getContext().bindService(intent, mConnection, in testBindExternalService() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileWidgetPrimaryUserTest.java | 58 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/tests/uidisolation/src/android/uidisolation/cts/ |
D | ServiceRunnerActivity.java | 79 private ServiceConnection mConnection = new ServiceConnection() { field in ServiceRunnerActivity 109 mConnection, Context.BIND_AUTO_CREATE); in doBindService() 115 unbindService(mConnection); in doUnbindService()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AlertWindowsImportanceTests.java | 97 context.bindService(intent, mConnection, in setUp() 99 synchronized (mConnection) { in setUp() 101 mConnection.wait(WAIT_TIME_MS); in setUp() 112 context.unbindService(mConnection); in tearDown() 210 private final ServiceConnection mConnection = new ServiceConnection() { field in AlertWindowsImportanceTests 216 synchronized (mConnection) {
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaProjectionActivity.java | 57 private final ServiceConnection mConnection = new ServiceConnection() { field in MediaProjectionActivity 86 unbindService(mConnection); in onDestroy() 94 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in bindMediaProjectionService()
|
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 1383 private final ServiceConnection mConnection = new ServiceConnection() { field in EncodeVirtualDisplayWithCompositionTestImpl.RemoteVirtualDisplayPresentation 1407 mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connect() 1414 mContext.unbindService(mConnection); in disconnect()
|
/cts/tests/app/src/android/app/cts/ |
D | CloseSystemDialogsTest.java | 97 private FutureServiceConnection mConnection; field in CloseSystemDialogsTest 153 if (mConnection != null) { in tearDown() 154 mContext.unbindService(mConnection); in tearDown() 410 if (mConnection != null) { in connect() 411 return mConnection; in connect() 413 mConnection = new FutureServiceConnection(); in connect() 416 assertTrue(mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE)); in connect() 417 return mConnection; in connect()
|
D | ServiceTest.java | 1576 IsolatedConnection mConnection; field in ServiceTest.IsolatedConnectionInfo 1609 if (mConnection != null) { in bind() 1612 Log.i("XXXXXXX", "Binding " + mLabel + ": conn=" + mConnection in bind() 1614 mConnection = new IsolatedConnection(); in bind() 1619 mInstanceName, mContextMainExecutor, mConnection); in bind() 1621 mConnection = null; in bind() 1627 return mConnection; in getConnection() 1631 if (mConnection != null) { in unbind() 1632 Log.i("XXXXXXX", "Unbinding " + mLabel + ": conn=" + mConnection in unbind() 1634 context.unbindService(mConnection); in unbind() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionActivity.java | 55 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/tests/tests/os/src/android/os/cts/ |
D | MessengerTest.java | 56 private ServiceConnection mConnection = new ServiceConnection() { field in MessengerTest 74 getContext().bindService(new Intent(mContext, MessengerService.class), mConnection, in setUp() 86 getContext().unbindService(mConnection); in tearDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 124 protected final ServiceConnection mConnection = new ServiceConnection() { field in ProjectionOffscreenActivity 179 bindService(new Intent(this, ProjectionService.class), mConnection, in onCreate() 194 if (mConnection != null) { in onDestroy() 195 unbindService(mConnection); in onDestroy()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | ErrorLoggingService.java | 399 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/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 107 private Connection mConnection; field in LauncherAppsTests 127 mConnection = new Connection(); in setUp() 128 mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setUp() 129 mConnection.waitForService(); in setUp()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 154 private ServiceConnection mConnection = new ServiceConnection() { field in CapturedActivity 171 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in bindMediaProjectionService() 183 unbindService(mConnection); in onDestroy()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 1120 private DefaultHttpServerConnection mConnection; field in CtsTestServer.ServerThread.HandleResponseTask 1128 this.mConnection = connection; in HandleResponseTask() 1137 mConnection.sendResponseHeader(response); in run() 1138 mConnection.sendResponseEntity(response); in run() 1139 mConnection.close(); in run()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 1285 protected final UsbDeviceConnection mConnection; field in UsbDeviceTestActivity.TestThread 1305 mConnection = connection; in TestThread() 1486 UsbRequest request = mConnection.requestWait(); in run()
|