Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java286 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j);
287 int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes);
289 System.out.printf("state=%04x %04x %04x i=%d j=%d%n", state1, state2, state3, i, j);
307 assertEquals(state2, x.partialIsValidUtf8(state1, i, j - i));
308 assertEquals(state2, x.substring(i, j).partialIsValidUtf8(state1, 0, j - i));
309 assertEquals(state3, x.partialIsValidUtf8(state2, j, numBytes - j));
310 assertEquals(state3, x.substring(j, numBytes).partialIsValidUtf8(state2, 0, numBytes - j));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java75 int state2 = 42; in testDisable() local
76 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable()
78 verify(mCallbacks).disable(eq(DEFAULT_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisable()
84 int state2 = 42; in testDisableForSecondaryDisplay() local
85 mCommandQueue.disable(SECONDARY_DISPLAY, state1, state2); in testDisableForSecondaryDisplay()
87 verify(mCallbacks).disable(eq(SECONDARY_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisableForSecondaryDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java218 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
222 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
224 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
227 mContainer.disable(state1, state2, animate); in disable()
228 mHeader.disable(state1, state2, animate); in disable()
229 mFooter.disable(state1, state2, animate); in disable()
DQSFooter.java73 default void disable(int state1, int state2, boolean animate) {} in disable() argument
DQSContainerImpl.java127 public void disable(int state1, int state2, boolean animate) { in disable() argument
128 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQSFooterImpl.java296 public void disable(int state1, int state2, boolean animate) { in disable() argument
297 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQuickStatusBarHeader.java381 public void disable(int state1, int state2, boolean animate) { in disable() argument
382 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java78 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
82 final boolean disabled = ((state1 & mMask1) != 0) || ((state2 & mMask2) != 0); in disable()
/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/cmds/statsd/tests/condition/
DStateTracker_test.cpp58 int state2 = 1002; in TEST() local
88 makeUidProcStateEvent(uid1, state2, &event2); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java137 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
138 final boolean disabled = (state2 & DISABLE2_GLOBAL_ACTIONS) != 0; in disable()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java203 forEachState(state2 -> { in testStates_areMutuallyExclusive()
204 if (state1 < state2) { in testStates_areMutuallyExclusive()
207 assertIn(state2); in testStates_areMutuallyExclusive()
209 + stateToString(state2) + stateDump()); in testStates_areMutuallyExclusive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java156 default void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
365 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
368 setDisabled(displayId, state1, state2); in disable()
373 args.argi3 = state2; in disable()
387 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2) { in disable() argument
388 disable(displayId, state1, state2, true); in disable()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl32 void disable(int displayId, int state1, int state2); in disable() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java253 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
255 mDisabled2 = state2; in disable()
DRotationButtonController.java296 void onDisable2FlagChanged(int state2) { in onDisable2FlagChanged() argument
297 final boolean rotateSuggestionsDisabled = hasDisable2RotateSuggestionFlag(state2); in onDisable2FlagChanged()
DNavigationBarFragment.java575 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
594 final int masked2 = state2 & (StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS); in disable()
602 private void setDisabled2Flags(int state2) { in setDisabled2Flags() argument
605 mNavigationBarView.getRotationButtonController().onDisable2FlagChanged(state2); in setDisabled2Flags()
DStatusBar.java1098 protected void setUpDisableFlags(int state1, int state2) { in setUpDisableFlags() argument
1099 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags()
1382 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
1386 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
1394 final int diff2 = state2 ^ old2; in disable()
1395 mDisabled2 = state2; in disable()
1401 old2, state2, diff2)); in disable()
1425 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_QUICK_SETTINGS)) ? 'Q' : 'q'); in disable()
1427 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_SYSTEM_ICONS)) ? 'I' : 'i'); in disable()
1429 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE)) ? 'N' : 'n'); in disable()
DCollapsedStatusBarFragment.java168 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/tools/stats_log_api_gen/
Dtest.proto170 optional int32 state2 = 3 field
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1911 boolean isState(ActivityState state1, ActivityState state2) { in isState() argument
1912 return state1 == mState || state2 == mState; in isState()
1918 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3) { in isState() argument
1919 return state1 == mState || state2 == mState || state3 == mState; in isState()
1925 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
1927 return state1 == mState || state2 == mState || state3 == mState || state4 == mState; in isState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java301 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument