Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 42) sorted by relevance

12

/cts/suite/audio_quality/lib/src/task/
DModelBuilder.cpp91 const TiXmlElement* root; in parseTestDescriptionXml() local
92 if ((root = doc.FirstChildElement("case")) != NULL) { in parseTestDescriptionXml()
93 return parseCase(*root); in parseTestDescriptionXml()
94 } else if (!caseOnly && ((root = doc.FirstChildElement("batch")) != NULL)) { in parseTestDescriptionXml()
95 return parseBatch(*root, xmlFileName); in parseTestDescriptionXml()
178 TaskCase* ModelBuilder::parseCase(const TiXmlElement& root) in parseCase() argument
181 return reinterpret_cast<TaskCase*>(parseGeneric(root, 0)); in parseCase()
185 TaskBatch* ModelBuilder::parseBatch(const TiXmlElement& root, const android::String8& xmlFileName) in parseBatch() argument
193 if (!parseAttributes(root, *batch.get())) { in parseBatch()
197 const TiXmlElement* inc = root.FirstChildElement("include"); in parseBatch()
/cts/tests/tests/sax/src/android/sax/cts/
DElementTest.java72 RootElement root = new RootElement(ATOM_NAMESPACE, FEED); in testParse() local
73 assertNotNull(root); in testParse()
74 Element name = root.getChild(ATOM_NAMESPACE, NAME); in testParse()
82 Element entry1 = root.getChild(ATOM_NAMESPACE, ENTRY1); in testParse()
94 Element entry2 = root.requireChild(ATOM_NAMESPACE, ENTRY2); in testParse()
122 xmlReader.setContentHandler(root.getContentHandler()); in testParse()
DRootElementTest.java28 RootElement root = new RootElement(ATOM_NAMESPACE, FEED); in testRoot() local
29 assertNotNull(root.getContentHandler()); in testRoot()
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/tradefed/
DCtsTradefedTest.java41 File root = FileUtil.createTempDir("root"); in testSuiteInfoLoad() local
42 System.setProperty(PROPERTY_NAME, root.getAbsolutePath()); in testSuiteInfoLoad()
43 File base = new File(root, "android-cts"); in testSuiteInfoLoad()
53 FileUtil.recursiveDelete(root); in testSuiteInfoLoad()
/cts/tools/utils/
Dandroid_api_description_splitter.py87 self.root = self.doc.documentElement
121 self.__removeAllChild(self.root)
126 doc.appendChild(self.root)
128 self.root.appendChild(elem)
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java341 AccessibilityNodeInfo root = getInstrumentation().getUiAutomation().getRootInActiveWindow(); in findByText() local
342 AccessibilityNodeInfo result = findByText(root, text); in findByText()
346 return findByTextInCollection(root, text); in findByText()
349 private static AccessibilityNodeInfo findByText(AccessibilityNodeInfo root, String text) { in findByText() argument
350 List<AccessibilityNodeInfo> nodes = root.findAccessibilityNodeInfosByText(text); in findByText()
359 private static AccessibilityNodeInfo findByTextInCollection(AccessibilityNodeInfo root, in findByTextInCollection() argument
362 final int childCount = root.getChildCount(); in findByTextInCollection()
364 AccessibilityNodeInfo child = root.getChild(i); in findByTextInCollection()
441 private static AccessibilityNodeInfo findSwitch(AccessibilityNodeInfo root) throws Exception { in findSwitch() argument
442 if (Switch.class.getName().equals(root.getClassName().toString())) { in findSwitch()
[all …]
/cts/suite/audio_quality/lib/include/task/
DModelBuilder.h53 virtual TaskCase* parseCase(const TiXmlElement& root);
54 virtual TaskBatch* parseBatch(const TiXmlElement& root, const android::String8& xmlFileName);
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletFactory.java54 RootDoc root = getRootDoc(visibility, sourcepath, packageNames); in loadApi() local
56 IApi api = converter.convertDocletRoot(name, root, visibility, in loadApi()
117 RootDocImpl root = comp.getRootDocImpl(docLocale, encoding, showAccess, in getRootDoc() local
121 return root; in getRootDoc()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java90 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testMovingWhiteSurfaceView()
91 mAnimator = createInfiniteAnimator(root, "translationY", 0, 50); in testMovingWhiteSurfaceView()
95 root.addView(surfaceViewA, new FrameLayout.LayoutParams( in testMovingWhiteSurfaceView()
/cts/tools/testng/
Dgen-test-list-xml.py180 root = TestPackage(name=name)
187 root.add_class_and_method(fq_class_name, method_name)
189 root.properties = xml_properties
190 return root
/cts/tests/tests/transition/src/android/transition/cts/
DBaseTransitionTest.java79 View[] root = new View[1]; in loadLayout() local
84 root[0] = mActivity.getLayoutInflater().inflate(layout, mSceneRoot, false); in loadLayout()
88 return root[0]; in loadLayout()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dallocation_resize.rs5 void root(const int *in, int *out) {
Drs_frac_f32.rs4 void root(const float *in, float *out) {
Drs_unpack_color_8888.rs4 void root (const uchar4* in, float4* out) {
Dnegate.rs18 void root(const int *ain, int *aout) {
Dlarge_global.rs21 void __attribute__((kernel)) root(char c) {
Dinit_test.rs11 void root(const float *in, float *out) {
Dget_element_at_x.rs6 void root(uint32_t *out, uint32_t x) {
Dget_element_at_x_y.rs6 void root(uint32_t *out, uint32_t x, uint32_t y) {
Dsend_to_client.rs4 void root(const int4* in) {
Dintrinsic_lut.rs24 uchar4 __attribute__((kernel)) root(uchar4 in) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java107 View root = getLayoutInflater().inflate(R.layout.keychain_main, null); in onCreate() local
108 setContentView(root); in onCreate()
113 mInstructionView = (TextView) root.findViewById(R.id.test_instruction); in onCreate()
114 mLogView = (TextView) root.findViewById(R.id.test_log); in onCreate()
117 mNextButton = (Button) root.findViewById(R.id.action_next); in onCreate()
120 mResetButton = (Button) root.findViewById(R.id.action_reset); in onCreate()
123 mSkipButton = (Button) root.findViewById(R.id.action_skip); in onCreate()
/cts/tests/tests/security/src/android/security/cts/
DConscryptIntermediateVerificationTest.java63 X509Certificate root = loadCertificates(R.raw.intermediate_test_root)[0]; in getTrustManager() local
64 keystore.setEntry("root", new KeyStore.TrustedCertificateEntry(root), null); in getTrustManager()
/cts/tests/tests/icu/tools/android/icu/cts/tools/
DGenerateTestCaseXML.java75 TestSuite root = new TestSuite(""); in main() local
85 root.addTest(className, methodName); in main()
101 root.addChildInformation(testPackageElem, abis); in main()
/cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/
DCtsJavaScannerDoclet.java70 public static boolean start(RootDoc root) { in start() argument
71 ClassDoc[] classes = root.classes(); in start()

12