Home
last modified time | relevance | path

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

12

/cts/tests/tests/telecom/src/android/telecom/cts/
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()
120 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_EARPIECE); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
DExtendedInCallServiceTest.java54 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAddNewOutgoingCallAndThenDisconnect()
68 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMuteAndUnmutePhone()
95 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSwitchAudioRoutes()
134 final MockInCallService inCallService = mInCallCallbacks.getService(); in testPlayAndStopDtmfTones()
167 final MockInCallService inCallService = mInCallCallbacks.getService(); in testHoldAndUnholdCall()
194 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAudioOnly()
215 final MockInCallService inCallService = mInCallCallbacks.getService(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
238 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRejectIncomingCall()
259 final MockInCallService inCallService = mInCallCallbacks.getService(); in testCanAddCall_CannotAddForExistingDialingCall()
276 final MockInCallService inCallService = mInCallCallbacks.getService(); in testCanAddCall_CanAddForExistingActiveCall()
[all …]
DOutgoingCallTest.java61 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER); in testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall()
73 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_EARPIECE); in testStartCallWithSpeakerphoneFalse_SpeakerphoneOffInCall()
83 assertAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_EARPIECE); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault()
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()
81 assertNumCalls(mInCallCallbacks.getService(), 2); in testGetAllConnections()
DVideoCallTest.java66 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeTwoWayVideoCall()
88 final MockInCallService inCallService = mInCallCallbacks.getService(); in testMakeOneWayVideoCall()
106 final MockInCallService inCallService = mInCallCallbacks.getService(); in testUpgradeToVideo()
130 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveSessionModifyRequest()
159 final MockInCallService inCallService = mInCallCallbacks.getService(); in testSendSessionModifyResponse()
188 final MockInCallService inCallService = mInCallCallbacks.getService(); in testVideoCallDelayProvider()
220 final MockInCallService inCallService = mInCallCallbacks.getService(); in testChangeCamera()
245 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestCameraCapabilities()
273 final MockInCallService inCallService = mInCallCallbacks.getService(); in testRequestDataUsage()
294 final MockInCallService inCallService = mInCallCallbacks.getService(); in testReceiveVideoQuality()
[all …]
DBaseTelecomTestWithMockServices.java238 if (mInCallCallbacks.getService() != null) { in addAndVerifyNewIncomingCall()
239 currentCallCount = mInCallCallbacks.getService().getCallCount(); in addAndVerifyNewIncomingCall()
258 mInCallCallbacks.getService().getCallCount()); in addAndVerifyNewIncomingCall()
294 if (mInCallCallbacks.getService() != null) { in placeAndVerifyCall()
295 currentCallCount = mInCallCallbacks.getService().getCallCount(); in placeAndVerifyCall()
309 mInCallCallbacks.getService().getCallCount()); in placeAndVerifyCall()
378 if (mInCallCallbacks.getService() != null) { in addConferenceCall()
379 currentConfCallCount = mInCallCallbacks.getService().getConferenceCallCount(); in addConferenceCall()
406 mInCallCallbacks.getService().getConferenceCallCount()); in addConferenceCall()
450 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()
536 mCall1 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls()
545 mCall2 = mInCallCallbacks.getService().getLastCall(); in addRemoteConnectionOutgoingCalls()
576 final Call confCall = mInCallCallbacks.getService().getLastConferenceCall(); in setupRemoteConferenceCallbacksTest()
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()
458 final Call call = mInCallCallbacks.getService().getLastCall(); in testRemoteConnectionCallbacks_ConferenceableConnections()
1180 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionCallbacksTest()
1193 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoCallbacksTest()
1221 final Call call = mInCallCallbacks.getService().getLastCall(); in setupRemoteConnectionVideoTest()
DCallDetailsTest.java102 mInCallService = mInCallCallbacks.getService(); in setUp()
DMockInCallService.java62 final public MockInCallService getService() { in getService() method in MockInCallService.InCallServiceCallbacks
DConferenceTest.java300 mInCallService = mInCallCallbacks.getService(); in addOutgoingCalls()
/cts/tests/tests/print/src/android/print/cts/services/
DPrintServiceCallbacks.java26 public PrintService getService() { in getService() method in PrintServiceCallbacks
DStubbablePrinterDiscoverySession.java38 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/content/src/android/content/cts/
DMockService.java29 MockService getService() { in getService() method in MockService.MockBinder
/cts/tests/app/src/android/app/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/tests/tests/security/jni/
Dandroid_security_cts_LoadEffectLibraryTest.cpp41 sp<IBinder> binder = sm->getService(String16("media.audio_flinger")); in android_security_cts_LoadEffectLibraryTest_doLoadLibraryTest()
/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/tests/app/src/android/app/cts/
DPendingIntentTest.java167 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService()
177 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService()
181 mPendingIntent = PendingIntent.getService(mContext, 1, mIntent, in testGetService()
/cts/tests/tests/print/src/android/print/cts/
DPrinterDiscoverySessionLifecycleTest.java321 PrinterId firstPrinterId = session.getService().generatePrinterId( in createFirstMockPrinterDiscoverySessionCallbacks()
329 PrinterId secondPrinterId = session.getService().generatePrinterId( in createFirstMockPrinterDiscoverySessionCallbacks()
DBasePrintTest.java476 when(service.getService()).thenCallRealMethod(); in createMockPrintServiceCallbacks()
DPageRangeAdjustmentTest.java643 PrintService service = session.getService(); in createMockFirstPrinterDiscoverySessionCallbacks()
DPrintDocumentAdapterContractTest.java1575 PrintService service = session.getService(); in createFirstMockPrintServiceCallbacks()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java337 PendingIntent pi = PendingIntent.getService(mContext, code, intent, in makeIntent()

12