Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DSigXml.java87 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse() local
89 parseIntermediateCerts(rootNode), parseSignerCert(rootNode), in parse()
90 parseFileSignature(rootNode)); in parse()
93 private static List<X509Certificate> parseIntermediateCerts(Element rootNode) in parseIntermediateCerts() argument
98 rootNode, in parseIntermediateCerts()
108 private static X509Certificate parseSignerCert(Element rootNode) throws CertParsingException { in parseSignerCert() argument
111 CertUtils.MUST_EXIST_EXACTLY_ONE, rootNode, SIGNER_CERT_NODE_TAG); in parseSignerCert()
115 private static byte[] parseFileSignature(Element rootNode) throws CertParsingException { in parseFileSignature() argument
118 CertUtils.MUST_EXIST_EXACTLY_ONE, rootNode, SIGNATURE_NODE_TAG); in parseFileSignature()
DCertXml.java108 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse() local
110 parseSerial(rootNode), in parse()
111 parseIntermediateCerts(rootNode), in parse()
112 parseEndpointCerts(rootNode)); in parse()
115 private static long parseSerial(Element rootNode) throws CertParsingException { in parseSerial() argument
119 rootNode, in parseSerial()
125 private static List<X509Certificate> parseIntermediateCerts(Element rootNode) in parseIntermediateCerts() argument
130 rootNode, in parseIntermediateCerts()
140 private static List<X509Certificate> parseEndpointCerts(Element rootNode) in parseEndpointCerts() argument
145 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/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/libs/hwui/tests/unit/
DRenderNodeTests.cpp270 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_TEST() local
273 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST()
303 auto rootNode = in RENDERTHREAD_TEST() local
309 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST()
318 rootNode->mutateStagingProperties().mutateLayerProperties().setType(LayerType::RenderLayer); in RENDERTHREAD_TEST()
320 TestUtils::syncHierarchyPropertiesAndDisplayList(rootNode); in RENDERTHREAD_TEST()
321 rootNode->prepareTree(info); in RENDERTHREAD_TEST()
325 EXPECT_TRUE(rootNode->getDisplayList()->hasVectorDrawables()); in RENDERTHREAD_TEST()
327 EXPECT_EQ(rootNode.get(), info.layerUpdateQueue->entries().at(0).renderNode.get()); in RENDERTHREAD_TEST()
DCanvasContextTests.cpp36 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_TEST() local
39 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_TEST()
DRenderNodeDrawableTests.cpp43 auto rootNode = in TEST() local
52 RenderNodeDrawable drawable(rootNode.get(), &canvas); in TEST()
54 ASSERT_EQ(drawable.getRenderNode(), rootNode.get()); in TEST()
55 ASSERT_EQ(&drawable.getNodeProperties(), &rootNode->properties()); in TEST()
147 auto rootNode = TestUtils::createSkiaNode( in TEST() local
156 rootNode->setLayerSurface(surfaceLayer); in TEST()
158 RenderNodeDrawable drawable1(rootNode.get(), &canvas, false); in TEST()
162 RenderNodeDrawable drawable2(rootNode.get(), &canvas, true); in TEST()
166 RenderNodeDrawable drawable3(rootNode.get(), &canvas, false); in TEST()
170 rootNode->setLayerSurface(sk_sp<SkSurface>()); in TEST()
[all …]
DSkiaDisplayListTests.cpp143 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
146 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
202 auto rootNode = TestUtils::createNode(0, 0, 200, 400, nullptr); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
205 CanvasContext::create(renderThread, false, rootNode.get(), &contextFactory)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp127 sp<RenderNode> rootNode = TestUtils::createNode( in run() local
134 std::unique_ptr<RenderProxy> proxy(new RenderProxy(false, rootNode.get(), &factory)); in run()
/frameworks/base/libs/hwui/
DVectorDrawable.h503 explicit Tree(Group* rootNode) : mRootNode(rootNode) { in Tree() argument
508 Tree(const Tree* copy, Group* rootNode) : Tree(rootNode) { in Tree() argument
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.h64 ANDROID_API RenderProxy(bool opaque, RenderNode* rootNode, IContextFactory* contextFactory);
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp404 AnimationContextBridge(renderthread::TimeLord& clock, RootRenderNode* rootNode) in AnimationContextBridge() argument
405 : AnimationContext(clock), mRootNode(rootNode) { in AnimationContextBridge()
445 explicit ContextFactoryImpl(RootRenderNode* rootNode) : mRootNode(rootNode) {} in ContextFactoryImpl() argument
Dandroid_view_Surface.cpp482 RenderNode* rootNode = reinterpret_cast<RenderNode*>(rootNodePtr); in create() local
485 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory); in create()
/frameworks/base/core/java/android/view/
DSurface.java975 private static native long nHwuiCreate(long rootNode, long surface, boolean isWideColorGamut); in nHwuiCreate() argument