Home
last modified time | relevance | path

Searched refs:mTimeoutsAdapter (Results 1 – 15 of 15) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallFilterTest.java64 @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 …]
DBluetoothRouteManagerTest.java66 @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()
DIncomingCallFilterGraphTest.java51 @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()
DBluetoothRouteTransitionTests.java241 @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()
DCallRedirectionProcessorTest.java93 @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()
DInCallControllerTests.java115 @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()
DTelecomSystemTest.java318 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()
DCallsManagerTest.java181 @Mock private Timeouts.Adapter mTimeoutsAdapter; field in CallsManagerTest
245 mTimeoutsAdapter, in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DIncomingCallFilter.java55 private final Timeouts.Adapter mTimeoutsAdapter; field in IncomingCallFilter
76 mTimeoutsAdapter = timeoutsAdapter; in IncomingCallFilter()
96 }.prepare(), mTimeoutsAdapter.getCallScreeningTimeoutMillis(mContext.getContentResolver())); in performFiltering()
DIncomingCallFilterGraph.java56 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/
DEmergencyCallHelper.java35 private final Timeouts.Adapter mTimeoutsAdapter; field in EmergencyCallHelper
48 mTimeoutsAdapter = timeoutsAdapter; in EmergencyCallHelper()
76 < mTimeoutsAdapter.getEmergencyCallbackWindowMillis(mContext.getContentResolver()); in isInEmergencyCallbackWindow()
DInCallController.java924 private final Timeouts.Adapter mTimeoutsAdapter; field in InCallController
952 mTimeoutsAdapter = timeoutsAdapter; in InCallController()
1030 }.prepare(), mTimeoutsAdapter.getCallRemoveUnbindInCallServicesDelay( in onCallRemoved()
1355 mTimeoutsAdapter.getCallRemoveUnbindInCallServicesDelay( in bindToServices()
DCallsManager.java356 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/
DCallRedirectionProcessor.java227 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/
DBluetoothRouteManager.java226 mTimeoutsAdapter.getBluetoothPendingTimeoutMillis( in enter()
446 private final Timeouts.Adapter mTimeoutsAdapter; field in BluetoothRouteManager
462 mTimeoutsAdapter = timeoutsAdapter; in BluetoothRouteManager()
668 mTimeoutsAdapter.getRetryBluetoothConnectAudioBackoffMillis( in connectBtAudio()