/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | IncomingCallFilterTest.java | 64 @Mock private Timeouts.Adapter mTimeoutsAdapter; field in IncomingCallFilterTest 137 mLock, mTimeoutsAdapter, Collections.singletonList(mFilter1), mHandler); in testAsyncBlockCallResultFilter() 151 mLock, mTimeoutsAdapter, Collections.singletonList(mFilter1), mHandler); in testDirectToVoiceMailCallResultFilter() 165 mLock, mTimeoutsAdapter, Collections.singletonList(mFilter1), mHandler); in testCallScreeningServiceBlockCallResultFilter() 179 mLock, mTimeoutsAdapter, Collections.singletonList(mFilter1), mHandler); in testPassCallResultFilter() 199 mLock, mTimeoutsAdapter, filters, mHandler); in testMultipleFiltersForAsyncBlockCheckFilter() 232 mLock, mTimeoutsAdapter, filters, mHandler); in testMultipleFiltersForDirectToVoicemailCallFilter() 262 mLock, mTimeoutsAdapter, filters, mHandler); in testMultipleFiltersForCallScreeningServiceFilter() 287 mLock, mTimeoutsAdapter, Collections.singletonList(mFilter1), mHandler); in testFilterTimeout() 303 mLock, mTimeoutsAdapter, Collections.singletonList(mFilter1), mHandler); in testFilterTimeoutDoesntTrip() [all …]
|
D | BluetoothRouteManagerTest.java | 66 @Mock private Timeouts.Adapter mTimeoutsAdapter; field in BluetoothRouteManagerTest 87 when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( in testConnectHfpRetryWhileNotConnected() 144 when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( in testConnectHfpRetryWhileConnectedToAnotherDevice() 167 new TelecomSystem.SyncRoot() { }, mDeviceManager, mTimeoutsAdapter); in setupStateMachine() 218 reset(mDeviceManager, mListener, mHeadsetProxy, mTimeoutsAdapter); in resetMocks() 223 when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( in resetMocks() 225 when(mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( in resetMocks()
|
D | IncomingCallFilterGraphTest.java | 51 @Mock private Timeouts.Adapter mTimeoutsAdapter; field in IncomingCallFilterGraphTest 106 when(mTimeoutsAdapter.getCallScreeningTimeoutMillis(nullable(ContentResolver.class))) in setUp() 118 mTimeoutsAdapter, mLock); in testEmptyGraph() 131 mTimeoutsAdapter, mLock); in testFiltersPerformOrder() 149 mTimeoutsAdapter, mLock); in testFiltersPerformInParallel() 168 mTimeoutsAdapter, mLock); in testFiltersTimeout()
|
D | BluetoothRouteTransitionTests.java | 241 @Mock private Timeouts.Adapter mTimeoutsAdapter; field in BluetoothRouteTransitionTests 364 when(mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( in setupStateMachine() 366 when(mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( in setupStateMachine() 369 new TelecomSystem.SyncRoot() { }, mDeviceManager, mTimeoutsAdapter); in setupStateMachine() 378 clearInvocations(mDeviceManager, mListener, mHeadsetProxy, mTimeoutsAdapter); in resetMocks()
|
D | CallRedirectionProcessorTest.java | 93 @Mock private Timeouts.Adapter mTimeoutsAdapter; field in CallRedirectionProcessorTest 132 when(mCallsManager.getTimeoutsAdapter()).thenReturn(mTimeoutsAdapter); in setUp() 133 when(mTimeoutsAdapter.getUserDefinedCallRedirectionTimeoutMillis(mContentResolver)) in setUp() 135 when(mTimeoutsAdapter.getCarrierCallRedirectionTimeoutMillis(mContentResolver)) in setUp()
|
D | InCallControllerTests.java | 115 @Mock Timeouts.Adapter mTimeoutsAdapter; field in InCallControllerTests 165 mTimeoutsAdapter); in setUp() 168 mMockSystemStateHelper, mDefaultDialerCache, mTimeoutsAdapter, in setUp() 221 when(mTimeoutsAdapter.getEmergencyCallbackWindowMillis(any(ContentResolver.class))) in testBindToService_NoServicesFound_IncomingCall() 255 when(mTimeoutsAdapter.getEmergencyCallbackWindowMillis(any(ContentResolver.class))) in testBindToService_NoServicesFound_OutgoingCall() 353 when(mTimeoutsAdapter.getEmergencyCallbackWindowMillis(any(ContentResolver.class))) in testBindToService_SystemDialer_Emergency() 432 when(mTimeoutsAdapter.getEmergencyCallbackWindowMillis(any(ContentResolver.class))) in testBindToService_SystemDialer_Crash() 692 when(mTimeoutsAdapter.getCallRemoveUnbindInCallServicesDelay( in testUnbindDueToCallDisconnect() 899 when(mTimeoutsAdapter.getCallRemoveUnbindInCallServicesDelay( in testBindingFuture()
|
D | TelecomSystemTest.java | 318 Timeouts.Adapter mTimeoutsAdapter; field in TelecomSystemTest 467 mTimeoutsAdapter = mock(Timeouts.Adapter.class); in setupTelecomSystem() 468 when(mTimeoutsAdapter.getCallScreeningTimeoutMillis(any(ContentResolver.class))) in setupTelecomSystem() 486 mTimeoutsAdapter, in setupTelecomSystem()
|
D | CallsManagerTest.java | 181 @Mock private Timeouts.Adapter mTimeoutsAdapter; field in CallsManagerTest 245 mTimeoutsAdapter, in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | IncomingCallFilter.java | 55 private final Timeouts.Adapter mTimeoutsAdapter; field in IncomingCallFilter 76 mTimeoutsAdapter = timeoutsAdapter; in IncomingCallFilter() 96 }.prepare(), mTimeoutsAdapter.getCallScreeningTimeoutMillis(mContext.getContentResolver())); in performFiltering()
|
D | IncomingCallFilterGraph.java | 56 private Timeouts.Adapter mTimeoutsAdapter; field in IncomingCallFilterGraph 97 mTimeoutsAdapter = timeoutsAdapter; in IncomingCallFilterGraph() 136 }.prepare(), mTimeoutsAdapter.getCallScreeningTimeoutMillis(mContext.getContentResolver())); in performFiltering()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | EmergencyCallHelper.java | 35 private final Timeouts.Adapter mTimeoutsAdapter; field in EmergencyCallHelper 48 mTimeoutsAdapter = timeoutsAdapter; in EmergencyCallHelper() 76 < mTimeoutsAdapter.getEmergencyCallbackWindowMillis(mContext.getContentResolver()); in isInEmergencyCallbackWindow()
|
D | InCallController.java | 924 private final Timeouts.Adapter mTimeoutsAdapter; field in InCallController 952 mTimeoutsAdapter = timeoutsAdapter; in InCallController() 1030 }.prepare(), mTimeoutsAdapter.getCallRemoveUnbindInCallServicesDelay( in onCallRemoved() 1355 mTimeoutsAdapter.getCallRemoveUnbindInCallServicesDelay( in bindToServices()
|
D | CallsManager.java | 356 private final Timeouts.Adapter mTimeoutsAdapter; field in CallsManager 499 mTimeoutsAdapter = timeoutsAdapter; in CallsManager() 539 systemStateHelper, defaultDialerCache, mTimeoutsAdapter, in CallsManager() 687 this::onCallFilteringComplete, mContext, mTimeoutsAdapter, mLock); in setUpCallFilterGraph() 4324 return mTimeoutsAdapter;
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessor.java | 227 private final Timeouts.Adapter mTimeoutsAdapter; field in CallRedirectionProcessor 291 mTimeoutsAdapter = callsManager.getTimeoutsAdapter(); in CallRedirectionProcessor() 382 mTimeoutsAdapter.getUserDefinedCallRedirectionTimeoutMillis( in processTimeoutForCallRedirection() 383 mContext.getContentResolver()) : mTimeoutsAdapter in processTimeoutForCallRedirection()
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothRouteManager.java | 226 mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( in enter() 446 private final Timeouts.Adapter mTimeoutsAdapter; field in BluetoothRouteManager 462 mTimeoutsAdapter = timeoutsAdapter; in BluetoothRouteManager() 668 mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( in connectBtAudio()
|