/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | CommandQueueTest.java | 79 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/ |
D | LockTargetStateAnalysis.java | 98 LockTargetState state2 = (LockTargetState) v2; in merge() local 101 for (LockTarget otherTarget : state2.getTargets()) { in merge()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFragment.java | 263 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()
|
D | QSFooter.java | 78 default void disable(int state1, int state2, boolean animate) {} in disable() argument
|
D | QSContainerImpl.java | 192 public void disable(int state1, int state2, boolean animate) { in disable() argument 193 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
|
D | QSFooterImpl.java | 295 public void disable(int state1, int state2, boolean animate) { in disable() argument 296 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
|
D | QuickStatusBarHeader.java | 426 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/ |
D | Utils.java | 82 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/ |
D | GlobalActionsImpl.java | 190 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/ |
D | FullScreenMagnificationGestureHandlerTest.java | 211 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/ |
D | StatusBarRemoteInputCallback.java | 273 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument 275 mDisabled2 = state2; in disable()
|
D | RotationButtonController.java | 303 void onDisable2FlagChanged(int state2) { in onDisable2FlagChanged() argument 304 final boolean rotateSuggestionsDisabled = hasDisable2RotateSuggestionFlag(state2); in onDisable2FlagChanged()
|
D | StatusBar.java | 1327 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()
|
D | NavigationBarFragment.java | 903 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()
|
D | CollapsedStatusBarFragment.java | 169 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 167 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/ |
D | IStatusBar.aidl | 34 void disable(int displayId, int state1, int state2); in disable() argument
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.cpp | 1121 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/ |
D | test.proto | 167 optional int32 state2 = 3 [(android.os.statsd.state_field_option).exclusive_state = true]; field
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | CountMetric_e2e_test.cpp | 654 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/ |
D | Clock.java | 308 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 4446 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()
|