Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 71) 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.java85 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllow() local
111 final MockConnection connection = verifyConnectionForIncomingCall(); in testHoldAfterAudioProcessingFromCallScreening() local
142 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningDisallow() local
170 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningMissed() local
196 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() local
235 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() local
280 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() local
320 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCall() local
341 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCallMissed() local
362 Connection connection = placeActiveOutgoingCall(); in testAudioProcessActiveCallRemoteHangup() local
[all …]
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()
DConnectionServiceTest.java86 final MockConnection connection = new MockConnection(); in testAddExistingConnection() local
109 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() local
134 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() local
154 MockConnection connection = verifyConnectionForOutgoingCall(); in testVoipAudioModePropagation() local
270 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addIncomingSelfManagedCall() local
290 final MockConnection connection = new MockConnection(); in testCallDirectionIncoming() local
350 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalNotInContacts() local
399 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalInContacts() local
462 final MockConnection connection = verifyConnectionForIncomingCall(); in testCallLogForBlockedNumberIncomingCall() local
DExtendedInCallServiceTest.java89 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local
120 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local
180 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local
213 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local
240 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local
261 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local
283 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() local
305 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() local
428 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local
497 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchCallEndpoint() local
[all …]
DWiredHeadsetTest.java54 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallShortPress_acceptsCall() local
71 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallLongPress_rejectsCall() local
88 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallLongPress_togglesMute() local
110 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallShortPress_hangupCall() local
DHandoverTest.java161 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testOutgoingHandoverRequestValid() local
204 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testIncomingHandoverRequestValid() local
228 Connection connection = verifyConnectionForOutgoingCall(); in startSourceCall() local
239 private void completeHandoverAndVerify(final Call call, SelfManagedConnection connection) { in completeHandoverAndVerify()
DAccessibilitySystemActionTest.java41 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCall_headsetHookAction_acceptsCall() local
57 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCall_headsetHookAction_hangupCall() local
DMockConnectionService.java83 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() local
120 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() local
163 final MockConnection connection = new MockConnection(); in onCreateIncomingConnectionFailed() local
193 final Connection connection = onCreateOutgoingConnection(connectionManagerPhoneAccount, in onCreateOutgoingConference() local
216 final Connection connection = onCreateIncomingConnection(connectionManagerPhoneAccount, in onCreateIncomingConference() local
237 public void onCreateConnectionComplete(Connection connection) { in onCreateConnectionComplete()
247 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
DSelfManagedConnectionServiceTest.java386 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addAndVerifyIncomingCall() local
422 Connection connection = verifyConnectionForIncomingCall(); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld() local
464 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_2); in testOutgoingCallRejectedByRemoteParty() local
499 SelfManagedConnection connection = null; in testSelfManagedCallMuteAndUnmute() local
550 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_2); in testVideoCallStateDowngradeToAudio() local
659 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in placeAndVerifyOutgoingCall() local
704 SelfManagedConnection connection = null; in testAudioModeRemainsVoip() local
801 SelfManagedConnection connection = null; in testSelfManagedAndSimBasedCallHoldFailure() local
1038 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local
1097 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoingWithinLimit() local
[all …]
DBaseRemoteTelecomTest.java130 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCallOnRemoteCS() local
153 … MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCallOnRemoteCS() local
165 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS() local
204 void assertRemoteConnectionState(final RemoteConnection connection, final int state) { in assertRemoteConnectionState()
DVideoCallTest.java67 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMakeTwoWayVideoCall() local
107 Connection connection = verifyConnectionForOutgoingCall(); in testUpgradeToVideo() local
132 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyRequest() local
161 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSendSessionModifyResponse() local
186 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyResponse() local
242 final MockConnection connection = verifyConnectionForOutgoingCall(); in testVideoCallDelayProvider() local
348 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveVideoQuality() local
384 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveCallSessionEvent() local
470 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange() local
495 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation() local
[all …]
DSelfManagedConnectionTest.java232 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportNonUiInCallService() local
259 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportDefaultDialerNoCarMode() local
286 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testNoBindToUnsupportDefaultDialerNoCarMode() local
308 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testEnterCarMode() local
510 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testSwapInCallServicesForSelfManagedCSCall() local
618 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testChangeCarModeApp() local
652 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testExitCarMode() local
DEmergencyCallOnSimCallManagerTest.java140 final MockConnection connection = verifyConnectionForOutgoingCall(); in testQueryLocationForEmergencyTryNormalCall() local
195 Connection connection = placeAndVerifyEmergencyCall(true /*supportsHold*/); in testQueryLocationForEmergencyReturnLocation() local
256 Connection connection = placeAndVerifyEmergencyCall(true /*supportsHold*/); in testQueryLocationForEmergencyReturnTimeoutException() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java73 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testDefaultMethods() local
125 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testOpTextMethods() local
170 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testFinishComposingText() local
191 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testReportFullscreenMode() local
400 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testCloseConnection() local
417 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testGetHandler() local
425 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testCommitContent() local
438 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testGetSelectedText_wrongSelection() local
452 final BaseInputConnection connection = in testGetSurroundingText_hasTextBeforeSelection() local
482 final BaseInputConnection connection = in testGetSurroundingText_hasTextAfterSelection() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java49 void onDestroyed(CtsConnection connection) { }; in onDestroyed()
50 void onDisconnect(CtsConnection connection) { }; in onDisconnect()
51 void onHold(CtsConnection connection) { }; in onHold()
52 void onUnhold(CtsConnection connection) { }; in onUnhold()
53 void onAnswer(CtsConnection connection, int videoState) { }; in onAnswer()
54 void onReject(CtsConnection connection) { }; in onReject()
55 void onShowIncomingCallUi(CtsConnection connection) { }; in onShowIncomingCallUi()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java217 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) { in makeThisDeviceAnAccessory()
239 private void nextTest(@NonNull UsbDeviceConnection connection, @NonNull UsbEndpoint in, in nextTest()
282 private void receiveZeroSizedTransfer(@NonNull UsbDeviceConnection connection, in receiveZeroSizedTransfer()
297 private void echoBulkTransfer(@NonNull UsbDeviceConnection connection, in echoBulkTransfer()
326 private void echoBulkTransferOffset(@NonNull UsbDeviceConnection connection, in echoBulkTransferOffset()
359 private void echoLargeBulkTransfer(@NonNull UsbDeviceConnection connection, in echoLargeBulkTransfer()
398 private void receiveWithEmptyBuffer(@NonNull UsbDeviceConnection connection, in receiveWithEmptyBuffer()
427 private void ctrlTransferTests(@NonNull UsbDeviceConnection connection) throws Throwable { in ctrlTransferTests()
473 private void receiveZeroSizeRequestLegacy(@NonNull UsbDeviceConnection connection, in receiveZeroSizeRequestLegacy()
500 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/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastsTest.java50 final TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testExplicitManifestBroadcast() local
82 final TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testImplicitManifestBroadcast() local
DBroadcastFreezerTest.java79 TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testBroadcastOptions_appFreezingDelayed() local
136 TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testBroadcastDelivery_syncTxnWhileFrozen() 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/telecom-apps/Utils/src/android/telecom/cts/apps/
DWaitUntil.java102 Connection connection) { in waitUntilIdIsSet()
135 Connection connection) { in waitUntilCallAudioStateIsSet()
170 Connection connection) { in waitUntilAvailableEndpointsIsSet()
231 private static String extractTelecomId(Connection connection) { in extractTelecomId()
/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/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
DBroadcastResponseStatsTest.java256 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_broadcastDispatchedCount() local
327 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationPostedCount() local
405 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationUpdatedCount() local
486 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationCancelledCount() local
566 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_multipleEvents() local
707 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_clearCounts() local
808 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_changeResponseWindowDuration() local
898 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_appNotInForeground() local
1485 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_mediaNotification() local
1535 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_broadcastSession() local
[all …]
/cts/tests/tests/security/src/android/security/cts/
DAttributionSourceTest.java75 AttributionSourceService.AttributionSourceServiceConnection connection = in testOutsideTransaction() local
92 AttributionSourceService.AttributionSourceServiceConnection connection = in testInsideTransaction() local

123