/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 95 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 …]
|
D | TelecomSystemTest.java | 347 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 …]
|
D | TelecomTestCase.java | 36 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()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 221 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())
|
D | MissedCallNotifierImplTest.java | 165 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()
|
D | CallsManagerTest.java | 231 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()
|
D | SystemStateHelperTest.java | 82 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp() 90 mComponentContextFixture.putFloatResource( in setUp() 92 mComponentContextFixture.putFloatResource( in setUp()
|
D | BasicCallTests.java | 162 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()
|
D | CallLogManagerTest.java | 125 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp() 237 (CarrierConfigManager) mComponentContextFixture.getTestDouble() in testDontLogUnloggableNumbers() 287 (CarrierConfigManager) mComponentContextFixture.getTestDouble() in testDontLogCallsFromEmergencyAccount()
|
D | DtmfLocalTonePlayerTest.java | 50 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | ParcelableCallUtilsTest.java | 62 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in setUp()
|
D | IncomingCallNotifierTest.java | 63 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | DisconnectedCallNotifierTest.java | 59 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | BluetoothDeviceManagerTest.java | 84 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | CallRecordingTonePlayerTest.java | 102 mComponentContextFixture.getTestDouble().getApplicationContext(), in setUp()
|
D | DefaultDialerCacheTest.java | 71 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | IncomingCallFilterTest.java | 120 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | TelecomServiceImplTest.java | 197 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp() 227 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
|
D | VideoProviderTest.java | 102 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | RingerTest.java | 126 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | BluetoothPhoneServiceTest.java | 109 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp() 249 when(mComponentContextFixture.getTelephonyManager().getLine1Number()) in testGetSubscriberNumberFallbackToTelephony()
|
D | CallAudioRouteStateMachineTest.java | 104 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | CallAudioRouteTransitionTests.java | 172 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|
D | CreateConnectionProcessorTest.java | 96 mContext = mComponentContextFixture.getTestDouble().getApplicationContext(); in setUp()
|