Home
last modified time | relevance | path

Searched refs:mProximitySensorManager (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DProximitySensorManagerTest.java41 private ProximitySensorManager mProximitySensorManager; field in ProximitySensorManagerTest
50 mProximitySensorManager = new ProximitySensorManager(telecomWakeLock, mCallsManager); in setUp()
55 mProximitySensorManager = null; in tearDown()
66 mProximitySensorManager.turnOn(); in testTurnOnProximityWithCallsActive()
76 mProximitySensorManager.turnOn(); in testTurnOnProximityWithNoCallsActive()
86 mProximitySensorManager.turnOff(true); in testTurnOffProximityExplicitly()
98 mProximitySensorManager.onCallRemoved(mock(Call.class)); in testCallRemovedFromCallsManagerCallsActive()
108 mProximitySensorManager.onCallRemoved(mock(Call.class)); in testCallRemovedFromCallsManagerNoCallsActive()
DTelecomSystemTest.java108 return mProximitySensorManager; in create()
148 @Mock ProximitySensorManager mProximitySensorManager; field in TelecomSystemTest
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java180 private final ProximitySensorManager mProximitySensorManager; field in CallsManager
275 mProximitySensorManager = proximitySensorManagerFactory.create(context, this); in CallsManager()
290 mListeners.add(mProximitySensorManager); in CallsManager()
1280 mProximitySensorManager.turnOn(); in turnOnProximitySensor()
1289 mProximitySensorManager.turnOff(screenOnImmediately); in turnOffProximitySensor()