Home
last modified time | relevance | path

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

123

/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.java77 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local
104 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local
164 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local
197 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local
224 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local
245 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local
267 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() local
289 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() local
406 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local
487 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() local
[all …]
DWiredHeadsetTest.java43 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallShortPress_acceptsCall() local
60 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallLongPress_rejectsCall() local
77 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallLongPress_togglesMute() local
99 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallShortPress_hangupCall() local
DSelfManagedConnectionServiceTest.java273 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addAndVerifyIncomingCall() local
304 Connection connection = verifyConnectionForIncomingCall(); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld() local
409 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in placeAndVerifyOutgoingCall() local
448 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local
509 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoingWithinLimit() local
538 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceGainedFocus() local
561 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceLostFocus() local
591 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testRingCallLimitForOnePhoneAccount() local
622 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testCallLimit() local
658 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 …]
DMockConnectionService.java82 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() local
119 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() local
162 final MockConnection connection = new MockConnection(); in onCreateIncomingConnectionFailed() local
192 final Connection connection = onCreateOutgoingConnection(connectionManagerPhoneAccount, in onCreateOutgoingConference() local
215 final Connection connection = onCreateIncomingConnection(connectionManagerPhoneAccount, in onCreateIncomingConference() local
236 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
DSelfManagedConnectionTest.java204 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportNonUiInCallService() local
231 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportDefaultDialerNoCarMode() local
258 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testNoBindToUnsupportDefaultDialerNoCarMode() local
280 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testEnterCarMode() local
353 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testChangeCarModeApp() local
387 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testExitCarMode() local
DIncomingCallTest.java332 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForAudioCall() local
360 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() local
388 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo() local
DMissedCallTest.java65 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer() local
DBaseTelecomTestWithMockServices.java812 Connection connection = verifyConnectionForOutgoingCall(TEST_EMERGENCY_URI); in placeAndVerifyEmergencyCall() local
849 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() local
878 Connection connection = getConnection(address); in verifyConnectionForOutgoingCall() local
920 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() local
937 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall()
950 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection() local
1360 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState()
1417 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute()
1436 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState()
1491 void assertDtmfString(final MockConnection connection, final String dtmfString) { in assertDtmfString()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java46 void onDestroyed(CtsConnection connection) { }; in onDestroyed()
47 void onDisconnect(CtsConnection connection) { }; in onDisconnect()
48 void onHold(CtsConnection connection) { }; in onHold()
49 void onUnhold(CtsConnection connection) { }; in onUnhold()
50 void onAnswer(CtsConnection connection, int videoState) { }; in onAnswer()
51 void onReject(CtsConnection connection) { }; in onReject()
52 void onShowIncomingCallUi(CtsConnection connection) { }; in onShowIncomingCallUi()
/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/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java214 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) { in makeThisDeviceAnAccessory()
236 private void nextTest(@NonNull UsbDeviceConnection connection, @NonNull UsbEndpoint in, in nextTest()
279 private void receiveZeroSizedTransfer(@NonNull UsbDeviceConnection connection, in receiveZeroSizedTransfer()
294 private void echoBulkTransfer(@NonNull UsbDeviceConnection connection, in echoBulkTransfer()
323 private void echoBulkTransferOffset(@NonNull UsbDeviceConnection connection, in echoBulkTransferOffset()
356 private void echoLargeBulkTransfer(@NonNull UsbDeviceConnection connection, in echoLargeBulkTransfer()
395 private void receiveWithEmptyBuffer(@NonNull UsbDeviceConnection connection, in receiveWithEmptyBuffer()
424 private void ctrlTransferTests(@NonNull UsbDeviceConnection connection) throws Throwable { in ctrlTransferTests()
470 private void receiveZeroSizeRequestLegacy(@NonNull UsbDeviceConnection connection, in receiveZeroSizeRequestLegacy()
497 private void echoUsbRequestLegacy(@NonNull UsbDeviceConnection connection, in echoUsbRequestLegacy()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java71 final BaseInputConnection connection = createBaseInputConnection(); in testDefaultMethods() local
123 final BaseInputConnection connection = createBaseInputConnection(); in testOpTextMethods() local
168 final BaseInputConnection connection = createBaseInputConnection(); in testFinishComposingText() local
189 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/app.usage/src/android/app/usage/cts/
DBroadcastResponseStatsTest.java230 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_broadcastDispatchedCount() local
302 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationPostedCount() local
381 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationUpdatedCount() local
463 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationCancelledCount() local
544 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_multipleEvents() local
686 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_clearCounts() local
791 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_changeResponseWindowDuration() local
882 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_appNotInForeground() local
1475 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_mediaNotification() local
1533 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_broadcastSession() local
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityImeTest.java157 final InputMethod.AccessibilityInputConnection connection = in testDefaultImplementation() local
184 InputMethod.AccessibilityInputConnection connection = in testInputConnection_requestIme() local
221 InputMethod.AccessibilityInputConnection connection = in testSelectionChange_requestIme() local
/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/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppBinder.java50 ServiceConnection connection, in tryBind()
/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

123