/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionServiceTest.java | 71 assertNumCalls(mInCallCallbacks.getService(), 2); in testAddExistingConnection() 73 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection() 100 assertNumCalls(mInCallCallbacks.getService(), 1); in testAddExistingConnection_invalidPhoneAccountPackageName() 102 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection_invalidPhoneAccountPackageName() 123 assertNumCalls(mInCallCallbacks.getService(), 1); in testAddExistingConnection_invalidPhoneAccountAccountId() 125 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection_invalidPhoneAccountAccountId() 197 assertCallState(mInCallCallbacks.getService().getLastCall(), Call.STATE_ACTIVE); in testConnectionServiceFocusGainedWithSameConnectionService() 272 assertNumCalls(mInCallCallbacks.getService(), 2); in testCallDirectionIncoming() 274 final Call call = mInCallCallbacks.getService().getLastCall(); in testCallDirectionIncoming() 306 assertNumCalls(mInCallCallbacks.getService(), 2); in testCallDirectionOutgoing() [all …]
|
D | ExtendedInCallServiceTest.java | 61 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAddNewOutgoingCallAndThenDisconnect() 75 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMuteAndUnmutePhone() 102 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSwitchAudioRoutes() 162 final MockInCallService inCallService = mInCallCallbacks.getService(); in testPlayAndStopDtmfTones() 195 final MockInCallService inCallService = mInCallCallbacks.getService(); in testHoldAndUnholdCall() 222 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAudioOnly() 242 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAcceptRingingCall() 264 final MockInCallService inCallService = mInCallCallbacks.getService(); in testEndRingingCall() 286 final MockInCallService inCallService = mInCallCallbacks.getService(); in testEndCall() 315 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAcceptRingingCallTwoCalls() [all …]
|
D | BackgroundCallAudioTest.java | 82 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningAllow() 108 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningDisallow() 136 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningMissed() 162 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() 201 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() 245 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() 278 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessActiveCall() 299 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessActiveCallMissed() 320 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessActiveCallRemoteHangup() 345 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessOutgoingActiveEmergencyCallPlaced() [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 | 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 | 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 | 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() 390 mInCallCallbacks.getService().disconnectAllCalls(); in placeOutgoingCall() 391 assertNumCalls(mInCallCallbacks.getService(), 0); in placeOutgoingCall() 418 mInCallCallbacks.getService().disconnectAllCalls(); in addIncoming() 419 assertNumCalls(mInCallCallbacks.getService(), 0); in addIncoming() 499 Call call = mInCallCallbacks.getService().getLastCall(); in addIncomingAndVerifyCallExtraForSilence()
|
D | OutgoingCallTest.java | 86 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall() 98 if (mInCallCallbacks.getService().getCallAudioState().getSupportedRouteMask() == in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall() 102 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall() 114 if (mInCallCallbacks.getService().getCallAudioState().getSupportedRouteMask() == in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault() 118 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
|
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 | HandoverTest.java | 79 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverSourceFailed() 103 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverDestinationFailed() 130 final Call call = mInCallCallbacks.getService().getLastCall(); in testOutgoingHandoverRequestValid() 172 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingHandoverRequestValid()
|
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 | RemoteConferenceTest.java | 74 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceCreate() 97 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceSplit() 119 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceHoldAndUnhold() 151 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceMergeAndSwap() 183 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in testRemoteConferenceDTMFTone() 583 mCall1 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 592 mCall2 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls() 623 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in setupRemoteConferenceCallbacksTest()
|
D | CarModeInCallServiceTest.java | 198 assertEquals(1, mInCallCallbacks.getService().getCallCount()); in testSwitchToCarModeAndBack() 199 mInCallCallbacks.getService().disconnectAllCalls(); in testSwitchToCarModeAndBack() 247 assertEquals(1, mInCallCallbacks.getService().getCallCount()); in testSwitchToCarModeMultiple() 248 mInCallCallbacks.getService().disconnectAllCalls(); in testSwitchToCarModeMultiple()
|
D | IncomingCallTest.java | 69 Call call = mInCallCallbacks.getService().getLastCall(); in testVerstatPassed() 82 Call call = mInCallCallbacks.getService().getLastCall(); in testVerstatFailed() 95 Call call = mInCallCallbacks.getService().getLastCall(); in testVerstatNotVerified() 243 assertTrue((mInCallCallbacks.getService().getLastCall().getDetails().getCallProperties() in testAddNewIncomingCallVoipState()
|
D | BaseTelecomTestWithMockServices.java | 448 if (mInCallCallbacks.getService() != null) { in addAndVerifyNewFailedIncomingCall() 449 currentCallCount = mInCallCallbacks.getService().getCallCount(); in addAndVerifyNewFailedIncomingCall() 475 mInCallCallbacks.getService().getCallCount()); in addAndVerifyNewFailedIncomingCall() 485 if (mInCallCallbacks.getService() != null) { in addAndVerifyNewIncomingCall() 486 currentCallCount = mInCallCallbacks.getService().getCallCount(); in addAndVerifyNewIncomingCall() 506 mInCallCallbacks.getService().getCallCount()); in addAndVerifyNewIncomingCall() 598 mInCallCallbacks.getService().getCallCount()); in placeAndVerifyCall() 738 if (mInCallCallbacks.getService() != null) { in addConferenceCall() 739 currentConfCallCount = mInCallCallbacks.getService().getConferenceCallCount(); in addConferenceCall() 766 mInCallCallbacks.getService().getConferenceCallCount()); in addConferenceCall() [all …]
|
D | AdhocConferenceTest.java | 102 Call call = mInCallCallbacks.getService().getLastConferenceCall(); in testAddNewIncomingConference_onAnswer() 133 Call call = mInCallCallbacks.getService().getLastConferenceCall(); in testConferenceCallAddConferenceParticipants()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintServicesTest.java | 120 PrinterId printerId = session.getService() in createMockPrinterDiscoverySessionCallbacks() 456 eventually(() -> assertNotNull(serviceCallbacks.getService())); 459 assertException(() -> serviceCallbacks.getService().callAttachBaseContext(null), 461 assertException(() -> serviceCallbacks.getService().callAttachBaseContext(getActivity()), 506 StubbablePrintService firstService = serviceCallbacks1.getService(); 540 StubbablePrintService secondService = serviceCallbacks2.getService(); 591 PrinterId printer1Id = session.getService().generatePrinterId("Printer1"); 597 PrinterId printer2Id = session.getService().generatePrinterId("Printer2");
|
D | PrinterInfoTest.java | 80 sDiscoverySession.getService().generatePrinterId("bad printer"), in createFirstMockPrinterDiscoverySessionCallbacks() 115 new PrinterCapabilitiesInfo.Builder(sDiscoverySession.getService() in createFirstMockPrinterDiscoverySessionCallbacks() 144 .getService() in createFirstMockPrinterDiscoverySessionCallbacks() 149 .getService() in createFirstMockPrinterDiscoverySessionCallbacks()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0811/ |
D | poc.cpp | 59 defaultServiceManager()->getService(String16("media.drm"))) in main() 63 defaultServiceManager()->getService(String16("media.drm"))) in main()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | DirectShellCommand.java | 162 final Method getService = serviceManagerClass.getMethod("getService", String.class); in run() local 163 final IBinder service = (IBinder) getService.invoke(null, serviceName); in run()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | PrintServiceCallbacks.java | 25 public StubbablePrintService getService() { in getService() method in PrintServiceCallbacks
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleEncryptedClientService.java | 215 private BluetoothGattService getService() { in getService() method in BleEncryptedClientService 219 service = mBluetoothGatt.getService(SERVICE_UUID); in getService() 230 BluetoothGattService service = getService(); in getCharacteristic() 371 … if ((status == BluetoothGatt.GATT_SUCCESS) && (mBluetoothGatt.getService(SERVICE_UUID) != null)) {
|
/cts/tests/tests/dreams/src/android/service/dreams/cts/ |
D | DreamsFeatureTest.java | 29 ServiceManager.getService(DreamService.DREAM_SERVICE)); in testDreamManagerExists()
|
/cts/tests/app/src/android/app/cts/ |
D | PendingIntentTest.java | 282 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService() 292 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService() 296 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService() 307 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testStartServiceOnFinishedHandler() 324 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testStartServiceOnFinishedHandler()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockService.java | 29 MockService getService() { in getService() method in MockService.MockBinder
|