/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ApplicationInfo_DisplayNameComparatorTest.java | 52 ApplicationInfo info2 = new ApplicationInfo(); in testCompare() local 54 info2.packageName = PACKAGE_NAME; in testCompare() 55 assertEquals(0, mDisplayNameComparator.compare(info1, info2)); in testCompare() 59 info2.packageName = PACKAGE_NAME + ".2"; in testCompare() 60 assertTrue((mDisplayNameComparator.compare(info1, info2) < 0)); in testCompare() 64 info2 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, in testCompare() 66 assertTrue((mDisplayNameComparator.compare(info1, info2) > 0)); in testCompare()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsCbEtwsInfoTest.java | 40 SmsCbEtwsInfo info2 = new SmsCbEtwsInfo(TEST_ETWS_WARNING_TYPE, in testIsPrimary() local 42 assertTrue(info2.isPrimary()); in testIsPrimary() 51 SmsCbEtwsInfo info2 = new SmsCbEtwsInfo(TEST_ETWS_WARNING_TYPE, in testIsPopupAlert() local 53 assertTrue(info2.isPopupAlert()); in testIsPopupAlert() 62 SmsCbEtwsInfo info2 = new SmsCbEtwsInfo(TEST_ETWS_WARNING_TYPE, in testIsEmergencyUserAlert() local 64 assertTrue(info2.isEmergencyUserAlert()); in testIsEmergencyUserAlert()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | SavedDatasetsInfoTest.java | 67 SavedDatasetsInfo info2 = new SavedDatasetsInfo(TYPE_PASSWORDS, 5); in testEquals_true() local 69 assertThat(info1).isEqualTo(info2); in testEquals_true() 75 SavedDatasetsInfo info2 = new SavedDatasetsInfo(TYPE_OTHER, 5); in testEquals_differentType_false() local 77 assertThat(info1).isNotEqualTo(info2); in testEquals_differentType_false() 83 SavedDatasetsInfo info2 = new SavedDatasetsInfo(TYPE_PASSWORDS, 9); in testEquals_differentCount_false() local 85 assertThat(info1).isNotEqualTo(info2); in testEquals_differentCount_false()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputInfoTest.java | 41 TvInputInfo info2) { in compareTvInputInfos() argument 42 return TextUtils.equals(info1.getId(), info2.getId()) in compareTvInputInfos() 43 && TextUtils.equals(info1.getParentId(), info2.getParentId()) in compareTvInputInfos() 45 info2.getServiceInfo().packageName) in compareTvInputInfos() 46 && TextUtils.equals(info1.getServiceInfo().name, info2.getServiceInfo().name) in compareTvInputInfos() 48 info2.createSetupIntent().toString()) in compareTvInputInfos() 49 && info1.getType() == info2.getType() in compareTvInputInfos() 50 && info1.getTunerCount() == info2.getTunerCount() in compareTvInputInfos() 51 && info1.canRecord() == info2.canRecord() in compareTvInputInfos() 52 && info1.canPauseRecording() == info2.canPauseRecording() in compareTvInputInfos() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/observer/ |
D | SchemaChangeInfoCtsTest.java | 53 SchemaChangeInfo info2 = in testEqualsAndHasCode() local 61 assertThat(info1Copy1).isNotEqualTo(info2); in testEqualsAndHasCode() 62 assertThat(info1Copy1.hashCode()).isNotEqualTo(info2.hashCode()); in testEqualsAndHasCode()
|
D | DocumentChangeInfoCtsTest.java | 61 DocumentChangeInfo info2 = in testEqualsAndHasCode() local 71 assertThat(info1Copy1).isNotEqualTo(info2); in testEqualsAndHasCode() 72 assertThat(info1Copy1.hashCode()).isNotEqualTo(info2.hashCode()); in testEqualsAndHasCode()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HeaderViewListAdapterTest.java | 121 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testRemoveHeader() local 122 info2.view = lv2; in testRemoveHeader() 124 header.add(info2); in testRemoveHeader() 142 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testRemoveFooter() local 143 info2.view = lv2; in testRemoveFooter() 145 footer.add(info2); in testRemoveFooter() 167 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testGetCount() local 168 info2.data = data2; in testGetCount() 170 header.add(info2); in testGetCount() 238 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testGetItem() local [all …]
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DrmSupportInfoTest.java | 68 DrmSupportInfo info2 = new DrmSupportInfo(); in checkEqualsOnDefaultInfoObjects() local 69 assertTrue(info1.equals(info2)); in checkEqualsOnDefaultInfoObjects() 74 DrmSupportInfo info2 = new DrmSupportInfo(); in checkEqualsOnNondefaultInfoObjects() local 77 info2.addMimeType("hello"); // lowercase 'h' in checkEqualsOnNondefaultInfoObjects() 78 assertFalse(info1.equals(info2)); in checkEqualsOnNondefaultInfoObjects()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | CursorAnchorInfoTest.java | 205 final CursorAnchorInfo info2 = builder.build(); in testBuilder() local 206 assertEquals(selectionStart, info2.getSelectionStart()); in testBuilder() 207 assertEquals(selectionEnd, info2.getSelectionEnd()); in testBuilder() 208 assertEquals(composingTextStart, info2.getComposingTextStart()); in testBuilder() 209 assertTrue(TextUtils.equals(composingText, info2.getComposingText())); in testBuilder() 210 assertEquals(insertionMarkerFlags, info2.getInsertionMarkerFlags()); in testBuilder() 211 assertEquals(insertionMarkerHorizontal, info2.getInsertionMarkerHorizontal(), EPSILON); in testBuilder() 212 assertEquals(insertionMarkerTop, info2.getInsertionMarkerTop(), EPSILON); in testBuilder() 213 assertEquals(insertionMarkerBaseline, info2.getInsertionMarkerBaseline(), EPSILON); in testBuilder() 214 assertEquals(insertionMarkerBottom, info2.getInsertionMarkerBottom(), EPSILON); in testBuilder() [all …]
|
/cts/tests/credentials/src/android/credentials/cts/unittests/service/ |
D | CallingAppInfoTest.java | 77 final CallingAppInfo info2 = TestUtils.cloneParcelable(info1); in testWriteToParcel_success() local 79 assertThat(info2.getPackageName()).isEqualTo(info1.getPackageName()); in testWriteToParcel_success() 80 TestUtils.assertEquals(info2.getSigningInfo(), info1.getSigningInfo()); in testWriteToParcel_success()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | TestGetWindowLayoutInfoActivity.java | 136 SidecarWindowLayoutInfo info2) { in assertEqualWindowLayoutInfo() argument 138 if (info1.displayFeatures == null && info2.displayFeatures == null) { in assertEqualWindowLayoutInfo() 145 info2); in assertEqualWindowLayoutInfo()
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | RadioChainInfoTest.java | 78 RadioChainInfo info2 = new RadioChainInfo(TEST_CHAIN_ID2, TEST_LEVEL_DBM2); in testEquals() local 80 assertThat(info2).isNotEqualTo(info); in testEquals()
|
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/app/ |
D | NetworkProviderInfoTest.java | 84 NetworkProviderInfo info2 = buildNetworkProviderInfoBuilder().build(); in equalsOperation() local 85 assertThat(info1).isEqualTo(info2); in equalsOperation() 129 NetworkProviderInfo info2 = buildNetworkProviderInfoBuilder().build(); in hashCodeCalculation() local 131 assertThat(info1.hashCode()).isEqualTo(info2.hashCode()); in hashCodeCalculation()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 266 WifiInfo info2 = builder in testWifiInfoBuilder() local 271 assertThat(info1).isNotSameInstanceAs(info2); in testWifiInfoBuilder() 280 assertThat(info2.getSSID()).isEqualTo("\"" + TEST_SSID + "\""); in testWifiInfoBuilder() 281 assertThat(info2.getBSSID()).isEqualTo(TEST_BSSID); in testWifiInfoBuilder() 282 assertThat(info2.getRssi()).isEqualTo(TEST_RSSI); in testWifiInfoBuilder() 283 assertThat(info2.getNetworkId()).isEqualTo(TEST_NETWORK_ID2); in testWifiInfoBuilder()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarRemoteDeviceManagerTest.java | 183 private static boolean signingInfoEquals(SigningInfo info1, SigningInfo info2) { in signingInfoEquals() argument 184 if (info1 == info2) { in signingInfoEquals() 187 if (info1 == null || info2 == null) { in signingInfoEquals()
|
D | CarOccupantZoneManagerTest.java | 217 OccupantZoneInfo info2 = mCarOccupantZoneManager.getOccupantZone(info.occupantType, in testMyZone() local 221 info).isEqualTo(info2); in testMyZone()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | WebViewActivity.java | 204 VirtualViewFillInfo info2 = null; in notifyViewReady() local 206 info2 = new VirtualViewFillInfo.Builder() in notifyViewReady() 212 viewInfo.put(65537, info2); in notifyViewReady()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderTest.java | 125 ProviderInfo info2 = new ProviderInfo(); in testAttachInfo() local 126 info2.readPermission = "android.permission.READ_CONTACTS"; in testAttachInfo() 127 info2.writePermission = "android.permission.WRITE_CONTACTS"; in testAttachInfo() 128 mockContentProvider.attachInfo(null, info2); in testAttachInfo() 139 mockContentProvider.attachInfo(null, info2); in testAttachInfo() 141 assertEquals(info2.readPermission, mockContentProvider.getReadPermission()); in testAttachInfo() 142 assertEquals(info2.writePermission, mockContentProvider.getWritePermission()); in testAttachInfo()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionServiceTest.java | 318 Connection.CallFilteringCompletionInfo info2 = in testCallFilteringCompletionInfoParcelable() local 321 assertEquals(info.isBlocked(), info2.isBlocked()); in testCallFilteringCompletionInfoParcelable() 322 assertEquals(info.isInContacts(), info2.isInContacts()); in testCallFilteringCompletionInfoParcelable() 323 assertEquals(info.getCallResponse(), info2.getCallResponse()); in testCallFilteringCompletionInfoParcelable() 324 assertEquals(info.getCallScreeningComponent(), info2.getCallScreeningComponent()); in testCallFilteringCompletionInfoParcelable()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecUnitTest.java | 2172 MediaCodec.BufferInfo info2 = new MediaCodec.BufferInfo(); in testQueueInputBuffersWithNullInfo() local 2173 info2.set(0, buffer.capacity() / 2, 2000, 0); in testQueueInputBuffersWithNullInfo() 2174 infos.add(info2); in testQueueInputBuffersWithNullInfo() 2239 MediaCodec.BufferInfo info2 = new MediaCodec.BufferInfo(); in testQueueInputBuffersWithBadSize() local 2240 info2.set(buffer.capacity() / 4, buffer.capacity() / 2, 250, in testQueueInputBuffersWithBadSize() 2242 infos.add(info2); in testQueueInputBuffersWithBadSize() 2282 MediaCodec.BufferInfo info2 = new MediaCodec.BufferInfo(); in testQueueInputBuffersWithBadBuffInfo() local 2283 info2.set(0, buffer.capacity() / 2, 1000, 0); in testQueueInputBuffersWithBadBuffInfo() 2284 infos.add(info2); in testQueueInputBuffersWithBadBuffInfo() 2538 MediaCodec.BufferInfo info2 = new MediaCodec.BufferInfo(); in testSetMultiFrameLinearBlockWithNullInfo() local [all …]
|
/cts/tests/tests/print/src/android/print/cts/ |
D | ClassParametersTest.java | 261 PrintDocumentInfo info2 = new PrintDocumentInfo.Builder("doc") in legalPrintDocumentInfo() local 263 assertEquals(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT, info2.getContentType()); in legalPrintDocumentInfo()
|
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/ |
D | TunerTest.java | 623 FrontendInfo info2 = mTuner.getFrontendInfoById(ids.get(i)); in testMultiTuning() local 624 if (info2.getType() != info.getType()) { in testMultiTuning() 625 res = mTuner.tune(createFrontendSettings(info2)); in testMultiTuning() 645 for (FrontendInfo info2: frontendInfos) { in testRequestFrontendThenTune() 646 if (info2.getType() != frontendInfo.getType()) { in testRequestFrontendThenTune() 647 result = mTuner.tune(createFrontendSettings(info2)); in testRequestFrontendThenTune() 3031 FrontendInfo info2 = mTuner.getFrontendInfoById(ids.get(i)); in testMaxNumberOfFrontends() local 3032 type2 = info2.getType(); in testMaxNumberOfFrontends()
|
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/ |
D | TunerTest.java | 622 FrontendInfo info2 = mTuner.getFrontendInfoById(ids.get(i)); in testMultiTuning() local 623 if (info2.getType() != info.getType()) { in testMultiTuning() 624 res = mTuner.tune(createFrontendSettings(info2)); in testMultiTuning() 644 for (FrontendInfo info2: frontendInfos) { in testRequestFrontendThenTune() 645 if (info2.getType() != frontendInfo.getType()) { in testRequestFrontendThenTune() 646 result = mTuner.tune(createFrontendSettings(info2)); in testRequestFrontendThenTune() 3030 FrontendInfo info2 = mTuner.getFrontendInfoById(ids.get(i)); in testMaxNumberOfFrontends() local 3031 type2 = info2.getType(); in testMaxNumberOfFrontends()
|