Home
last modified time | relevance | path

Searched refs:rootNode (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DSigXml.java81 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse() local
83 parseIntermediateCerts(rootNode), parseSignerCert(rootNode), in parse()
84 parseFileSignature(rootNode)); in parse()
87 private static List<X509Certificate> parseIntermediateCerts(Element rootNode) in parseIntermediateCerts() argument
92 rootNode, in parseIntermediateCerts()
102 private static X509Certificate parseSignerCert(Element rootNode) throws CertParsingException { in parseSignerCert() argument
105 CertUtils.MUST_EXIST_EXACTLY_ONE, rootNode, SIGNER_CERT_NODE_TAG); in parseSignerCert()
109 private static byte[] parseFileSignature(Element rootNode) throws CertParsingException { in parseFileSignature() argument
112 CertUtils.MUST_EXIST_EXACTLY_ONE, rootNode, SIGNATURE_NODE_TAG); in parseFileSignature()
DCertXml.java109 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse() local
111 parseSerial(rootNode), in parse()
112 parseIntermediateCerts(rootNode), in parse()
113 parseEndpointCerts(rootNode)); in parse()
116 private static long parseSerial(Element rootNode) throws CertParsingException { in parseSerial() argument
120 rootNode, in parseSerial()
126 private static List<X509Certificate> parseIntermediateCerts(Element rootNode) in parseIntermediateCerts() argument
131 rootNode, in parseIntermediateCerts()
141 private static List<X509Certificate> parseEndpointCerts(Element rootNode) in parseEndpointCerts() argument
146 rootNode, in parseEndpointCerts()
DCertUtils.java161 static List<String> getXmlNodeContents(@MustExist int mustExist, Element rootNode, in getXmlNodeContents() argument
171 Element parent = rootNode; in getXmlNodeContents()
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp273 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_TEST() local
276 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory, 0, 0)); in RENDERTHREAD_TEST()
306 auto rootNode = in RENDERTHREAD_TEST() local
312 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory, 0, 0)); in RENDERTHREAD_TEST()
321 rootNode->mutateStagingProperties().mutateLayerProperties().setType(LayerType::RenderLayer); in RENDERTHREAD_TEST()
323 TestUtils::syncHierarchyPropertiesAndDisplayList(rootNode); in RENDERTHREAD_TEST()
324 rootNode->prepareTree(info); in RENDERTHREAD_TEST()
328 EXPECT_TRUE(rootNode->getDisplayList().hasVectorDrawables()); in RENDERTHREAD_TEST()
330 EXPECT_EQ(rootNode.get(), info.layerUpdateQueue->entries().at(0).renderNode.get()); in RENDERTHREAD_TEST()
336 auto rootNode = in TEST() local
[all …]
DCanvasContextTests.cpp37 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_TEST() local
40 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory, 0, 0)); in RENDERTHREAD_TEST()
DRenderNodeDrawableTests.cpp47 auto rootNode = in TEST() local
56 RenderNodeDrawable drawable(rootNode.get(), &canvas); in TEST()
58 ASSERT_EQ(drawable.getRenderNode(), rootNode.get()); in TEST()
59 ASSERT_EQ(&drawable.getNodeProperties(), &rootNode->properties()); in TEST()
151 auto rootNode = TestUtils::createSkiaNode( in TEST() local
160 rootNode->setLayerSurface(surfaceLayer); in TEST()
162 RenderNodeDrawable drawable1(rootNode.get(), &canvas, false); in TEST()
166 RenderNodeDrawable drawable2(rootNode.get(), &canvas, true); in TEST()
170 RenderNodeDrawable drawable3(rootNode.get(), &canvas, false); in TEST()
174 rootNode->setLayerSurface(sk_sp<SkSurface>()); in TEST()
[all …]
DSkiaDisplayListTests.cpp167 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_TEST() local
170 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory, 0, 0)); in RENDERTHREAD_TEST()
226 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_TEST() local
229 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory, 0, 0)); in RENDERTHREAD_TEST()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DAccessibilityTest.java69 AccessibilityNodeInfo rootNode = rootView.createAccessibilityNodeInfo(); in accessibilityNodeInfoCreation() local
70 assertNotNull(rootNode); in accessibilityNodeInfoCreation()
71 rootNode.setQueryFromAppProcessEnabled(rootView, true); in accessibilityNodeInfoCreation()
72 assertEquals(38, rootNode.getChildCount()); in accessibilityNodeInfoCreation()
73 AccessibilityNodeInfo child = rootNode.getChild(0); in accessibilityNodeInfoCreation()
158 AccessibilityNodeInfo rootNode = rootView.createAccessibilityNodeInfo(); in testDialogAccessibility() local
159 assertNotNull(rootNode); in testDialogAccessibility()
160 rootNode.setQueryFromAppProcessEnabled(rootView, true); in testDialogAccessibility()
161 traverseAccessibilityTree(rootNode, counter); in testDialogAccessibility()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DQueryController.java150 AccessibilityNodeInfo rootNode = getRootNode(); in findAccessibilityNodeInfo() local
151 if (rootNode == null) { in findAccessibilityNodeInfo()
158 return translateCompoundSelector(uiSelector, rootNode, isCounting); in findAccessibilityNodeInfo()
170 AccessibilityNodeInfo rootNode = null; in getRootNode() local
172 rootNode = mUiAutomatorBridge.getRootInActiveWindow(); in getRootNode()
173 if (rootNode != null) { in getRootNode()
174 return rootNode; in getRootNode()
181 return rootNode; in getRootNode()
505 AccessibilityNodeInfo rootNode = getRootNode(); in getCurrentPackageName() local
506 if (rootNode == null) in getCurrentPackageName()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DShadeViewDiffer.kt41 private val rootNode = ShadeNode(rootController) in <lambda>() constant
42 private val nodes = mutableMapOf(rootController to rootNode) in <lambda>()
52 if (spec.controller != rootNode.controller) { in <lambda>()
57 detachChildren(rootNode, specMap) in <lambda>()
58 attachChildren(rootNode, specMap) in <lambda>()
/frameworks/base/graphics/java/android/graphics/
DHardwareBufferRenderer.java80 RenderNode rootNode = RenderNode.adopt(nCreateRootRenderNode()); in HardwareBufferRenderer() local
81 rootNode.setClipToBounds(false); in HardwareBufferRenderer()
82 mProxy = nCreateHardwareBufferRenderer(buffer, rootNode.mNativeRenderNode); in HardwareBufferRenderer()
85 mRootNode = rootNode; in HardwareBufferRenderer()
/frameworks/base/libs/hwui/
DRootRenderNode.h79 explicit ContextFactoryImpl(RootRenderNode* rootNode) : mRootNode(rootNode) {} in ContextFactoryImpl() argument
DRootRenderNode.cpp254 AnimationContextBridge(renderthread::TimeLord& clock, RootRenderNode* rootNode) in AnimationContextBridge() argument
255 : AnimationContext(clock), mRootNode(rootNode) {} in AnimationContextBridge()
DVectorDrawable.h504 explicit Tree(Group* rootNode) : mRootNode(rootNode) { in Tree() argument
509 Tree(const Tree* copy, Group* rootNode) : Tree(rootNode) { in Tree() argument
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DAutofillTestHelper.java54 final ViewNode rootNode = windowNode.getRootViewNode(); in findNodeByResourceId() local
55 final ViewNode node = findNodeByResourceId(rootNode, id); in findNodeByResourceId()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp119 sp<RenderNode> rootNode = TestUtils::createNode( in doRun() local
126 std::unique_ptr<RenderProxy> proxy(new RenderProxy(false, rootNode.get(), &factory)); in doRun()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.h74 RenderProxy(bool opaque, RenderNode* rootNode, IContextFactory* contextFactory);