Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 48) 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 …]
DBackgroundCallAudioTest.java84 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllow() local
110 final MockConnection connection = verifyConnectionForIncomingCall(); in testHoldAfterAudioProcessingFromCallScreening() local
141 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningDisallow() local
169 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningMissed() local
195 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() local
234 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() local
278 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() local
317 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCall() local
338 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCallMissed() local
359 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCallRemoteHangup() local
[all …]
DConnectionServiceTest.java70 final MockConnection connection = new MockConnection(); in testAddExistingConnection() local
93 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() local
118 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() local
138 MockConnection connection = verifyConnectionForOutgoingCall(); in testVoipAudioModePropagation() local
254 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addIncomingSelfManagedCall() local
274 final MockConnection connection = new MockConnection(); in testCallDirectionIncoming() local
333 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalNotInContacts() local
382 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalInContacts() local
DRttOperationsTest.java63 final MockConnection connection = verifyConnectionForOutgoingCall(); in testOutgoingRttCall() local
77 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingRttCall() local
90 final MockConnection connection = verifyConnectionForOutgoingCall(); in testLocalRttUpgradeAccepted() local
114 final MockConnection connection = verifyConnectionForOutgoingCall(); in testLocalRttUpgradeRejected() local
138 final MockConnection connection = verifyConnectionForOutgoingCall(); in testAcceptRemoteRttUpgrade() local
161 final MockConnection connection = verifyConnectionForOutgoingCall(); in testRejectRemoteRttRequest() local
185 final MockConnection connection = verifyConnectionForOutgoingCall(); in testLocalRttTermination() local
206 final MockConnection connection = verifyConnectionForOutgoingCall(); in testRemoteRttTermination() local
228 private void verifyRttEnabled(Call call, MockConnection connection) { in verifyRttEnabled()
DExtendedInCallServiceTest.java76 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local
103 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local
163 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local
196 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local
223 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local
244 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local
266 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() local
288 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() local
402 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local
483 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() 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
DSelfManagedConnectionServiceTest.java244 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addAndVerifyIncomingCall() local
275 Connection connection = verifyConnectionForIncomingCall(); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld() local
380 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in placeAndVerifyOutgoingCall() local
419 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local
480 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoingWithinLimit() local
509 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceGainedFocus() local
532 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceLostFocus() local
562 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testRingCallLimitForOnePhoneAccount() local
593 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testCallLimit() local
629 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testDisconnectSelfManagedCallForEmergency() local
[all …]
DHandoverTest.java148 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testOutgoingHandoverRequestValid() local
190 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testIncomingHandoverRequestValid() local
214 Connection connection = verifyConnectionForOutgoingCall(); in startSourceCall() local
225 private void completeHandoverAndVerify(final Call call, SelfManagedConnection connection) { in completeHandoverAndVerify()
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
197 void assertRemoteConnectionState(final RemoteConnection connection, final int state) { in assertRemoteConnectionState()
DVideoCallTest.java66 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMakeTwoWayVideoCall() local
106 Connection connection = verifyConnectionForOutgoingCall(); in testUpgradeToVideo() local
131 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyRequest() local
160 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSendSessionModifyResponse() local
185 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyResponse() local
241 final MockConnection connection = verifyConnectionForOutgoingCall(); in testVideoCallDelayProvider() local
347 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveVideoQuality() local
383 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveCallSessionEvent() local
469 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange() local
494 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation() local
[all …]
DSelfManagedConnectionTest.java170 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportNonUiInCallService() local
194 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportDefaultDialerNoCarMode() local
221 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testNoBindToUnsupportDefaultDialerNoCarMode() local
239 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testEnterCarMode() local
271 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testChangeCarModeApp() local
301 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testExitCarMode() local
DMockConnectionService.java82 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() local
114 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() local
157 final MockConnection connection = new MockConnection(); in onCreateIncomingConnectionFailed() local
187 final Connection connection = onCreateOutgoingConnection(connectionManagerPhoneAccount, in onCreateOutgoingConference() local
210 final Connection connection = onCreateIncomingConnection(connectionManagerPhoneAccount, in onCreateIncomingConference() local
231 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
DIncomingCallTest.java288 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForAudioCall() local
316 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() local
344 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo() local
DMissedCallTest.java65 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer() local
DBaseTelecomTestWithMockServices.java764 Connection connection = verifyConnectionForOutgoingCall(TEST_EMERGENCY_URI); in placeAndVerifyEmergencyCall() local
795 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() local
824 Connection connection = getConnection(address); in verifyConnectionForOutgoingCall() local
851 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() local
868 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall()
881 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection() local
1274 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState()
1331 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute()
1350 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState()
1405 void assertDtmfString(final MockConnection connection, final String dtmfString) { in assertDtmfString()
[all …]
DCtsConnectionService.java199 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
222 PhoneAccountHandle phoneAccountHandle, Connection connection) { in addExistingConnectionToTelecom()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java44 void onDestroyed(CtsConnection connection) { }; in onDestroyed()
45 void onDisconnect(CtsConnection connection) { }; in onDisconnect()
46 void onHold(CtsConnection connection) { }; in onHold()
47 void onUnhold(CtsConnection connection) { }; in onUnhold()
48 void onAnswer(CtsConnection connection, int videoState) { }; in onAnswer()
49 void onReject(CtsConnection connection) { }; in onReject()
50 void onShowIncomingCallUi(CtsConnection connection) { }; in onShowIncomingCallUi()
/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 echoLargeBulkTransfer(@NonNull UsbDeviceConnection connection, in echoLargeBulkTransfer()
396 private void receiveWithEmptyBuffer(@NonNull UsbDeviceConnection connection, in receiveWithEmptyBuffer()
425 private void ctrlTransferTests(@NonNull UsbDeviceConnection connection) throws Throwable { in ctrlTransferTests()
471 private void receiveZeroSizeRequestLegacy(@NonNull UsbDeviceConnection connection, in receiveZeroSizeRequestLegacy()
498 private void echoUsbRequestLegacy(@NonNull UsbDeviceConnection connection, in echoUsbRequestLegacy()
[all …]
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTestConnectionService.java40 final TestConnection connection = new TestConnection(); in onCreateOutgoingConnection() local
50 final TestConnection connection = new TestConnection(); in onCreateIncomingConnection() local
64 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
132 private static void hangUpAsync(final Connection connection) { in hangUpAsync()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java64 final BaseInputConnection connection = createBaseInputConnection(); in testDefaultMethods() local
116 final BaseInputConnection connection = createBaseInputConnection(); in testOpTextMethods() local
161 final BaseInputConnection connection = createBaseInputConnection(); in testFinishComposingText() local
182 final BaseInputConnection connection = createBaseInputConnection(); in testReportFullscreenMode() local
/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.java131 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testInCallServiceOutgoing() local
155 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testInCallServiceIncoming() local
178 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedSignalling() 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/common/device-side/bedstead/remotedpc/src/library/main/java/com/android/bedstead/remotedpc/connected/
DRemoteDPCBinder.java53 ServiceConnection connection, in tryBind()
/cts/common/device-side/bedstead/testapp/src/main/library/java/com/android/bedstead/testapp/
DTestAppBinder.java52 ServiceConnection connection, in tryBind()

12