/aosp14/system/core/rootdir/ |
H A D | ueventd.rc | 33 /dev/null 0666 root root 34 /dev/zero 0666 root root 35 /dev/full 0666 root root 36 /dev/ptmx 0666 root root 37 /dev/tty 0666 root root 38 /dev/random 0666 root root 39 /dev/urandom 0666 root root 42 /dev/ashmem* 0666 root root 43 /dev/binder 0666 root root 44 /dev/hwbinder 0666 root root [all …]
|
H A D | init.rc | 41 mkdir /dev/net 0755 root root 82 mkdir /dev/boringssl 0755 root root 266 mkdir /mnt/secure 0700 root root 267 mkdir /mnt/secure/asec 0700 root root 271 mkdir /mnt/user 0755 root root 272 mkdir /mnt/user/0 0755 root root 273 mkdir /mnt/user/0/self 0755 root root 278 mkdir /mnt/pass_through 0700 root root 285 mkdir /mnt/appfuse 0711 root root 288 mkdir /mnt/runtime 0700 root root [all …]
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | ConfigurationContainerTests.java | 111 root.removeChild(child); in testConfigurationChangeOnAddRemove() 219 root.setAlwaysOnTop(true); in testSetAlwaysOnTop() 345 final TestConfigurationContainer root = in testSetMaxBoundsByHierarchy() local 349 root.addChild(child); in testSetMaxBoundsByHierarchy() 351 root.setBounds(bounds); in testSetMaxBoundsByHierarchy() 353 assertEquals(bounds, root.getBounds()); in testSetMaxBoundsByHierarchy() 369 root.addChild(child); in testSetBoundsNotOverrideMaxBounds() 371 root.setBounds(bounds); in testSetBoundsNotOverrideMaxBounds() 373 assertEquals(bounds, root.getBounds()); in testSetBoundsNotOverrideMaxBounds() 386 final TestConfigurationContainer root = in testOnRequestedOverrideConfigurationChangedOverrideMaxBounds() local [all …]
|
H A D | WindowContainerTests.java | 262 root.removeImmediately(); in testRemoveImmediately() 321 assertEquals(child2, root.getChildAt(root.getChildrenCount() - 1)); in testAddChildByIndex() 328 root.addChild(child4, 1); in testAddChildByIndex() 346 assertEquals(child1, root.getChildAt(root.getChildrenCount() - 1)); in testPositionChildAt() 544 root.removeChild(child2); in testRemoveChild() 572 root.setFillsParent(true); in testGetOrientation_childSpecifiedConfig() 816 assertEquals(0, root.compareTo(root)); in testCompareTo() 822 root.compareTo(root2); in testCompareTo() 912 root.removeChild(child1); in testPrefixOrder_remove() 933 root.onResize(); in testOnParentResizePropagation() [all …]
|
H A D | DisplayAreaTest.java | 157 final RootDisplayArea root = in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() local 181 root.addChild(da3, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 200 root.addChild(da5, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny() 214 final RootDisplayArea root = in testForAllTaskDisplayAreas_appliesOnTaskDisplayAreaInOrder() local 314 final RootDisplayArea root = in testForAllTaskDisplayAreas_returnsWhenCallbackReturnTrue() local 342 final RootDisplayArea root = in testReduceOnAllTaskDisplayAreas_returnsTheAccumulativeResult() local 368 final RootDisplayArea root = in testGetItemFromTaskDisplayAreas_returnsWhenCallbackReturnNotNull() local 424 final RootDisplayArea root = in testRestrictAppBoundsToOverrideBounds() local 431 root.setBounds(displayBounds); in testRestrictAppBoundsToOverrideBounds() 611 final RootDisplayArea root = in testGetDisplayAreaInfo() local [all …]
|
/aosp14/system/core/libcutils/ |
H A D | config_utils.cpp | 56 if(root->last_child) in _config_create() 57 root->last_child->next = node; in _config_create() 59 root->first_child = node; in _config_create() 61 root->last_child = node; in _config_create() 70 node = config_find(root, name); in config_bool() 88 node = config_find(root, name); in config_str() 98 node = config_find(root, name); in config_set() 266 node = config_find(root, cs->text); in parse_expr() 314 config_load(root, data); in config_load_file() 318 void config_free(cnode *root) in config_free() argument [all …]
|
/aosp14/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 282 root.docId = getDocIdForFile(root.path); in updateVolumesLocked() 431 final File rootFile = visible ? root.visiblePath : root.path; in getMostSpecificRootForPath() 459 return Pair.create(root, buildFile(root, docId, /* mustExist */ true)); in resolveDocId() 488 RootInfo root; in getRootFromDocId() local 492 if (root == null) { in getRootFromDocId() 496 return root; in getRootFromDocId() 504 File target = root.visiblePath != null ? root.visiblePath : root.path; in buildFile() 587 final File rootFile = root.visiblePath != null ? root.visiblePath in findDocumentPath() 588 : root.path; in findDocumentPath() 665 parent = root.visiblePath != null ? root.visiblePath in querySearchDocuments() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/compose/facade/enabled/src/com/android/systemui/compose/ |
H A D | ComposeInitializerImpl.kt | 29 override fun onAttachedToWindow(root: View) { 30 if (root.findViewTreeLifecycleOwner() != null) { 31 error("root $root already has a LifecycleOwner") 34 val parent = root.parent 45 val lifecycleOwner = ViewLifecycleOwner(root) 68 root.setViewTreeLifecycleOwner(lifecycleOwner) 69 ViewTreeSavedStateRegistryOwner.set(root, savedStateRegistryOwner) 72 override fun onDetachedFromWindow(root: View) { 73 (root.findViewTreeLifecycleOwner() as ViewLifecycleOwner).onDestroy() 74 root.setViewTreeLifecycleOwner(null) [all …]
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 128 return root; in getEffectiveRoot() 147 return root; in getEffectiveRoot() 158 @NonNull View root, in findNextKeyboardNavigationCluster() 276 View root, in findNextKeyboardNavigationCluster() argument 327 final int rootBottom = root.getScrollY() + root.getHeight(); in setFocusBottomRight() 328 final int rootRight = root.getScrollX() + root.getWidth(); in setFocusBottomRight() 405 View root, in getNextKeyboardNavigationCluster() argument 424 return root; in getNextKeyboardNavigationCluster() 428 View root, in getPreviousKeyboardNavigationCluster() argument 447 return root; in getPreviousKeyboardNavigationCluster() [all …]
|
H A D | WindowManagerGlobal.java | 304 if (name.equals(getWindowName(root))) return root.getView(); in getRootView() 308 if (name.equals(getWindowName(root))) return root.getView(); in getRootView() 341 ViewRootImpl root; in addView() local 406 mRoots.add(root); in addView() 506 ViewRootImpl root = mRoots.get(index); in removeViewLocked() local 507 View view = root.getView(); in removeViewLocked() 509 if (root != null) { in removeViewLocked() 512 boolean deferred = root.die(immediate); in removeViewLocked() 521 void doRemoveView(ViewRootImpl root) { in doRemoveView() argument 608 root.getClass().getName() + '@' + Integer.toHexString(root.hashCode()); in getWindowName() [all …]
|
/aosp14/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 90 addChildToRoot(root, layout); in onCreate() 97 addChildToRoot(root, layout); in onCreate() 104 addChildToRoot(root, layout); in onCreate() 107 addLabelToRoot(root, "Inflated layout"); in onCreate() 108 addChildToRoot(root, layout); in onCreate() 112 addChildToRoot(root, layout); in onCreate() 119 addChildToRoot(root, layout); in onCreate() 126 addChildToRoot(root, layout); in onCreate() 133 addChildToRoot(root, layout); in onCreate() 140 addChildToRoot(root, layout); in onCreate() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | ViewGroupFadeHelper.kt | 48 val viewsToFadeOut = gatherViews(root, excludedView, visibilityIncluder) 63 val previousSetAlpha = root.getTag( 83 root.setTag(R.id.view_group_fade_helper_modified_views, viewsToFadeOut) 84 root.setTag(R.id.view_group_fade_helper_animator, animator) 87 private fun gatherViews(root: ViewGroup, excludedView: View, 99 if (parent == root) { 112 fun reset(root: ViewGroup) { 122 val lastSetValue = root.getTag( 142 root.setTag(R.id.view_group_fade_helper_modified_views, null) 143 root.setTag(R.id.view_group_fade_helper_previous_value_tag, null) [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
H A D | ObserverNodeTest.java | 68 ObserverNode root = new ObserverNode(""); in testUri() local 83 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, in testUri() 86 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, in testUri() 102 ObserverNode root = new ObserverNode(""); in testUriNotNotify() local 116 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, in testUriNotNotify() 142 final ObserverNode root = new ObserverNode(""); in testCluster() local 143 root.addObserverLocked(Uri.parse("content://authority/"), observer, in testCluster() 144 true, root, 0, 1000, myUserHandle); in testCluster() 147 root.collectObserversLocked(Uri.parse("content://authority/1"), 0, null, false, in testCluster() 149 root.collectObserversLocked(Uri.parse("content://authority/1"), 0, null, false, in testCluster() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | SurfaceSyncGroupController.java | 41 SurfaceSyncGroup root; in addToSyncGroup() local 45 root = new SurfaceSyncGroup(TAG + "-" + syncGroupToken.hashCode()); in addToSyncGroup() 47 root.addSyncCompleteCallback(Runnable::run, () -> { in addToSyncGroup() 55 new SurfaceSyncGroupData(Binder.getCallingUid(), root)); in addToSyncGroup() 57 root = syncGroupData.mSurfaceSyncGroup; in addToSyncGroup() 62 root.createTransactionReadyCallback(parentSyncGroupMerge); in addToSyncGroup() 66 outAddToSyncGroupResult.mParentSyncGroup = root.mISurfaceSyncGroup; in addToSyncGroup() 72 final SurfaceSyncGroup root; in markSyncGroupReady() local 85 root = syncGroupData.mSurfaceSyncGroup; in markSyncGroupReady() 89 root.markSyncReady(); in markSyncGroupReady()
|
/aosp14/system/core/libcutils/include/cutils/ |
H A D | config_utils.h | 37 void config_load(cnode *root, char *data); 40 void config_load_file(cnode *root, const char *fn); 46 cnode* config_find(cnode *root, const char *name); 49 int config_bool(cnode *root, const char *name, int _default); 52 const char* config_str(cnode *root, const char *name, const char *_default); 55 void config_set(cnode *root, const char *name, const char *value); 58 void config_free(cnode *root);
|
/aosp14/system/core/libcutils/include_outside_system/cutils/ |
H A D | config_utils.h | 37 void config_load(cnode *root, char *data); 40 void config_load_file(cnode *root, const char *fn); 46 cnode* config_find(cnode *root, const char *name); 49 int config_bool(cnode *root, const char *name, int _default); 52 const char* config_str(cnode *root, const char *name, const char *_default); 55 void config_set(cnode *root, const char *name, const char *value); 58 void config_free(cnode *root);
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A 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()
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
H A D | UninstallAppProgressFragment.java | 46 final View root = inflater.inflate(R.layout.uninstall_progress, container, false); in onCreateView() local 48 View snippetView = root.findViewById(R.id.app_snippet); in onCreateView() 51 mDeviceManagerButton = (Button) root.findViewById(R.id.device_manager_button); in onCreateView() 52 mUsersButton = (Button) root.findViewById(R.id.users_button); in onCreateView() 76 mOkButton = (Button) root.findViewById(R.id.ok_button); in onCreateView() 79 return root; in onCreateView() 103 final View root = getView(); in showCompletion() local 104 root.findViewById(R.id.progress_view).setVisibility(View.GONE); in showCompletion() 105 root.findViewById(R.id.status_view).setVisibility(View.VISIBLE); in showCompletion() 106 ((TextView) root.findViewById(R.id.status_text)).setText(statusText); in showCompletion() [all …]
|
/aosp14/system/core/ |
H A D | CleanSpec.mk | 51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc) 52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc) 54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop) 61 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/vendor) 62 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc) 73 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/root) 80 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/) 81 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/sbin/charger) 83 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/sbin) 84 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/sbin) [all …]
|
/aosp14/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 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) { 166 final int N = root.getChildCount(); 168 left -= root.getScrollX(); 169 top -= root.getScrollY(); 170 matrix.preTranslate(-root.getScrollX(), -root.getScrollY()); [all …]
|
/aosp14/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A 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()
|
/aosp14/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/ |
H A D | ExternalStorageProviderTest.java | 60 final String root = "root"; in testGetPathFromDocId() local 62 String docId = root + ":" + path; in testGetPathFromDocId() 65 docId = root + ":" + path + "/"; in testGetPathFromDocId() 68 docId = root + ":"; in testGetPathFromDocId() 71 docId = root + ":./" + path; in testGetPathFromDocId() 75 docId = root + ":" + dotPath; in testGetPathFromDocId() 79 docId = root + ":" + twoDotPath; in testGetPathFromDocId()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
H A D | NodeSpecBuilder.kt | 50 val root = NodeSpecImpl(null, rootController) regex 55 root.children.add(NodeSpecImpl(root, mediaContainerController)) 75 root.children.add(NodeSpecImpl(root, headerController)) 89 root.children.add(buildNotifNode(root, entry)) 100 return@traceSection root
|
/aosp14/frameworks/base/tools/preload/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/ |
H A D | RecentTaskViewHolder.kt | 41 @Assisted private val root: ViewGroup, 47 ) : ViewHolder(root), ConfigurationListener, TaskPreviewSizeProvider.TaskPreviewSizeListener { 49 val thumbnailView: MediaProjectionTaskView = root.requireViewById(R.id.task_thumbnail) 50 private val iconView: ImageView = root.requireViewById(R.id.task_icon) 71 root.contentDescription = label ?: root.context.getString(R.string.unknown) 80 root.setOnClickListener(onClick) 105 fun create(root: ViewGroup): RecentTaskViewHolder
|