Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 69) sorted by relevance

123

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java71 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 …]
DExtendedInCallServiceTest.java61 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 …]
DBackgroundCallAudioTest.java82 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 …]
DVideoCallTest.java68 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 …]
DRttOperationsTest.java64 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()
DWiredHeadsetTest.java46 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()
DThirdPartyCallScreeningServiceTest.java327 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()
DOutgoingCallTest.java86 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()
DPhoneAccountSuggestionServiceTest.java62 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()
DHandoverTest.java79 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()
DCallRedirectionServiceTest.java126 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()
DRemoteConferenceTest.java74 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()
DCarModeInCallServiceTest.java198 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()
DIncomingCallTest.java69 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()
DBaseTelecomTestWithMockServices.java448 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 …]
DAdhocConferenceTest.java102 Call call = mInCallCallbacks.getService().getLastConferenceCall(); in testAddNewIncomingConference_onAnswer()
133 Call call = mInCallCallbacks.getService().getLastConferenceCall(); in testConferenceCallAddConferenceParticipants()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java120 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");
DPrinterInfoTest.java80 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/
Dpoc.cpp59 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/
DDirectShellCommand.java162 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/
DPrintServiceCallbacks.java25 public StubbablePrintService getService() { in getService() method in PrintServiceCallbacks
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleEncryptedClientService.java215 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/
DDreamsFeatureTest.java29 ServiceManager.getService(DreamService.DREAM_SERVICE)); in testDreamManagerExists()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java282 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/
DMockService.java29 MockService getService() { in getService() method in MockService.MockBinder

123