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.h129 bool generate(uint32_t seed, uint32_t numOperations, uint32_t dimensionRange);
139 bool generateGraph(uint32_t numOperations);
DTestRandomGraph.cpp373 void testRandomGraph(uint32_t numOperations, uint32_t dimensionRange) { in testRandomGraph() argument
376 ASSERT_TRUE(graph.generate(kSeed, numOperations, dimensionRange)); in testRandomGraph()
391 computeAndVerifyResultsForDevice(&model, numOperations, pair.first); in testRandomGraph()
394 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/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/shim_and_sl/
DShimDevice.cpp479 const auto numOperations = model.main.operations.size(); in getSupportedOperations() local
480 supportedOperations->resize(numOperations); in getSupportedOperations()
492 auto supportedOps = std::make_unique<bool[]>(numOperations); in getSupportedOperations()
498 std::copy(supportedOps.get(), supportedOps.get() + numOperations, supportedOperations->begin()); in getSupportedOperations()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp662 const unsigned numOperations = 2 + randUInt(kMaxNumOperations - 1); in TEST_P() local
728 for (unsigned i = 0; i < numOperations; i++) { in TEST_P()
785 [this, &model, numOperations, normalOperationInputCount, in TEST_P()
808 numOperations)))) { in TEST_P()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java2795 long totalLatencyStartTimeMillis, int numOperations, in logRateLimitedOrCallDeniedCallStats() argument
2811 .setNumOperationsFailed(numOperations) in logRateLimitedOrCallDeniedCallStats()
2825 long totalLatencyStartTimeMillis, int numOperations) { in checkCallDenied() argument
2833 numOperations, RESULT_DENIED); in checkCallDenied()
2849 long binderCallStartTimeMillis, long totalLatencyStartTimeMillis, int numOperations) { in checkCallDenied() argument
2851 binderCallStartTimeMillis, totalLatencyStartTimeMillis, numOperations)) { in checkCallDenied()
2870 long binderCallStartTimeMillis, long totalLatencyStartTimeMillis, int numOperations) { in checkCallDenied() argument
2872 binderCallStartTimeMillis, totalLatencyStartTimeMillis, numOperations)) { in checkCallDenied()