/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 | 389 public boolean isInteractive() { in isInteractive() method in BatterySaverController 425 final boolean isInteractive = getPowerManager().isInteractive(); in handleBatterySaverStateChanged() 436 isInteractive ? 1 : 0, // Device interactive state. in handleBatterySaverStateChanged() 445 mIsInteractive = isInteractive; in handleBatterySaverStateChanged() 448 fileValues = mBatterySaverPolicy.getFileValues(isInteractive); in handleBatterySaverStateChanged() 508 final boolean isInteractive = pm.isInteractive(); in updateBatterySavingStats() 522 isInteractive ? InteractiveState.INTERACTIVE : InteractiveState.NON_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 | 72 doReturn(true).when(mMockIPowerManager).isInteractive(); in setUp() 119 doReturn(false).when(mMockIPowerManager).isInteractive(); in testCheckAttention_returnFalseWhenPowerManagerNotInteract() 127 doReturn(true).when(mMockIPowerManager).isInteractive(); in testCheckAttention_callOnSuccess()
|
/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/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 77 when(mPowerManager.isInteractive()).thenReturn(true); in setUp() 92 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 | 53 boolean isInteractive(); in isInteractive() method
|
D | PowerManager.java | 1290 return isInteractive(); in isScreenOn() 1327 public boolean isInteractive() { in isInteractive() method in PowerManager 1329 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 | 591 boolean initialConfiguration, boolean isInteractive, boolean isIdle, boolean isHal12) in validateEnableAndConfigure() argument 596 initialConfiguration, isInteractive, isIdle); in validateEnableAndConfigure()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CachedDeviceStateService.java | 101 return powerManager.isInteractive(); in queryScreenInteractive()
|
D | LooperStatsService.java | 141 entry.isInteractive, in dump()
|
D | GestureLauncherService.java | 550 boolean interactive = mPowerManager.isInteractive(); in onTrigger()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 335 boolean notifyIdentityChange, boolean initialConfiguration, boolean isInteractive, in enableAndConfigure() argument 341 + ", isInteractive=" + isInteractive + ", isIdle=" + isIdle); in enableAndConfigure() 435 updateConfigForPowerSettings(req.configParams, configSupplemental12, isInteractive, in enableAndConfigure() 491 updateConfigForPowerSettings(req, configSupplemental12, isInteractive, isIdle); in enableAndConfigure() 1078 NanConfigRequestSupplemental configSupplemental12, boolean isInteractive, in updateConfigForPowerSettings() argument 1083 } else if (!isInteractive) { in updateConfigForPowerSettings()
|
/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 | 147 mScreenOn = context.getSystemService(PowerManager.class).isInteractive(); in FalsingManagerImpl() 266 if (!mSessionActive && mContext.getSystemService(PowerManager.class).isInteractive() in isFalseTouch()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 80 when(mPowerManager.isInteractive()).thenReturn(true); in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 413 && mInjector.isInteractive(mContext) in startSensorListener() 764 || !mInjector.isInteractive(mContext) in enableColorSampling() 1097 public boolean isInteractive(Context context) { in isInteractive() method in BrightnessTracker.Injector 1098 return context.getSystemService(PowerManager.class).isInteractive(); in isInteractive()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 341 doReturn(false).when(mPowerManager).isInteractive(); in testUpdateInteractivityLocked() 346 doReturn(false).when(mPowerManager).isInteractive(); in testUpdateInteractivityLocked() 351 doReturn(true).when(mPowerManager).isInteractive(); in testUpdateInteractivityLocked() 356 doReturn(true).when(mPowerManager).isInteractive(); in testUpdateInteractivityLocked() 361 doReturn(false).when(mPowerManager).isInteractive(); in testUpdateInteractivityLocked() 1956 doReturn(on).when(mPowerManager).isInteractive(); in setScreenOn()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamService.java | 524 public boolean isInteractive() { in isInteractive() method in DreamService 1141 if (isInteractive()) pw.print(" interactive"); in dumpOnHandler()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ActivatableNotificationView.java | 274 if (mNeedsDimming && !isTouchExplorationEnabled() && isInteractive()) { in onTouchEvent() 289 protected boolean isInteractive() { in isInteractive() method in ActivatableNotificationView
|