Home
last modified time | relevance | path

Searched refs:isScreenOn (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DProximitySensor.java157 } else if (powerManager.isScreenOn()) { in onInCallShowing()
175 return !powerManager.isScreenOn(); in isScreenReallyOff()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java315 if (!mScanNative.isOpportunisticScanClient(client) && !isScreenOn() && !isFiltered) { in handleStartScan()
1300 private boolean isScreenOn() { in isScreenOn() method in ScanManager
1326 if (isScreenOn() && mLocationManager.isLocationEnabled()) {
1354 if (locationEnabled && isScreenOn()) {
/packages/apps/Nfc/src/com/android/nfc/
DScreenStateHelper.java34 if (!mPowerManager.isScreenOn()) { in checkScreenState()
/packages/apps/Messaging/tests/src/com/android/messaging/
DTestUtil.java65 if (!pm.isScreenOn()) { in haltIfTestsAreNotAbleToRun()
/packages/apps/Email/tests/src/com/android/email/
DTestUtils.java157 if (!pm.isScreenOn()) { in isScreenOnAndNotLocked()
/packages/apps/Traceur/uitests/src/com/android/settings/ui/
DTraceurAppTests.java52 if (!mDevice.isScreenOn()) { in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPermissionRequest.java123 if (powerManager.isScreenOn() in onReceive()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionRequest.java123 if (powerManager.isScreenOn() in onReceive()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java312 if (!(isChangingConfigurations() || getLatestMessage() == null) && pm.isScreenOn()) { in onStop()