/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 | 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 | 71 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local 98 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local 152 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local 185 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local 212 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local 233 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local 335 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local 359 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() local 382 final MockConnection connection = verifyConnectionForIncomingCall(); in testRejectIncomingCall() local 404 final MockConnection connection = verifyConnectionForIncomingCall(); in testRejectIncomingCallWithMessage() local [all …]
|
D | SelfManagedConnectionServiceTest.java | 209 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAddSelfManagedIncomingConnection() local 236 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAddSelfManagedOutgoingConnection() local 259 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local 296 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testDisallowOutgoingCall() local 322 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoing() local 351 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in testCallLimit() local 408 private void setActiveAndVerify(SelfManagedConnection connection) throws Exception { in setActiveAndVerify() 423 private void setDisconnectedAndVerify(SelfManagedConnection connection) { in setDisconnectedAndVerify()
|
D | ConnectionServiceTest.java | 52 final MockConnection connection = new MockConnection(); in testAddExistingConnection() local 70 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() local 94 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() local
|
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 | MockConnectionService.java | 56 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() local 77 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() local 113 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded()
|
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 | BaseTelecomTestWithMockServices.java | 362 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() local 383 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() local 388 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall() 396 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection() local 606 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState() 663 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute() 682 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState() 736 void assertDtmfString(final MockConnection connection, final String dtmfString) { in assertDtmfString() 788 void assertConnectionCallDisplayName(final Connection connection, final String name) { in assertConnectionCallDisplayName() 806 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 | SelfManagedConnection.java | 37 void onDestroyed(SelfManagedConnection connection) { }; in onDestroyed()
|
D | MockConference.java | 66 public void onSeparate(Connection connection) { in onSeparate()
|
D | CtsSelfManagedConnectionService.java | 124 SelfManagedConnection connection = new SelfManagedConnection(isIncoming, in createSelfManagedConnection() local
|
/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 | CtsConnectionService.java | 135 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createManagedConnection() local
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DummyConnectionService.java | 37 final DummyConnection connection = new DummyConnection(); in onCreateOutgoingConnection() local 47 final DummyConnection connection = new DummyConnection(); in onCreateIncomingConnection() local 61 public void onRemoteExistingConnectionAdded(RemoteConnection connection) { in onRemoteExistingConnectionAdded() 119 private static void hangUpAsync(final Connection connection) { in hangUpAsync()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 215 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 echoOversizedBulkTransfer(@NonNull UsbDeviceConnection connection, in echoOversizedBulkTransfer() 395 private void receiveOversizedBulkTransfer(@NonNull UsbDeviceConnection connection, in receiveOversizedBulkTransfer() 425 private void receiveWithEmptyBuffer(@NonNull UsbDeviceConnection connection, in receiveWithEmptyBuffer() 454 private void ctrlTransferTests(@NonNull UsbDeviceConnection connection) throws Throwable { in ctrlTransferTests() 500 private void receiveZeroSizeRequestLegacy(@NonNull UsbDeviceConnection connection, in receiveZeroSizeRequestLegacy() [all …]
|
/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/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 384 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local 399 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal() local 559 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed08() local 588 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed09() local 817 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local 844 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral() local
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodManagerTest.java | 87 BaseInputConnection connection = new BaseInputConnection(view, false); in testInputMethodManager() 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/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 130 final Connection connection = new DummyConnection(); in onCreateIncomingConnection() local
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | MultipartForm.java | 93 HttpURLConnection connection = null; in submitForm() local
|