Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomSystemTest.java305 mSpyContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
380 mComponentContextFixture.getTestDouble(), in setupTelecomSystem()
412 mComponentContextFixture.setTelecomManager(new TelecomManager( in setupTelecomSystem()
413 mComponentContextFixture.getTestDouble(), in setupTelecomSystem()
417 eq(mComponentContextFixture.getTestDouble().getApplicationContext()), in setupTelecomSystem()
421 eq(mComponentContextFixture.getTestDouble().getApplicationContext()), in setupTelecomSystem()
424 eq(mComponentContextFixture.getTestDouble().getApplicationContext()), in setupTelecomSystem()
432 mComponentContextFixture.addConnectionService(mConnectionServiceComponentNameA, in setupConnectionServices()
434 mComponentContextFixture.addConnectionService(mConnectionServiceComponentNameB, in setupConnectionServices()
449 mComponentContextFixture.putResource( in setupInCallServices()
[all …]
DPhoneAccountRegistrarTest.java74 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
76 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in setUp()
84 mComponentContextFixture.getTestDouble().getApplicationContext(), in setUp()
92 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in tearDown()
195 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAccounts()
228 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testDefaultOutgoing()
276 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testReplacePhoneAccountByGroup()
320 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAddSameDefault()
364 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAddSameGroup()
409 mComponentContextFixture.addConnectionService(makeQuickConnectionServiceComponentName(), in testAddSameGroupButDifferentComponent()
[all …]
DTelecomTestCase.java32 ComponentContextFixture mComponentContextFixture; field in TelecomTestCase
38 mComponentContextFixture = new ComponentContextFixture(); in setUp()
39 Log.setSessionContext(mComponentContextFixture.getTestDouble().getApplicationContext()); in setUp()
45 mComponentContextFixture = null; in tearDown()
DMissedCallNotifierImplTest.java156 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
165 mComponentContextFixture.putResource(R.string.notification_missedCallTitle, in setUp()
167 mComponentContextFixture.putResource(R.string.notification_missedCallsTitle, in setUp()
169 mComponentContextFixture.putResource(R.string.notification_missedCallsMsg, in setUp()
171 mComponentContextFixture.putResource(R.string.userCallActivityLabel, in setUp()
173 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
DBasicCallTests.java121 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingCall()
148 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCall()
175 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingVideoCallAsAudio()
203 TelecomManager telecomManager = (TelecomManager) mComponentContextFixture.getTestDouble() in testTelecomManagerAcceptRingingInvalidVideoState()
518 AudioManager audioManager = (AudioManager) mComponentContextFixture.getTestDouble() in testAudioManagerOperations()
DNewOutgoingCallIntentBroadcasterTest.java79 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
167 mComponentContextFixture.putResource(R.string.ui_default_package, ui_package_string); in testEmergencyCallWithNonDefaultDialer()
168 mComponentContextFixture.putResource(R.string.dialer_default_class, in testEmergencyCallWithNonDefaultDialer()
DTelecomServiceImplTest.java161 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
162 mComponentContextFixture.putBooleanResource( in setUp()
183 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
DDtmfLocalTonePlayerTest.java43 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DIncomingCallNotifierTest.java57 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DCallLogManagerTest.java108 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
203 (CarrierConfigManager) mComponentContextFixture.getTestDouble() in testDontLogCallsFromEmergencyAccount()
DIncomingCallFilterTest.java87 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DBluetoothDeviceManagerTest.java59 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DBluetoothManagerTest.java58 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DRingerTest.java61 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DCallAudioModeStateMachineTest.java96 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DDefaultDialerCacheTest.java60 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DCreateConnectionProcessorTest.java75 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DVideoProviderTest.java94 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DBluetoothRouteManagerTest.java211 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DCallAudioRouteStateMachineTest.java141 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
DBluetoothPhoneServiceTest.java102 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()