/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LazyStringArrayListTest.java | 61 assertSame(STRING_A, list.get(0)); in testJustStrings() 62 assertSame(STRING_B, list.get(1)); in testJustStrings() 63 assertSame(STRING_C, list.get(2)); in testJustStrings() 66 assertSame(STRING_C, list.get(1)); in testJustStrings() 69 assertSame(STRING_A, list.get(0)); in testJustStrings() 70 assertSame(STRING_C, list.get(1)); in testJustStrings() 80 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString() 81 assertSame(BYTE_STRING_B, list.getByteString(1)); in testJustByteString() 82 assertSame(BYTE_STRING_C, list.getByteString(2)); in testJustByteString() 85 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString() [all …]
|
D | LazyStringEndToEndTest.java | 98 assertSame(optional, proto.getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 99 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 103 assertSame(repeated0, proto.getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed() 104 assertSame(repeated1, proto.getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed() 105 assertSame(repeated0, proto.toBuilder().getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed() 106 assertSame(repeated1, proto.toBuilder().getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
|
D | NestedBuildersTest.java | 111 assertSame(wheels.get(i), vehicleBuilder.getWheel(i)); in testMessagesAreCached() 119 assertSame(wheels.get(i), vehicleBuilder.getWheel(i)); in testMessagesAreCached() 129 assertSame(wheels.get(i), vehicleBuilder.getWheel(i)); in testMessagesAreCached() 174 assertSame(vehicle1.getWheelList(), vehicle2.getWheelList()); in testMerge() 177 assertSame(vehicle1.getWheelList(), vehicle3.getWheelList()); in testMerge()
|
D | UnmodifiableLazyStringListTest.java | 58 assertSame(STRING_A, list.get(0)); in testReadOnlyMethods() 59 assertSame(STRING_B, list.get(1)); in testReadOnlyMethods() 60 assertSame(STRING_C, list.get(2)); in testReadOnlyMethods()
|
D | ServiceTest.java | 103 assertSame(mockService.getRequestPrototype(fooDescriptor), in testGetPrototype() 105 assertSame(mockService.getResponsePrototype(fooDescriptor), in testGetPrototype() 107 assertSame(mockService.getRequestPrototype(barDescriptor), in testGetPrototype() 109 assertSame(mockService.getResponsePrototype(barDescriptor), in testGetPrototype() 165 assertSame(fooResponse, stub.foo(mockController, fooRequest)); in testBlockingStub() 166 assertSame(barResponse, stub.bar(mockController, barRequest)); in testBlockingStub()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LazyStringArrayListTest.java | 65 assertSame(STRING_A, list.get(0)); in testJustStrings() 66 assertSame(STRING_B, list.get(1)); in testJustStrings() 67 assertSame(STRING_C, list.get(2)); in testJustStrings() 70 assertSame(STRING_C, list.get(1)); in testJustStrings() 73 assertSame(STRING_A, list.get(0)); in testJustStrings() 74 assertSame(STRING_C, list.get(1)); in testJustStrings() 81 assertSame(byteStringList.get(0), list.getByteString(0)); in testJustStrings() 82 assertSame(byteStringList.get(1), list.getByteString(1)); in testJustStrings() 92 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString() 93 assertSame(BYTE_STRING_B, list.getByteString(1)); in testJustByteString() [all …]
|
D | LazyStringEndToEndTest.java | 104 assertSame(a, proto.getOptionalString()); in testCaching() 105 assertSame(b, proto.getRepeatedString(0)); in testCaching() 106 assertSame(c, proto.getRepeatedString(1)); in testCaching() 113 assertSame(a, proto.getOptionalString()); in testCaching() 114 assertSame(b, proto.getRepeatedString(0)); in testCaching() 115 assertSame(c, proto.getRepeatedString(1)); in testCaching() 122 assertSame(optional, proto.getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 123 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 127 assertSame(repeated0, proto.getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed() 128 assertSame(repeated1, proto.getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed() [all …]
|
D | UnmodifiableLazyStringListTest.java | 58 assertSame(STRING_A, list.get(0)); in testReadOnlyMethods() 59 assertSame(STRING_B, list.get(1)); in testReadOnlyMethods() 60 assertSame(STRING_C, list.get(2)); in testReadOnlyMethods() 66 assertSame(list.getByteString(0), byteStringList.get(0)); in testReadOnlyMethods() 67 assertSame(list.getByteString(1), byteStringList.get(1)); in testReadOnlyMethods() 68 assertSame(list.getByteString(2), byteStringList.get(2)); in testReadOnlyMethods()
|
D | SingleFieldBuilderV3Test.java | 56 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testBasicUseAndInvalidations() 100 assertSame(builder.getMessage(), builder.getMessage()); in testSetMessage() 115 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear() 120 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear() 135 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testMerge()
|
D | NestedBuildersTest.java | 110 assertSame(wheels.get(i), vehicleBuilder.getWheel(i)); in testMessagesAreCached() 118 assertSame(wheels.get(i), vehicleBuilder.getWheel(i)); in testMessagesAreCached() 128 assertSame(wheels.get(i), vehicleBuilder.getWheel(i)); in testMessagesAreCached() 173 assertSame(vehicle1.getWheelList(), vehicle2.getWheelList()); in testMerge() 176 assertSame(vehicle1.getWheelList(), vehicle3.getWheelList()); in testMerge()
|
D | ServiceTest.java | 102 assertSame(mockService.getRequestPrototype(fooDescriptor), in testGetPrototype() 104 assertSame(mockService.getResponsePrototype(fooDescriptor), in testGetPrototype() 106 assertSame(mockService.getRequestPrototype(barDescriptor), in testGetPrototype() 108 assertSame(mockService.getResponsePrototype(barDescriptor), in testGetPrototype() 164 assertSame(fooResponse, stub.foo(mockController, fooRequest)); in testBlockingStub() 165 assertSame(barResponse, stub.bar(mockController, barRequest)); in testBlockingStub()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | LegacyTypeTrackerTest.kt | 31 import org.junit.Assert.assertSame 78 assertSame(mTracker.getNetworkForType(TYPE_MOBILE), mobileNai) in testAddNetwork() 79 assertSame(mTracker.getNetworkForType(TYPE_WIFI), wifiNai) in testAddNetwork() 83 assertSame(mTracker.getNetworkForType(TYPE_MOBILE), mobileNai) in testAddNetwork() 84 assertSame(mTracker.getNetworkForType(TYPE_WIFI), wifiNai) in testAddNetwork() 87 assertSame(mTracker.getNetworkForType(TYPE_MOBILE), mobileNai) in testAddNetwork() 88 assertSame(mTracker.getNetworkForType(TYPE_WIFI), wifiNai) in testAddNetwork() 92 assertSame(mTracker.getNetworkForType(TYPE_MOBILE), secondMobileNai) in testAddNetwork() 93 assertSame(mTracker.getNetworkForType(TYPE_WIFI), wifiNai) in testAddNetwork()
|
/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()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | ObjectPoolTests.java | 27 import static org.junit.Assert.assertSame; 75 assertSame(item, item2); in testRecycleActivityConfigurationChangeItem() 90 assertSame(item, item2); in testRecycleActivityResultItem() 105 assertSame(item, item2); in testRecycleConfigurationChangeItem() 120 assertSame(item, item2); in testRecycleDestroyActivityItem() 162 assertSame(item, item2); in testRecycleLaunchActivityItem() 181 assertSame(item, item2); in testRecycleActivityRelaunchItem() 196 assertSame(item, item2); in testRecycleMoveToDisplayItem() 211 assertSame(item, item2); in testRecycleMultiWindowModeChangeItem() 226 assertSame(item, item2); in testRecycleNewIntentItem() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 21 import static org.junit.Assert.assertSame; 47 assertSame(data, rb.getBuffer(0)); in canAddAndRetrieveSingleElement() 58 assertSame(data1, rb.getBuffer(0)); in canAddAndRetrieveMultipleElements() 59 assertSame(data2, rb.getBuffer(1)); in canAddAndRetrieveMultipleElements() 99 assertSame(data2, rb.getBuffer(0)); in appendPrunesBufferIfNecessary() 113 assertSame(data3, rb.getBuffer(0)); in appendPrunesMultipleBuffersIfNecessary() 138 assertSame(data2, rb.getBuffer(0)); in appendPrunesInFifoOrder() 139 assertSame(data3, rb.getBuffer(1)); in appendPrunesInFifoOrder()
|
/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()
|
/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()
|
/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()
|