Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java140 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity() local
142 assertNotNull(info2); in testResolveDisabledActivity()
143 assertNotNull(info2.activityInfo); in testResolveDisabledActivity()
144 assertFalse(info2.activityInfo.enabled); in testResolveDisabledActivity()
238 final ResolveInfo info2 = in testEnableActivity() local
241 assertNotNull(info2); in testEnableActivity()
242 assertNotNull(info2.activityInfo); in testEnableActivity()
243 assertFalse(info2.activityInfo.enabled); in testEnableActivity()
262 final ResolveInfo info2 = in testDisableActivity() local
265 assertNull(info2); in testDisableActivity()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DCursorAnchorInfoTest.java131 final CursorAnchorInfo info2 = builder.build(); in testBuilder() local
132 assertEquals(SELECTION_START, info2.getSelectionStart()); in testBuilder()
133 assertEquals(SELECTION_END, info2.getSelectionEnd()); in testBuilder()
134 assertEquals(COMPOSING_TEXT_START, info2.getComposingTextStart()); in testBuilder()
135 assertTrue(TextUtils.equals(COMPOSING_TEXT, info2.getComposingText())); in testBuilder()
136 assertEquals(INSERTION_MARKER_FLAGS, info2.getInsertionMarkerFlags()); in testBuilder()
137 assertEquals(INSERTION_MARKER_HORIZONTAL, info2.getInsertionMarkerHorizontal()); in testBuilder()
138 assertEquals(INSERTION_MARKER_TOP, info2.getInsertionMarkerTop()); in testBuilder()
139 assertEquals(INSERTION_MARKER_BASELINE, info2.getInsertionMarkerBaseline()); in testBuilder()
140 assertEquals(INSERTION_MARKER_BOTOM, info2.getInsertionMarkerBottom()); in testBuilder()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DSuggestionParserTest.java81 ResolveInfo info2 = TileUtilsTest.newInfo(true, "category1"); in setUp() local
82 info2.activityInfo.packageName = "pkg2"; in setUp()
84 mInfo.add(info2); in setUp()
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DViewInfoStoreTest.java61 MockInfo info2 = new MockInfo(); in addOverridePre() local
62 mStore.addToPreLayout(vh, info2); in addOverridePre()
63 assertSame(info2, find(vh, FLAG_PRE)); in addOverridePre()
71 MockInfo info2 = new MockInfo(); in addOverridePost() local
72 mStore.addToPostLayout(vh, info2); in addOverridePost()
73 assertSame(info2, find(vh, FLAG_POST)); in addOverridePost()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewAccessibilityTest.java268 final AccessibilityNodeInfoCompat info2 = AccessibilityNodeInfoCompat.obtain(); in ignoreAccessibilityIfAdapterHasChanged() local
277 delegateCompat.onInitializeAccessibilityNodeInfo(recyclerView, info2); in ignoreAccessibilityIfAdapterHasChanged()
279 info2.isScrollable()); in ignoreAccessibilityIfAdapterHasChanged()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp519 hardware::camera2::utils::SubmitInfo info2; in TEST_F() local
521 /*out*/&info2); in TEST_F()
524 info2.mLastFrameNumber); in TEST_F()
527 EXPECT_LE(0, info2.mRequestId); in TEST_F()
528 res = device->cancelRequest(info2.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp630 CameraMetadata info2; in dump() local
631 res = device->getCameraCharacteristics(&info2); in dump()
639 info2.dump(fd, /*verbosity*/ 2, /*indentation*/ 4); in dump()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2052 InputDeviceInfo info2; in TEST_F() local
2053 mapper->populateDeviceInfo(&info2); in TEST_F()
2055 ASSERT_NO_FATAL_FAILURE(assertMotionRange(info2, in TEST_F()
2058 ASSERT_NO_FATAL_FAILURE(assertMotionRange(info2, in TEST_F()
2061 ASSERT_NO_FATAL_FAILURE(assertMotionRange(info2, in TEST_F()