Home
last modified time | relevance | path

Searched refs:mComponentContextFixture (Results 1 – 24 of 24) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java95 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
97 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in setUp()
105 mComponentContextFixture.getTestDouble().getApplicationContext(), in setUp()
114 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in tearDown()
289 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAccounts()
324 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testDefaultOutgoing()
373 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testReplacePhoneAccountByGroup()
418 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAddSameDefault()
463 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAddSameGroup()
509 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAddSameGroupButDifferentComponent()
[all …]
DTelecomSystemTest.java347 mSpyContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
356 doReturn(false).when(mComponentContextFixture.getTelephonyManager()) in setUp()
358 doReturn(false).when(mComponentContextFixture.getTelephonyManager()) in setUp()
443 new File(mComponentContextFixture.getTestDouble() in setupTelecomSystem()
477 mComponentContextFixture.getTestDouble(), in setupTelecomSystem()
540 mComponentContextFixture.setTelecomManager(new TelecomManager( in setupTelecomSystem()
541 mComponentContextFixture.getTestDouble(), in setupTelecomSystem()
545 eq(mComponentContextFixture.getTestDouble().getApplicationContext()), in setupTelecomSystem()
549 eq(mComponentContextFixture.getTestDouble().getApplicationContext()), in setupTelecomSystem()
552 eq(mComponentContextFixture.getTestDouble().getApplicationContext()), in setupTelecomSystem()
[all …]
DTelecomTestCase.java36 ComponentContextFixture mComponentContextFixture; field in TelecomTestCase
42 mComponentContextFixture = new ComponentContextFixture(); in setUp()
43 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
44 Log.setSessionContext(mComponentContextFixture.getTestDouble().getApplicationContext()); in setUp()
50 mComponentContextFixture = null; in tearDown()
DNewOutgoingCallIntentBroadcasterTest.java221 doReturn(true).when(mComponentContextFixture.getTelephonyManager()) in testEmergencyCallWithNonDefaultDialer()
227 mComponentContextFixture.putResource(com.android.internal.R.string.config_defaultDialer, in testEmergencyCallWithNonDefaultDialer()
229 mComponentContextFixture.putResource(R.string.dialer_default_class, in testEmergencyCallWithNonDefaultDialer()
292 doReturn(false).when(mComponentContextFixture.getTelephonyManager()) in testActionEmergencyWithNonEmergencyNumber()
306 doReturn(true).when(mComponentContextFixture.getTelephonyManager()) in emergencyCallTestHelper()
428 doReturn(true).when(mComponentContextFixture.getTelephonyManager())
441 doThrow(new IllegalStateException()).when(mComponentContextFixture.getTelephonyManager())
DMissedCallNotifierImplTest.java165 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
174 mComponentContextFixture.putResource(R.string.notification_missedCallTitle, in setUp()
176 mComponentContextFixture.putResource(R.string.notification_missedCallsTitle, in setUp()
178 mComponentContextFixture.putResource(R.string.notification_missedCallsMsg, in setUp()
180 mComponentContextFixture.putResource(R.string.userCallActivityLabel, in setUp()
182 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
DCallsManagerTest.java231 mComponentContextFixture.getTestDouble().getApplicationContext(), in setUp()
1081 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testIsInEmergencyCallLocal()
1096 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testIsInEmergencyCallLocalDisconnected()
1113 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testHasEmergencyCallIncomingCallPermitted()
1132 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForOutgoingCallAudioProcessingInProgress()
1147 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyDuringIncomingCall()
1162 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallSimulatedRingingInProgress()
1178 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallSimulatedRingingInProgressHasBeenActive()
1197 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallDuringActiveAndRingingCallDisconnectRinging()
1519 TelephonyManager mockTelephonyManager = mComponentContextFixture.getTelephonyManager(); in setupMsimAccounts()
DSystemStateHelperTest.java82 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
90 mComponentContextFixture.putFloatResource( in setUp()
92 mComponentContextFixture.putFloatResource( in setUp()
DBasicCallTests.java162 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingCall()
190 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCall()
218 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCallAsAudio()
247 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingInvalidVideoState()
597 AudioManager audioManager = (AudioManager) mComponentContextFixture.getTestDouble() in testAudioManagerOperations()
DCallLogManagerTest.java125 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
237 (CarrierConfigManager) mComponentContextFixture.getTestDouble() in testDontLogUnloggableNumbers()
287 (CarrierConfigManager) mComponentContextFixture.getTestDouble() in testDontLogCallsFromEmergencyAccount()
DDtmfLocalTonePlayerTest.java50 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DParcelableCallUtilsTest.java62 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in setUp()
DIncomingCallNotifierTest.java63 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DDisconnectedCallNotifierTest.java59 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DBluetoothDeviceManagerTest.java84 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DCallRecordingTonePlayerTest.java102 mComponentContextFixture.getTestDouble().getApplicationContext(), in setUp()
DDefaultDialerCacheTest.java71 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DIncomingCallFilterTest.java120 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DTelecomServiceImplTest.java197 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
227 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
DVideoProviderTest.java102 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DRingerTest.java126 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DBluetoothPhoneServiceTest.java109 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
249 when(mComponentContextFixture.getTelephonyManager().getLine1Number()) in testGetSubscriberNumberFallbackToTelephony()
DCallAudioRouteStateMachineTest.java104 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DCallAudioRouteTransitionTests.java172 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DCreateConnectionProcessorTest.java96 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()