Home
last modified time | relevance | path

Searched refs:state2 (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java79 int state2 = 42; in testDisable() local
80 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable()
82 verify(mCallbacks).disable(eq(DEFAULT_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisable()
88 int state2 = 42; in testDisableForSecondaryDisplay() local
89 mCommandQueue.disable(SECONDARY_DISPLAY, state1, state2); in testDisableForSecondaryDisplay()
91 verify(mCallbacks).disable(eq(SECONDARY_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisableForSecondaryDisplay()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTargetStateAnalysis.java98 LockTargetState state2 = (LockTargetState) v2; in merge() local
101 for (LockTarget otherTarget : state2.getTargets()) { in merge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java263 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
267 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
269 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
272 mContainer.disable(state1, state2, animate); in disable()
273 mHeader.disable(state1, state2, animate); in disable()
274 mFooter.disable(state1, state2, animate); in disable()
DQSFooter.java78 default void disable(int state1, int state2, boolean animate) {} in disable() argument
DQSContainerImpl.java192 public void disable(int state1, int state2, boolean animate) { in disable() argument
193 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQSFooterImpl.java295 public void disable(int state1, int state2, boolean animate) { in disable() argument
296 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQuickStatusBarHeader.java426 public void disable(int state1, int state2, boolean animate) { in disable() argument
427 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java82 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
86 final boolean disabled = ((state1 & mMask1) != 0) || ((state2 & mMask2) != 0); in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java190 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
191 final boolean disabled = (state2 & DISABLE2_GLOBAL_ACTIONS) != 0; in disable()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DFullScreenMagnificationGestureHandlerTest.java211 forEachState(state2 -> { in testStates_areMutuallyExclusive()
212 if (state1 < state2) { in testStates_areMutuallyExclusive()
215 assertIn(state2); in testStates_areMutuallyExclusive()
217 + stateToString(state2) + stateDump()); in testStates_areMutuallyExclusive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java273 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
275 mDisabled2 = state2; in disable()
DRotationButtonController.java303 void onDisable2FlagChanged(int state2) { in onDisable2FlagChanged() argument
304 final boolean rotateSuggestionsDisabled = hasDisable2RotateSuggestionFlag(state2); in onDisable2FlagChanged()
DStatusBar.java1327 protected void setUpDisableFlags(int state1, int state2) { in setUpDisableFlags() argument
1328 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags()
1581 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
1585 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
1593 final int diff2 = state2 ^ old2; in disable()
1594 mDisabled2 = state2; in disable()
1600 old2, state2, diff2)); in disable()
1624 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_QUICK_SETTINGS)) ? 'Q' : 'q'); in disable()
1626 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_SYSTEM_ICONS)) ? 'I' : 'i'); in disable()
1628 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE)) ? 'N' : 'n'); in disable()
DNavigationBarFragment.java903 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
922 final int masked2 = state2 & (StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS); in disable()
930 private void setDisabled2Flags(int state2) { in setDisabled2Flags() argument
933 mNavigationBarView.getRotationButtonController().onDisable2FlagChanged(state2); in setDisabled2Flags()
DCollapsedStatusBarFragment.java169 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java167 default void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
415 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
418 setDisabled(displayId, state1, state2); in disable()
423 args.argi3 = state2; in disable()
437 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2) { in disable() argument
438 disable(displayId, state1, state2, true); in disable()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl34 void disable(int displayId, int state1, int state2); in disable() argument
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp1121 const StateValue& state2 = s2[i]; in LessThan() local
1122 if (state1.atom_id() != state2.atom_id()) { in LessThan()
1123 return state1.atom_id() < state2.atom_id(); in LessThan()
1125 if (state1.value() != state2.value()) { in LessThan()
1126 return state1.value() < state2.value(); in LessThan()
1128 if (state1.group_id() != state2.group_id()) { in LessThan()
1129 return state1.group_id() < state2.group_id(); in LessThan()
/frameworks/base/tools/stats_log_api_gen/
Dtest.proto167 optional int32 state2 = 3 [(android.os.statsd.state_field_option).exclusive_state = true]; field
/frameworks/base/cmds/statsd/tests/e2e/
DCountMetric_e2e_test.cpp654 auto state2 = CreateUidProcessState(); in TEST() local
655 *config.add_state() = state2; in TEST()
665 countMetric->add_slice_by_state(state2.id()); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java308 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java4446 boolean isState(ActivityState state1, ActivityState state2) { in isState() argument
4447 return state1 == mState || state2 == mState; in isState()
4453 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3) { in isState() argument
4454 return state1 == mState || state2 == mState || state3 == mState; in isState()
4460 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4462 return state1 == mState || state2 == mState || state3 == mState || state4 == mState; in isState()
4468 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4470 return state1 == mState || state2 == mState || state3 == mState || state4 == mState in isState()
4477 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4479 return state1 == mState || state2 == mState || state3 == mState || state4 == mState in isState()