Home
last modified time | relevance | path

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

12

/cts/tests/tests/telecom/src/android/telecom/cts/
DExtendedInCallServiceTest.java58 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAddNewOutgoingCallAndThenDisconnect()
72 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMuteAndUnmutePhone()
99 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSwitchAudioRoutes()
150 final MockInCallService inCallService = mInCallCallbacks.getService(); in testPlayAndStopDtmfTones()
183 final MockInCallService inCallService = mInCallCallbacks.getService(); in testHoldAndUnholdCall()
210 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAudioOnly()
240 assertNull(mInCallCallbacks.getService()); in testIncomingCallFromBlockedNumber_IsRejected()
264 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
287 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRejectIncomingCall()
309 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRejectIncomingCallWithMessage()
[all …]
DConnectionServiceTest.java55 assertNumCalls(mInCallCallbacks.getService(), 2); in testAddExistingConnection()
57 final Call call = mInCallCallbacks.getService().getLastCall(); in testAddExistingConnection()
76 assertCallState(mInCallCallbacks.getService().getLastCall(), Call.STATE_ACTIVE); in testGetAllConnections()
82 assertNumCalls(mInCallCallbacks.getService(), 2); in testGetAllConnections()
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 testInCallShortPress_togglesMute()
102 final Call call = mInCallCallbacks.getService().getLastCall(); in testInCallLongPress_hangupCall()
DOutgoingCallTest.java63 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall()
75 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall()
87 assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
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()
132 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyRequest()
161 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSendSessionModifyResponse()
186 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyResponse()
242 final MockInCallService inCallService = mInCallCallbacks.getService(); in testVideoCallDelayProvider()
274 final MockInCallService inCallService = mInCallCallbacks.getService(); in testChangeCamera()
299 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestCameraCapabilities()
327 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestDataUsage()
[all …]
DBaseTelecomTestWithMockServices.java272 if (mInCallCallbacks.getService() != null) { in addAndVerifyNewIncomingCall()
273 currentCallCount = mInCallCallbacks.getService().getCallCount(); in addAndVerifyNewIncomingCall()
293 mInCallCallbacks.getService().getCallCount()); in addAndVerifyNewIncomingCall()
329 if (mInCallCallbacks.getService() != null) { in placeAndVerifyCall()
330 currentCallCount = mInCallCallbacks.getService().getCallCount(); in placeAndVerifyCall()
346 mInCallCallbacks.getService().getCallCount()); in placeAndVerifyCall()
429 if (mInCallCallbacks.getService() != null) { in addConferenceCall()
430 currentConfCallCount = mInCallCallbacks.getService().getConferenceCallCount(); in addConferenceCall()
457 mInCallCallbacks.getService().getConferenceCallCount()); in addConferenceCall()
501 if (mInCallCallbacks != null && mInCallCallbacks.getService() != null) { in cleanupCalls()
[all …]
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()
552 mCall1 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls()
561 mCall2 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls()
592 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in setupRemoteConferenceCallbacksTest()
DMissedCallTest.java64 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMissedCall_NotifyDialer()
DMockCallScreeningService.java43 final public MockCallScreeningService getService() { in getService() method in MockCallScreeningService.CallScreeningServiceCallbacks
DRemoteConnectionTest.java62 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionOutgoingCall()
99 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionIncomingCallAccept()
120 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionIncomingCallReject()
141 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionDTMFTone()
457 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionCallbacks_ConferenceableConnections()
1185 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionCallbacksTest()
1198 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoCallbacksTest()
1226 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoTest()
DCallScreeningServiceTest.java131 getService().respondToCall(callDetails, response); in createCallbacks()
DMockInCallService.java65 final public MockInCallService getService() { in getService() method in MockInCallService.InCallServiceCallbacks
/cts/tests/tests/print/src/android/print/cts/services/
DPrintServiceCallbacks.java26 public PrintService getService() { in getService() method in PrintServiceCallbacks
DStubbablePrinterDiscoverySession.java40 public PrintService getService() { in getService() method in StubbablePrinterDiscoverySession
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamsFeatureTest.java29 ServiceManager.getService(DreamService.DREAM_SERVICE)); in testDreamManagerExists()
/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java144 mDiscoverySession.getService().generatePrinterId("bad printer"),
179 new PrinterCapabilitiesInfo.Builder(mDiscoverySession.getService()
208 .getService()
213 .getService()
DPrinterCapabilitiesTest.java284 printerId[0] = session[0].getService().generatePrinterId(PRINTER_NAME); in testPrinterCapabilityChange()
376 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME); in testIllegalPrinterCapabilityInfos()
522 PrinterId printerId = session.getService() in testSanePrinterCapabilityInfos()
618 PrinterId printerId = session.getService() in testPrinterCapabilityInfo()
DPrinterDiscoverySessionLifecycleTest.java414 PrinterId firstPrinterId = session.getService().generatePrinterId( in createFirstMockPrinterDiscoverySessionCallbacks()
422 PrinterId secondPrinterId = session.getService().generatePrinterId( in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintJobTest.java137 mDiscoverySession.getService().generatePrinterId(PRINTER_NAME);
139 mDiscoverySession.getService().generatePrinterId(PRINTER_NAME),
/cts/tests/tests/content/src/android/content/cts/
DMockService.java29 MockService getService() { in getService() method in MockService.MockBinder
/cts/tests/tests/telephony/src/android/telephony/cts/
DCarrierServiceTest.java41 getService().notifyCarrierNetworkChange(active); in notifyCarrierNetworkChange()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientService.java250 private BluetoothGattService getService() { in getService() method in BleClientService
253 BluetoothGattService service = mBluetoothGatt.getService(SERVICE_UUID); in getService()
262 BluetoothGattService service = getService(); in getCharacteristic()
335 (mBluetoothGatt.getService(SERVICE_UUID) != null)) {
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java203 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService()
213 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService()
217 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService()
228 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testStartServiceOnFinishedHandler()
245 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testStartServiceOnFinishedHandler()
/cts/tests/app/app/src/android/app/stubs/
DMockService.java38 MockService getService() { in getService() method in MockService.MockBinder
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyBroadcastReceiver.java234 final PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent, 0); in sendNotification()

12