/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ExtendedInCallServiceTest.java | 64 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAddNewOutgoingCallAndThenDisconnect() 78 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMuteAndUnmutePhone() 105 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSwitchAudioRoutes() 165 final MockInCallService inCallService = mInCallCallbacks.getService(); in testPlayAndStopDtmfTones() 198 final MockInCallService inCallService = mInCallCallbacks.getService(); in testHoldAndUnholdCall() 225 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAudioOnly() 245 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAcceptRingingCall() 267 final MockInCallService inCallService = mInCallCallbacks.getService(); in testEndRingingCall() 289 final MockInCallService inCallService = mInCallCallbacks.getService(); in testEndCall() 318 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAcceptRingingCallTwoCalls() [all …]
|
D | ConnectionServiceTest.java | 74 assertNumCalls(mInCallCallbacks.getService(), 2); in testAddExistingConnection() 76 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection() 103 assertNumCalls(mInCallCallbacks.getService(), 1); in testAddExistingConnection_invalidPhoneAccountPackageName() 105 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection_invalidPhoneAccountPackageName() 126 assertNumCalls(mInCallCallbacks.getService(), 1); in testAddExistingConnection_invalidPhoneAccountAccountId() 128 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection_invalidPhoneAccountAccountId() 200 assertCallState(mInCallCallbacks.getService().getLastCall(), Call.STATE_ACTIVE); in testConnectionServiceFocusGainedWithSameConnectionService() 279 assertNumCalls(mInCallCallbacks.getService(), 2); in testCallDirectionIncoming() 281 final Call call = mInCallCallbacks.getService().getLastCall(); in testCallDirectionIncoming() 408 getService().respondToCall(callDetails, response); in createCallbackForCsTest() [all …]
|
D | VideoCallTest.java | 68 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeTwoWayVideoCall() 90 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeOneWayVideoCall() 108 final MockInCallService inCallService = mInCallCallbacks.getService(); in testUpgradeToVideo() 133 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyRequest() 162 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSendSessionModifyResponse() 187 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyResponse() 243 final MockInCallService inCallService = mInCallCallbacks.getService(); in testVideoCallDelayProvider() 275 final MockInCallService inCallService = mInCallCallbacks.getService(); in testChangeCamera() 300 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestCameraCapabilities() 328 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestDataUsage() [all …]
|
D | BackgroundCallAudioTest.java | 91 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningAllow() 117 Call call = mInCallCallbacks.getService().getLastCall(); in testHoldAfterAudioProcessingFromCallScreening() 148 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningDisallow() 176 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningMissed() 202 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() 241 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() 285 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() 318 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessActiveCall() 339 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessActiveCallMissed() 360 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessActiveCallRemoteHangup() [all …]
|
D | WiredHeadsetTest.java | 46 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallShortPress_acceptsCall() 63 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallLongPress_rejectsCall() 79 final MockInCallService incallService = mInCallCallbacks.getService(); in testInCallLongPress_togglesMute() 102 final Call call = mInCallCallbacks.getService().getLastCall(); in testInCallShortPress_hangupCall()
|
D | RttOperationsTest.java | 64 final MockInCallService inCallService = mInCallCallbacks.getService(); in testOutgoingRttCall() 78 final MockInCallService inCallService = mInCallCallbacks.getService(); in testIncomingRttCall() 91 final MockInCallService inCallService = mInCallCallbacks.getService(); in testLocalRttUpgradeAccepted() 115 final MockInCallService inCallService = mInCallCallbacks.getService(); in testLocalRttUpgradeRejected() 139 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAcceptRemoteRttUpgrade() 162 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRejectRemoteRttRequest() 186 final MockInCallService inCallService = mInCallCallbacks.getService(); in testLocalRttTermination() 207 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRemoteRttTermination()
|
D | HandoverTest.java | 80 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverSourceFailed() 104 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverDestinationFailed() 131 final Call call = mInCallCallbacks.getService().getLastCall(); in testOutgoingHandoverRequestValid() 173 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingHandoverRequestValid() 216 Call call = mInCallCallbacks.getService().getLastCall(); in startSourceCall()
|
D | SelfManagedConnectionTest.java | 105 public IBinder getService() { in getService() method in SelfManagedConnectionTest.TestServiceConnection 167 .asInterface(controlConn.getService()); in testBindToSupportNonUiInCallService() 190 .asInterface(controlConn.getService()); in testBindToSupportDefaultDialerNoCarMode() 217 .asInterface(controlConn.getService()); in testNoBindToUnsupportDefaultDialerNoCarMode() 236 .asInterface(controlConn.getService()); in testEnterCarMode() 260 .asInterface(controlConn1.getService()); in testChangeCarModeApp() 262 .asInterface(controlConn2.getService()); in testChangeCarModeApp() 293 .asInterface(controlConn.getService()); in testExitCarMode()
|
D | CarModeInCallServiceTest.java | 376 assertEquals(1, mInCallCallbacks.getService().getCallCount()); in testSwitchToCarModeAndBack() 377 mInCallCallbacks.getService().disconnectAllCalls(); in testSwitchToCarModeAndBack() 429 assertEquals(1, mInCallCallbacks.getService().getCallCount()); in testSwitchToCarModeMultiple() 430 mInCallCallbacks.getService().disconnectAllCalls(); in testSwitchToCarModeMultiple() 493 assertEquals(1, mInCallCallbacks.getService().getCallCount()); in testSwitchToAutomotiveProjectionAndBack() 494 mInCallCallbacks.getService().disconnectAllCalls(); in testSwitchToAutomotiveProjectionAndBack() 544 assertEquals(1, mInCallCallbacks.getService().getCallCount()); in testSwitchToAutomotiveProjectionMultiple() 545 mInCallCallbacks.getService().disconnectAllCalls(); in testSwitchToAutomotiveProjectionMultiple() 574 mInCallCallbacks.getService().disconnectAllCalls(); in testSwitchToCarModeWhenEnableCarModeApp()
|
D | IncomingCallTest.java | 70 Call call = mInCallCallbacks.getService().getLastCall(); in testVerstatPassed() 83 Call call = mInCallCallbacks.getService().getLastCall(); in testVerstatFailed() 96 Call call = mInCallCallbacks.getService().getLastCall(); in testVerstatNotVerified() 245 assertTrue((mInCallCallbacks.getService().getLastCall().getDetails().getCallProperties() in testAddNewIncomingCallVoipState() 287 Call call = mInCallCallbacks.getService().getLastCall(); in testConnectionOnAnswerForAudioCall() 315 Call call = mInCallCallbacks.getService().getLastCall(); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() 343 Call call = mInCallCallbacks.getService().getLastCall(); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo()
|
D | ThirdPartyCallScreeningServiceTest.java | 327 assertEquals(1, mInCallCallbacks.getService().getCallCount()); in testNoPostCallActivityWhenAudioProcessing() 328 Call call = mInCallCallbacks.getService().getLastCall(); in testNoPostCallActivityWhenAudioProcessing() 332 mInCallCallbacks.getService().disconnectAllCalls(); in testNoPostCallActivityWhenAudioProcessing() 348 mInCallCallbacks.getService().disconnectAllCalls(); in testNoPostCallActivityForOutgoingEmergencyCall() 367 mInCallCallbacks.getService().disconnectAllCalls(); in testNoPostCallActivityForIncomingEmergencyCall() 388 mInCallCallbacks.getService().disconnectAllCalls(); in placeOutgoingCall() 389 assertNumCalls(mInCallCallbacks.getService(), 0); in placeOutgoingCall() 421 mInCallCallbacks.getService().disconnectAllCalls(); in addIncoming() 422 assertNumCalls(mInCallCallbacks.getService(), 0); in addIncoming() 502 Call call = mInCallCallbacks.getService().getLastCall(); in addIncomingAndVerifyCallExtraForSilence()
|
D | PhoneAccountSuggestionServiceTest.java | 62 if (mInCallCallbacks.getService().getLastCall() != null) { in tearDown() 63 mInCallCallbacks.getService().getLastCall().disconnect(); in tearDown() 103 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSuggestionFlow() 147 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSuggestionTimeout() 182 final MockInCallService inCallService = mInCallCallbacks.getService(); in testEmptySuggestions() 219 final MockInCallService inCallService = mInCallCallbacks.getService(); in testPartialSuggestions()
|
D | OutgoingCallTest.java | 91 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall() 103 if (mInCallCallbacks.getService().getCallAudioState().getSupportedRouteMask() == in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall() 107 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall() 119 if (mInCallCallbacks.getService().getCallAudioState().getSupportedRouteMask() == in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault() 123 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
|
D | CallRedirectionServiceTest.java | 126 mInCallService = mInCallCallbacks.getService(); in testRedirectedCallWithRedirectedGateway() 147 mInCallService = mInCallCallbacks.getService(); in testRedirectedCallWithPostDialDigits() 171 mInCallService = mInCallCallbacks.getService(); in testRedirectedCallWithRedirectedPhoneAccount() 186 mInCallService = mInCallCallbacks.getService(); in testCancelCall() 197 mInCallService = mInCallCallbacks.getService(); in testPlaceCallUnmodified()
|
D | AdhocConferenceTest.java | 104 Call call = mInCallCallbacks.getService().getLastConferenceCall(); in testAddNewIncomingConference_onAnswer() 127 Call call = mInCallCallbacks.getService().getLastConferenceCall(); in testAddNewIncomingConference_onReject() 163 Call call = mInCallCallbacks.getService().getLastConferenceCall(); in testConferenceCallAddConferenceParticipants()
|
D | RemoteConferenceTest.java | 70 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceCreate() 97 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceSplit() 123 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceHoldAndUnhold() 159 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceMergeAndSwap() 195 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceDTMFTone() 634 mCall1 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 643 mCall2 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 674 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in setupRemoteConferenceCallbacksTest()
|
/cts/tests/app/src/android/app/cts/ |
D | CloseSystemDialogsTest.java | 173 mService = getService(APP_HELPER); in testCloseSystemDialogs_whenTargetSdkCurrent_isBlockedAndThrows() 182 mService = getService(APP_HELPER); in testCloseSystemDialogs_whenTargetSdk30_isBlockedButDoesNotThrow() 210 mService = getService(APP_HELPER); in testCloseSystemDialogs_inTrampolineWhenTargetSdkCurrent_isBlockedAndThrows() 225 mService = getService(APP_HELPER); in testCloseSystemDialogs_inTrampolineWhenTargetSdk30_isSent() 242 mService = getService(APP_HELPER); in testCloseSystemDialogs_inTrampolineViaPendingIntentWhenTargetSdkCurrent_isBlocked() 257 mService = getService(APP_HELPER); in testCloseSystemDialogs_inTrampolineViaPendingIntentWhenTargetSdk30_isSent() 272 mService = getService(APP_HELPER); in testCloseSystemDialogs_withWindowAboveShadeAndTargetSdk30_isSent() 286 mService = getService(APP_SELF); in testCloseSystemDialogsViaWindowManager_whenTestInstrumentedViaShell_isSent() 296 mService = getService(APP_SELF); in testCloseSystemDialogsViaWindowManager_whenRunningAsShell_isSent() 308 mService = getService(APP_HELPER); in testCloseSystemDialogsViaWindowManager_whenTargetSdkCurrent_isBlockedAndThrows() [all …]
|
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/ |
D | SplitAppTest.java | 146 final Service service = getService(new ComponentName(mAppContextTestRule.getContext(), in testBaseServiceClassLoader() 154 final Service service = getService(FEATURE_A_SERVICE); in testFeatureAServiceClassLoader() 163 final Service service = getService(FEATURE_B_SERVICE); in testFeatureBServiceClassLoader() 170 private Service getService(ComponentName componentName) throws TimeoutException { in getService() method in SplitAppTest 175 return localBinder.getService(); in getService()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | DataSharingServiceTest.java | 73 DataSharingService dataSharingService = mBinder.getService(); in testDataSharingSessionAccepted() 92 DataSharingService dataSharingService = mBinder.getService(); in testDataSharingSessionRejected() 107 DataSharingService dataSharingService = mBinder.getService(); in testDataShareRequest_valuesPropagatedToReceiver() 124 DataSharingService dataSharingService = mBinder.getService(); in testDataSharingSessionError_concurrentRequests()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintServicesTest.java | 115 PrinterId printerId = session.getService() in createMockPrinterDiscoverySessionCallbacks() 448 eventually(() -> assertNotNull(serviceCallbacks.getService())); 451 assertException(() -> serviceCallbacks.getService().callAttachBaseContext(null), 453 assertException(() -> serviceCallbacks.getService().callAttachBaseContext(getActivity()), 497 StubbablePrintService firstService = serviceCallbacks1.getService(); 531 StubbablePrintService secondService = serviceCallbacks2.getService(); 582 PrinterId printer1Id = session.getService().generatePrinterId("Printer1"); 588 PrinterId printer2Id = session.getService().generatePrinterId("Printer2");
|
D | PrinterInfoTest.java | 78 sDiscoverySession.getService().generatePrinterId("bad printer"), in createFirstMockPrinterDiscoverySessionCallbacks() 113 new PrinterCapabilitiesInfo.Builder(sDiscoverySession.getService() in createFirstMockPrinterDiscoverySessionCallbacks() 142 .getService() in createFirstMockPrinterDiscoverySessionCallbacks() 147 .getService() in createFirstMockPrinterDiscoverySessionCallbacks()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityShortcutTest.java | 158 final SpeakingAccessibilityService service = mServiceRule.getService(); in performAccessibilityShortcut_launchAccessibilityService() 187 performShortcutAndWaitForA11yButtonClicked(mA11yButtonServiceRule.getService()); in performAccessibilityShortcut_withReqA11yButtonService_a11yButtonCallback() 224 mA11yButtonServiceRule.getService().disableSelfAndRemove(); in testAccessibilityButtonService_disableSelf_buttonRemoved() 237 mA11yButtonServiceRule.getService().disableSelfAndRemove(); in testAccessibilityButtonService_disableSelf_shortcutRemoved()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastPresenterTest.java | 56 ServiceManager.getService(Context.ACCESSIBILITY_SERVICE)), in setup() 58 ServiceManager.getService(Context.NOTIFICATION_SERVICE)), in setup()
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/ |
D | poc.cpp | 63 sp<IServiceManager> serviceManager = IServiceManager::getService(); in makeDrmFactories() 72 auto factory = IDrmFactory::getService(instance); in makeDrmFactories() 85 ::android::hardware::drm::V1_1::IDrmFactory::getService(instance); in makeDrmFactories()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0318/ |
D | poc.cpp | 31 sp<IBinder> service = sm->getService(name); in poc() 93 sp<IBinder> service = sm->getService(name); in get_sensor_list()
|