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 | 84 import com.android.server.telecom.SystemStateHelper; 108 @Mock SystemStateHelper mMockSystemStateHelper;
|
D | CallsManagerTest.java | 88 import com.android.server.telecom.SystemStateHelper; 180 @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() 686 private final SystemStateHelper mSystemStateHelper; 692 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine() 705 public CallAudioModeStateMachine(SystemStateHelper systemStateHelper, in CallAudioModeStateMachine()
|
D | TelecomSystem.java | 241 SystemStateHelper systemStateHelper = new SystemStateHelper(mContext); in TelecomSystem() 258 CallsManager callsManager, SystemStateHelper systemStateProvider, in TelecomSystem()
|
D | InCallControllerFactory.java | 26 SystemStateHelper systemStateHelper, DefaultDialerCache defaultDialerCache, in create()
|
D | InCallController.java | 51 import com.android.server.telecom.SystemStateHelper.SystemStateListener; 869 private final SystemStateHelper mSystemStateHelper; 885 SystemStateHelper systemStateHelper, in InCallController()
|
D | CallsManager.java | 340 private final SystemStateHelper mSystemStateHelper; 472 SystemStateHelper systemStateHelper, in CallsManager() 4373 public SystemStateHelper getSystemStateHelper() {
|