Searched refs:SystemStateHelper (Results 1 – 14 of 14) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SystemStateHelperTest.java | 44 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 …]
|
D | CallAudioModeStateMachineTest.java | 27 import com.android.server.telecom.SystemStateHelper; 49 @Mock private SystemStateHelper mSystemStateHelper;
|
D | CallRedirectionProcessorTest.java | 39 import com.android.server.telecom.SystemStateHelper; 85 @Mock private SystemStateHelper mSystemStateHelper;
|
D | CallAudioModeTransitionTests.java | 26 import com.android.server.telecom.SystemStateHelper; 103 @Mock private SystemStateHelper mSystemStateHelper;
|
D | NewOutgoingCallIntentBroadcasterTest.java | 64 import com.android.server.telecom.SystemStateHelper; 89 @Mock private SystemStateHelper mSystemStateHelper;
|
D | TelecomSystemTest.java | 92 import com.android.server.telecom.SystemStateHelper; 514 public CallAudioModeStateMachine create(SystemStateHelper systemStateHelper, in setupTelecomSystem()
|
D | InCallControllerTests.java | 85 import com.android.server.telecom.SystemStateHelper; 110 @Mock SystemStateHelper mMockSystemStateHelper;
|
D | CallsManagerTest.java | 87 import com.android.server.telecom.SystemStateHelper; 179 @Mock private SystemStateHelper mSystemStateHelper;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | SystemStateHelper.java | 40 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()
|
D | CallAudioModeStateMachine.java | 34 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()
|
D | TelecomSystem.java | 240 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext); in TelecomSystem() 257 CallsManager callsManager, SystemStateHelper systemStateProvider, in TelecomSystem()
|
D | InCallControllerFactory.java | 26 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in create()
|
D | InCallController.java | 55 import com.android.server.telecom.SystemStateHelper.SystemStateListener; 923 private final SystemStateHelper mSystemStateHelper; 944 SystemStateHelper systemStateHelper, in InCallController()
|
D | CallsManager.java | 340 private final SystemStateHelper mSystemStateHelper; 470 SystemStateHelper systemStateHelper, in CallsManager() 4327 public SystemStateHelper getSystemStateHelper() {
|