/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewFadingEdgeTests.java | 76 final FadingView child = new FadingView(parentView.getContext()); in attachFadingView() local 77 child.setLayoutParams(new FrameLayout.LayoutParams( in attachFadingView() 82 root.addView(child); in attachFadingView() 83 return child; in attachFadingView() 90 final FadingView child = attachFadingView(view); in testCreateLeftFade() 91 child.mEnableFadingLeftEdge = true; in testCreateLeftFade() 92 child.setFadingEdgeLength(TEST_WIDTH / 2); in testCreateLeftFade() 93 child.setHorizontalFadingEdgeEnabled(true); in testCreateLeftFade() 94 Assert.assertEquals(0, child.getSolidColor()); in testCreateLeftFade() 114 final FadingView child = attachFadingView(view); in testCreateRightFade() [all …]
|
D | BitmapTests.java | 116 final BitmapView child = new BitmapView(view.getContext()); in testChangeDuringRtAnimation() 117 child.setLayoutParams(new FrameLayout.LayoutParams(50, 50)); in testChangeDuringRtAnimation() 118 root.addView(child); in testChangeDuringRtAnimation() 120 mAnimator = ViewAnimationUtils.createCircularReveal(child, 0, 0, 0, 90); in testChangeDuringRtAnimation() 128 child.setColor(Color.RED); in testChangeDuringRtAnimation() 134 child.setColor(Color.BLUE); in testChangeDuringRtAnimation() 183 final BitmapView child = new BitmapView(view.getContext()); in testChangeDuringUiAnimation() 187 child.setLayoutParams(new FrameLayout.LayoutParams(ActivityTestBase.TEST_WIDTH / 2, in testChangeDuringUiAnimation() 189 root.addView(child); in testChangeDuringUiAnimation() 190 child.setColor(Color.BLUE); in testChangeDuringUiAnimation() [all …]
|
D | ViewClippingTests.java | 44 ViewGroup child = (ViewGroup) rootView.findViewById(R.id.child); 45 child.setClipToPadding(true); 46 child.setWillNotDraw(true); 47 child.addView(new UnclippedBlueView(rootView.getContext())); 51 View child = rootView.findViewById(R.id.child); 52 child.setOutlineProvider(new ViewOutlineProvider() { 58 child.setClipToOutline(true);
|
D | LayerTests.java | 124 View child = new View(view.getContext()); in testLayerPaintAlphaChanged() 125 child.setLayerType(View.LAYER_TYPE_HARDWARE, null); in testLayerPaintAlphaChanged() 126 child.setAlpha(0.0f); in testLayerPaintAlphaChanged() 128 child.setBackgroundColor(Color.RED); in testLayerPaintAlphaChanged() 129 root.addView(child, new FrameLayout.LayoutParams(TEST_WIDTH, TEST_HEIGHT, in testLayerPaintAlphaChanged() 201 final View child = new View(view.getContext()); in testLayerClear() 202 child.setBackgroundColor(Color.BLUE); in testLayerClear() 203 child.setTranslationX(10); in testLayerClear() 204 child.setLayoutParams( in testLayerClear() 206 child.setLayerType(View.LAYER_TYPE_HARDWARE, null); in testLayerClear() [all …]
|
D | VectorDrawableTests.java | 89 final VectorDrawableView child = new VectorDrawableView(view.getContext()); in testInvalidateCache() 99 child.setVDSize(new Rect(0, 0, 2, 2)); in testInvalidateCache() 101 root.addView(child, new FrameLayout.LayoutParams(TEST_WIDTH, TEST_HEIGHT, in testInvalidateCache() 111 child.setVDSize(new Rect(0, 0, in testInvalidateCache() 112 (int) (child.getWidth()), in testInvalidateCache() 113 (int) (child.getHeight()))); in testInvalidateCache() 114 child.invalidate(); in testInvalidateCache()
|
/cts/tools/utils/ |
D | android_api_description_splitter.py | 105 for child in elem.childNodes: 106 if child.nodeType == xml.dom.minidom.Node.ELEMENT_NODE: 107 children.append(child) 109 for child in children: 110 if child.nodeName == "doc": 111 elem.removeChild(child) 112 children.remove(child) 114 for child in children: 115 child = self.__trimElem(child) 138 for child in elem.childNodes: [all …]
|
D | rerun.py | 24 for child in parent.childNodes: 25 if (child.nodeType == Node.ELEMENT_NODE) and (child.tagName == tagName): 28 children.append(child) 36 for child in childSuites: 37 for failure in parseSuite(child, parentName + child.getAttribute("name")): 40 for child in childTestCases: 41 className = parentName + child.getAttribute("name") 42 for test in getChildrenWithTag(child, "Test"):
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2014-9803/ |
D | poc.c | 55 int do_trace(pid_t child) { in do_trace() argument 58 kill(child, SIGSTOP); // pause child in do_trace() 59 waitpid(child, &status, 0); in do_trace() 62 status = ptrace(PTRACE_PEEKDATA, child, mem, 0); in do_trace() 65 ptrace(PTRACE_DETACH, child, 0, 0); in do_trace() 66 kill(child, SIGCONT); in do_trace() 77 pid_t child = fork(); in main() local 79 if (child == 0) { in main() 82 do_trace(child); in main() 86 waitpid(child, &status, 0); // wait for child to exit naturally in main()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HorizontalScrollViewTest.java | 313 MyView child = new MyView(mActivity); in testMeasureChild() local 314 child.setBackgroundDrawable(null); in testMeasureChild() 315 child.setPadding(0, 0, 0, 0); in testMeasureChild() 316 child.setMinimumWidth(30); in testMeasureChild() 317 child.setLayoutParams(new ViewGroup.LayoutParams(100, 100)); in testMeasureChild() 318 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChild() 321 assertEquals(100, child.getMeasuredHeight()); in testMeasureChild() 322 assertEquals(100, child.getMeasuredWidth()); in testMeasureChild() 325 child, MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChild() 328 assertEquals(100, child.getMeasuredHeight()); in testMeasureChild() [all …]
|
D | ScrollViewTest.java | 327 MyView child = new MyView(mActivity); in testMeasureChild() local 328 child.setBackgroundDrawable(null); in testMeasureChild() 329 child.setPadding(0, 0, 0, 0); in testMeasureChild() 330 child.setMinimumHeight(30); in testMeasureChild() 331 child.setLayoutParams(new ViewGroup.LayoutParams(100, 100)); in testMeasureChild() 332 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChild() 335 assertEquals(100, child.getMeasuredHeight()); in testMeasureChild() 336 assertEquals(100, child.getMeasuredWidth()); in testMeasureChild() 338 mScrollViewCustomEmpty.measureChild(child, in testMeasureChild() 342 assertEquals(30, child.getMeasuredHeight()); in testMeasureChild() [all …]
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskGeneric.cpp | 29 bool deleteChildInstance(TaskGeneric* child, void* /*data*/) in deleteChildInstance() argument 31 delete child; in deleteChildInstance() 41 bool TaskGeneric::addChild(TaskGeneric* child) in addChild() argument 43 mChildren.push_back(child); in addChild() 44 child->setParent(this); in addChild() 48 bool TaskGeneric::forEachChild(bool (*runForEachChild)(TaskGeneric* child, void* data), void* data) in forEachChild() argument 86 bool runChild(TaskGeneric* child, void* data) in runChild() argument 89 *result = child->run(); in runChild() 91 LOGE("child type %d returned %d", child->getType(), *result); in runChild()
|
D | TaskBatch.cpp | 38 bool TaskBatch::addChild(TaskGeneric* child) in addChild() argument 40 if (child->getType() != TaskGeneric::ETaskCase) { in addChild() 41 LOGE("TaskBatch::addChild wrong child type %d", child->getType()); in addChild() 44 return TaskGeneric::addChild(child); in addChild() 47 bool runAlways(TaskGeneric* child, void* data) in runAlways() argument 49 child->run(); in runAlways()
|
/cts/hostsidetests/statsd/ |
D | PROCSTATSQ_PROCS_STATE_CACHED_EMPTY_DURATION.pbtxt | 9 child { 12 child { 15 child { 48 child { 51 child { 54 child {
|
D | PROCSTATSQ_PROCS_STATE_TOP_DURATION.pbtxt | 9 child { 12 child { 15 child { 68 child { 71 child { 74 child {
|
D | PROCSTATSQ_PROCS_STATE_PSS_VALUE.pbtxt | 8 child { 14 child { 17 child { 20 child {
|
D | BATTERYSTATS_SERVICE_LAUNCH_COUNT.pbtxt | 7 child { 10 child { 13 child {
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractWebViewActivity.java | 36 for (UiObject2 child : parent.getChildren()) { in getInput() 38 if (child.getClassName().equals(EditText.class.getName())) { in getInput() 39 return child; in getInput() 41 uiBot.dumpScreen("getInput() for " + child + "failed"); in getInput() 42 throw new IllegalStateException("Invalid class for " + child); in getInput() 44 previous = child; in getInput()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 115 final View child = getChildAt(i); in onMeasure() local 116 if (child.getVisibility() != GONE) { in onMeasure() 117 LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); in onMeasure() 143 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure() 145 child.getMeasuredWidth() + marginLeft + marginRight); in onMeasure() 147 child.getMeasuredHeight() + marginTop + marginBottom); in onMeasure() 148 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure() 176 final View child = getChildAt(i); in onMeasure() local 178 final LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); in onMeasure() 231 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure() [all …]
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ReferenceViewGroup.java | 55 View child = getChildAt(i); in onMeasure() local 56 LayoutParams params = child.getLayoutParams(); in onMeasure() 59 child.measure(width, height); in onMeasure() 77 View child = getChildAt(i); in onLayout() local 78 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight()); in onLayout()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 103 for (Description child : getDescription().getChildren()) { in run() 104 String className = child.getClassName(); in run() 105 String methodName = child.getMethodName(); in run() 114 notifier.fireTestStarted(child); in run() 120 notifier.fireTestFailure(new Failure(child, extractException(result.getFailures()))); in run() 123 notifier.fireTestFinished(child); in run() 173 for (Description child : desc.getChildren()) { in filterDescription() 174 Description filteredChild = filterDescription(child, filter); in filterDescription() 218 Description child = Description.createTestDescription(cls, name); in generateTestNgDescription() local 220 parent.addChild(child); in generateTestNgDescription()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 103 for (Description child : getDescription().getChildren()) { in run() 104 String className = child.getClassName(); in run() 105 String methodName = child.getMethodName(); in run() 114 notifier.fireTestStarted(child); in run() 120 notifier.fireTestFailure(new Failure(child, extractException(result.getFailures()))); in run() 123 notifier.fireTestFinished(child); in run() 173 for (Description child : desc.getChildren()) { in filterDescription() 174 Description filteredChild = filterDescription(child, filter); in filterDescription() 218 Description child = Description.createTestDescription(cls, name); in generateTestNgDescription() local 220 parent.addChild(child); in generateTestNgDescription()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 476 MockViewGroup child = new MockViewGroup(mContext); in testClearDisappearingChildren() local 477 child.setAnimation(new MockAnimation()); in testClearDisappearingChildren() 478 mMockViewGroup.addView(child); in testClearDisappearingChildren() 481 assertNotNull(child.getAnimation()); in testClearDisappearingChildren() 485 child.setAnimation(new MockAnimation()); in testClearDisappearingChildren() 492 child.setAnimation(new MockAnimation()); in testClearDisappearingChildren() 798 MockView child = new MockView(mContext); in testFocusableViewAvailable() local 799 mMockViewGroup.addView(child); in testFocusableViewAvailable() 801 child.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); in testFocusableViewAvailable() 802 child.focusableViewAvailable(mMockViewGroup); in testFocusableViewAvailable() [all …]
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 26 for child in parent.childNodes: 27 if (child.nodeType == Node.ELEMENT_NODE) and (child.tagName == tagName): 30 children.append(child) 60 for child in childSuites: 61 cases.update(parseSuite(child, parentName + child.getAttribute("name"))) 63 for child in childTestCases: 64 className = parentName + child.getAttribute("name") 65 for test in getChildrenWithTag(child, "Test"):
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Helper.java | 119 final TextView child = new TextView(context); in newImportantView() local 120 child.setText(text); in newImportantView() 121 Log.v(TAG, "newImportantView(text=" + text + ", id=" + child.getAutofillId() + ")"); in newImportantView() 122 return child; in newImportantView() 130 final TextView child = newImportantView(context, text); in newImportantView() local 131 child.setContentCaptureSession(session); in newImportantView() 132 return child; in newImportantView()
|
/cts/tools/utils/cts/ |
D | tools.py | 56 child = doc.createElement('TestSuite') 57 child.setAttribute('name', suite_name) 58 parent.appendChild(child) 60 suite.WriteDescription(doc, child) 62 child = doc.createElement('TestCase') 63 child.setAttribute('name', case_name) 64 parent.appendChild(child) 68 child.appendChild(test)
|