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.java44 import com.android.server.telecom.SystemStateHelper;
45 import com.android.server.telecom.SystemStateHelper.SystemStateListener;
105 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext); in testListeners()
118 assertTrue(new SystemStateHelper(mContext).isCarMode()); in testQuerySystemForCarMode_True()
126 assertFalse(new SystemStateHelper(mContext).isCarMode()); in testQuerySystemForCarMode_False()
133 new SystemStateHelper(mContext); in testReceiverAndIntentFilter()
148 new SystemStateHelper(mContext).addListener(mSystemStateListener); in testOnEnterExitCarMode()
180 assertTrue(SystemStateHelper.isDeviceAtEar(mContext)); in testDeviceOnEarCorrectlyDetected()
200 assertFalse(SystemStateHelper.isDeviceAtEar(mContext)); in testDeviceIsNotOnEarWithProxNotSensed()
221 assertFalse(SystemStateHelper.isDeviceAtEar(mContext)); in testDeviceIsNotOnEarWithWrongOrientation()
[all …]
DCallAudioModeStateMachineTest.java27 import com.android.server.telecom.SystemStateHelper;
49 @Mock private SystemStateHelper mSystemStateHelper;
DCallRedirectionProcessorTest.java39 import com.android.server.telecom.SystemStateHelper;
85 @Mock private SystemStateHelper mSystemStateHelper;
DCallAudioModeTransitionTests.java26 import com.android.server.telecom.SystemStateHelper;
103 @Mock private SystemStateHelper mSystemStateHelper;
DNewOutgoingCallIntentBroadcasterTest.java64 import com.android.server.telecom.SystemStateHelper;
89 @Mock private SystemStateHelper mSystemStateHelper;
DTelecomSystemTest.java92 import com.android.server.telecom.SystemStateHelper;
514 public CallAudioModeStateMachine create(SystemStateHelper systemStateHelper, in setupTelecomSystem()
DInCallControllerTests.java85 import com.android.server.telecom.SystemStateHelper;
110 @Mock SystemStateHelper mMockSystemStateHelper;
DCallsManagerTest.java87 import com.android.server.telecom.SystemStateHelper;
179 @Mock private SystemStateHelper mSystemStateHelper;
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateHelper.java40 public class SystemStateHelper { class
65 Log.i(SystemStateHelper.this, "ENTER_CAR_MODE_PRIVILEGED; priority=%d, pkg=%s",
73 Log.i(SystemStateHelper.this, "EXIT_CAR_MODE_PRIVILEGED; priority=%d, pkg=%s",
88 public SystemStateHelper(Context context) { in SystemStateHelper() method in SystemStateHelper
183 Log.w(SystemStateHelper.class.getSimpleName(), in isDeviceAtEar()
DCallAudioModeStateMachine.java34 public CallAudioModeStateMachine create(SystemStateHelper systemStateHelper, in create()
674 private final SystemStateHelper mSystemStateHelper;
680 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine()
693 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine()
DTelecomSystem.java240 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext); in TelecomSystem()
257 CallsManager callsManager, SystemStateHelper systemStateProvider, in TelecomSystem()
DInCallControllerFactory.java26 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in create()
DInCallController.java55 import com.android.server.telecom.SystemStateHelper.SystemStateListener;
923 private final SystemStateHelper mSystemStateHelper;
944 SystemStateHelper systemStateHelper, in InCallController()
DCallsManager.java340 private final SystemStateHelper mSystemStateHelper;
470 SystemStateHelper systemStateHelper, in CallsManager()
4327 public SystemStateHelper getSystemStateHelper() {