Home
last modified time | relevance | path

Searched refs:visited (Results 1 – 20 of 20) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactAggregatorHelper.java98 Set<Long> visited = new ArraySet<>(); in findConnectedComponents() local
100 if (!visited.contains(id)) { in findConnectedComponents()
102 findConnectedComponentForRawContact(matchingRawIdPairs, visited, id, set); in findConnectedComponents()
110 Set<Long> visited, Long rawContactId, Set<Long> results) { in findConnectedComponentForRawContact() argument
111 visited.add(rawContactId); in findConnectedComponentForRawContact()
114 if (!visited.contains(match)) { in findConnectedComponentForRawContact()
115 findConnectedComponentForRawContact(connections, visited, match, results); in findConnectedComponentForRawContact()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DImportTask.java76 int visited = 0; in run() local
78 mListener.onImportProgress(visited, total, null); in run()
82 visited++; in run()
94 mListener.onImportProgress(visited, total, importedPath); in run()
98 mListener.onImportFinish(objectsNotImported, visited); in run()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp58 bool areSubgraphsAcyclic(const TestModel& testModel, size_t index, std::vector<Visited>* visited, in areSubgraphsAcyclic() argument
60 if (index >= visited->size()) return false; in areSubgraphsAcyclic()
61 Visited& status = (*visited)[index]; in areSubgraphsAcyclic()
73 if (!areSubgraphsAcyclic(testModel, subgraphIndex + 1, visited, order)) return false; in areSubgraphsAcyclic()
82 std::vector<Visited> visited(testModel.referenced.size() + 1, Visited::NOT_YET_VISITED); in getSubgraphOrder() local
84 order.reserve(visited.size()); in getSubgraphOrder()
85 if (!areSubgraphsAcyclic(testModel, 0, &visited, &order)) return std::nullopt; in getSubgraphOrder()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DSchemaCache.java109 Set<String> visited = new ArraySet<>(); in getSchemaTypesWithDescendants() local
113 if (visited.contains(currentPrefixedSchema)) { in getSchemaTypesWithDescendants()
116 visited.add(currentPrefixedSchema); in getSchemaTypesWithDescendants()
124 return visited; in getSchemaTypesWithDescendants()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp200 std::unordered_set<PowerComponent>* visited, in readComponents() argument
240 if ((componentId != INVALID_POWER_COMPONENT && visited->count(componentId) > 0) || in readComponents()
249 updateVisitedComponents(componentId, visited); in readComponents()
273 const std::unordered_set<PowerComponent>& visited, in readOtherComponents() argument
292 iterateAllPowerComponents([&visited, &policy](PowerComponent component) -> bool { in readOtherComponents()
293 if (visited.count(component) == 0) { in readOtherComponents()
305 iterateAllPowerComponents([&visited, &policy](PowerComponent component) -> bool { in readOtherComponents()
306 if (visited.count(component) == 0) { in readOtherComponents()
337 std::unordered_set<PowerComponent> visited; in readPolicies() local
351 auto ret = readComponents(pPolicy, policy, &visited, &visitedCustomComponents, in readPolicies()
[all …]
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java624 Set<Integer> visited = new ArraySet<>(); in validateSystemOverrides() local
625 checkSystemPowerPolicyComponents(policyOverride.getEnabledComponents(), visited); in validateSystemOverrides() local
626 checkSystemPowerPolicyComponents(policyOverride.getDisabledComponents(), visited); in validateSystemOverrides() local
752 Set<Integer> visited = new ArraySet<>(); in parsePolicyGroup() local
767 if (visited.contains(powerState)) { in parsePolicyGroup()
772 visited.add(powerState); in parsePolicyGroup()
781 if (visited.contains(powerState)) { in parsePolicyGroup()
785 visited.add(powerState); in parsePolicyGroup()
908 void checkSystemPowerPolicyComponents(int[] components, Set<Integer> visited) throws in checkSystemPowerPolicyComponents() argument
916 if (visited.contains(component)) { in checkSystemPowerPolicyComponents()
[all …]
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.cpp888 mBridgeInfo[var].visited = true; in annotateBridgeHelper()
900 if (!mBridgeInfo[child].visited) { in annotateBridgeHelper()
922 if (!mBridgeInfo[var].visited) annotateBridgeHelper(var, &time); in annotateBridge()
966 bool visited = false; member
1002 std::set<RandomVariableNode> visited; in LeafNetwork() local
1003 constructorHelper(var, &visited); in LeafNetwork()
1006 void constructorHelper(const RandomVariableNode& var, std::set<RandomVariableNode>* visited) { in constructorHelper()
1007 if (var == nullptr || visited->find(var) != visited->end()) return; in constructorHelper()
1008 constructorHelper(var->parent1, visited); in constructorHelper()
1009 constructorHelper(var->parent2, visited); in constructorHelper()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java301 @NonNull Set<String> visited, in collectParentTypeInDegrees() argument
303 if (visited.contains(prefixedSchemaType)) { in collectParentTypeInDegrees()
306 visited.add(prefixedSchemaType); in collectParentTypeInDegrees()
316 collectParentTypeInDegrees(prefixedParentType, schemaTypeMap, visited, inDegreeMap); in collectParentTypeInDegrees()
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp74 vector<FieldValueMatcher const*>& visited) { in validateFvmPositionAllAndAny() argument
75 visited.push_back(&fvm); in validateFvmPositionAllAndAny()
80 if (std::find(visited.cbegin(), visited.cend(), &childFvm) != visited.cend()) { in validateFvmPositionAllAndAny()
84 validateFvmPositionAllAndAny(childFvm, inPositionAll, inPositionAny, visited); in validateFvmPositionAllAndAny()
122 vector<FieldValueMatcher const*> visited; in validateSimpleAtomMatcher() local
124 fvm, false /* inPositionAll */, false /* inPositionAny */, visited); in validateSimpleAtomMatcher()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java398 public void visit(T visited) { in visit() argument
399 mVisited = visited; in visit()
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py577 def TopologicalSortHelper(self, op, deps, visited): argument
578 if op in visited:
581 visited.add(op)
583 self.TopologicalSortHelper(i, deps, visited)
593 visited = set()
595 self.TopologicalSortHelper(op, deps, visited)
/packages/apps/TV/libs/m2/
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto956 // If the Passpoint connection is provided by the Home provider or Roaming/visited network
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz