Home
last modified time | relevance | path

Searched refs:info2 (Results 1 – 6 of 6) 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/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.java263 final AccessibilityNodeInfoCompat info2 = AccessibilityNodeInfoCompat.obtain(); in ignoreAccessibilityIfAdapterHasChanged() local
272 delegateCompat.onInitializeAccessibilityNodeInfo(recyclerView, info2); in ignoreAccessibilityIfAdapterHasChanged()
274 info2.isScrollable()); in ignoreAccessibilityIfAdapterHasChanged()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp507 hardware::camera2::utils::SubmitInfo info2; in TEST_F() local
509 /*out*/&info2); in TEST_F()
512 info2.mLastFrameNumber); in TEST_F()
515 EXPECT_LE(0, info2.mRequestId); in TEST_F()
516 res = device->cancelRequest(info2.mRequestId, /*out*/&lastFrameNumber); in TEST_F()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2016 InputDeviceInfo info2; in TEST_F() local
2017 mapper->populateDeviceInfo(&info2); in TEST_F()
2019 ASSERT_NO_FATAL_FAILURE(assertMotionRange(info2, in TEST_F()
2022 ASSERT_NO_FATAL_FAILURE(assertMotionRange(info2, in TEST_F()
2025 ASSERT_NO_FATAL_FAILURE(assertMotionRange(info2, in TEST_F()