Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java26 import static org.junit.Assert.assertNotSame;
68 assertNotSame(item, emptyItem); in testRecycleActivityConfigurationChangeItem()
83 assertNotSame(item, emptyItem); in testRecycleActivityResultItem()
98 assertNotSame(item, emptyItem); in testRecycleConfigurationChangeItem()
113 assertNotSame(item, emptyItem); in testRecycleDestroyActivityItem()
152 assertNotSame(item, emptyItem); in testRecycleLaunchActivityItem()
173 assertNotSame(item, emptyItem); in testRecycleActivityRelaunchItem()
189 assertNotSame(item, emptyItem); in testRecycleMoveToDisplayItem()
204 assertNotSame(item, emptyItem); in testRecycleMultiWindowModeChangeItem()
219 assertNotSame(item, emptyItem); in testRecycleNewIntentItem()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java98 assertNotSame(resources, newResources); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
113 assertNotSame(resources1, resources2); in testAddingASplitCreatesANewImpl()
114 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testAddingASplitCreatesANewImpl()
138 assertNotSame(resources1, resources2); in testUpdateConfigurationUpdatesAllAssetManagers()
139 assertNotSame(resources1, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
140 assertNotSame(resources2, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
143 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
144 assertNotSame(resources1.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
145 assertNotSame(resources2.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
177 assertNotSame(resources1, resources2); in testTwoActivitiesWithIdenticalParametersShareImpl()
[all …]
DConfigurationBoundResourceCacheTest.java54 assertNotSame(5f, mCache.getInstance(1, res, null)); in testSetGet()
64 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed()
73 assertNotSame(10f, mCache.getInstance(1, res, null)); in testMultiThreadPutGet()
75 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testMultiThreadPutGet()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTextFormatParseLocationTest.java82 assertNotSame(loc0, loc1); in testEquals()
83 assertNotSame(loc0, loc2); in testEquals()
84 assertNotSame(loc1, loc2); in testEquals()
DSingleFieldBuilderV3Test.java113 assertNotSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear()
118 assertNotSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear()
DLazyStringArrayListTest.java117 assertNotSame(STRING_B, bPrime); in testConversionBackAndForth()
120 assertNotSame(STRING_C, cPrime); in testConversionBackAndForth()
131 assertNotSame(BYTE_STRING_B, bPrimeByteString); in testConversionBackAndForth()
/frameworks/base/core/tests/coretests/src/android/graphics/
DRectTest.java22 import static org.junit.Assert.assertNotSame;
49 assertNotSame(orig, copy); in copyOrNull_copiesNonNull()
/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawableTest.java43 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions()
48 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
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()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java28 import static org.junit.Assert.assertNotSame;
56 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testDataBindingLayout()
81 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testNonDataBindingLayout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessorTest.java21 import static org.junit.Assert.assertNotSame;
120 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
122 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
124 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java85 assertNotSame(response1, response2); in testEquals()
86 assertNotSame(response1, null); in testEquals()
87 assertNotSame(response1, new String[1]); in testEquals()
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerThreadTest.java65 assertNotSame(-1, mLooperTid); in testHandlerThread()
67 assertNotSame(Process.myTid(), mLooperTid); in testHandlerThread()
DAidlTest.java216 assertNotSame(arg, result); in testParcelableIn()
226 assertNotSame(arg, result); in testParcelableOut()
234 assertNotSame(arg, result); in testParcelableInOut()
259 assertNotSame(list.get(1), list.get(2)); in testListParcelableLonger()
281 assertNotSame(list.get(0), list.get(1)); in testListParcelableShorter()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java193 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
195 assertNotSame(-1, firstMountId); in testOpenProxyFileDescriptor()
205 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); in testOpenProxyFileDescriptor()
206 assertNotSame(firstMountId, mSm.getProxyFileDescriptorMountPointId()); in testOpenProxyFileDescriptor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DWeakIdentityHashMapTest.java20 import static org.junit.Assert.assertNotSame;
55 assertNotSame(a1, a2); in testUsesIdentity()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLazyStringArrayListTest.java101 assertNotSame(STRING_B, bPrime); in testConversionBackAndForth()
104 assertNotSame(STRING_C, cPrime); in testConversionBackAndForth()
115 assertNotSame(BYTE_STRING_B, bPrimeByteString); in testConversionBackAndForth()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleFlyoutViewTest.java20 import static junit.framework.Assert.assertNotSame;
83 assertNotSame(0f, mFlyoutText.getTranslationX()); // Should have moved to collapse. in testSetCollapsePercent()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationManagerTest.java21 import static org.junit.Assert.assertNotSame;
97 assertNotSame(result, fallbackResult); in testCannotResolveIntent()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java21 import static org.junit.Assert.assertNotSame;
150 assertNotSame(callback.getTypeface(), callback3.getTypeface()); in typefaceCacheTest()
173 assertNotSame(typeface, typeface2); in typefaceNotCacheTest()
/frameworks/base/core/tests/coretests/src/android/app/
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()
/frameworks/base/test-base/src/junit/framework/
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()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java155 Assert.assertNotSame(0, objectInfo.getStorageId()); in createDocument()
156 Assert.assertNotSame(-1, objectInfo.getStorageId()); in createDocument()
157 Assert.assertNotSame(0, objectInfo.getParent()); in createDocument()
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/
DTwilightServiceTest.java51 assertNotSame(priorState, mTwilightService.mLastTwilightState); in testValidLocation_updatedLocation()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java114 assertNotSame(-1, mode); in onReceive()
128 assertNotSame(-1, state); in onReceive()
172 assertNotSame(-1, varient); in onReceive()
191 assertNotSame(-1, state); in onReceive()
249 assertNotSame(-1, state); in onReceive()
300 assertNotSame(AudioManager.SCO_AUDIO_STATE_ERROR, state); in onReceive()

12