Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 37) 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.java75 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllow() local
101 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningDisallow() local
129 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningMissed() local
155 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() local
194 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() local
238 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() local
277 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCall() local
298 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCallMissed() local
319 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCallRemoteHangup() local
344 Connection connection = placeActiveOutgoingCall(); in testAudioProcessOutgoingActiveEmergencyCallPlaced() local
[all …]
DConnectionServiceTest.java67 final MockConnection connection = new MockConnection(); in testAddExistingConnection() local
90 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() local
115 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() local
135 MockConnection connection = verifyConnectionForOutgoingCall(); in testVoipAudioModePropagation() local
247 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addIncomingSelfManagedCall() local
267 final MockConnection connection = new MockConnection(); in testCallDirectionIncoming() local
296 final MockConnection connection = new MockConnection(); in testCallDirectionOutgoing() 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()
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.java73 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local
100 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local
160 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local
193 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local
220 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local
241 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local
263 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() local
285 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() local
393 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local
421 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() local
[all …]
DSelfManagedConnectionServiceTest.java243 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addAndVerifyIncomingCall() local
274 Connection connection = verifyConnectionForIncomingCall(); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld() local
379 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in placeAndVerifyOutgoingCall() local
418 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local
479 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoingWithinLimit() local
508 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceGainedFocus() local
531 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceLostFocus() local
560 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testRingCallLimitForOnePhoneAccount() local
591 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testCallLimit() local
627 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testDisconnectSelfManagedCallForEmergency() local
[all …]
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()
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.java81 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() local
112 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() local
154 final MockConnection connection = new MockConnection(); in onCreateIncomingConnectionFailed() local
183 final Connection connection = onCreateOutgoingConnection(connectionManagerPhoneAccount, in onCreateOutgoingConference() local
206 final Connection connection = onCreateIncomingConnection(connectionManagerPhoneAccount, in onCreateIncomingConference() local
227 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
DHandoverTest.java147 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testOutgoingHandoverRequestValid() local
189 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testIncomingHandoverRequestValid() local
220 private void completeHandoverAndVerify(final Call call, SelfManagedConnection connection) { in completeHandoverAndVerify()
DMissedCallTest.java62 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer() local
DBaseTelecomTestWithMockServices.java630 Connection connection = verifyConnectionForOutgoingCall(TEST_EMERGENCY_URI); in placeAndVerifyEmergencyCall() local
661 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() local
677 Connection connection = getConnection(address); in verifyConnectionForOutgoingCall() local
705 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() local
710 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall()
723 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection() local
1113 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState()
1170 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute()
1189 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState()
1243 void assertDtmfString(final MockConnection connection, final String dtmfString) { in assertDtmfString()
[all …]
DCtsConnectionService.java178 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
193 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()
DCtsSelfManagedConnectionService.java94 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createConnection() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java211 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) { in makeThisDeviceAnAccessory()
233 private void nextTest(@NonNull UsbDeviceConnection connection, @NonNull UsbEndpoint in, in nextTest()
276 private void receiveZeroSizedTransfer(@NonNull UsbDeviceConnection connection, in receiveZeroSizedTransfer()
291 private void echoBulkTransfer(@NonNull UsbDeviceConnection connection, in echoBulkTransfer()
320 private void echoBulkTransferOffset(@NonNull UsbDeviceConnection connection, in echoBulkTransferOffset()
353 private void echoLargeBulkTransfer(@NonNull UsbDeviceConnection connection, in echoLargeBulkTransfer()
392 private void receiveWithEmptyBuffer(@NonNull UsbDeviceConnection connection, in receiveWithEmptyBuffer()
421 private void ctrlTransferTests(@NonNull UsbDeviceConnection connection) throws Throwable { in ctrlTransferTests()
467 private void receiveZeroSizeRequestLegacy(@NonNull UsbDeviceConnection connection, in receiveZeroSizeRequestLegacy()
494 private void echoUsbRequestLegacy(@NonNull UsbDeviceConnection connection, in echoUsbRequestLegacy()
[all …]
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDummyConnectionService.java40 final DummyConnection connection = new DummyConnection(); in onCreateOutgoingConnection() local
50 final DummyConnection connection = new DummyConnection(); 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.java61 final BaseInputConnection connection = createBaseInputConnection(); in testDefaultMethods() local
113 final BaseInputConnection connection = createBaseInputConnection(); in testOpTextMethods() local
158 final BaseInputConnection connection = createBaseInputConnection(); in testFinishComposingText() local
179 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.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/tests/app/app/src/android/app/stubs/
DCommandReceiver.java97 ServiceConnection connection = addServiceConnection(targetPackage); in doBindService() local
103 ServiceConnection connection = sServiceMap.remove(targetPackage); in doUnbindService() local
157 ServiceConnection connection = new ServiceConnection() { in addServiceConnection() 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/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java460 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local
475 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local
641 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed08() local
670 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed09() local
952 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local
979 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusStealer.java106 final ServiceConnection connection = new ServiceConnection() { in connect() local

12