Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/compile/mclinker/unittests/
DPathTest.cpp41 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 …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentStack.java40 public RootInfo root; field in DocumentStack
43 if (size() == 1 && root != null) { in getTitle()
44 return root.title; in getTitle()
57 for (RootInfo root : matchingRoots) { in updateRoot()
58 if (root.equals(this.root)) { in updateRoot()
59 this.root = root; in updateRoot()
63 throw new FileNotFoundException("Failed to find matching root for " + root); in updateRoot()
83 if (root != null) { in buildKey()
84 builder.append(root.authority).append('#'); in buildKey()
85 builder.append(root.rootId).append('#'); in buildKey()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp54 static void getReference(const _xmlNode *root, const _xmlNode *&refNode, const string &refName) in getReference() argument
56 const _xmlNode *col = root; in getReference()
81 const xmlNode *root = cur->xmlChildrenNode; in deserializeCollection() local
82 while (root != NULL) { in deserializeCollection()
83 if (xmlStrcmp(root->name, (const xmlChar *)Trait::collectionTag) && in deserializeCollection()
84 xmlStrcmp(root->name, (const xmlChar *)Trait::tag)) { in deserializeCollection()
85 root = root->next; in deserializeCollection()
88 const xmlNode *child = root; in deserializeCollection()
106 if (!xmlStrcmp(root->name, (const xmlChar *)Trait::tag)) { in deserializeCollection()
109 root = root->next; in deserializeCollection()
[all …]
DConfigParsingUtils.cpp34 void ConfigParsingUtils::loadAudioPortGain(cnode *root, AudioPort &audioPort, int index) in loadAudioPortGain() argument
36 cnode *node = root->first_child; in loadAudioPortGain()
80 void ConfigParsingUtils::loadAudioPortGains(cnode *root, AudioPort &audioPort) in loadAudioPortGains() argument
82 cnode *node = root->first_child; in loadAudioPortGains()
92 void ConfigParsingUtils::loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc) in loadDeviceDescriptorGains() argument
94 loadAudioPortGains(root, *deviceDesc); in loadDeviceDescriptorGains()
101 status_t ConfigParsingUtils::loadHwModuleDevice(cnode *root, DeviceVector &devices) in loadHwModuleDevice() argument
103 cnode *node = root->first_child; in loadHwModuleDevice()
118 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(type, String8(root->name)); in loadHwModuleDevice()
120 node = root->first_child; in loadHwModuleDevice()
[all …]
/frameworks/native/cmds/atrace/
Datrace.rc9 chown root shell /sys/kernel/debug/tracing/trace_clock
10 chown root shell /sys/kernel/debug/tracing/buffer_size_kb
11 chown root shell /sys/kernel/debug/tracing/options/overwrite
12 chown root shell /sys/kernel/debug/tracing/options/print-tgid
13 chown root shell /sys/kernel/debug/tracing/events/sched/sched_switch/enable
14 chown root shell /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable
15 chown root shell /sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable
16 chown root shell /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug/enable
17 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
18 chown root shell /sys/kernel/debug/tracing/events/power/cpu_idle/enable
[all …]
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java82 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/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp139 void ParameterManagerWrapper::loadCriterionType(cnode *root, bool isInclusive) in loadCriterionType() argument
141 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadCriterionType()
143 for (node = root->first_child; node != NULL; node = node->next) { in loadCriterionType()
184 void ParameterManagerWrapper::loadInclusiveCriterionType(cnode *root) in loadInclusiveCriterionType() argument
186 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadInclusiveCriterionType()
187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str()); in loadInclusiveCriterionType()
194 void ParameterManagerWrapper::loadExclusiveCriterionType(cnode *root) in loadExclusiveCriterionType() argument
196 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadExclusiveCriterionType()
197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); in loadExclusiveCriterionType()
204 void ParameterManagerWrapper::parseChildren(cnode *root, string &defaultValue, string &type) in parseChildren() argument
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsCache.java327 final RootInfo root = RootInfo.fromRootsCursor(authority, cursor); in loadRootsForAuthority() local
328 roots.add(root); in loadRootsForAuthority()
354 RootInfo root = getRootLocked(authority, rootId); in getRootOneshot() local
355 if (root == null) { in getRootOneshot()
358 root = getRootLocked(authority, rootId); in getRootOneshot()
360 return root; in getRootOneshot()
373 for (RootInfo root : mRoots.get(authority)) { in getRootLocked()
374 if (Objects.equals(root.rootId, rootId)) { in getRootLocked()
375 return root; in getRootLocked()
381 public boolean isIconUniqueBlocking(RootInfo root) { in isIconUniqueBlocking() argument
[all …]
DRootsFragment.java160 final RootInfo root = ((BaseActivity) getActivity()).getCurrentRoot(); in onCurrentRootChanged() local
164 final RootInfo testRoot = ((RootItem) item).root; in onCurrentRootChanged()
165 if (Objects.equals(testRoot, root)) { in onCurrentRootChanged()
194 RootInfo newRoot = ((RootItem) item).root;
244 public final RootInfo root; field in RootsFragment.RootItem
246 public RootItem(RootInfo root) { in RootItem() argument
248 this.root = root; in RootItem()
258 icon.setImageDrawable(root.loadDrawerIcon(context)); in bindView()
259 title.setText(root.title); in bindView()
262 String summaryText = root.summary; in bindView()
[all …]
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java255 final ViewRootImpl root = mRoots.get(i); in getRootView() local
256 if (name.equals(getWindowName(root))) return root.getView(); in getRootView()
289 ViewRootImpl root; in addView() local
331 root = new ViewRootImpl(view.getContext(), display); in addView()
336 mRoots.add(root); in addView()
342 root.setView(view, wparams, panelParentView); in addView()
369 ViewRootImpl root = mRoots.get(index); in updateViewLayout() local
372 root.setLayoutParams(wparams, false); in updateViewLayout()
420 ViewRootImpl root = mRoots.get(i); in closeAllExceptView() local
425 + root.getView() + " that was originally added here"); in closeAllExceptView()
[all …]
DFocusFinder.java67 public final View findNextFocus(ViewGroup root, View focused, int direction) { in findNextFocus() argument
68 return findNextFocus(root, focused, null, direction); in findNextFocus()
79 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { in findNextFocusFromRect() argument
81 return findNextFocus(root, null, mFocusedRect, direction); in findNextFocusFromRect()
84 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { in findNextFocus() argument
87 next = findNextUserSpecifiedFocus(root, focused, direction); in findNextFocus()
95 root.addFocusables(focusables, direction); in findNextFocus()
97 next = findNextFocus(root, focused, focusedRect, direction, focusables); in findNextFocus()
105 private View findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) { in findNextUserSpecifiedFocus() argument
107 View userSetNextFocus = focused.findUserSetNextFocus(root, direction); in findNextUserSpecifiedFocus()
[all …]
DAccessibilityInteractionController.java149 View root = null; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local
151 root = mViewRootImpl.mView; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
153 root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
155 if (root != null && isShown(root)) { in findAccessibilityNodeInfoByAccessibilityIdUiThread()
156 mPrefetcher.prefetchAccessibilityNodeInfos(root, virtualDescendantId, flags, infos); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
233 View root = null; in findAccessibilityNodeInfosByViewIdUiThread() local
235 root = findViewByAccessibilityId(accessibilityViewId); in findAccessibilityNodeInfosByViewIdUiThread()
237 root = mViewRootImpl.mView; in findAccessibilityNodeInfosByViewIdUiThread()
239 if (root != null) { in findAccessibilityNodeInfosByViewIdUiThread()
240 final int resolvedViewId = root.getContext().getResources() in findAccessibilityNodeInfosByViewIdUiThread()
[all …]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DSOAPParser.java25 public OSUResponse buildResponse(XMLNode root) throws OMAException {
26 return new PostDevDataResponse(root);
31 public OSUResponse buildResponse(XMLNode root) throws OMAException {
32 return new ExchangeCompleteResponse(root);
37 public OSUResponse buildResponse(XMLNode root) {
43 public OSUResponse buildResponse(XMLNode root) {
53 XMLNode root; in SOAPParser() local
57 root = parser.getRoot(); in SOAPParser()
62 String[] nsn = root.getTag().split(":"); in SOAPParser()
64 throw new OMAException("Bad root tag syntax: '" + root.getTag() + "'"); in SOAPParser()
[all …]
DOSUResponse.java22 protected OSUResponse(XMLNode root, OSUMessageType messageType, String... attributes) in OSUResponse() argument
25 String ns = root.getNameSpace() + ":"; in OSUResponse()
26 mVersion = root.getAttributeValue(ns + SPPVersionAttribute); in OSUResponse()
27 mSessionID = root.getAttributeValue(ns + SPPSessionIDAttribute); in OSUResponse()
29 String status = root.getAttributeValue(ns + SPPStatusAttribute); in OSUResponse()
36 throw new OMAException("Incomplete request: " + root.getAttributes()); in OSUResponse()
42 String value = root.getAttributeValue(ns + attribute); in OSUResponse()
55 for (XMLNode child : root.getChildren()) { in OSUResponse()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DConfigParsingUtils.h43 static void loadAudioPortGain(cnode *root, AudioPort &audioPort, int index);
44 static void loadAudioPortGains(cnode *root, AudioPort &audioPort);
45 static void loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc);
46 static status_t loadHwModuleDevice(cnode *root, DeviceVector &devices);
47 static status_t loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role);
50 static void loadHwModules(cnode *root, HwModuleCollection &hwModules,
52 static void loadGlobalConfig(cnode *root, AudioPolicyConfig &config,
54 static void loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module,
56 static status_t loadHwModule(cnode *root, sp<HwModule> &module, AudioPolicyConfig &config);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDisplayListLayersActivity.java43 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/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java181 final RootInfo root = new RootInfo(); in updateVolumesLocked() local
182 mRoots.put(rootId, root); in updateVolumesLocked()
184 root.rootId = rootId; in updateVolumesLocked()
185 root.flags = Root.FLAG_LOCAL_ONLY in updateVolumesLocked()
191 root.flags |= Root.FLAG_REMOVABLE_SD; in updateVolumesLocked()
193 root.flags |= Root.FLAG_REMOVABLE_USB; in updateVolumesLocked()
199 root.flags |= Root.FLAG_ADVANCED; in updateVolumesLocked()
203 root.flags |= Root.FLAG_SUPPORTS_CREATE; in updateVolumesLocked()
205 root.title = title; in updateVolumesLocked()
207 root.flags |= Root.FLAG_HAS_SETTINGS; in updateVolumesLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java40 ObserverNode root = new ObserverNode(""); in testUri() local
55 root.addObserverLocked(uris[0], new TestObserver().getContentObserver(), false, root, in testUri()
58 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), true, root, in testUri()
65 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUri()
74 ObserverNode root = new ObserverNode(""); in testUriNotNotify() local
88 root.addObserverLocked(uris[i], new TestObserver().getContentObserver(), false, root, in testUriNotNotify()
95 root.collectObserversLocked(uris[i], 0, null, false, 0, myUserHandle, calls); in testUriNotNotify()
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Doper_32b.c237 if ((0x40000000l >> shift) + root <= value) \
239 value -= (0x40000000l >> shift) + root; \
240 root = (root >> 1) | (0x40000000l >> shift); \
242 root = root >> 1; \
248 Word32 root = 0; in rsqrt() local
266 if (root < value) in rsqrt()
267 ++root; in rsqrt()
269 root >>= scale; in rsqrt()
270 return root* 46334; in rsqrt()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java140 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/
DAssignableFrom.java23 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/support/v4/java/android/support/v4/app/
DListFragment.java93 FrameLayout root = new FrameLayout(context); in onCreateView() local
108 root.addView(pframe, new FrameLayout.LayoutParams( in onCreateView()
128 root.addView(lframe, new FrameLayout.LayoutParams( in onCreateView()
133 root.setLayoutParams(new FrameLayout.LayoutParams( in onCreateView()
136 return root; in onCreateView()
326 View root = getView(); in ensureList() local
327 if (root == null) { in ensureList()
330 if (root instanceof ListView) { in ensureList()
331 mList = (ListView)root; in ensureList()
333 mStandardEmptyView = (TextView)root.findViewById(INTERNAL_EMPTY_ID); in ensureList()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp466 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) in loadEffectParameter() argument
480 param = config_find(root, PARAM_TAG); in loadEffectParameter()
481 value = config_find(root, VALUE_TAG); in loadEffectParameter()
484 param = root->first_child; in loadEffectParameter()
501 root->name); in loadEffectParameter()
541 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) in loadEffectParameters() argument
543 cnode *node = root->first_child; in loadEffectParameters()
556 cnode *root, in loadEffectConfig() argument
559 cnode *node = root->first_child; in loadEffectConfig()
561 ALOGW("loadInputSource() empty element %s", root->name); in loadEffectConfig()
[all …]
/frameworks/data-binding/
DpropLoader.gradle4 def root = ext.dataBindingRootFolder
6 databindingProperties.load(new FileInputStream("${root}/databinding.properties"))
9 apply from: "${root}/../buildSrc/base/version.gradle"
13 def repoBase = databindingProperties.mavenRepoAbsolutePath == "." ? root : databindingProperties.ma…
14 databindingProperties.androidGradlePluginRepoDir = "${root}/../../${databindingProperties.androidGr…
16 databindingProperties.internalPrebuiltsRepoDir = "${root}/${databindingProperties.internalPrebuilts…
21 apply from: "$root/../buildSrc/base/version.gradle"
24 databindingProperties.eapOutDir = "${root}/${databindingProperties.eapOutFolderName}"
25 databindingProperties.prebuildFolder = "${root}/${databindingProperties.prebuildFolderName}" +
29 ext.dataBindingConfig.externalPrebuiltsBase = "${root}/../../prebuilts"
/frameworks/base/libs/hwui/tests/unit/
DSnapshotTests.cpp27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST() local
29 root->previous = actualRoot.get(); in TEST()
30 child->previous = root.get(); in TEST()
52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST() local
53 root->previous = actualRoot.get(); in TEST()
58 child->previous = root.get(); in TEST()
68 child->previous = root.get(); in TEST()

12345678910>>...22