/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 77 final TestWindowContainer root = builder.setLayer(0).build(); in testAdd() local 79 final TestWindowContainer layer1 = root.addChildWindow(builder.setLayer(1)); in testAdd() 80 final TestWindowContainer secondLayer1 = root.addChildWindow(builder.setLayer(1)); in testAdd() 81 final TestWindowContainer layer2 = root.addChildWindow(builder.setLayer(2)); in testAdd() 82 final TestWindowContainer layerNeg1 = root.addChildWindow(builder.setLayer(-1)); in testAdd() 83 final TestWindowContainer layerNeg2 = root.addChildWindow(builder.setLayer(-2)); in testAdd() 84 final TestWindowContainer secondLayerNeg1 = root.addChildWindow(builder.setLayer(-1)); in testAdd() 85 final TestWindowContainer layer0 = root.addChildWindow(builder.setLayer(0)); in testAdd() 87 assertEquals(7, root.getChildrenCount()); in testAdd() 89 assertEquals(root, layer1.getParentWindow()); in testAdd() [all …]
|
D | ConfigurationContainerTests.java | 58 final TestConfigurationContainer root = new TestConfigurationContainer(); in testConfigurationInit() local 59 assertEquals(EMPTY, root.getRequestedOverrideConfiguration()); in testConfigurationInit() 60 assertEquals(EMPTY, root.getMergedOverrideConfiguration()); in testConfigurationInit() 61 assertEquals(EMPTY, root.getConfiguration()); in testConfigurationInit() 64 final TestConfigurationContainer child1 = root.addChild(); in testConfigurationInit() 72 root.onRequestedOverrideConfigurationChanged(rootOverrideConfig); in testConfigurationInit() 73 final TestConfigurationContainer child2 = root.addChild(); in testConfigurationInit() 82 root.onConfigurationChanged(rootParentConfig); in testConfigurationInit() 86 final TestConfigurationContainer child3 = root.addChild(); in testConfigurationInit() 95 final TestConfigurationContainer root = new TestConfigurationContainer(); in testConfigurationChangeOnAddRemove() local [all …]
|
D | WindowStateTests.java | 194 final WindowState root = createWindow(null, TYPE_APPLICATION, "root"); in testGetTopParentWindow() local 195 final WindowState child1 = createWindow(root, FIRST_SUB_WINDOW, "child1"); in testGetTopParentWindow() 198 assertEquals(root, root.getTopParentWindow()); in testGetTopParentWindow() 199 assertEquals(root, child1.getTopParentWindow()); in testGetTopParentWindow() 201 assertEquals(root, child2.getTopParentWindow()); in testGetTopParentWindow() 204 root.removeChild(child1); in testGetTopParentWindow() 256 final WindowState root = createWindow(null, TYPE_APPLICATION, "root"); in testGetWindow() local 257 final WindowState mediaChild = createWindow(root, TYPE_APPLICATION_MEDIA, "mediaChild"); in testGetWindow() 258 final WindowState mediaOverlayChild = createWindow(root, in testGetWindow() 260 final WindowState attachedDialogChild = createWindow(root, in testGetWindow() [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | FileUtilsTests.cpp | 36 const auto& root = GetTestDataPath(); in TEST() local 37 auto v = utils::FindFiles(root, false, in TEST() 43 root + "/.", in TEST() 44 root + "/..", in TEST() 45 root + "/overlay", in TEST() 46 root + "/target", in TEST() 47 root + "/signature-overlay", in TEST() 48 root + "/system-overlay", in TEST() 49 root + "/system-overlay-invalid", in TEST() 54 const auto& root = GetTestDataPath(); in TEST() local [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | PathTest.cpp | 41 std::string root(TOPDIR); in TEST_F() local 42 root += "/test/lit.cfg"; in TEST_F() 43 m_pTestee->assign(root); in TEST_F() 47 m_pTestee = new Path(root); in TEST_F() 52 const std::string root = "/luck"; in TEST_F() local 53 m_pTestee->assign(root); in TEST_F() 57 m_pTestee = new Path(root); in TEST_F() 62 const std::string root = "../././.."; in TEST_F() local 63 m_pTestee->assign(root); in TEST_F() 67 m_pTestee = new Path(root); in TEST_F() [all …]
|
D | BinTreeTest.cpp | 43 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F() 53 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() 66 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F() 84 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F() 94 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() 103 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F() 106 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() 117 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F() 145 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F() 173 BinaryTree<int>::iterator pos = m_pTestee->root(); in TEST_F() [all …]
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 210 final RootInfo root = new RootInfo(); in updateVolumesLocked() local 211 mRoots.put(rootId, root); in updateVolumesLocked() 213 root.rootId = rootId; in updateVolumesLocked() 214 root.volumeId = volume.id; in updateVolumesLocked() 215 root.storageUuid = storageUuid; in updateVolumesLocked() 216 root.flags = Root.FLAG_LOCAL_ONLY in updateVolumesLocked() 223 root.flags |= Root.FLAG_REMOVABLE_SD; in updateVolumesLocked() 225 root.flags |= Root.FLAG_REMOVABLE_USB; in updateVolumesLocked() 229 root.flags |= Root.FLAG_SUPPORTS_EJECT; in updateVolumesLocked() 235 root.flags |= Root.FLAG_ADVANCED; in updateVolumesLocked() [all …]
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 79 public final View findNextFocus(ViewGroup root, View focused, int direction) { in findNextFocus() argument 80 return findNextFocus(root, focused, null, direction); in findNextFocus() 91 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { in findNextFocusFromRect() argument 93 return findNextFocus(root, null, mFocusedRect, direction); in findNextFocusFromRect() 96 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { in findNextFocus() argument 98 ViewGroup effectiveRoot = getEffectiveRoot(root, focused); in findNextFocus() 126 private ViewGroup getEffectiveRoot(ViewGroup root, View focused) { in getEffectiveRoot() argument 127 if (focused == null || focused == root) { in getEffectiveRoot() 128 return root; in getEffectiveRoot() 133 if (nextParent == root) { in getEffectiveRoot() [all …]
|
D | WindowManagerGlobal.java | 301 final ViewRootImpl root = mRoots.get(i); in getRootView() local 302 if (name.equals(getWindowName(root))) return root.getView(); in getRootView() 335 ViewRootImpl root; in addView() local 377 root = new ViewRootImpl(view.getContext(), display); in addView() 382 mRoots.add(root); in addView() 387 root.setView(view, wparams, panelParentView); in addView() 412 ViewRootImpl root = mRoots.get(index); in updateViewLayout() local 415 root.setLayoutParams(wparams, false); in updateViewLayout() 464 ViewRootImpl root = mRoots.get(i); in closeAllExceptView() local 469 + root.getView() + " that was originally added here"); in closeAllExceptView() [all …]
|
D | AccessibilityInteractionController.java | 339 final View root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfoByAccessibilityIdUiThread() local 340 if (root != null && isShown(root)) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() 342 root, virtualDescendantId, flags, infos, arguments); in findAccessibilityNodeInfoByAccessibilityIdUiThread() 390 final View root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfosByViewIdUiThread() local 391 if (root != null) { in findAccessibilityNodeInfosByViewIdUiThread() 392 final int resolvedViewId = root.getContext().getResources() in findAccessibilityNodeInfosByViewIdUiThread() 401 root.findViewByPredicate(mAddNodeInfosForViewId); in findAccessibilityNodeInfosByViewIdUiThread() 451 final View root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfosByTextUiThread() local 452 if (root != null && isShown(root)) { in findAccessibilityNodeInfosByTextUiThread() 453 AccessibilityNodeProvider provider = root.getAccessibilityNodeProvider(); in findAccessibilityNodeInfosByTextUiThread() [all …]
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 82 LinearLayout root = new LinearLayout(this); in onCreate() local 83 root.setOrientation(LinearLayout.VERTICAL); in onCreate() 89 addLabelToRoot(root, "Prescaled bitmap in drawable"); in onCreate() 90 addChildToRoot(root, layout); in onCreate() 96 addLabelToRoot(root, "Autoscaled bitmap in drawable"); in onCreate() 97 addChildToRoot(root, layout); in onCreate() 103 addLabelToRoot(root, "Prescaled resource drawable"); in onCreate() 104 addChildToRoot(root, layout); in onCreate() 107 addLabelToRoot(root, "Inflated layout"); in onCreate() 108 addChildToRoot(root, layout); in onCreate() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ViewGroupFadeHelper.kt | 44 fun fadeOutAllChildrenExcept(root: ViewGroup, excludedView: View, duration: Long, in <lambda>() 48 val viewsToFadeOut = gatherViews(root, excludedView, visibilityIncluder) in <lambda>() 63 val previousSetAlpha = root.getTag( in <lambda>() 74 root.setTag(R.id.view_group_fade_helper_previous_value_tag, newAlpha) in <lambda>() 83 root.setTag(R.id.view_group_fade_helper_modified_views, viewsToFadeOut) in <lambda>() 84 root.setTag(R.id.view_group_fade_helper_animator, animator) in <lambda>() 87 private fun gatherViews(root: ViewGroup, excludedView: View, in <lambda>() 99 if (parent == root) { in <lambda>() 112 fun reset(root: ViewGroup) { in <lambda>() 114 val modifiedViews = root.getTag(R.id.view_group_fade_helper_modified_views) in <lambda>() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | Asn1DecoderTest.java | 45 Asn1Node root = decoder.nextNode(); in testNormalOperation() local 47 assertTrue(root.isConstructed()); in testNormalOperation() 48 assertEquals(0xE3, root.getTag()); in testNormalOperation() 49 assertEquals(0x0E, root.getEncodedLength()); in testNormalOperation() 50 assertFalse(root.hasValue()); in testNormalOperation() 52 Asn1Node node = root.getChild(0x5A); in testNormalOperation() 53 assertEquals(1, root.getChildren().size()); in testNormalOperation() 54 assertEquals(1, root.getChildren(0x5A).size()); in testNormalOperation() 55 assertEquals(node, root.getChildren().get(0)); in testNormalOperation() 56 assertEquals(node, root.getChildren(0x5A).get(0)); in testNormalOperation() [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsConfigLoader.c | 38 static int loadLibraries(cnode *root); 39 static int loadLibrary(cnode *root, const char *name); 40 static int loadEffects(cnode *root); 43 static int addSubEffect(cnode *root); 60 cnode *root; in loadEffectConfigFile() local 67 root = config_node("", ""); in loadEffectConfigFile() 68 config_load(root, data); in loadEffectConfigFile() 69 loadLibraries(root); in loadEffectConfigFile() 70 loadEffects(root); in loadEffectConfigFile() 71 config_free(root); in loadEffectConfigFile() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | DisplayListLayersActivity.java | 43 LinearLayout root = createContainer(); in onCreate() local 44 addChild(root, new LayerView(this, 0xffff0000, LAYER_TYPE_HARDWARE, "hardware"), in onCreate() 46 addChild(root, new LayerView(this, 0xff0000ff, LAYER_TYPE_SOFTWARE, "software"), in onCreate() 48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT); in onCreate() 50 setContentView(root); in onCreate() 53 private Button createButton(final LinearLayout root) { in createButton() argument 59 for (int i = 0; i < root.getChildCount(); i++) { in createButton() 60 View child = root.getChildAt(i); in createButton() 71 private void addChild(LinearLayout root, View child, int width, int height) { in addChild() argument 75 root.addView(child, params); in addChild()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 46 ObserverNode root = new ObserverNode(""); in testUri() local 61 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, in testUri() 64 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, in testUri() 71 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUri() 80 ObserverNode root = new ObserverNode(""); in testUriNotNotify() local 94 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, in testUriNotNotify() 101 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUriNotNotify()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgressFragment.java | 45 final View root = inflater.inflate(R.layout.uninstall_progress, container, false); in onCreateView() local 47 View snippetView = root.findViewById(R.id.app_snippet); in onCreateView() 50 mDeviceManagerButton = (Button) root.findViewById(R.id.device_manager_button); in onCreateView() 51 mUsersButton = (Button) root.findViewById(R.id.users_button); in onCreateView() 75 mOkButton = (Button) root.findViewById(R.id.ok_button); in onCreateView() 78 return root; in onCreateView() 102 final View root = getView(); in showCompletion() local 103 root.findViewById(R.id.progress_view).setVisibility(View.GONE); in showCompletion() 104 root.findViewById(R.id.status_view).setVisibility(View.VISIBLE); in showCompletion() 105 ((TextView) root.findViewById(R.id.status_text)).setText(statusText); in showCompletion() [all …]
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 140 void buildTextRects(AssistStructure.ViewNode root, int matrixStackIndex, 142 if (root.getVisibility() != View.VISIBLE) { 155 matrix.preTranslate(root.getLeft(), root.getTop()); 156 int left = parentLeft + root.getLeft(); 157 int top = parentTop + root.getTop(); 158 Matrix transform = root.getTransformation(); 162 if (root.getText() != null || root.getContentDescription() != null) { 163 TextEntry te = new TextEntry(root, parentLeft, parentTop, matrix); 166 final int N = root.getChildCount(); 168 left -= root.getScrollX(); [all …]
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | AssignableFrom.java | 23 private final Class<?> root; field in AssignableFrom 25 AssignableFrom(Class<?> root) { in AssignableFrom() argument 26 this.root = root; in AssignableFrom() 30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | WindowCallbacksCompat.java | 94 ViewRootImpl root = mView.getViewRootImpl(); in attach() local 95 if (root != null) { in attach() 96 root.addWindowCallbacks(mWindowCallbacks); in attach() 97 root.requestInvalidateRootRenderNode(); in attach() 104 ViewRootImpl root = mView.getViewRootImpl(); in detach() local 105 if (root != null) { in detach() 106 root.removeWindowCallbacks(mWindowCallbacks); in detach()
|
/frameworks/base/tools/preload/ |
D | WritePreloadedClassFile.java | 49 Root root = Root.fromFile(rootFile); in main() local 52 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main() 80 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main() 98 for (Proc proc : root.processes.values()) { in main() 118 addAllClassesFrom("zygote", root, toPreload); in main() 130 root.toFile(rootFile); in main() 133 private static void addAllClassesFrom(String processName, Root root, in addAllClassesFrom() argument 135 for (Proc proc : root.processes.values()) { in addAllClassesFrom()
|
/frameworks/compile/slang/tests/F_root_compute_really_bad/ |
D | stderr.txt.expect | 1 root_compute_really_bad.rscript:4:5: error: Compute kernel root() is required to return a void type 2 root_compute_really_bad.rscript:5:31: error: In compute kernel root(), special parameter 'x' must b… 3 root_compute_really_bad.rscript:6:19: error: In compute kernel root(), parameter 'extra1' cannot ap… 4 root_compute_really_bad.rscript:6:36: error: In compute kernel root(), parameter 'extra2' cannot ap… 5 root_compute_really_bad.rscript:4:14: error: Compute kernel root() cannot have non-pointer paramete… 6 root_compute_really_bad.rscript:4:23: error: Compute kernel root() cannot have non-pointer paramete… 7 root_compute_really_bad.rscript:4:33: error: Compute kernel root() cannot have non-pointer paramete… 8 root_compute_really_bad.rscript:4:48: error: Compute kernel root() cannot have non-pointer paramete… 9 root_compute_really_bad.rscript:4:59: error: Compute kernel root() cannot have non-pointer paramete… 10 root_compute_really_bad.rscript:4:5: error: Compute kernel root() must have at least one parameter …
|
/frameworks/av/media/libnblog/ |
D | ReportPerformance.cpp | 46 Json::Value& root = *rootPtr; in dumpToJson() local 47 root["ioHandle"] = data.threadInfo.id; in dumpToJson() 48 root["type"] = NBLog::threadTypeToString(data.threadInfo.type); in dumpToJson() 49 root["frameCount"] = (Json::Value::Int)data.threadParams.frameCount; in dumpToJson() 50 root["sampleRate"] = (Json::Value::Int)data.threadParams.sampleRate; in dumpToJson() 51 root["workMsHist"] = data.workHist.toString(); in dumpToJson() 52 root["latencyMsHist"] = data.latencyHist.toString(); in dumpToJson() 53 root["warmupMsHist"] = data.warmupHist.toString(); in dumpToJson() 54 root["underruns"] = (Json::Value::Int64)data.underruns; in dumpToJson() 55 root["overruns"] = (Json::Value::Int64)data.overruns; in dumpToJson() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ListFragment.java | 389 View root = getView(); in ensureList() local 390 if (root == null) { in ensureList() 393 if (root instanceof ListView) { in ensureList() 394 mList = (ListView)root; in ensureList() 396 mStandardEmptyView = (TextView)root.findViewById( in ensureList() 399 mEmptyView = root.findViewById(android.R.id.empty); in ensureList() 403 mProgressContainer = root.findViewById(com.android.internal.R.id.progressContainer); in ensureList() 404 mListContainer = root.findViewById(com.android.internal.R.id.listContainer); in ensureList() 405 View rawListView = root.findViewById(android.R.id.list); in ensureList()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GraphicBufferMetrics.java | 328 RawEvent root = result.get(threadId); in buildEventModel() local 329 if (root.mParent == null) { in buildEventModel() 334 while (root.mParent != null) { in buildEventModel() 335 root = root.mParent; in buildEventModel() 338 root.mChildren.remove(root.mChildren.size() - 1); in buildEventModel() 339 result.put(threadId, root); in buildEventModel() 365 for (RawEvent root : model.values()) { in processGraphicBufferResult() 367 root.findEvents("localPostBuffer", collectorPostBuffer); in processGraphicBufferResult() 369 root.findEvents("eglSwapBuffersWithDamageKHR", collectorPostBuffer); in processGraphicBufferResult() 371 root.findEvents("queueBuffer", collectorQueueBuffer); in processGraphicBufferResult() [all …]
|