/frameworks/base/core/java/com/android/internal/os/ |
D | LooperStats.java | 230 final boolean isInteractive = mTrackScreenInteractive in findEntry() 233 final int id = Entry.idFor(msg, isInteractive); in findEntry() 244 entry = new Entry(msg, isInteractive); in findEntry() 253 || entry.isInteractive != isInteractive) { in findEntry() 293 public final boolean isInteractive; field in LooperStats.Entry 305 Entry(Message msg, boolean isInteractive) { in Entry() argument 309 this.isInteractive = isInteractive; in Entry() 316 this.isInteractive = false; in Entry() 332 static int idFor(Message msg, boolean isInteractive) { in idFor() argument 337 result = 31 * result + (isInteractive ? 1231 : 1237); in idFor() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 410 public boolean isInteractive() { in isInteractive() method in BatterySaverController 446 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged() 457 isInteractive ? 1 : 0, // Device interactive state. in handleBatterySaverStateChanged() 466 mIsInteractive = isInteractive; in handleBatterySaverStateChanged() 469 fileValues = mBatterySaverPolicy.getFileValues(isInteractive); in handleBatterySaverStateChanged() 552 final boolean isInteractive = pm.isInteractive(); in updateBatterySavingStats() 567 isInteractive ? InteractiveState.INTERACTIVE : in updateBatterySavingStats()
|
D | BatterySaverLocationPlugin.java | 57 && !caller.isInteractive(); in updateLocationState()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderProxyTest.java | 63 mPowerManager.isInteractive(); in testNoListener() 74 mPowerManager.isInteractive(); in testListener() 93 mPowerManager.isInteractive(); in testSessionPropagated()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/ |
D | AttentionManagerServiceTest.java | 89 doReturn(true).when(mMockIPowerManager).isInteractive(); in setUp() 136 doReturn(false).when(mMockIPowerManager).isInteractive(); in testCheckAttention_returnFalseWhenPowerManagerNotInteract() 144 doReturn(true).when(mMockIPowerManager).isInteractive(); in testCheckAttention_callOnSuccess()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsImeTest.java | 99 if (powerManager.isInteractive()) { in turnScreenOn() 103 waitUntil("Device not interactive", powerManager::isInteractive); in turnScreenOn()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 123 when(mPowerManager.isInteractive()).thenReturn(true); in setUp() 171 when(mPowerManager.isInteractive()).thenReturn(false); in setNightMoveActivated_overridesFunctionCorrectly() 375 when(mPowerManager.isInteractive()).thenReturn(false); in customTIme_customAlarmSetWhenScreenTimeChanges() 387 when(mPowerManager.isInteractive()).thenReturn(false); in customTime_alarmSetInTheFutureWhenOn() 400 when(mPowerManager.isInteractive()).thenReturn(false); in customTime_appliesImmediatelyWhenScreenOff()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LooperStatsTest.java | 98 assertThat(entry.isInteractive).isEqualTo(true); in testSingleMessageDispatched() 130 assertThat(entry.isInteractive).isEqualTo(true); in testThrewException() 345 entries.sort(Comparator.comparing(e -> e.isInteractive)); in testScreenStateCollected() 348 assertThat(entry1.isInteractive).isEqualTo(false); in testScreenStateCollected() 353 assertThat(entry2.isInteractive).isEqualTo(true); in testScreenStateCollected() 505 assertThat(entry.isInteractive).isEqualTo(false); in testScreenStateTrackingDisabled()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 360 boolean notifyIdentityChange, boolean initialConfiguration, boolean isInteractive, in enableAndConfigure() argument 366 + ", isInteractive=" + isInteractive + ", isIdle=" + isIdle); in enableAndConfigure() 493 isInteractive, isIdle); in enableAndConfigure() 540 isInteractive, isIdle); in enableAndConfigure() 570 updateConfigForPowerSettings14(req, configSupplemental12, isInteractive, in enableAndConfigure() 591 updateConfigForPowerSettings(req, configSupplemental12, isInteractive, isIdle); in enableAndConfigure() 1180 NanConfigRequestSupplemental configSupplemental12, boolean isInteractive, in updateConfigForPowerSettings() argument 1185 } else if (!isInteractive) { in updateConfigForPowerSettings() 1206 NanConfigRequestSupplemental configSupplemental12, boolean isInteractive, in updateConfigForPowerSettings14() argument 1211 } else if (!isInteractive) { in updateConfigForPowerSettings14()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiControlServiceTest.java | 139 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 236 when(mIPowerManagerMock.isInteractive()).thenReturn(false); in initialPowerStatus_quiescentBoot_isTransientToStandby() 251 when(mIPowerManagerMock.isInteractive()).thenReturn(false); in powerStatusAfterBootComplete_quiescentBoot_isStandby()
|
D | ActiveSourceActionTest.java | 75 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 79 when(mPowerManager.isInteractive()).thenReturn(true); in setUp() 94 when(mPowerManager.isInteractive()).thenReturn(true); // Screen on. in correctlyReportsScreenInteractive()
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 95 public static boolean isInteractive(int wakefulness) { in isInteractive() method in PowerManagerInternal
|
D | IPowerManager.aidl | 59 boolean isInteractive(); in isInteractive() method
|
D | PowerManager.java | 911 return mService.isInteractive(); 1445 return isInteractive(); in isScreenOn() 1482 public boolean isInteractive() { in isInteractive() method in PowerManager
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | TestUtils.java | 51 boolean notifyIdentityChange, boolean initialConfiguration, boolean isInteractive, in enableAndConfigure() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | CachedDeviceStateService.java | 101 return powerManager.isInteractive(); in queryScreenInteractive()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 236 while (pm.isInteractive() && in testWifiReconnectionAfterSleep() 240 assertFalse("screen still on", pm.isInteractive()); in testWifiReconnectionAfterSleep()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ActivatableNotificationViewController.java | 96 && mView.isInteractive()) { in onTouch()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 119 ret = pm.isInteractive(); in isScreenOn()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 34 public boolean isInteractive() throws RemoteException { in isInteractive() method in BridgePowerManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingManagerImpl.java | 150 mScreenOn = context.getSystemService(PowerManager.class).isInteractive(); in FalsingManagerImpl() 269 if (!mSessionActive && mContext.getSystemService(PowerManager.class).isInteractive() in isFalseTouch()
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | WindowManagerPerfTestBase.java | 78 if (!context.getSystemService(PowerManager.class).isInteractive() in setUpOnce()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamService.java | 527 public boolean isInteractive() { in isInteractive() method in DreamService 1125 if (isInteractive()) pw.print(" interactive"); in dumpOnHandler()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/ |
D | DeviceIdlenessTracker.java | 153 if (!mPowerManager.isInteractive()) { in onReceive()
|