Home
last modified time | relevance | path

Searched refs:interactive (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java179 boolean interactive = true; in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive()
181 boolean intercepted = mGestureLauncherService.interceptPowerKeyDown(keyEvent, interactive, in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive()
198 boolean interactive = true; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
200 boolean intercepted = mGestureLauncherService.interceptPowerKeyDown(keyEvent, interactive, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
210 intercepted = mGestureLauncherService.interceptPowerKeyDown(keyEvent, interactive, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
242 boolean interactive = true; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
244 boolean intercepted = mGestureLauncherService.interceptPowerKeyDown(keyEvent, interactive, in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
254 intercepted = mGestureLauncherService.interceptPowerKeyDown(keyEvent, interactive, in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
288 boolean interactive = true; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
290 boolean intercepted = mGestureLauncherService.interceptPowerKeyDown(keyEvent, interactive, in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java360 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()
363 + ", reason=" + reason + ", interactive=" + interactive); in onWakefulnessChangeStarted()
377 if (mInteractive != interactive) { in onWakefulnessChangeStarted()
384 mInputManagerInternal.setInteractive(interactive); in onWakefulnessChangeStarted()
385 mInputMethodManagerInternal.setInteractive(interactive); in onWakefulnessChangeStarted()
389 mBatteryStats.noteInteractive(interactive); in onWakefulnessChangeStarted()
393 mInteractive = interactive; in onWakefulnessChangeStarted()
DBatterySaverPolicy.java518 public ArrayMap<String, String> getFileValues(boolean interactive) { in getFileValues() argument
520 return interactive ? mFilesForInteractive : mFilesForNoninteractive; in getFileValues()
DPowerManagerService.java2576 final boolean interactive = mDisplayPowerRequest.isBrightOrDim(); in updateSuspendBlockerLocked()
2606 if (interactive || mDisplayReady) { in updateSuspendBlockerLocked()
2607 setHalInteractiveModeLocked(interactive); in updateSuspendBlockerLocked()
/frameworks/base/core/proto/android/view/
Denums.proto33 // non-interactive.
37 // device is non-interactive.
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManagerInternal.java31 void setInteractive(boolean interactive); in setInteractive() argument
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java357 public boolean interceptPowerKeyDown(KeyEvent event, boolean interactive, in interceptPowerKeyDown() argument
367 intercept = interactive; in interceptPowerKeyDown()
534 boolean interactive = mPowerManager.isInteractive(); in onTrigger()
539 keyguardShowingAndNotOccluded, interactive)); in onTrigger()
541 if (keyguardShowingAndNotOccluded || !interactive) { in onTrigger()
DEventLogTags.logtags36 2739 battery_saver_mode (prevOffOrOn|1|5),(nowOffOrOn|1|5),(interactive|1|5),(features|3|5),(reason…
37 27390 battery_saving_stats (batterySaver|1|5),(interactive|1|5),(doze|1|5),(delta_duration|2|3),(de…
DInputMethodManagerService.java3551 private void handleSetInteractive(final boolean interactive) { in handleSetInteractive() argument
3553 mIsInteractive = interactive; in handleSetInteractive()
3554 updateSystemUiLocked(mCurToken, interactive ? mImeWindowVis : 0, mBackDisposition); in handleSetInteractive()
4496 public void setInteractive(boolean interactive) { in setInteractive() argument
4499 interactive ? 1 : 0, 0)); in setInteractive()
DAlarmManagerService.java2922 void interactiveStateChangedLocked(boolean interactive) { in interactiveStateChangedLocked() argument
2923 if (mInteractive != interactive) { in interactiveStateChangedLocked()
2924 mInteractive = interactive; in interactiveStateChangedLocked()
2926 if (interactive) { in interactiveStateChangedLocked()
/frameworks/base/core/java/android/hardware/input/
DInputManagerInternal.java43 public abstract void setInteractive(boolean interactive); in setInteractive() argument
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp220 void setInteractive(bool interactive);
884 void NativeInputManager::setInteractive(bool interactive) { in setInteractive() argument
885 mInteractive = interactive; in setInteractive()
995 bool interactive = mInteractive.load(); in interceptKeyBeforeQueueing() local
996 if (interactive) { in interceptKeyBeforeQueueing()
1020 if (interactive) { in interceptKeyBeforeQueueing()
1033 bool interactive = mInteractive.load(); in interceptMotionBeforeQueueing() local
1034 if (interactive) { in interceptMotionBeforeQueueing()
1053 if (interactive) { in interceptMotionBeforeQueueing()
1519 jclass clazz, jlong ptr, jboolean interactive) { in nativeSetInteractive() argument
[all …]
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java469 private static String interactiveStateToString(int interactive) { in interactiveStateToString() argument
470 switch (interactive) { in interactiveStateToString()
480 return Integer.toString(interactive); in interactiveStateToString()
/frameworks/base/cmds/hid/
DREADME.md10 When using another program to control hid in interactive mode, registering a
26 is ready. The interactive mode is the recommended method of communicating
126 1. As soon as EOF is reached (either in interactive mode, or in file mode),
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySavingStatsTest.java242 private void assertLog(boolean batterySaver, boolean interactive, long deltaTimeMs, in assertLog() argument
252 assertEquals(interactive ? 1 : 0, lm.getTaggedData(MetricsEvent.FIELD_INTERACTIVE)); in assertLog()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java514 final boolean interactive = in reportLocked()
519 .addTaggedData(MetricsEvent.FIELD_INTERACTIVE, interactive ? 1 : 0) in reportLocked()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1318 private void interceptPowerKeyDown(KeyEvent event, boolean interactive) { in interceptPowerKeyDown() argument
1331 boolean panic = mImmersiveModeConfirmation.onPowerKeyDown(interactive, in interceptPowerKeyDown()
1342 if (interactive && !mScreenshotChordPowerKeyTriggered in interceptPowerKeyDown()
1360 && telecomManager.isInCall() && interactive) { in interceptPowerKeyDown()
1371 gesturedServiceIntercepted = gestureService.interceptPowerKeyDown(event, interactive, in interceptPowerKeyDown()
1386 if (interactive) { in interceptPowerKeyDown()
1438 private void interceptPowerKeyUp(KeyEvent event, boolean interactive, boolean canceled) { in interceptPowerKeyUp() argument
1454 interactive ? 1 : 0, mPowerKeyPressCounter, eventTime); in interceptPowerKeyUp()
1461 powerPress(eventTime, interactive, mPowerKeyPressCounter); in interceptPowerKeyUp()
1493 private void powerPress(long eventTime, boolean interactive, int count) { in powerPress() argument
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl100 void noteInteractive(boolean interactive); in noteInteractive() argument
/frameworks/base/core/java/android/service/dreams/
DDreamService.java513 public void setInteractive(boolean interactive) { in setInteractive() argument
514 mInteractive = interactive; in setInteractive()
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto100 // True if interactive mode is enabled.
139 // Timestamp of last interactive power hint.
233 // True to decouple interactive mode from the display state.
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java950 private void assertScreenInteractive(boolean interactive) throws Exception { in assertScreenInteractive() argument
954 interactive == powerManager.isInteractive() ? null : "expected=" + interactive in assertScreenInteractive()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java224 private static native void nativeSetInteractive(long ptr, boolean interactive); in nativeSetInteractive() argument
2217 public void setInteractive(boolean interactive) { in setInteractive() argument
2218 nativeSetInteractive(mPtr, interactive); in setInteractive()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java658 public void noteInteractive(boolean interactive) { in noteInteractive() argument
661 mStats.noteInteractiveLocked(interactive); in noteInteractive()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto294 // Total amount of time the device was in the interactive state.
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5011 public void noteInteractiveLocked(boolean interactive) { in noteInteractiveLocked() argument
5012 if (mInteractive != interactive) { in noteInteractiveLocked()
5014 mInteractive = interactive; in noteInteractiveLocked()
5015 if (DEBUG) Slog.v(TAG, "Interactive: " + interactive); in noteInteractiveLocked()
5016 if (interactive) { in noteInteractiveLocked()

12