Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/os/
DPowerManagerInternal.java75 public static boolean isInteractive(int wakefulness) { in isInteractive() method in PowerManagerInternal
DPowerManager.java918 return isInteractive(); in isScreenOn()
955 public boolean isInteractive() { in isInteractive() method in PowerManager
957 return mService.isInteractive(); in isInteractive()
DIPowerManager.aidl47 boolean isInteractive(); in isInteractive() method
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeApiTest.java191 boolean isInteractive, boolean isIdle) throws RemoteException { in validateEnableAndConfigure() argument
193 initialConfiguration, isInteractive, isIdle); in validateEnableAndConfigure()
DWifiAwareStateManagerTest.java147 when(mMockPowerManager.isInteractive()).thenReturn(true); in setUp()
3235 private void simulatePowerStateChangeInteractive(boolean isInteractive) { in simulatePowerStateChangeInteractive() argument
3236 when(mMockPowerManager.isInteractive()).thenReturn(isInteractive); in simulatePowerStateChangeInteractive()
3239 isInteractive ? Intent.ACTION_SCREEN_ON : Intent.ACTION_SCREEN_OFF); in simulatePowerStateChangeInteractive()
DWifiAwareDataPathStateManagerTest.java171 when(mMockPowerManager.isInteractive()).thenReturn(true); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java208 boolean notifyIdentityChange, boolean initialConfiguration, boolean isInteractive, in enableAndConfigure() argument
214 + ", isInteractive=" + isInteractive + ", isIdle=" + isIdle); in enableAndConfigure()
298 updateConfigForPowerSettings(req.configParams, isInteractive, isIdle); in enableAndConfigure()
349 updateConfigForPowerSettings(req, isInteractive, isIdle); in enableAndConfigure()
894 private void updateConfigForPowerSettings(NanConfigRequest req, boolean isInteractive, in updateConfigForPowerSettings() argument
901 } else if (!isInteractive) { // intermediate power state: inactive in updateConfigForPowerSettings()
DWifiAwareStateManager.java2050 mPowerManager.isInteractive(), mPowerManager.isDeviceIdleMode()); in connectLocal()
2101 false, mPowerManager.isInteractive(), mPowerManager.isDeviceIdleMode()); in disconnectLocal()
2115 notificationReqs, false, mPowerManager.isInteractive(), in reconfigureLocal()
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java33 public boolean isInteractive() throws RemoteException { in isInteractive() method in BridgePowerManager
/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.java96 mScreenOn = context.getSystemService(PowerManager.class).isInteractive(); in FalsingManager()
200 if (!mSessionActive && mContext.getSystemService(PowerManager.class).isInteractive() in isFalseTouch()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java487 public boolean isInteractive() { in isInteractive() method in DreamService
1085 if (isInteractive()) pw.print(" interactive"); in dumpOnHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActivatableNotificationView.java269 if ((mNeedsDimming && !mActivated) && !isTouchExplorationEnabled() && isInteractive()) { in onTouchEvent()
284 protected boolean isInteractive() { in isInteractive() method in ActivatableNotificationView
DNotificationShelf.java747 protected boolean isInteractive() { in isInteractive() method
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java534 boolean interactive = mPowerManager.isInteractive(); in onTrigger()
DDeviceIdleController.java1835 boolean screenOn = mPowerManager.isInteractive(); in updateInteractivityLocked()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java341 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()
DPowerManagerService.java2670 return PowerManagerInternal.isInteractive(mWakefulness); in isInteractiveInternal()
4328 public boolean isInteractive() { in isInteractive() method in PowerManagerService.BinderService
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java163 when(powerManagerService.isInteractive()).thenReturn(true); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java708 mDeviceInteractive = mPM.isInteractive(); in setupLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java1665 if (!mService.mPowerManager.isInteractive()) { in prepareSurfaceLocked()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java570 disableGps |= result.batterySaverEnabled && !mPowerManager.isInteractive(); in updateLowPowerMode()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2127 if (!mPowerManager.isInteractive()) { in init()
6184 if (!mPowerManager.isInteractive()) { in interceptKeyBeforeQueueing()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java1084 handleScreenStateChanged(powerManager.isInteractive()); in WifiStateMachine()

12