Home
last modified time | relevance | path

Searched refs:getParent (Results 1 – 25 of 70) sorted by relevance

123

/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceParentGroupTest.java64 assertNull(screen.getParent()); in parentViaCodeTest()
67 assertNull(category.getParent()); in parentViaCodeTest()
70 assertNull(pref.getParent()); in parentViaCodeTest()
73 assertEquals(screen, category.getParent()); in parentViaCodeTest()
76 assertEquals(category, pref.getParent()); in parentViaCodeTest()
79 assertNull(category.getParent()); in parentViaCodeTest()
82 assertNull(pref.getParent()); in parentViaCodeTest()
105 assertEquals(screen, category.getParent()); in parentViaInflationTest()
106 assertEquals(category, screenInner.getParent()); in parentViaInflationTest()
107 assertEquals(screenInner, pref.getParent()); in parentViaInflationTest()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStorePlacementTest.java83 assertEquals("Pictures", before.getParent()); in testDefault()
124 assertEquals(before.getParent(), after.getParent()); in testDisplayName_SameMime()
152 assertEquals("Pictures", before.getParent()); in testDirectory_Valid()
158 assertEquals("Pictures", after.getParent()); in testDirectory_Valid()
164 assertEquals("DCIM/Vacation", after.getParent()); in testDirectory_Valid()
170 assertEquals("DCIM/Misc", after.getParent()); in testDirectory_Valid()
176 assertEquals("Pictures/Misc", after.getParent()); in testDirectory_Valid()
182 assertEquals("Pictures", after.getParent()); in testDirectory_Valid()
/cts/tests/tests/view/src/android/view/cts/
DViewStubTest.java98 assertNotNull(viewStub1.getParent()); in testSetVisibility()
105 assertNotNull(viewStub1.getParent()); in testSetVisibility()
116 assertNull(viewStub1.getParent()); in testSetVisibility()
120 assertNull(viewStub2.getParent()); in testSetVisibility()
197 final ViewParent vsParent = viewStub.getParent(); in testInflate()
209 assertNull(viewStub.getParent()); in testInflate()
210 assertSame(vsParent, view.getParent()); in testInflate()
228 assertNull(stub.getParent()); in testInflateErrorNullParent()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutoFinishSessionTest.java70 mParent = ((ViewGroup) mEditText1.getParent());
125 () -> ((ViewGroup) mEditText1.getParent()).removeView(mEditText1),
127 () -> ((ViewGroup) mEditText2.getParent()).removeView(mEditText2),
184 () -> ((ViewGroup) mParent.getParent()).removeView(mParent),
290 () -> ((ViewGroup) mParent.getParent()).removeView(mParent),
DAbstractWebViewActivity.java34 final UiObject2 parent = label.getParent(); in getInput()
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java97 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testShowNext()
142 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAccessDisplayedChild()
177 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAccessDisplayedChildBoundary()
206 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testGetBaseline()
235 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testShowPrevious()
272 final RelativeLayout parent = (RelativeLayout) v.getParent(); in testGetCurrentView()
293 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAddView()
337 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testRemoveViews()
DListViewTest.java351 ((ViewGroup) headerView1.getParent()).removeView(headerView1); in testAccessHeaderView()
352 ((ViewGroup) headerView2.getParent()).removeView(headerView2); in testAccessHeaderView()
577 ((ViewGroup) headerView.getParent()).removeView(headerView); in testFindViewTraversal()
591 ((ViewGroup) headerView.getParent()).removeView(headerView); in testFindViewWithTagTraversal()
698 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnScroll()
715 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnRelayout()
730 while (header.getParent() != null) { in testFullDetachHeaderViewOnScrollForFocus()
749 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnScroll()
757 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnScroll()
773 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnReLayout()
[all …]
DToastTest.java98 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertShowToast()
103 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertShowAndHide()
109 assertNull(view.getParent()); in assertNotShowToast()
134 assertNull(view.getParent()); in testShow()
160 assertNull(view.getParent()); in testCancel()
DNumberPickerTest.java302 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(mMockA11yDelegate); in testAccessValue()
308 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(null); in testAccessValue()
426 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(mMockA11yDelegate); in testInteractionWithSwipeUp()
441 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(null); in testInteractionWithSwipeUp()
/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java68 ClassLoader.getSystemClassLoader().getParent()); in testCustomDexClassLoader()
86 ClassLoader.getSystemClassLoader().getParent()); in testCustomPathClassLoader()
/cts/suite/audio_quality/lib/src/task/
DTaskAsync.cpp97 ASSERT(getParent()->getType() == TaskGeneric::ETaskSequential); in getParentSequential()
98 return reinterpret_cast<TaskSequential*>(getParent()); in getParentSequential()
DTaskGeneric.cpp60 TaskGeneric* TaskGeneric::getParent() in getParent() function in TaskGeneric
74 task = task->getParent(); in getTestCase()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCustomViewActivity.java116 final View grandpa1 = (View) mCustomView.getParent(); in assertJustInitialViewsAppeared()
117 final View grandpa2 = (View) grandpa1.getParent(); in assertJustInitialViewsAppeared()
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DSplitAppTest.java95 assertEquals("dalvik.system.PathClassLoader", cl.getParent().getClass().getName()); in testFeatureAClassLoader()
108 assertEquals("dalvik.system.DelegateLastClassLoader", cl.getParent().getClass().getName()); in testFeatureBClassLoader()
DBaseReceiver.java31 final ClassLoader parent = loader.getParent(); in onReceive()
/cts/hostsidetests/classloaders/splits/apps/feature_a/src/com/android/cts/classloadersplitapp/feature_a/
DFeatureAReceiver.java32 final ClassLoader parent = loader.getParent(); in onReceive()
/cts/hostsidetests/classloaders/splits/apps/feature_b/src/com/android/cts/classloadersplitapp/feature_b/
DFeatureBReceiver.java32 final ClassLoader parent = loader.getParent(); in onReceive()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java88 () -> withTouchableAsParent.apply((View) delegated.getParent()))::run); in onCreate()
92 return () -> ((View) target.getParent()).setTouchDelegate( in setTouchDelegate()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewStartupCtsActivity.java44 ViewGroup vg = (ViewGroup)mWebView.getParent(); in detachAndDestroyWebView()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DWebViewTestActivity.java48 ViewParent parent = mWebView.getParent(); in onDestroy()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeTransformTest.java141 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
158 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieSyncManagerCtsActivity.java58 ViewParent parent = mWebView.getParent(); in onDestroy()
DWebViewCtsActivity.java68 ViewParent parent = mWebView.getParent(); in onDestroy()
/cts/suite/audio_quality/lib/include/task/
DTaskGeneric.h84 TaskGeneric* getParent();
/cts/tests/fragment/src/android/fragment/cts/
DLoaderActivity.java44 ViewGroup container = (ViewGroup) textView.getParent(); in onCreate()

123