| /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 | BackgroundCallAudioTest.java | 85 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 …]
|
| D | ConnectionServiceTest.java | 86 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 349 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalNotInContacts() local 398 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalInContacts() local 460 final MockConnection connection = verifyConnectionForIncomingCall(); in testCallLogForBlockedNumberIncomingCall() local
|
| 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 | ExtendedInCallServiceTest.java | 87 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() local 118 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() local 178 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() local 211 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() local 238 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() local 259 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() local 281 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() local 303 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() local 421 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected() local 490 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchCallEndpoint() local [all …]
|
| D | WiredHeadsetTest.java | 54 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
|
| D | HandoverTest.java | 159 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testOutgoingHandoverRequestValid() local 201 SelfManagedConnection connection = TestUtils.waitForAndGetConnection( in testIncomingHandoverRequestValid() local 225 Connection connection = verifyConnectionForOutgoingCall(); in startSourceCall() local 236 private void completeHandoverAndVerify(final Call call, SelfManagedConnection connection) { in completeHandoverAndVerify()
|
| D | AccessibilitySystemActionTest.java | 41 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCall_headsetHookAction_acceptsCall() local 57 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCall_headsetHookAction_hangupCall() local
|
| D | BaseRemoteTelecomTest.java | 130 … 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()
|
| D | VideoCallTest.java | 67 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 …]
|
| D | SelfManagedConnectionServiceTest.java | 402 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in addAndVerifyIncomingCall() local 438 Connection connection = verifyConnectionForIncomingCall(); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld() local 480 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_2); in testOutgoingCallRejectedByRemoteParty() local 515 SelfManagedConnection connection = null; in testSelfManagedCallMuteAndUnmute() local 566 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_2); in testVideoCallStateDowngradeToAudio() local 675 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(address); in placeAndVerifyOutgoingCall() local 720 SelfManagedConnection connection = null; in testAudioModeRemainsVoip() local 991 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testAudioRoute() local 1050 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testIncomingWhileOngoingWithinLimit() local 1078 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testSelfManagedConnectionServiceGainedFocus() local [all …]
|
| D | MockConnectionService.java | 82 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()
|
| D | SelfManagedConnectionTest.java | 231 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportNonUiInCallService() local 258 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testBindToSupportDefaultDialerNoCarMode() local 285 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testNoBindToUnsupportDefaultDialerNoCarMode() local 303 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testEnterCarMode() local 505 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testSwapInCallServicesForSelfManagedCSCall() local 610 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testChangeCarModeApp() local 640 SelfManagedConnection connection = placeAndVerifySelfManagedCall(); in testExitCarMode() local
|
| D | EmergencyCallOnSimCallManagerTest.java | 139 final MockConnection connection = verifyConnectionForOutgoingCall(); in testQueryLocationForEmergencyTryNormalCall() local 194 Connection connection = placeAndVerifyEmergencyCall(true /*supportsHold*/); in testQueryLocationForEmergencyReturnLocation() local 255 Connection connection = placeAndVerifyEmergencyCall(true /*supportsHold*/); in testQueryLocationForEmergencyReturnTimeoutException() local
|
| D | IncomingCallTest.java | 320 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForAudioCall() local 348 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() local 376 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo() local
|
| /cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
| D | BaseInputConnectionTest.java | 71 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testDefaultMethods() local 123 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testOpTextMethods() local 168 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testFinishComposingText() local 189 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testReportFullscreenMode() local 398 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testCloseConnection() local 415 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testGetHandler() local 423 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testCommitContent() local 436 final BaseInputConnection connection = InputConnectionTestUtils.createBaseInputConnection(); in testGetSelectedText_wrongSelection() local 450 final BaseInputConnection connection = in testGetSurroundingText_hasTextBeforeSelection() local 480 final BaseInputConnection connection = in testGetSurroundingText_hasTextAfterSelection() local [all …]
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
| D | CtsConnection.java | 49 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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
| D | TestConnectionService.java | 40 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/ |
| D | UsbDeviceTestActivity.java | 217 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/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
| D | BroadcastsTest.java | 50 final TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testExplicitManifestBroadcast() local 82 final TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testImplicitManifestBroadcast() local
|
| D | BroadcastFreezerTest.java | 76 TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testBroadcastOptions_appFreezingDelayed() local 130 TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testBroadcastDelivery_syncTxnWhileFrozen() 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/security/src/android/security/cts/ |
| D | AttributionSourceTest.java | 67 AttributionSourceService.AttributionSourceServiceConnection connection = in testOutsideTransaction() local 84 AttributionSourceService.AttributionSourceServiceConnection connection = in testInsideTransaction() local
|
| /cts/tests/tests/app.usage/src/android/app/usage/cts/ |
| D | BroadcastResponseStatsTest.java | 242 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_broadcastDispatchedCount() local 314 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationPostedCount() local 393 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationUpdatedCount() local 475 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationCancelledCount() local 556 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_multipleEvents() local 698 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_clearCounts() local 800 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_changeResponseWindowDuration() local 891 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_appNotInForeground() local 1484 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_mediaNotification() local 1535 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_broadcastSession() local [all …]
|
| /cts/tests/tests/telecom3/src/android/telecom/cts/ |
| D | SelfManagedAwareInCallServiceTest.java | 131 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
|