Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 90) sorted by relevance

1234

/packages/modules/StatsD/statsd/tests/condition/
DCombinationConditionTracker_test.cpp31 vector<int> children; in TEST() local
32 children.push_back(0); in TEST()
33 children.push_back(1); in TEST()
34 children.push_back(2); in TEST()
41 EXPECT_EQ(evaluateCombinationCondition(children, operation, conditionResults), in TEST()
49 vector<int> children; in TEST() local
50 children.push_back(0); in TEST()
51 children.push_back(1); in TEST()
52 children.push_back(2); in TEST()
59 EXPECT_FALSE(evaluateCombinationCondition(children, operation, conditionResults)); in TEST()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java41 public ArrayList<Node> children; field in ProfileData.Node
82 if (node.children == null) { in addSample()
83 node.children = new ArrayList<Node>(); in addSample()
87 ArrayList<Node> children = node.children; in addSample() local
89 for (j = 0; j < children.size(); j++) { in addSample()
90 if (children.get(j).id == id) break; in addSample()
92 if (j == children.size()) { in addSample()
93 children.add(new Node(node, id)); in addSample()
96 node = children.get(j); in addSample()
145 ArrayList<Node> children = node.children; in writeAllStacks() local
[all …]
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Dtree.py52 for c in node.children:
64 for c in node.children:
89 for c in node.children:
135 for c in node.children:
169 for c in node.children:
181 return not self.root.children
188 self.children = []
234 for c in self.children:
241 for c in self.children:
250 self.children.append(node)
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java180 List<DocumentInfo> children = listChildren(parentUri); in assertChildCount() local
181 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount()
185 List<DocumentInfo> children = listChildren(parentId, -1); in assertChildCount() local
186 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount()
194 List<DocumentInfo> children = listChildren(parentUri); in assertHasFile() local
195 for (DocumentInfo child : children) { in assertHasFile()
200 fail("Could not find file named=" + name + " in children " + children); in assertHasFile()
213 List<DocumentInfo> children = listChildren(parentUri); in assertHasDirectory() local
214 for (DocumentInfo child : children) { in assertHasDirectory()
219 fail("Could not find name=" + name + " in children " + children); in assertHasDirectory()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DSimpleScrollAdapterTransform.java63 ArrayList<Animator> children = ((AnimatorSet) animator).getChildAnimations(); in applyTransformationRecursive() local
64 for (int i = children.size() - 1; i >= 0; i--) { in applyTransformationRecursive()
65 applyTransformationRecursive(distanceFromCenter, children.get(i), child); in applyTransformationRecursive()
85 ArrayList<Animator> children = ((AnimatorSet) animator).getChildAnimations(); in initializeTransformationRecursive() local
86 for (int i = children.size() - 1; i >= 0; i--) { in initializeTransformationRecursive()
87 initializeTransformationRecursive(children.get(i), duration); in initializeTransformationRecursive()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DSchemaCache.java117 List<String> children = parentToChildrenMap.get(currentPrefixedSchema); in getSchemaTypesWithDescendants() local
118 if (children == null) { in getSchemaTypesWithDescendants()
121 prefixedSchemaQueue.addAll(children); in getSchemaTypesWithDescendants()
149 List<String> children = parentToChildrenMap.get(parent); in rebuildSchemaParentToChildrenMapForPrefix() local
150 if (children == null) { in rebuildSchemaParentToChildrenMapForPrefix()
151 children = new ArrayList<>(); in rebuildSchemaParentToChildrenMapForPrefix()
152 parentToChildrenMap.put(parent, children); in rebuildSchemaParentToChildrenMapForPrefix()
154 children.add(childSchemaConfig.getSchemaType()); in rebuildSchemaParentToChildrenMapForPrefix()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherLayoutBuilder.kt130 children: List<Node>? = null in <lambda>()
139 children in <lambda>()
147 addItem(TAG_FOLDER, null, mapOf(titleKey to (titleValue ?: "")), folderBuilder.children) in <lambda>()
154 val children = ArrayList<Node>() in <lambda>() constant in com.android.launcher3.util.LauncherLayoutBuilder.FolderBuilder
172 children.add( in <lambda>()
190 node.children?.let { writeNodes(it) } in <lambda>()
198 val children: List<Node>? = null in <lambda>() constant in com.android.launcher3.util.LauncherLayoutBuilder.Node
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/src/com/android/tests/sdksandbox/host/
DSdkSandboxStorageHostTest.java311 String[] children = getDevice().getChildren(ceSandboxPath); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked() local
312 assertThat(children).isNotEmpty(); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
313 final int numberOfChildren = children.length; in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
314 assertThat(children).asList().contains(TEST_APP_STORAGE_PACKAGE); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
320 children = getDevice().getChildren(ceSandboxPath); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
321 assertThat(children).hasLength(numberOfChildren); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
322 assertThat(children).asList().doesNotContain(TEST_APP_STORAGE_PACKAGE); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
328 children = getDevice().getChildren(ceSandboxPath); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
329 assertThat(children).hasLength(numberOfChildren); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
346 children = getDevice().getChildren(ceSandboxPath); in testSdkDataPackageDirectory_IsDestroyedOnUninstall_DeviceLocked()
[all …]
/packages/modules/StatsD/statsd/src/condition/
Dcondition_util.cpp33 ConditionState evaluateCombinationCondition(const std::vector<int>& children, in evaluateCombinationCondition() argument
42 for (auto childIndex : children) { in evaluateCombinationCondition()
71 newCondition = children.empty() ? ConditionState::kUnknown : in evaluateCombinationCondition()
72 ((conditionCache[children[0]] == ConditionState::kFalse) ? in evaluateCombinationCondition()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DStatsGenerator.java57 List<SingleEntry> children = new ArrayList<>(); in process() local
58 children.addAll(atom.findGroup("pushed").getSingles()); in process()
59 children.addAll(atom.findGroup("pulled").getSingles()); in process()
73 for (SingleEntry e : children) { in process()
159 grp2.children.addAll(grp.children); in parseImports()
190 out.children.add(group); in parseExtension()
236 out.children.add(entry); in parseGroup()
330 final ArrayList<Entry> children = new ArrayList<>(); field in StatsGenerator.GroupEntry
345 for (Entry e : children) { in findGroup()
378 for (Entry e : children) { in getSingles()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java93 RefcountedResource... children) { in getTestRefcountedResource() argument
94 return getTestRefcountedResource(new Binder(), children); in getTestRefcountedResource()
99 IBinder binder, RefcountedResource... children) { in getTestRefcountedResource() argument
102 .new RefcountedResource<IResource>(mock(IResource.class), binder, children)); in getTestRefcountedResource()
334 Set<RefcountedResource<IResource>> children = new HashSet<>(); in fuzzTest() local
337 children.add(resources.get(childIndex)); in fuzzTest()
342 children.toArray(new RefcountedResource[children.size()])); in fuzzTest()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/viewcapture_analysis/
DAnomalyDetector.java39 public final Map<String, IgnoreNode> children = new HashMap<>(); field in AnomalyDetector.IgnoreNode
50 IgnoreNode child = currentIgnoreNode.children.get(part); in buildIgnoreNodesTree()
52 currentIgnoreNode.children.put(part, child = new IgnoreNode()); in buildIgnoreNodesTree()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileManagementUiTest.java177 List<DocumentInfo> children = mDocsHelper.listChildren(target, -1); in testCopyLargeAmountOfFiles()
178 if (children.size() == expectedCount) { in testCopyLargeAmountOfFiles()
199 if (newChildren.size() <= children.size() && retries >= maxRetries) { in testCopyLargeAmountOfFiles()
200 fail("Only copied " + children.size() in testCopyLargeAmountOfFiles()
204 children = newChildren; in testCopyLargeAmountOfFiles()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java97 ArrayList<StubDocument> children = new ArrayList<StubDocument>(); in onCreate() local
98 mChildDocuments.put(STRESS_ROOT_1_DOC_ID, children); in onCreate()
102 children.add(document); in onCreate()
105 children = new ArrayList<StubDocument>(); in onCreate()
106 mChildDocuments.put(STRESS_ROOT_2_DOC_ID, children); in onCreate()
117 children.add(document); in onCreate()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java52 final File[] children = dir.listFiles(); in listFilesRecursive() local
53 if (children == null) continue; in listFilesRecursive()
55 for (File child : children) { in listFilesRecursive()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DBrowseNodeTest.java88 List<Object> children = new ArrayList<>(); in addChildren() local
89 children.add(childAvrcpPlayer); in addChildren()
90 children.add(childAvrcpItem); in addChildren()
93 mRootNode.addChildren(children); in addChildren()
95 assertThat(mRootNode.getChildrenCount()).isEqualTo(children.size()); in addChildren()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DMultiDiscovery.java118 List<Discovery> children = new ArrayList<>(); in getChildren() local
120 children.addAll(child.getChildren()); in getChildren()
122 return children; in getChildren()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java103 public List<Box> children; field in IsoInterface.Box
226 box.children = new ArrayList<>(); in parseNextBox()
230 box.children.add(child); in parseNextBox()
274 if (box.children != null) { in IsoInterface()
275 queue.addAll(box.children); in IsoInterface()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxSmallModuleHostTest/src/com/android/tests/sdksandbox/host/
DSdkSandboxSmallModuleHostTest.java155 String[] children = getDevice().getChildren(ACTIVE_APEX_DIR); in removeUpdatedApexIfNecessary() local
157 for (int i = 0; i < children.length; i++) { in removeUpdatedApexIfNecessary()
158 String child = children[i]; in removeUpdatedApexIfNecessary()
/packages/modules/StatsD/statsd/tests/
DLogEntryMatcher_test.cpp1097 vector<int> children; in TEST() local
1098 children.push_back(0); in TEST()
1099 children.push_back(1); in TEST()
1100 children.push_back(2); in TEST()
1107 EXPECT_FALSE(combinationMatch(children, operation, matcherResults)); in TEST()
1114 EXPECT_TRUE(combinationMatch(children, operation, matcherResults)); in TEST()
1121 vector<int> children; in TEST() local
1122 children.push_back(0); in TEST()
1123 children.push_back(1); in TEST()
1124 children.push_back(2); in TEST()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DPreferenceExtensions.kt33 val PreferenceGroup.children: Sequence<Preference> constant
35 override fun iterator() = this@children.iterator()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java81 List<View> children = new ArrayList<View>(); in reverseChildren() local
83 children.add(getChildAt(i)); in reverseChildren()
85 for (View v : children) { in reverseChildren()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java257 for (BluetoothMapAccountItem children : childItem) { in getGroupView()
258 boolean oldIsChecked = children.mIsChecked; in getGroupView()
260 children.mIsChecked = isChecked; in getGroupView()
261 if (oldIsChecked != children.mIsChecked) { in getGroupView()
262 updateAccount(children); in getGroupView()
DBluetoothMapAccountLoader.java172 ArrayList<BluetoothMapAccountItem> children = new ArrayList<BluetoothMapAccountItem>(); in parseAccounts() local
215 return children; in parseAccounts()
264 children.add(child); in parseAccounts()
270 return children; in parseAccounts()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DDisplayAspectRatioFrameLayout.kt23 import androidx.core.view.children in <lambda>()
46 children.forEach { child -> in <lambda>()

1234