Home
last modified time | relevance | path

Searched refs:mode2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java75 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode() local
80 assertNotNull(mode2); in testStartActionModePrimaryFinishesPreviousMode()
89 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode() local
94 assertNotNull(mode2); in testStartActionModeFloatingFinishesPreviousMode()
103 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1() local
108 assertNotNull(mode2); in testStartActionModePreservesPreviousModeOfDifferentType1()
117 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType2() local
122 assertNotNull(mode2); in testStartActionModePreservesPreviousModeOfDifferentType2()
/frameworks/base/services/robotests/src/com/android/server/location/
DGnssPositionModeTest.java44 private void assertTEqualsImpliesSameHashCode(GnssPositionMode mode1, GnssPositionMode mode2) { in assertTEqualsImpliesSameHashCode() argument
45 if (mode1.equals(mode2)) { in assertTEqualsImpliesSameHashCode()
46 assertThat(mode1.hashCode()).isEqualTo(mode2.hashCode()); in assertTEqualsImpliesSameHashCode()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DWindowDecorActionBarTest.java68 ActionMode mode2 = mWindowDecorActionBar.startActionMode(new MockActionModeCallback()); in testStartActionModeFinishesPreviousMode() local
71 assertNotNull(mode2); in testStartActionModeFinishesPreviousMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java111 final int mode2 = (_op2 == null) ? defaultModeOp2 : _op2.getMode(); in assertSameModes() local
112 assertEquals(mode1, mode2); in assertSameModes()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java2747 private boolean isLaunchModeOneOf(int mode1, int mode2) { in isLaunchModeOneOf() argument
2748 return mode1 == mLaunchMode || mode2 == mLaunchMode; in isLaunchModeOneOf()