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.java84 import com.android.server.telecom.SystemStateHelper;
108 @Mock SystemStateHelper mMockSystemStateHelper;
DCallsManagerTest.java88 import com.android.server.telecom.SystemStateHelper;
180 @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()
686 private final SystemStateHelper mSystemStateHelper;
692 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine()
705 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine()
DTelecomSystem.java241 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext); in TelecomSystem()
258 CallsManager callsManager, SystemStateHelper systemStateProvider, in TelecomSystem()
DInCallControllerFactory.java26 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in create()
DInCallController.java51 import com.android.server.telecom.SystemStateHelper.SystemStateListener;
869 private final SystemStateHelper mSystemStateHelper;
885 SystemStateHelper systemStateHelper, in InCallController()
DCallsManager.java340 private final SystemStateHelper mSystemStateHelper;
472 SystemStateHelper systemStateHelper, in CallsManager()
4373 public SystemStateHelper getSystemStateHelper() {