/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | AppScanStats.java | 492 private static void recordScreenOnOffMetrics(boolean isScreenOn) { in recordScreenOnOffMetrics() argument 493 if (isScreenOn) { in recordScreenOnOffMetrics() 535 boolean isScreenOn; in recordBatchScanRadioResultCount() 537 isScreenOn = sIsScreenOn; in recordBatchScanRadioResultCount() 542 if (isScreenOn) { in recordBatchScanRadioResultCount() 553 static void setScreenState(boolean isScreenOn) { in setScreenState() argument 555 if (sIsScreenOn == isScreenOn) { in setScreenState() 562 recordScreenOnOffMetrics(isScreenOn); in setScreenState() 563 sIsScreenOn = isScreenOn; in setScreenState()
|
D | ScanManager.java | 194 mScreenOn = isScreenOn(); in ScanManager() 1909 private boolean isScreenOn() { in isScreenOn() method in ScanManager 1935 if (isScreenOn()) {
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ProximitySensor.java | 157 } else if (powerManager.isScreenOn()) { in onInCallShowing() 175 return !powerManager.isScreenOn(); in isScreenReallyOff()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | TestUtil.java | 65 if (!pm.isScreenOn()) { in haltIfTestsAreNotAbleToRun()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ScreenOnTracker.java | 71 public boolean isScreenOn() { in isScreenOn() method in ScreenOnTracker
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | CameraMicIndicatorsPermissionTest.kt | 125 private var isScreenOn = false in <lambda>() variable 172 if (!isScreenOn) { in <lambda>() 176 isScreenOn = true in <lambda>()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | HostEmulationManagerTest.java | 620 when(mPowerManager.isScreenOn()).thenReturn(false); in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresScreenOn() 651 when(mPowerManager.isScreenOn()).thenReturn(true); in testOnHostEmulationData_stateW4Select_defaultServiceExists_notOnHost() 714 when(mPowerManager.isScreenOn()).thenReturn(true); in testOnHostEmulationData_stateW4Select_noDefaultService_matchingActiveService() 760 when(mPowerManager.isScreenOn()).thenReturn(true); in testOnHostEmulationData_stateW4Select_noDefaultService_noBoundActiveService() 858 when(mPowerManager.isScreenOn()).thenReturn(true); in testOnHostEmulationData_stateXfer_selectAid_activeService() 899 when(mPowerManager.isScreenOn()).thenReturn(true); in testOnHostEmulationData_stateXfer_selectAid_noActiveService()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarApiTestBase.java | 193 SUSPEND_TIMEOUT_MS, () -> !powerManager.isScreenOn()); in suspendToRamAndResume()
|
/packages/apps/Traceur/uitests/src/com/android/traceur/uitest/ |
D | TraceurAppTests.java | 65 if (!mDevice.isScreenOn()) { in setUp()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPermissionRequest.java | 117 if (powerManager.isScreenOn() in onReceive()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | HostEmulationManager.java | 652 } else if (!mPowerManager.isScreenOn()) { in onHostEmulationData() 704 if (defaultServiceInfo.requiresScreenOn() && !mPowerManager.isScreenOn()) { in onHostEmulationData()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/ |
D | ScanManagerTest.java | 341 private Message createScreenOnOffMessage(boolean isScreenOn) { in createScreenOnOffMessage() argument 343 message.what = isScreenOn ? ScanManager.MSG_SCREEN_ON : ScanManager.MSG_SCREEN_OFF; in createScreenOnOffMessage()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 662 if (!(isChangingConfigurations() || latestMessage == null) && pm.isScreenOn()) { in onUserLeaveHint()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 1679 && mDecodedProto.wifiSystemStateEntries[i].isScreenOn == screenOn) { in assertSystemStateEntryEquals()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 5369 mWifiLogProto.wifiSystemStateEntries[i].isScreenOn = in consolidateProto()
|