/cts/common/device-side/bedstead/modules/root/ |
D | Android.bp | 6 name: "bedstead-root-annotations-srcs", 8 "src/main/kotlin/com/android/xts/root/annotations/*.kt", 13 name: "bedstead-root-annotations", 14 srcs: [":bedstead-root-annotations-srcs"], 26 name: "bedstead-root", 35 "bedstead-root-annotations", 40 name: "bedstead-root-test", 50 "bedstead-root",
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityCacheTest.java | 140 AccessibilityNodeInfo root = mService.getRootInActiveWindow() in invalidateNode_subtreeInCacheInvalidated() local 142 assertThat(root.getChildCount(), is(2)); in invalidateNode_subtreeInCacheInvalidated() 143 AccessibilityNodeInfo child0 = root.getChild(0); in invalidateNode_subtreeInCacheInvalidated() 144 AccessibilityNodeInfo child1 = root.getChild(1); in invalidateNode_subtreeInCacheInvalidated() 147 assertTrue(mService.clearCachedSubtree(root)); in invalidateNode_subtreeInCacheInvalidated() 149 assertFalse("Root is in cache", mService.isNodeInCache(root)); in invalidateNode_subtreeInCacheInvalidated() 157 AccessibilityNodeInfo root = mService.getRootInActiveWindow(); in clear_cacheInvalidated() local 160 allNodes.add(root); in clear_cacheInvalidated() 161 getNodes(allNodes, root); in clear_cacheInvalidated() 249 AccessibilityNodeInfo root = mService.getRootInActiveWindow() in testRequest_withMultiplePrefetchingStrategies_throwsException() local [all …]
|
/cts/common/device-side/bedstead/modules/root/src/main/kotlin/com/android/xts/root/ |
D | RootAnnotationExecutor.kt | 17 package com.android.xts.root 28 import com.android.xts.root.Tags.ADB_ROOT 29 import com.android.xts.root.Tags.ROOT_INSTRUMENTATION 30 import com.android.xts.root.annotations.RequireAdbRoot 31 import com.android.xts.root.annotations.RequireRootInstrumentation
|
D | Tags.kt | 17 package com.android.xts.root
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | VectorDrawableTests.java | 87 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testInvalidateCache() 88 root.setBackgroundColor(Color.BLUE); in testInvalidateCache() 101 root.addView(child, new FrameLayout.LayoutParams(TEST_WIDTH, TEST_HEIGHT, in testInvalidateCache() 105 root.getViewTreeObserver().addOnPreDrawListener( in testInvalidateCache() 116 root.getViewTreeObserver().removeOnPreDrawListener(this); in testInvalidateCache() 117 root.post(fence::countDown); in testInvalidateCache() 119 root.postInvalidate(); in testInvalidateCache()
|
D | LayerTests.java | 123 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testLayerPaintAlphaChanged() 129 root.addView(child, new FrameLayout.LayoutParams(TEST_WIDTH, TEST_HEIGHT, in testLayerPaintAlphaChanged() 133 root.getViewTreeObserver().addOnPreDrawListener( in testLayerPaintAlphaChanged() 139 root.getChildAt(0).setAlpha(1.00f); in testLayerPaintAlphaChanged() 140 root.getViewTreeObserver().removeOnPreDrawListener(this); in testLayerPaintAlphaChanged() 141 root.post(fence::countDown); in testLayerPaintAlphaChanged() 143 root.postInvalidate(); in testLayerPaintAlphaChanged() 198 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testLayerClear() 199 root.setAlpha(0.5f); in testLayerClear() 207 root.addView(child); in testLayerClear() [all …]
|
D | SurfaceViewTests.java | 181 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); 182 mAnimator = createInfiniteAnimator(root, "translationY", 0, 50); 186 root.addView(surfaceViewA, new FrameLayout.LayoutParams( 223 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); 227 root.addView(mSurfaceView, new FrameLayout.LayoutParams( 315 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); 320 root.addView(surfaceViewA, new FrameLayout.LayoutParams( 327 root.addView(surfaceViewB, new FrameLayout.LayoutParams( 456 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); 462 root.addView(surfaceViewA, new FrameLayout.LayoutParams( [all …]
|
D | AlphaBlendTest.java | 68 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testBlendAlphaNonOverlappingView() 69 root.setBackgroundColor(Color.BLACK); in testBlendAlphaNonOverlappingView() 76 root.addView(child); in testBlendAlphaNonOverlappingView()
|
D | BitmapTests.java | 142 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testChangeDuringRtAnimation() 146 root.addView(child); in testChangeDuringRtAnimation() 209 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testChangeDuringUiAnimation() 210 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation() 222 root.addView(child); in testChangeDuringUiAnimation() 235 root.setBackgroundColor(Color.RED); in testChangeDuringUiAnimation() 238 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
|
/cts/tests/tests/sax/src/android/sax/cts/ |
D | ElementTest.java | 72 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()
|
D | RootElementTest.java | 28 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/ |
D | CtsTradefedTest.java | 63 File root = FileUtil.createTempDir("root"); in testSuiteInfoLoad() local 64 System.setProperty(PROPERTY_NAME, root.getAbsolutePath()); in testSuiteInfoLoad() 65 File base = new File(root, "android-cts"); in testSuiteInfoLoad() 77 FileUtil.recursiveDelete(root); in testSuiteInfoLoad()
|
/cts/common/device-side/bedstead/testapp/tools/index/ |
D | index_testapps.py | 131 root = augment(simple_root) 135 android_app.package_name = root.attributes["package"] 136 android_app.sharedUserId = root.attributes.get("sharedUserId", "") 138 parse_uses_sdk(root, android_app) 139 parse_permissions(root, android_app) 141 application_element = find_single_element(root.children, "application") 154 def parse_uses_sdk(root, android_app): argument 155 uses_sdk_element = find_single_element(root.children, "uses-sdk") 173 def parse_permissions(root, android_app): argument 174 for permission_element in find_elements(root.children, "uses-permission"):
|
/cts/tools/utils/ |
D | android_api_description_splitter.py | 87 self.root = self.doc.documentElement 121 self.__removeAllChild(self.root) 126 doc.appendChild(self.root) 128 self.root.appendChild(elem)
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewAnimationMatrixTest.java | 80 final View root = activity.mRoot; in testAnimationMatrixAppliedDuringDrawing() local 86 waitForDraw(root); in testAnimationMatrixAppliedDuringDrawing() 87 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixAppliedDuringDrawing() 96 final View root = activity.mRoot; in testAnimationMatrixClearedWithPassingNull() local 101 waitForDraw(root); in testAnimationMatrixClearedWithPassingNull() 102 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixClearedWithPassingNull()
|
D | OnBackInvokedDispatcherTest.java | 97 FrameLayout root = new FrameLayout(activity) { in findDispatcherOnViewGroup() 118 viewMap.put("root", root); in findDispatcherOnViewGroup() 122 root.addView(parent); in findDispatcherOnViewGroup() 124 activity.setContentView(root); in findDispatcherOnViewGroup()
|
/cts/common/device-side/bedstead/modules/root/src/test/kotlin/com/android/xts/root/ |
D | RootAnnotationExecutorTest.kt | 17 package com.android.xts.root 24 import com.android.xts.root.annotations.RequireAdbRoot 25 import com.android.xts.root.annotations.RequireRootInstrumentation
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | ResourcesLoaderTestBase.kt | 201 val root: File = zipToDir("$providerName.apk") in <lambda>() constant in android.content.res.loader.cts.ResourcesLoaderTestBase.ZipAssetsProvider 204 val f = File(root, path) in <lambda>() 206 ParcelFileDescriptor.open(File(root, path), in <lambda>() 238 val root = File(context.filesDir, name.split('.')[0]) in <lambda>() constant 239 if (root.exists()) { in <lambda>() 240 return root in <lambda>() 243 root.mkdir() in <lambda>() 247 val file = File(root, entry.name) in <lambda>() 262 return root in <lambda>()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CaCertInstallViaIntentTest.java | 44 View root = getLayoutInflater().inflate(R.layout.ca_install_via_intent, null); in onCreate() local 45 setContentView(root); in onCreate() 51 mRunButton = root.findViewById(R.id.run_test_button); in onCreate()
|
/cts/libs/json/src/com/android/json/stream/ |
D | NewlineDelimitedJsonWriter.java | 167 protected void beforeValue(boolean root) throws IOException { in beforeValue() argument 170 if (!root) { in beforeValue()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | DumpOnFailure.java | 97 final Path root = getDumpRoot(description); 98 final File rootFile = root.toFile(); 101 throw new RuntimeException("Unable to create " + root); 106 Log.i(TAG, "Dumping " + root + "/" + fileName); 107 entry.getValue().writeToFile(root.toString(), fileName);
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletFactory.java | 54 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/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 137 final ViewGroup root = findViewById(R.id.display_content); in createVirtualDisplay() local 146 root.addView(surfaceView); in createVirtualDisplay() 152 final ViewGroup root = findViewById(android.R.id.content); in destroyVirtualDisplays() local 157 root.removeView(entry.surfaceView); in destroyVirtualDisplays() 223 final ViewGroup root = findViewById(android.R.id.content); in surfaceCreated() 225 root.removeView(entry.surfaceView); in surfaceCreated()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityDumper.java | 165 AccessibilityNodeInfo root = window.getRoot(); in dumpAccessibilityNodeTreeOnLogcat() local 166 if (root == null) { in dumpAccessibilityNodeTreeOnLogcat() 170 roots.add(root); in dumpAccessibilityNodeTreeOnLogcat() 177 for (AccessibilityNodeInfo root : roots) { in dumpAccessibilityNodeTreeOnLogcat() 178 dumpTreeWithPrefix(root, ""); in dumpAccessibilityNodeTreeOnLogcat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvAppVerifierActivity.java | 127 CharSequence instructionCharSequence, ViewGroup root) { in createAutoItem() argument 128 View item = inflater.inflate(R.layout.tv_item, root, false); in createAutoItem() 147 public static View createButtonItem(LayoutInflater inflater, ViewGroup root, int buttonTextId, in createButtonItem() argument 149 View item = inflater.inflate(R.layout.tv_item, root, false); in createButtonItem()
|