/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 267 public boolean isInteractive() { in isInteractive() method in BatterySaverController 300 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged() 307 isInteractive ? 1 : 0, // Device interactive state. in handleBatterySaverStateChanged() 315 mIsInteractive = isInteractive; in handleBatterySaverStateChanged() 318 fileValues = mBatterySaverPolicy.getFileValues(isInteractive); in handleBatterySaverStateChanged() 379 final boolean isInteractive = pm.isInteractive(); in updateBatterySavingStats() 392 isInteractive ? InteractiveState.INTERACTIVE : InteractiveState.NON_INTERACTIVE, in updateBatterySavingStats()
|
D | BatterySaverLocationPlugin.java | 57 caller.isEnabled() && !caller.isInteractive(); in updateLocationState()
|
/frameworks/base/core/java/android/os/ |
D | IPowerManager.aidl | 47 boolean isInteractive(); in isInteractive() method
|
D | PowerManagerInternal.java | 95 public static boolean isInteractive(int wakefulness) { in isInteractive() method in PowerManagerInternal
|
D | PowerManager.java | 1043 return isInteractive(); in isScreenOn() 1080 public boolean isInteractive() { in isInteractive() method in PowerManager 1082 return mService.isInteractive(); in isInteractive()
|
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | TestUtils.java | 51 boolean notifyIdentityChange, boolean initialConfiguration, boolean isInteractive, in enableAndConfigure() argument
|
D | WifiAwareNativeApiTest.java | 436 boolean initialConfiguration, boolean isInteractive, boolean isIdle, boolean isHal12) in validateEnableAndConfigure() argument 441 initialConfiguration, isInteractive, isIdle); in validateEnableAndConfigure()
|
D | WifiAwareStateManagerTest.java | 170 when(mMockPowerManager.isInteractive()).thenReturn(true); in setUp() 3469 private void simulatePowerStateChangeInteractive(boolean isInteractive) { in simulatePowerStateChangeInteractive() argument 3470 when(mMockPowerManager.isInteractive()).thenReturn(isInteractive); in simulatePowerStateChangeInteractive() 3473 isInteractive ? Intent.ACTION_SCREEN_ON : Intent.ACTION_SCREEN_OFF); in simulatePowerStateChangeInteractive()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 33 public boolean isInteractive() throws RemoteException { in isInteractive() method in BridgePowerManager
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 331 boolean notifyIdentityChange, boolean initialConfiguration, boolean isInteractive, in enableAndConfigure() argument 337 + ", isInteractive=" + isInteractive + ", isIdle=" + isIdle); in enableAndConfigure() 431 updateConfigForPowerSettings(req.configParams, configSupplemental12, isInteractive, in enableAndConfigure() 487 updateConfigForPowerSettings(req, configSupplemental12, isInteractive, isIdle); in enableAndConfigure() 1064 NanConfigRequestSupplemental configSupplemental12, boolean isInteractive, in updateConfigForPowerSettings() argument 1069 } else if (!isInteractive) { in updateConfigForPowerSettings()
|
D | WifiAwareStateManager.java | 2204 mPowerManager.isInteractive(), mPowerManager.isDeviceIdleMode()); in connectLocal() 2255 false, mPowerManager.isInteractive(), mPowerManager.isDeviceIdleMode()); in disconnectLocal() 2269 notificationReqs, false, mPowerManager.isInteractive(), in reconfigureLocal()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 118 ret = pm.isInteractive(); in isScreenOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingManager.java | 99 mScreenOn = context.getSystemService(PowerManager.class).isInteractive(); in FalsingManager() 206 if (!mSessionActive && mContext.getSystemService(PowerManager.class).isInteractive() in isFalseTouch()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamService.java | 522 public boolean isInteractive() { in isInteractive() method in DreamService 1131 if (isInteractive()) pw.print(" interactive"); in dumpOnHandler()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 384 && mInjector.isInteractive(mContext) in startSensorListener() 951 public boolean isInteractive(Context context) { in isInteractive() method in BrightnessTracker.Injector 952 return context.getSystemService(PowerManager.class).isInteractive(); in isInteractive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ActivatableNotificationView.java | 286 if (mNeedsDimming && !isTouchExplorationEnabled() && isInteractive()) { in onTouchEvent() 301 protected boolean isInteractive() { in isInteractive() method in ActivatableNotificationView
|
D | NotificationShelf.java | 830 protected boolean isInteractive() { in isInteractive() method
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 534 boolean interactive = mPowerManager.isInteractive(); in onTrigger()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 360 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 862 public boolean isInteractive(Context context) { in isInteractive() method in BrightnessTrackerTest.TestInjector
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 673 boolean isInteractive(); in isInteractive() method 688 public boolean isInteractive() { in WindowState() 689 return service.mPowerManager.isInteractive(); in WindowState() 2338 if (allowTheaterMode && canTurnScreenOn && !mPowerManagerWrapper.isInteractive()) { in prepareWindowToDisplayDuringRelayout()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 954 interactive == powerManager.isInteractive() ? null : "expected=" + interactive in assertScreenInteractive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 188 when(powerManagerService.isInteractive()).thenReturn(true); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 732 mDeviceInteractive = mPM.isInteractive(); in setupLocked()
|