Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java45 Connection connection = createConnection(lock); in testStateCallbacks() local
96 Connection connection = Connection.createFailedConnection( in testFailedState() local
115 Connection connection = Connection.createCanceledConnection(); in testCanceledState() local
132 Connection connection = createConnection(lock); in testSetAndGetCallerDisplayName() local
147 Connection connection = createConnection(lock); in testSetAndGetAddress() local
162 Connection connection = createConnection(lock); in testSetAndGetConnectionCapabilities() local
179 Connection connection = createConnection(lock); in testSetAndGetConnectionProperties() local
195 Connection connection = createConnection(lock); in testSetAndGetDisconnectCause() local
214 Connection connection = createConnection(lock); in testSetAndGetAudioModeIsVoip() local
228 Connection connection = createConnection(lock); in testSetAndGetExtras() local
[all …]
DWiredHeadsetTest.java44 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallShortPress_acceptsCall() local
61 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallLongPress_rejectsCall() local
78 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallLongPress_togglesMute() local
100 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallShortPress_hangupCall() local
DExtendedInCallServiceTest.java71 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local
98 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local
152 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local
185 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local
212 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local
233 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local
335 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local
359 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() local
382 final MockConnection connection = verifyConnectionForIncomingCall(); in testRejectIncomingCall() local
404 final MockConnection connection = verifyConnectionForIncomingCall(); in testRejectIncomingCallWithMessage() local
[all …]
DSelfManagedConnectionServiceTest.java209 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAddSelfManagedIncomingConnection() local
236 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAddSelfManagedOutgoingConnection() local
259 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local
296 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testDisallowOutgoingCall() local
322 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoing() local
351 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testCallLimit() local
408 private void setActiveAndVerify(SelfManagedConnection connection) throws Exception { in setActiveAndVerify()
423 private void setDisconnectedAndVerify(SelfManagedConnection connection) { in setDisconnectedAndVerify()
DConnectionServiceTest.java52 final MockConnection connection = new MockConnection(); in testAddExistingConnection() local
70 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() local
94 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() local
DBaseRemoteTelecomTest.java123 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCallOnRemoteCS() local
146 … MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCallOnRemoteCS() local
158 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS() local
185 void assertRemoteConnectionState(final RemoteConnection connection, final int state) { in assertRemoteConnectionState()
DMockConnectionService.java56 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() local
77 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() local
113 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
DVideoCallTest.java66 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMakeTwoWayVideoCall() local
130 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyRequest() local
159 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSendSessionModifyResponse() local
184 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyResponse() local
240 final MockConnection connection = verifyConnectionForOutgoingCall(); in testVideoCallDelayProvider() local
346 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveVideoQuality() local
382 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveCallSessionEvent() local
468 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange() local
493 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation() local
515 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetPreviewSurface() local
[all …]
DBaseTelecomTestWithMockServices.java362 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() local
383 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() local
388 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall()
396 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection() local
606 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState()
663 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute()
682 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState()
736 void assertDtmfString(final MockConnection connection, final String dtmfString) { in assertDtmfString()
788 void assertConnectionCallDisplayName(final Connection connection, final String name) { in assertConnectionCallDisplayName()
806 void assertDisconnectReason(final Connection connection, final String disconnectReason) { in assertDisconnectReason()
DMissedCallTest.java62 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer() local
DCtsConnectionService.java121 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
136 PhoneAccountHandle phoneAccountHandle, Connection connection) { in addExistingConnectionToTelecom()
DSelfManagedConnection.java37 void onDestroyed(SelfManagedConnection connection) { }; in onDestroyed()
DMockConference.java66 public void onSeparate(Connection connection) { in onSeparate()
DCtsSelfManagedConnectionService.java124 SelfManagedConnection connection = new SelfManagedConnection(isIncoming, in createSelfManagedConnection() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java42 void onDestroyed(CtsConnection connection) { }; in onDestroyed()
43 void onDisconnect(CtsConnection connection) { }; in onDisconnect()
44 void onHold(CtsConnection connection) { }; in onHold()
45 void onUnhold(CtsConnection connection) { }; in onUnhold()
46 void onAnswer(CtsConnection connection, int videoState) { }; in onAnswer()
47 void onReject(CtsConnection connection) { }; in onReject()
48 void onShowIncomingCallUi(CtsConnection connection) { }; in onShowIncomingCallUi()
DCtsConnectionService.java135 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createManagedConnection() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDummyConnectionService.java37 final DummyConnection connection = new DummyConnection(); in onCreateOutgoingConnection() local
47 final DummyConnection connection = new DummyConnection(); in onCreateIncomingConnection() local
61 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
119 private static void hangUpAsync(final Connection connection) { in hangUpAsync()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java215 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) { in makeThisDeviceAnAccessory()
237 private void nextTest(@NonNull UsbDeviceConnection connection, @NonNull UsbEndpoint in, in nextTest()
280 private void receiveZeroSizedTransfer(@NonNull UsbDeviceConnection connection, in receiveZeroSizedTransfer()
295 private void echoBulkTransfer(@NonNull UsbDeviceConnection connection, in echoBulkTransfer()
324 private void echoBulkTransferOffset(@NonNull UsbDeviceConnection connection, in echoBulkTransferOffset()
357 private void echoOversizedBulkTransfer(@NonNull UsbDeviceConnection connection, in echoOversizedBulkTransfer()
395 private void receiveOversizedBulkTransfer(@NonNull UsbDeviceConnection connection, in receiveOversizedBulkTransfer()
425 private void receiveWithEmptyBuffer(@NonNull UsbDeviceConnection connection, in receiveWithEmptyBuffer()
454 private void ctrlTransferTests(@NonNull UsbDeviceConnection connection) throws Throwable { in ctrlTransferTests()
500 private void receiveZeroSizeRequestLegacy(@NonNull UsbDeviceConnection connection, in receiveZeroSizeRequestLegacy()
[all …]
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java120 UsbDeviceConnection connection = mUsbManager.openDevice(mDevice); in runTest() local
270 UsbDeviceConnection connection = mUsbManager.openDevice(device); in onDeviceAccessPermitted() local
288 @NonNull private String nextTest(@NonNull UsbDeviceConnection connection, in nextTest()
342 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) { in makeThisDeviceAnAccessory()
/cts/tests/tests/telecom3/src/android/telecom/cts/
DSelfManagedAwareInCallServiceTest.java122 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testInCallServiceOutgoing() local
146 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testInCallServiceIncoming() local
169 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedSignalling() local
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java384 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local
399 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local
559 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed08() local
588 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed09() local
817 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local
844 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodManagerTest.java87 BaseInputConnection connection = new BaseInputConnection(view, false); in testInputMethodManager() local
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java110 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionFails() local
121 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in assertUrlConnectionSucceeds() local
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DCallBlockingTest.java130 final Connection connection = new DummyConnection(); in onCreateIncomingConnection() local
/cts/common/util/src/com/android/compatibility/common/util/
DMultipartForm.java93 HttpURLConnection connection = null; in submitForm() local

12