/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceParentGroupTest.java | 63 assertNull(screen.getParent()); in parentViaCodeTest() 66 assertNull(category.getParent()); in parentViaCodeTest() 69 assertNull(pref.getParent()); in parentViaCodeTest() 72 assertEquals(screen, category.getParent()); in parentViaCodeTest() 75 assertEquals(category, pref.getParent()); in parentViaCodeTest() 78 assertNull(category.getParent()); in parentViaCodeTest() 81 assertNull(pref.getParent()); in parentViaCodeTest() 104 assertEquals(screen, category.getParent()); in parentViaInflationTest() 105 assertEquals(category, screenInner.getParent()); in parentViaInflationTest() 106 assertEquals(screenInner, pref.getParent()); in parentViaInflationTest() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewStubTest.java | 97 assertNotNull(viewStub1.getParent()); in testSetVisibility() 104 assertNotNull(viewStub1.getParent()); in testSetVisibility() 115 assertNull(viewStub1.getParent()); in testSetVisibility() 119 assertNull(viewStub2.getParent()); in testSetVisibility() 196 final ViewParent vsParent = viewStub.getParent(); in testInflate() 208 assertNull(viewStub.getParent()); in testInflate() 209 assertSame(vsParent, view.getParent()); in testInflate() 227 assertNull(stub.getParent()); in testInflateErrorNullParent()
|
D | ViewGroupTest.java | 364 assertSame(mMockViewGroup, mTextView.getParent()); in testAttachViewToParent() 399 assertEquals(mMockViewGroup, textView1.getParent()); in testBringChildToFront() 405 assertEquals(mMockViewGroup, textView2.getParent()); in testBringChildToFront() 503 assertSame(mMockViewGroup, mTextView.getParent()); in testDetachAllViewsFromParent() 506 assertNull(mTextView.getParent()); in testDetachAllViewsFromParent() 518 assertNull(mTextView.getParent()); in testDetachViewFromParent() 526 assertSame(mMockViewGroup, mTextView.getParent()); in testDetachViewFromParentWithParamView() 531 assertNull(mMockViewGroup.getParent()); in testDetachViewFromParentWithParamView() 549 assertNull(textView1.getParent()); in testDetachViewsFromParent() 550 assertNull(textView2.getParent()); in testDetachViewsFromParent() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutoFinishSessionTest.java | 63 mParent = ((ViewGroup) mEditText1.getParent()); in initViews() 119 () -> ((ViewGroup) mEditText1.getParent()).removeView(mEditText1), in removeBothViewsToFinishSession() 121 () -> ((ViewGroup) mEditText2.getParent()).removeView(mEditText2), in removeBothViewsToFinishSession() 178 () -> ((ViewGroup) mParent.getParent()).removeView(mParent), in removeParentToFinishSession() 284 () -> ((ViewGroup) mParent.getParent()).removeView(mParent), in removeParentInBackground()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 68 ClassLoader.getSystemClassLoader().getParent()); in testCustomDexClassLoader() 86 ClassLoader.getSystemClassLoader().getParent()); in testCustomPathClassLoader()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskAsync.cpp | 97 ASSERT(getParent()->getType() == TaskGeneric::ETaskSequential); in getParentSequential() 98 return reinterpret_cast<TaskSequential*>(getParent()); in getParentSequential()
|
D | TaskGeneric.cpp | 60 TaskGeneric* TaskGeneric::getParent() in getParent() function in TaskGeneric 74 task = task->getParent(); in getTestCase()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ViewAnimatorTest.java | 96 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testShowNext() 141 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAccessDisplayedChild() 176 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAccessDisplayedChildBoundary() 205 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testGetBaseline() 234 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testShowPrevious() 271 final RelativeLayout parent = (RelativeLayout) v.getParent(); in testGetCurrentView() 292 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAddView() 336 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testRemoveViews()
|
D | ToastTest.java | 85 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertShowToast() 90 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertShowAndHide() 96 assertNull(view.getParent()); in assertNotShowToast() 122 assertNull(view.getParent()); in testShow() 149 assertNull(view.getParent()); in testCancel()
|
D | ListViewTest.java | 351 ((ViewGroup) headerView1.getParent()).removeView(headerView1); in testAccessHeaderView() 352 ((ViewGroup) headerView2.getParent()).removeView(headerView2); in testAccessHeaderView() 579 ((ViewGroup) headerView.getParent()).removeView(headerView); in testFindViewTraversal() 593 ((ViewGroup) headerView.getParent()).removeView(headerView); in testFindViewWithTagTraversal() 700 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnScroll() 718 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnRelayout() 733 while(header.getParent() != null) { in testFullDetachHeaderViewOnScrollForFocus() 754 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnScroll() 762 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnScroll() 780 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnReLayout() [all …]
|
D | GridViewTest.java | 567 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnScroll() 575 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnScroll() 593 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnReLayout() 599 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnReLayout() 615 while(theView.getParent() != null) { in testFullyDetachUnusedViewOnScrollForFocus() 622 while(theView.getParent() == null) { in testFullyDetachUnusedViewOnScrollForFocus()
|
/cts/hostsidetests/appsecurity/test-apps/ClassLoaderSplitApp/src/com/android/cts/classloadersplitapp/ |
D | BaseReceiver.java | 31 final ClassLoader parent = loader.getParent(); in onReceive()
|
D | SplitAppTest.java | 97 assertEquals("dalvik.system.PathClassLoader", cl.getParent().getClass().getName()); in testFeatureAClassLoader() 110 assertEquals("dalvik.system.DelegateLastClassLoader", cl.getParent().getClass().getName()); in testFeatureBClassLoader()
|
/cts/hostsidetests/appsecurity/test-apps/ClassLoaderSplitApp/feature_a/src/com/android/cts/classloadersplitapp/feature_a/ |
D | FeatureAReceiver.java | 32 final ClassLoader parent = loader.getParent(); in onReceive()
|
/cts/hostsidetests/appsecurity/test-apps/ClassLoaderSplitApp/feature_b/src/com/android/cts/classloadersplitapp/feature_b/ |
D | FeatureBReceiver.java | 32 final ClassLoader parent = loader.getParent(); in onReceive()
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewStartupCtsActivity.java | 44 ViewGroup vg = (ViewGroup)mWebView.getParent(); in detachAndDestroyWebView()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | WebViewTestActivity.java | 48 ViewParent parent = mWebView.getParent(); in onDestroy()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewCtsActivity.java | 50 ViewParent parent = mWebView.getParent(); in onDestroy()
|
D | CookieSyncManagerCtsActivity.java | 58 ViewParent parent = mWebView.getParent(); in onDestroy()
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskGeneric.h | 84 TaskGeneric* getParent();
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | LoaderActivity.java | 44 ViewGroup container = (ViewGroup) textView.getParent(); in onCreate()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeTransformTest.java | 140 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay() 157 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConferenceTest.java | 79 if (mCall1.getParent() != conf || mCall2.getParent() != conf) { in testConferenceCreate() 99 if (!(mCall1.getParent() == conf) && (conf.getChildren().contains(mCall1))) { in testConferenceSplit() 106 if ((mCall1.getParent() == conf) || (conf.getChildren().contains(mCall1))) { in testConferenceSplit()
|
D | RemoteConferenceTest.java | 77 if (mCall1.getParent() != confCall || mCall2.getParent() != confCall) { in testRemoteConferenceCreate() 100 if (!(mCall1.getParent() == confCall) && (confCall.getChildren().contains(mCall1))) { in testRemoteConferenceSplit() 108 if ((mCall1.getParent() == confCall) || (confCall.getChildren().contains(mCall1))) { in testRemoteConferenceSplit()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityWindowInfoTest.java | 63 assertNull(w.getParent()); in testDefaultValues()
|