Home
last modified time | relevance | path

Searched refs:isInteractive (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java267 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()
DBatterySaverLocationPlugin.java57 caller.isEnabled() && !caller.isInteractive(); in updateLocationState()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl47 boolean isInteractive(); in isInteractive() method
DPowerManagerInternal.java95 public static boolean isInteractive(int wakefulness) { in isInteractive() method in PowerManagerInternal
DPowerManager.java1043 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/
DWifiStressTest.java236 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/
DTestUtils.java51 boolean notifyIdentityChange, boolean initialConfiguration, boolean isInteractive, in enableAndConfigure() argument
DWifiAwareNativeApiTest.java436 boolean initialConfiguration, boolean isInteractive, boolean isIdle, boolean isHal12) in validateEnableAndConfigure() argument
441 initialConfiguration, isInteractive, isIdle); in validateEnableAndConfigure()
DWifiAwareStateManagerTest.java170 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/
DBridgePowerManager.java33 public boolean isInteractive() throws RemoteException { in isInteractive() method in BridgePowerManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java331 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()
DWifiAwareStateManager.java2204 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/
DShellUiAutomatorBridge.java118 ret = pm.isInteractive(); in isScreenOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManager.java99 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/
DDreamService.java522 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/
DBrightnessTracker.java384 && 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/
DActivatableNotificationView.java286 if (mNeedsDimming && !isTouchExplorationEnabled() && isInteractive()) { in onTouchEvent()
301 protected boolean isInteractive() { in isInteractive() method in ActivatableNotificationView
DNotificationShelf.java830 protected boolean isInteractive() { in isInteractive() method
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java534 boolean interactive = mPowerManager.isInteractive(); in onTrigger()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java360 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java862 public boolean isInteractive(Context context) { in isInteractive() method in BrightnessTrackerTest.TestInjector
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java673 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/
DBstatsCpuTimesValidationTest.java954 interactive == powerManager.isInteractive() ? null : "expected=" + interactive in assertScreenInteractive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java188 when(powerManagerService.isInteractive()).thenReturn(true); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java732 mDeviceInteractive = mPM.isInteractive(); in setupLocked()

12