Searched refs:info2 (Results 1 – 4 of 4) sorted by relevance
50 ApplicationInfo info2 = new ApplicationInfo(); in testCompare() local52 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()
68 DrmSupportInfo info2 = new DrmSupportInfo(); in checkEqualsOnDefaultInfoObjects() local69 assertTrue(info1.equals(info2)); in checkEqualsOnDefaultInfoObjects()74 DrmSupportInfo info2 = new DrmSupportInfo(); in checkEqualsOnNondefaultInfoObjects() local77 info2.addMimeType("hello"); // lowercase 'h' in checkEqualsOnNondefaultInfoObjects()78 assertFalse(info1.equals(info2)); in checkEqualsOnNondefaultInfoObjects()
98 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testRemoveHeader() local99 info2.view = lv2; in testRemoveHeader()101 header.add(info2); in testRemoveHeader()124 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testRemoveFooter() local125 info2.view = lv2; in testRemoveFooter()127 footer.add(info2); in testRemoveFooter()154 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testGetCount() local155 info2.data = data2; in testGetCount()157 header.add(info2); in testGetCount()228 ListView.FixedViewInfo info2 = lv.new FixedViewInfo(); in testGetItem() local[all …]
80 ProviderInfo info2 = new ProviderInfo(); in testAttachInfo() local81 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()