Home
last modified time | relevance | path

Searched refs:accumulator (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/
Dpayload_accumulator.rs44 let accumulator = PayloadAccumulator::<AttBuilder>::new(0); in test_empty() localVariable
45 assert!(accumulator.is_empty()) in test_empty()
49 let mut accumulator = PayloadAccumulator::new(128); in test_nonempty() localVariable
51 let ok = accumulator.push(AttBuilder { in test_nonempty()
57 assert!(!accumulator.is_empty()) in test_nonempty()
62 let mut accumulator = PayloadAccumulator::new(128); in test_push_serialize() localVariable
64 let ok = accumulator.push(AttBuilder { in test_push_serialize()
71 accumulator.into_boxed_slice().as_ref(), in test_push_serialize()
81 let mut accumulator = PayloadAccumulator::new(5); in test_push_past_capacity() localVariable
84 let first_ok = accumulator.push(AttBuilder { in test_push_past_capacity()
[all …]
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGenericDocument.java432 List<Object> accumulator = new ArrayList<>(docParcels.length); in getRawPropertyFromRawDocument() local
441 accumulator.add(value); in getRawPropertyFromRawDocument()
445 return flattenAccumulator(accumulator); in getRawPropertyFromRawDocument()
466 private static Object flattenAccumulator(@NonNull List<Object> accumulator) { in flattenAccumulator() argument
467 if (accumulator.isEmpty()) { in flattenAccumulator()
470 Object first = accumulator.get(0); in flattenAccumulator()
473 for (int i = 0; i < accumulator.size(); i++) { in flattenAccumulator()
474 length += ((String[]) accumulator.get(i)).length; in flattenAccumulator()
478 for (int i = 0; i < accumulator.size(); i++) { in flattenAccumulator()
479 String[] castValue = (String[]) accumulator.get(i); in flattenAccumulator()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java406 final InetAddressAnswerAccumulator accumulator = in query() local
411 registerFDListener(executor, v6fd, accumulator, cancellationSignal, lock); in query()
414 registerFDListener(executor, v4fd, accumulator, cancellationSignal, lock); in query()
462 final InetAddressAnswerAccumulator accumulator = in query() local
465 registerFDListener(executor, queryfd, accumulator, cancellationSignal, lock); in query()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DPreviewDataProvider.kt354 getParcelableArrayListExtra<Uri>(Intent.EXTRA_STREAM)?.fold(uris) { accumulator, uri in uris() method
357 accumulator.add(uri) in uris()
359 accumulator in uris()
/packages/modules/NeuralNetworks/runtime/
DManager.cpp372 uint32_t accumulator = baseAccumulator; in getSupportedOperations() local
374 accumulator ^= static_cast<uint32_t>(operation.type); in getSupportedOperations()
375 auto accumulateOperands = [&model, &accumulator](const std::vector<uint32_t>& operands) { in getSupportedOperations()
378 accumulator ^= static_cast<uint32_t>(operand.type); in getSupportedOperations()
379 accumulator ^= operand.dimensions.size(); in getSupportedOperations()
381 accumulator ^= dimension; in getSupportedOperations()
385 accumulator ^= 1; in getSupportedOperations()
392 if (accumulator & 1) { in getSupportedOperations()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/m2/
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/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dnl_wordlist.combined.gz