/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionTest.java | 45 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 …]
|
D | RttOperationsTest.java | 63 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()
|
D | WiredHeadsetTest.java | 44 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
|
D | ExtendedInCallServiceTest.java | 72 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local 99 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local 159 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local 192 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local 219 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local 240 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local 262 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() local 284 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() local 391 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local 415 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() local [all …]
|
D | ConnectionServiceTest.java | 60 final MockConnection connection = new MockConnection(); in testAddExistingConnection() local 78 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() local 102 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() local 121 MockConnection connection = verifyConnectionForOutgoingCall(); in testVoipAudioModePropagation() local 204 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addIncomingSelfManagedCall() local
|
D | SelfManagedConnectionServiceTest.java | 233 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addAndVerifyIncomingCall() local 257 Connection connection = verifyConnectionForIncomingCall(); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld() local 302 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in placeAndVerifyOutgoingCall() local 330 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local 385 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoingWithinLimit() local 408 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceGainedFocus() local 426 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceLostFocus() local 455 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testRingCallLimitForOnePhoneAccount() local 484 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testCallLimit() local 541 private void setActiveAndVerify(SelfManagedConnection connection) throws Exception { in setActiveAndVerify() [all …]
|
D | BaseRemoteTelecomTest.java | 123 … 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()
|
D | VideoCallTest.java | 66 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 …]
|
D | HandoverTest.java | 147 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()
|
D | MockConnectionService.java | 70 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() local 99 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() local 144 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
|
D | BaseTelecomTestWithMockServices.java | 468 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() local 489 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() local 494 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall() 502 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection() local 755 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState() 812 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute() 831 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState() 885 void assertDtmfString(final MockConnection connection, final String dtmfString) { in assertDtmfString() 937 void assertConnectionCallDisplayName(final Connection connection, final String name) { in assertConnectionCallDisplayName() 955 void assertDisconnectReason(final Connection connection, final String disconnectReason) { in assertDisconnectReason()
|
D | MissedCallTest.java | 62 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer() local
|
D | CtsConnectionService.java | 121 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded() 136 PhoneAccountHandle phoneAccountHandle, Connection connection) { in addExistingConnectionToTelecom()
|
D | MockConference.java | 66 public void onSeparate(Connection connection) { in onSeparate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | CtsConnection.java | 42 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()
|
D | CtsSelfManagedConnectionService.java | 94 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createConnection() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 199 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) { in makeThisDeviceAnAccessory() 221 private void nextTest(@NonNull UsbDeviceConnection connection, @NonNull UsbEndpoint in, in nextTest() 264 private void receiveZeroSizedTransfer(@NonNull UsbDeviceConnection connection, in receiveZeroSizedTransfer() 279 private void echoBulkTransfer(@NonNull UsbDeviceConnection connection, in echoBulkTransfer() 308 private void echoBulkTransferOffset(@NonNull UsbDeviceConnection connection, in echoBulkTransferOffset() 341 private void echoLargeBulkTransfer(@NonNull UsbDeviceConnection connection, in echoLargeBulkTransfer() 380 private void receiveWithEmptyBuffer(@NonNull UsbDeviceConnection connection, in receiveWithEmptyBuffer() 409 private void ctrlTransferTests(@NonNull UsbDeviceConnection connection) throws Throwable { in ctrlTransferTests() 455 private void receiveZeroSizeRequestLegacy(@NonNull UsbDeviceConnection connection, in receiveZeroSizeRequestLegacy() 482 private void echoUsbRequestLegacy(@NonNull UsbDeviceConnection connection, in echoUsbRequestLegacy() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DummyConnectionService.java | 40 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/ |
D | BaseInputConnectionTest.java | 60 final BaseInputConnection connection = createBaseInputConnection(); in testDefaultMethods() local 112 final BaseInputConnection connection = createBaseInputConnection(); in testOpTextMethods() local 157 final BaseInputConnection connection = createBaseInputConnection(); in testFinishComposingText() local 178 final BaseInputConnection connection = createBaseInputConnection(); in testReportFullscreenMode() local
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | AccessoryTestCompanion.java | 120 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/ |
D | SelfManagedAwareInCallServiceTest.java | 122 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/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 110 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/ |
D | ClientTest.java | 462 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local 477 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local 643 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed08() local 672 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed09() local 954 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local 981 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusStealer.java | 105 final ServiceConnection connection = new ServiceConnection() { in connect() local
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 130 final Connection connection = new DummyConnection(); in onCreateIncomingConnection() local
|