Home
last modified time | relevance | path

Searched refs:SystemStateHelper (Results 1 – 14 of 14) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java50 import com.android.server.telecom.SystemStateHelper;
51 import com.android.server.telecom.SystemStateHelper.SystemStateListener;
115 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext, mLock); in testListeners()
127 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForCarMode_True()
134 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForCarMode_False()
142 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_True()
146 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_True()
154 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjection_False()
163 assertTrue(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjectionAndCarMode_True()
172 assertFalse(new SystemStateHelper(mContext, mLock).isCarModeOrProjectionActive()); in testQuerySystemForAutomotiveProjectionOrCarMode_nullService()
[all …]
DCallAudioModeStateMachineTest.java45 import com.android.server.telecom.SystemStateHelper;
59 @Mock private SystemStateHelper mSystemStateHelper;
DCallRedirectionProcessorTest.java39 import com.android.server.telecom.SystemStateHelper;
83 @Mock private SystemStateHelper mSystemStateHelper;
DCallAudioModeTransitionTests.java38 import com.android.server.telecom.SystemStateHelper;
106 @Mock private SystemStateHelper mSystemStateHelper;
DNewOutgoingCallIntentBroadcasterTest.java65 import com.android.server.telecom.SystemStateHelper;
93 @Mock private SystemStateHelper mSystemStateHelper;
DInCallControllerTests.java108 import com.android.server.telecom.SystemStateHelper;
140 @Mock SystemStateHelper mMockSystemStateHelper;
199 private SystemStateHelper.SystemStateListener mSystemStateListener;
250 ArgumentCaptor<SystemStateHelper.SystemStateListener> systemStateListenerArgumentCaptor in setUp()
251 = ArgumentCaptor.forClass(SystemStateHelper.SystemStateListener.class); in setUp()
DTelecomSystemTest.java96 import com.android.server.telecom.SystemStateHelper;
566 public CallAudioModeStateMachine create(SystemStateHelper systemStateHelper, in setupTelecomSystem()
DCallsManagerTest.java129 import com.android.server.telecom.SystemStateHelper;
284 @Mock private SystemStateHelper mSystemStateHelper;
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateHelper.java42 public class SystemStateHelper implements UiModeManager.OnProjectionStateChangedListener { class
87 Log.i(SystemStateHelper.this,
96 Log.i(SystemStateHelper.this,
103 Log.w(SystemStateHelper.this,
110 Log.w(SystemStateHelper.this,
142 public SystemStateHelper(Context context, TelecomSystem.SyncRoot lock) { in SystemStateHelper() method in SystemStateHelper
247 Log.w(SystemStateHelper.class.getSimpleName(), in isDeviceAtEar()
DInCallControllerFactory.java26 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in create()
DCallAudioModeStateMachine.java43 public CallAudioModeStateMachine create(SystemStateHelper systemStateHelper, in create()
894 private final SystemStateHelper mSystemStateHelper;
902 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine()
918 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine()
DTelecomSystem.java273 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext, mLock); in TelecomSystem()
293 CallsManager callsManager, SystemStateHelper systemStateProvider, in TelecomSystem()
DInCallController.java69 import com.android.server.telecom.SystemStateHelper.SystemStateListener;
1238 private final SystemStateHelper mSystemStateHelper;
1303 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in InCallController()
1312 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in InCallController()
DCallsManager.java455 private final SystemStateHelper mSystemStateHelper;
590 SystemStateHelper systemStateHelper, in CallsManager()
5709 public SystemStateHelper getSystemStateHelper() {