/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceParentGroupTest.java | 64 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/ |
D | MediaStorePlacementTest.java | 83 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/ |
D | ViewStubTest.java | 98 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()
|
D | ViewGroupTest.java | 375 assertSame(mMockViewGroup, mTextView.getParent()); in testAttachViewToParent() 410 assertEquals(mMockViewGroup, textView1.getParent()); in testBringChildToFront() 416 assertEquals(mMockViewGroup, textView2.getParent()); in testBringChildToFront() 514 assertSame(mMockViewGroup, mTextView.getParent()); in testDetachAllViewsFromParent() 517 assertNull(mTextView.getParent()); in testDetachAllViewsFromParent() 529 assertNull(mTextView.getParent()); in testDetachViewFromParent() 537 assertSame(mMockViewGroup, mTextView.getParent()); in testDetachViewFromParentWithParamView() 542 assertNull(mMockViewGroup.getParent()); in testDetachViewFromParentWithParamView() 560 assertNull(textView1.getParent()); in testDetachViewsFromParent() 561 assertNull(textView2.getParent()); in testDetachViewsFromParent() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ViewAnimatorTest.java | 97 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()
|
D | ListViewTest.java | 351 ((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 …]
|
D | ToastTest.java | 99 PollingCheck.waitFor(TIME_OUT, () -> null != view.getParent()); in assertShowToast() 104 PollingCheck.waitFor(TIME_OUT, () -> null == view.getParent()); in assertShowAndHide() 110 assertNull(view.getParent()); in assertNotShowToast() 135 assertNull(view.getParent()); in testShow() 161 assertNull(view.getParent()); in testCancel()
|
D | NumberPickerTest.java | 304 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(mMockA11yDelegate); in testAccessValue() 310 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(null); in testAccessValue() 433 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(mMockA11yDelegate); in testInteractionWithSwipeUp() 451 ((View) mNumberPicker.getParent()).setAccessibilityDelegate(null); in testInteractionWithSwipeUp()
|
D | GridViewTest.java | 552 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnScroll() 560 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnScroll() 578 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnReLayout() 584 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnReLayout() 600 while(theView.getParent() != null) { in testFullyDetachUnusedViewOnScrollForFocus() 607 while(theView.getParent() == null) { in testFullyDetachUnusedViewOnScrollForFocus()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutoFinishSessionTest.java | 70 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),
|
/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/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | AbstractRootViewActivity.java | 107 return (ViewGroup) mRootView.getParent(); in getGrandParent() 113 return (ViewGroup) getGrandParent().getParent(); in getGrandGrandParent()
|
D | CustomViewActivity.java | 120 final View grandpa1 = (View) mCustomView.getParent(); in assertJustInitialViewsAppeared() 121 final View grandpa2 = (View) grandpa1.getParent(); in assertJustInitialViewsAppeared()
|
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/ |
D | SplitAppTest.java | 95 assertEquals("dalvik.system.PathClassLoader", cl.getParent().getClass().getName()); in testFeatureAClassLoader() 108 assertEquals("dalvik.system.DelegateLastClassLoader", cl.getParent().getClass().getName()); in testFeatureBClassLoader()
|
D | BaseReceiver.java | 31 final ClassLoader parent = loader.getParent(); in onReceive()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 88 () -> withTouchableAsParent.apply((View) delegated.getParent()))::run); in onCreate() 92 return () -> ((View) target.getParent()).setTouchDelegate( in setTouchDelegate()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeTransformTest.java | 141 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay() 158 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
|
/cts/hostsidetests/classloaders/splits/apps/feature_b/src/com/android/cts/classloadersplitapp/feature_b/ |
D | FeatureBReceiver.java | 32 final ClassLoader parent = loader.getParent(); in onReceive()
|
/cts/hostsidetests/classloaders/splits/apps/feature_a/src/com/android/cts/classloadersplitapp/feature_a/ |
D | FeatureAReceiver.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/telecom/src/android/telecom/cts/ |
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()
|
D | ConferenceTest.java | 82 if (mCall1.getParent() != conf || mCall2.getParent() != conf) { in testConferenceCreate() 113 if (!(mCall1.getParent() == conf) && (conf.getChildren().contains(mCall1))) { in testConferenceSplit() 120 if ((mCall1.getParent() == conf) || (conf.getChildren().contains(mCall1))) { in testConferenceSplit()
|