Home
last modified time | relevance | path

Searched refs:info2 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfo_DisplayNameComparatorTest.java50 ApplicationInfo info2 = new ApplicationInfo(); in testCompare() local
52 info2.packageName = PACKAGE_NAME; in testCompare()
53 assertEquals(0, mDisplayNameComparator.compare(info1, info2)); in testCompare()
56 info2.packageName = PACKAGE_NAME + ".2"; in testCompare()
57 assertTrue((mDisplayNameComparator.compare(info1, info2) < 0)); in testCompare()
61 info2 = mContext.getPackageManager().getApplicationInfo(PACKAGE_NAME, 0); in testCompare()
62 assertTrue((mDisplayNameComparator.compare(info1, info2) > 0)); in testCompare()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmSupportInfoTest.java68 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/tests/widget/src/android/widget/cts/
DHeaderViewListAdapterTest.java98 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testRemoveHeader() local
99 info2.view = lv2; in testRemoveHeader()
101 header.add(info2); in testRemoveHeader()
124 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testRemoveFooter() local
125 info2.view = lv2; in testRemoveFooter()
127 footer.add(info2); in testRemoveFooter()
154 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testGetCount() local
155 info2.data = data2; in testGetCount()
157 header.add(info2); in testGetCount()
228 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testGetItem() local
[all …]
/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java80 ProviderInfo info2 = new ProviderInfo(); in testAttachInfo() local
81 info2.readPermission = "android.permission.READ_CONTACTS"; in testAttachInfo()
82 info2.writePermission = "android.permission.WRITE_CONTACTS"; in testAttachInfo()
83 mockContentProvider.attachInfo(null, info2); in testAttachInfo()
94 mockContentProvider.attachInfo(null, info2); in testAttachInfo()
96 assertEquals(info2.readPermission, mockContentProvider.getReadPermission()); in testAttachInfo()
97 assertEquals(info2.writePermission, mockContentProvider.getWritePermission()); in testAttachInfo()