/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChangeTest.java | 61 assertSame(mLeft, mActivity.mOldFocus); in testFocusChange() 62 assertSame(mRight, mActivity.mNewFocus); in testFocusChange() 72 assertSame(mLeft, mActivity.mOldFocus); in testEnterTouchMode() 73 assertSame(null, mActivity.mNewFocus); in testEnterTouchMode() 86 assertSame(null, mActivity.mOldFocus); in testLeaveTouchMode() 87 assertSame(mLeft, mActivity.mNewFocus); in testLeaveTouchMode()
|
D | ViewGroupScrollCaptureTest.java | 26 import static org.testng.AssertJUnit.assertSame; 133 assertSame("Target has the wrong callback", callback, target.getCallback()); in testDispatchScrollCaptureSearch_noCallback_hintAuto() 134 assertSame("Target has the wrong View", viewGroup, target.getContainingView()); in testDispatchScrollCaptureSearch_noCallback_hintAuto() 207 assertSame("Target has the wrong callback", callback, target.getCallback()); in testDispatchScrollCaptureSearch_withCallback_hintAuto() 208 assertSame("Target has the wrong View", viewGroup, target.getContainingView()); in testDispatchScrollCaptureSearch_withCallback_hintAuto() 351 assertSame("Result is the wrong View", view5, target.getContainingView()); in testDispatchScrollCaptureSearch_toChildren() 352 assertSame("Result is the wrong callback", callback2, target.getCallback()); in testDispatchScrollCaptureSearch_toChildren()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | ObjectPoolTests.java | 28 import static org.junit.Assert.assertSame; 81 assertSame(item, item2); in testRecycleActivityConfigurationChangeItem() 96 assertSame(item, item2); in testRecycleActivityResultItem() 111 assertSame(item, item2); in testRecycleConfigurationChangeItem() 126 assertSame(item, item2); in testRecycleDestroyActivityItem() 170 assertSame(item, item2); in testRecycleLaunchActivityItem() 189 assertSame(item, item2); in testRecycleActivityRelaunchItem() 204 assertSame(item, item2); in testRecycleMoveToDisplayItem() 219 assertSame(item, item2); in testRecycleNewIntentItem() 234 assertSame(item, item2); in testRecyclePauseActivityItemItem() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/ |
D | BroadcastDispatcherTest.kt | 35 import junit.framework.Assert.assertSame 126 assertSame(broadcastReceiver, argumentCaptor.value.receiver) in testAddingReceiverToCorrectUBR() 127 assertSame(intentFilter, argumentCaptor.value.filter) in testAddingReceiverToCorrectUBR() 130 assertSame(broadcastReceiverOther, argumentCaptor.value.receiver) in testAddingReceiverToCorrectUBR() 131 assertSame(intentFilterOther, argumentCaptor.value.filter) in testAddingReceiverToCorrectUBR() 144 assertSame(broadcastReceiver, argumentCaptor.value.receiver) in testAddingReceiverToCorrectUBR_executor() 145 assertSame(intentFilter, argumentCaptor.value.filter) in testAddingReceiverToCorrectUBR_executor() 148 assertSame(broadcastReceiverOther, argumentCaptor.value.receiver) in testAddingReceiverToCorrectUBR_executor() 149 assertSame(intentFilterOther, argumentCaptor.value.filter) in testAddingReceiverToCorrectUBR_executor() 192 assertSame(broadcastReceiver, argumentCaptor.value.receiver) in testRegisterCurrentAsActualUser()
|
/frameworks/base/core/tests/coretests/src/android/os/vibrator/ |
D | PrebakedSegmentTest.java | 20 import static junit.framework.Assert.assertSame; 77 assertSame(prebaked, prebaked.resolve(1000)); in testResolve_ignoresAndReturnsSameEffect() 97 assertSame(medium, medium.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_MEDIUM)); in testApplyEffectStrength() 99 assertSame(medium, medium.applyEffectStrength(1000)); in testApplyEffectStrength() 106 assertSame(prebaked, prebaked.scale(0.5f)); in testScale_ignoresAndReturnsSameEffect()
|
D | RampSegmentTest.java | 21 import static junit.framework.Assert.assertSame; 86 assertSame(ramp, ramp.resolve(100)); in testResolve() 92 assertSame(ramp, ramp.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_STRONG)); in testApplyEffectStrength_ignoresAndReturnsSameEffect()
|
D | PrimitiveSegmentTest.java | 20 import static junit.framework.Assert.assertSame; 78 assertSame(primitive, primitive.resolve(1000)); in testResolve_ignoresAndReturnsSameEffect() 85 assertSame(primitive, in testApplyEffectStrength_ignoresAndReturnsSameEffect()
|
D | StepSegmentTest.java | 21 import static junit.framework.Assert.assertSame; 86 assertSame(resolved, resolved.resolve(100)); in testResolve() 94 assertSame(step, step.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_STRONG)); in testApplyEffectStrength_ignoresAndReturnsSameEffect()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | DrawableLayoutDirectionHelperTest.java | 20 import static org.junit.Assert.assertSame; 57 assertSame( in testCreateRelativeInsetDrawableLtr() 80 assertSame( in testCreateRelativeInsetDrawableRtl() 98 assertSame( in testCreateRelativeInsetDrawableViewRtl() 125 assertSame( in testCreateRelativeInsetDrawableContextRtl()
|
D | ItemTest.java | 22 import static org.junit.Assert.assertSame; 84 assertSame("Icon should be the icon shape drawable", icon, mIconView.getDrawable()); in testOnBindView() 129 assertSame("Icon should be same as set", icon, item.getIcon()); in testProperties() 156 assertSame("getItemAt should return itself", item, item.getItemAt(0)); in testHierarchyImplementation() 157 assertSame("findItemById with same ID should return itself", item, item.findItemById(12345)); in testHierarchyImplementation()
|
D | SpanHelperTest.java | 20 import static org.junit.Assert.assertSame; 45 assertSame("The span should be newSpan", newSpan, spans[0]); in testReplaceSpan()
|
D | StatusBarBackgroundLayoutTest.java | 19 import static org.junit.Assert.assertSame; 41 assertSame( in testSetStatusBarBackground()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccConnectorTest.java | 20 import static org.junit.Assert.assertSame; 92 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPermission() 101 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noBindPermission() 110 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testInitialState_unavailable_noPriority() 162 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testInitialState_available() 169 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable() 179 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_unavailableToAvailable() 188 assertSame(mConnector.mAvailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable() 199 assertSame(mConnector.mUnavailableState, mConnector.getCurrentState()); in testPackageChange_availableToUnavailable()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
D | PriorityDumpTest.java | 22 import static org.junit.Assert.assertSame; 123 assertSame(mFd, fakeDumper.criticalFd); in testNoPriorityCallsAllMethods() 124 assertSame(mPw, fakeDumper.criticalPw); in testNoPriorityCallsAllMethods() 126 assertSame(mFd, fakeDumper.highFd); in testNoPriorityCallsAllMethods() 127 assertSame(mPw, fakeDumper.highPw); in testNoPriorityCallsAllMethods() 129 assertSame(mFd, fakeDumper.normalFd); in testNoPriorityCallsAllMethods() 130 assertSame(mPw, fakeDumper.normalPw); in testNoPriorityCallsAllMethods()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | IconMixinTest.java | 21 import static org.junit.Assert.assertSame; 67 assertSame(mIconView, mixin.getView()); in testGetIconView() 76 assertSame(drawable, mIconView.getDrawable()); in testSetIcon() 105 assertSame(drawable, mixin.getIcon()); in testGetIcon()
|
D | NavigationBarMixinTest.java | 20 import static org.junit.Assert.assertSame; 63 assertSame(mNavigationBar, mixin.getNavigationBar()); in testGetNavigationBar() 82 assertSame("lorem ipsum", mixin.getNextButtonText()); in testGetNextButtonText()
|
D | ListMixinTest.java | 21 import static org.junit.Assert.assertSame; 78 assertSame(mListView, mixin.getListView()); in testGetListView() 86 assertSame(mAdapter, mixin.getAdapter()); in testGetAdapter() 96 assertSame(mAdapter, mListView.getAdapter()); in testSetAdapter()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/ |
D | CellSignalStateTest.kt | 23 import org.junit.Assert.assertSame 37 assertSame(c, other) in testChangeVisibility_sameObject()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | StringPoolTest.java | 29 assertSame(bcd, stringPool.get(new char[] { 'a', 'b', 'c', 'd', 'e' }, 1, 3)); in testStringPool() 42 assertSame(bString, stringPool.get(b, 0, 2)); in testHashCollision()
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | RecyclerMixinTest.java | 21 import static org.junit.Assert.assertSame; 74 assertSame(mRecyclerView, mixin.getRecyclerView()); in testGetRecyclerView() 82 assertSame(mAdapter, mixin.getAdapter()); in testGetAdapter() 92 assertSame(mAdapter, mRecyclerView.getAdapter()); in testSetAdapter()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MemoryIntArrayTest.java | 21 import static org.junit.Assert.assertSame; 232 assertSame("Remote should be able to modify", 1, remoteIntArray.get(0)); in testNotMutableByUnprivilegedClients() 240 assertSame("Local shouldn't be able to modify", 1, localIntArray.get(0)); in testNotMutableByUnprivilegedClients() 241 assertSame("Local shouldn't be able to modify", 1, remoteIntArray.get(0)); in testNotMutableByUnprivilegedClients()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/ |
D | TemplateLayoutTest.java | 21 import static org.junit.Assert.assertSame; 57 assertSame("The view added should be the same text view", tv, view); in testAddView() 82 assertSame("The view added should be the same text view", tv, contentView); in testTemplate()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | DrawableWrapperTest.java | 20 import static org.junit.Assert.assertSame; 54 assertSame(xferModeDrawable, wrapper.getDrawable()); in testSetXfermode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneProviderTest.java | 32 import static org.junit.Assert.assertSame; 95 assertSame(provider, currentState.provider); in lifecycle() 109 assertSame(provider, currentState.provider); in lifecycle() 133 assertSame(provider, currentState.provider); in lifecycle() 145 assertSame(provider, currentState.provider); in lifecycle() 157 assertSame(provider, currentState.provider); in lifecycle()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | LoaderLifecycleTest.java | 21 import static junit.framework.TestCase.assertSame; 127 assertSame("didn't get same LoaderManager instance back", lm2, lm12); in loaderIdentityTest() 205 assertSame("LoaderManager did not refrence new FragmentHostCallback", in backStackLoaderIdentityTest() 222 assertSame("didn't get same LoaderManager instance back", lm2, lm1); in backStackLoaderIdentityTest()
|