Home
last modified time | relevance | path

Searched refs:isScreenOn (Results 1 – 8 of 8) 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.java319 if (!mScanNative.isOpportunisticScanClient(client) && !isScreenOn() && !isFiltered) { in handleStartScan()
1304 private boolean isScreenOn() { in isScreenOn() method in ScanManager
1330 if (isScreenOn() && mLocationManager.isLocationEnabled()) {
1358 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/Traceur/uitests/src/com/android/traceur/uitest/
DTraceurAppTests.java55 if (!mDevice.isScreenOn()) { in setUp()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionRequest.java123 if (powerManager.isScreenOn() in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPermissionRequest.java123 if (powerManager.isScreenOn() in onReceive()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java406 if (!(isChangingConfigurations() || getLatestMessage() == null) && pm.isScreenOn()) { in onStop()