Home
last modified time | relevance | path

Searched refs:numOperations (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.cpp110 bool RandomGraph::generate(uint32_t seed, uint32_t numOperations, uint32_t dimensionRange) { in generate() argument
118 if (generateGraph(numOperations) && generateValue()) break; in generate()
124 bool RandomGraph::generateGraph(uint32_t numOperations) { in generateGraph() argument
127 for (uint32_t i = 0; i < numOperations; i++) { in generateGraph()
133 for (uint32_t i = 0; i < numOperations; i++) { in generateGraph()
135 for (uint32_t j = i + 1; j < numOperations; j++) { in generateGraph()
DRandomGraphGenerator.h128 bool generate(uint32_t seed, uint32_t numOperations, uint32_t dimensionRange);
138 bool generateGraph(uint32_t numOperations);
DTestRandomGraph.cpp369 void testRandomGraph(uint32_t numOperations, uint32_t dimensionRange) { in testRandomGraph() argument
372 ASSERT_TRUE(graph.generate(kSeed, numOperations, dimensionRange)); in testRandomGraph()
387 computeAndVerifyResultsForDevice(&model, numOperations, pair.first); in testRandomGraph()
390 if (numOperations > 1) { in testRandomGraph()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DSQLiteContentProvider.java220 final int numOperations = operations.size(); in applyBatch() local
221 if (numOperations == 0) { in applyBatch()
230 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()
231 for (int i = 0; i < numOperations; i++) { in applyBatch()
/packages/apps/Gallery2/src/com/android/photos/data/
DSQLiteContentProvider.java214 final int numOperations = operations.size(); in applyBatch() local
215 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()
216 for (int i = 0; i < numOperations; i++) { in applyBatch()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp478 const auto numOperations = model.main.operations.size(); in getSupportedOperations() local
479 supportedOperations->resize(numOperations); in getSupportedOperations()
491 auto supportedOps = std::make_unique<bool[]>(numOperations); in getSupportedOperations()
497 std::copy(supportedOps.get(), supportedOps.get() + numOperations, supportedOperations->begin()); in getSupportedOperations()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java261 final int numOperations = operations.size(); in applyBatch() local
262 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()
263 for (int i = 0; i < numOperations; i++) { in applyBatch()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp679 const unsigned numOperations = 2 + randUInt(kMaxNumOperations - 1); in TEST_P() local
745 for (unsigned i = 0; i < numOperations; i++) { in TEST_P()
802 [this, &model, numOperations, normalOperationInputCount, in TEST_P()
825 numOperations)))) { in TEST_P()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java312 final int numOperations = operations.size(); in applyBatch() local
313 final ContentProviderResult[] results = new ContentProviderResult[numOperations]; in applyBatch()
314 for (int i = 0; i < numOperations; i++) { in applyBatch()