/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallDetailsTest.java | 78 private MockConnection mConnection; field in CallDetailsTest 93 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 …]
|
D | RemoteConnectionTest.java | 53 MockConnection mConnection; field in RemoteConnectionTest 67 mConnection.setActive(); in testRemoteConnectionOutgoingCall() 71 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 77 assertConnectionState(mConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall() 83 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 89 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall() 104 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept() 110 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionIncomingCallAccept() 125 assertConnectionState(mConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallReject() 131 assertConnectionState(mConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionIncomingCallReject() [all …]
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | BaseInputConnectionTest.java | 47 private BaseInputConnection mConnection; field in BaseInputConnectionTest 67 mConnection = new BaseInputConnection(mView, true); in setUp() 73 assertFalse(mConnection.beginBatchEdit()); in testDefaultMethods() 74 assertFalse(mConnection.endBatchEdit()); in testDefaultMethods() 79 assertFalse(mConnection.commitCompletion(new CompletionInfo(completionId, in testDefaultMethods() 82 assertNull(mConnection.getExtractedText(new ExtractedTextRequest(), 0)); in testDefaultMethods() 88 assertTrue(mConnection.performEditorAction(actionCode)); in testDefaultMethods() 89 assertFalse(mConnection.performContextMenuAction(actionId)); in testDefaultMethods() 90 assertFalse(mConnection.performPrivateCommand(action, new Bundle())); in testDefaultMethods() 125 final Editable text = mConnection.getEditable(); in testOpTextMethods() [all …]
|
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | ExternalServiceTest.java | 42 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/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/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/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 74 private Connection mConnection; field in LauncherAppsTests 93 mConnection = new Connection(); in setUp() 94 mInstrumentation.getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setUp() 95 mConnection.waitForService(); in setUp()
|
/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/tests/tests/os/src/android/os/cts/ |
D | MessengerTest.java | 100 private ServiceConnection mConnection = new ServiceConnection() { field in MessengerTest 118 getContext().bindService(new Intent(mContext, MessengerService.class), mConnection, in setUp() 130 getContext().unbindService(mConnection); in tearDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 120 protected final ServiceConnection mConnection = new ServiceConnection() { field in ProjectionOffscreenActivity 174 bindService(new Intent(this, ProjectionService.class), mConnection, in onCreate()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 1013 private DefaultHttpServerConnection mConnection; field in CtsTestServer.ServerThread.HandleResponseTask 1021 this.mConnection = connection; in HandleResponseTask() 1030 mConnection.sendResponseHeader(response); in run() 1031 mConnection.sendResponseEntity(response); in run() 1032 mConnection.close(); in run()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayWithCompositionTest.java | 1280 private final ServiceConnection mConnection = new ServiceConnection() { field in EncodeVirtualDisplayWithCompositionTest.RemoteVirtualDisplayPresentation 1304 mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connect() 1311 mContext.unbindService(mConnection); in disconnect()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 8116 private final android.content.ServiceConnection mConnection 16103 private android.content.ServiceConnection mConnection 46376 android.net.http.Connection mConnection 46956 android.net.http.Connection mConnection 47101 private android.net.http.Connection mConnection
|