Searched refs:SystemStateHelper (Results 1 – 14 of 14) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SystemStateHelperTest.java | 50 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 …]
|
D | CallAudioModeStateMachineTest.java | 45 import com.android.server.telecom.SystemStateHelper; 59 @Mock private SystemStateHelper mSystemStateHelper;
|
D | CallRedirectionProcessorTest.java | 39 import com.android.server.telecom.SystemStateHelper; 83 @Mock private SystemStateHelper mSystemStateHelper;
|
D | CallAudioModeTransitionTests.java | 38 import com.android.server.telecom.SystemStateHelper; 106 @Mock private SystemStateHelper mSystemStateHelper;
|
D | NewOutgoingCallIntentBroadcasterTest.java | 65 import com.android.server.telecom.SystemStateHelper; 93 @Mock private SystemStateHelper mSystemStateHelper;
|
D | InCallControllerTests.java | 108 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()
|
D | TelecomSystemTest.java | 96 import com.android.server.telecom.SystemStateHelper; 566 public CallAudioModeStateMachine create(SystemStateHelper systemStateHelper, in setupTelecomSystem()
|
D | CallsManagerTest.java | 129 import com.android.server.telecom.SystemStateHelper; 284 @Mock private SystemStateHelper mSystemStateHelper;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | SystemStateHelper.java | 42 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()
|
D | InCallControllerFactory.java | 26 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in create()
|
D | CallAudioModeStateMachine.java | 43 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()
|
D | TelecomSystem.java | 273 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext, mLock); in TelecomSystem() 293 CallsManager callsManager, SystemStateHelper systemStateProvider, in TelecomSystem()
|
D | InCallController.java | 69 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()
|
D | CallsManager.java | 455 private final SystemStateHelper mSystemStateHelper; 590 SystemStateHelper systemStateHelper, in CallsManager() 5709 public SystemStateHelper getSystemStateHelper() {
|