Home
last modified time | relevance | path

Searched refs:assertNotSame (Results 1 – 25 of 46) sorted by relevance

12

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DLockscreenCredentialTest.java139 assertNotSame(LockscreenCredential.createPassword("1234"), in testEquals()
141 assertNotSame(LockscreenCredential.createPassword("1234"), in testEquals()
143 assertNotSame(LockscreenCredential.createPassword("1234"), in testEquals()
148 assertNotSame(LockscreenCredential.createPin("1111"), in testEquals()
150 assertNotSame(LockscreenCredential.createPin("1111"), in testEquals()
152 assertNotSame(LockscreenCredential.createPin("1111"), in testEquals()
154 assertNotSame(LockscreenCredential.createPin("1111"), in testEquals()
157 assertNotSame(createPattern("5678"), in testEquals()
159 assertNotSame(createPattern("5678"), in testEquals()
161 assertNotSame(createPattern("5678"), in testEquals()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
H A DObjectPoolTests.java73 assertNotSame(item, emptyItem); in testRecycleActivityConfigurationChangeItem()
88 assertNotSame(item, emptyItem); in testRecycleActivityResultItem()
103 assertNotSame(item, emptyItem); in testRecycleConfigurationChangeItem()
118 assertNotSame(item, emptyItem); in testRecycleDestroyActivityItem()
163 assertNotSame(item, emptyItem); in testRecycleLaunchActivityItem()
181 assertNotSame(item, emptyItem); in testRecycleActivityRelaunchItem()
197 assertNotSame(item, emptyItem); in testRecycleMoveToDisplayItem()
212 assertNotSame(item, emptyItem); in testRecycleNewIntentItem()
227 assertNotSame(item, emptyItem); in testRecyclePauseActivityItemItem()
242 assertNotSame(item, emptyItem); in testRecycleResumeActivityItem()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesManagerTest.java119 assertNotSame(resources, newResources); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
135 assertNotSame(resources1, resources2); in testAddingASplitCreatesANewImpl()
136 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testAddingASplitCreatesANewImpl()
160 assertNotSame(resources1, resources2); in testUpdateConfigurationUpdatesAllAssetManagers()
161 assertNotSame(resources1, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
162 assertNotSame(resources2, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
165 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
166 assertNotSame(resources1.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
167 assertNotSame(resources2.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
199 assertNotSame(resources1, resources2); in testTwoActivitiesWithIdenticalParametersShareImpl()
[all …]
H A DConfigurationBoundResourceCacheTest.java57 assertNotSame(5f, mCache.getInstance(1, res, null)); in testSetGet()
68 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed()
79 assertNotSame(10f, mCache.getInstance(1, res, null)); in testMultiThreadPutGet()
81 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testMultiThreadPutGet()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerIntegrationTest.java140 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
142 assertNotSame(-1, firstMountId); in testOpenProxyFileDescriptor()
152 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
153 assertNotSame(firstMountId, mSm.getProxyFileDescriptorMountPointId()); in testOpenProxyFileDescriptor()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/
H A DCellSignalStateTest.kt22 import org.junit.Assert.assertNotSame
46 assertNotSame(c, other)
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/
H A DRectTest.java22 import static org.junit.Assert.assertNotSame;
49 assertNotSame(orig, copy); in copyOrNull_copiesNonNull()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DMutateDrawableTest.java43 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions()
48 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate()
H A DWindowInfoTest.java22 import static org.junit.Assert.assertNotSame;
64 assertNotSame(w1, w2); in testObtain()
79 assertNotSame(w1, w2); in testParceling()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationLaunchAnimatorControllerTest.kt23 import org.junit.Assert.assertNotSame
134 assertNotSame(summary.key, notification.entry.key)
145 assertNotSame(GROUP_ALERT_SUMMARY, summary.sbn.notification.groupAlertBehavior)
146 assertNotSame(GROUP_ALERT_SUMMARY, notification.entry.sbn.notification.groupAlertBehavior)
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DHandlerThreadTest.java65 assertNotSame(-1, mLooperTid); in testHandlerThread()
67 assertNotSame(Process.myTid(), mLooperTid); in testHandlerThread()
H A DAidlTest.java225 assertNotSame(arg, result); in testParcelableIn()
235 assertNotSame(arg, result); in testParcelableOut()
243 assertNotSame(arg, result); in testParcelableInOut()
268 assertNotSame(list.get(1), list.get(2)); in testListParcelableLonger()
290 assertNotSame(list.get(0), list.get(1)); in testListParcelableShorter()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncOperationTest.java103 assertNotSame(op1.key, op3.key); in testToKey()
104 assertNotSame(op1.key, op4.key); in testToKey()
105 assertNotSame(op1.key, op5.key); in testToKey()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
H A DWeakIdentityHashMapTest.java20 import static org.junit.Assert.assertNotSame;
55 assertNotSame(a1, a2); in testUsesIdentity()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DAccessibilityWindowAttributesTest.java21 import static org.junit.Assert.assertNotSame;
57 assertNotSame(windowAttributes, attributes2); in testParceling()
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/
H A DFontsContractE2ETest.java21 import static org.junit.Assert.assertNotSame;
150 assertNotSame(callback.getTypeface(), callback3.getTypeface()); in typefaceCacheTest()
173 assertNotSame(typeface, typeface2); in typefaceNotCacheTest()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A DBubbleFlyoutViewTest.java20 import static junit.framework.Assert.assertNotSame;
107 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent()
/aosp14/frameworks/base/test-base/src/junit/framework/
H A DAssert.java260 static public void assertNotSame(String message, Object expected, Object actual) { in assertNotSame() method in Assert
268 static public void assertNotSame(Object expected, Object actual) { in assertNotSame() method in Assert
269 assertNotSame(null, expected, actual); in assertNotSame()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DLoaderLifecycleTest.java20 import static junit.framework.TestCase.assertNotSame;
76 assertNotSame("fully removed and re-added fragment got same LoaderManager", lm1, lm12); in loaderIdentityTest()
203 assertNotSame("LoaderManager kept reference to old FragmentHostCallback", in backStackLoaderIdentityTest()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/reardisplay/
H A DRearDisplayDialogControllerTest.java20 import static junit.framework.Assert.assertNotSame;
90 assertNotSame(deviceClosedTitleTextView, deviceClosedTitleTextView2); in testClosedDialogIsRefreshedOnConfigurationChange()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
H A DUserBroadcastDispatcherTest.kt33 import junit.framework.Assert.assertNotSame
131 assertNotSame(
149 assertNotSame(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
H A DQuickAccessWalletControllerTest.java21 import static org.junit.Assert.assertNotSame;
151 assertNotSame(mQuickAccessWalletClient, mController.getWalletClient()); in getWalletClient_reCreateClient_notSameClient()
168 assertNotSame(mQuickAccessWalletClient, mController.getWalletClient()); in queryWalletCards_avoidStale_recreateClient()
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DStringPoolTest.java43 assertNotSame(aString, stringPool.get(a, 0, 2)); in testHashCollision()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserTypeTest.java33 import static org.junit.Assert.assertNotSame;
127 assertNotSame(restrictions, type.getDefaultRestrictions()); in testUserTypeBuilder_createUserType()
129 assertNotSame(systemSettings, type.getDefaultSystemSettings()); in testUserTypeBuilder_createUserType()
137 assertNotSame(secureSettings, type.getDefaultSecureSettings()); in testUserTypeBuilder_createUserType()
145 assertNotSame(filters, type.getDefaultCrossProfileIntentFilters()); in testUserTypeBuilder_createUserType()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/
H A DTwilightServiceTest.java51 assertNotSame(priorState, mTwilightService.mLastTwilightState); in testValidLocation_updatedLocation()

12