Home
last modified time | relevance | path

Searched refs:mutator (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSdkSandboxSystemServiceRegistryUnitTests.java38 SdkSandboxSystemServiceRegistry.ServiceMutator mutator = (service, ctx) -> service; in testRegisterServiceMutator() local
39 registry.registerServiceMutator("foo", mutator); in testRegisterServiceMutator()
40 assertThat(registry.getServiceMutator("foo")).isSameInstanceAs(mutator); in testRegisterServiceMutator()
/packages/modules/Connectivity/tests/common/java/android/net/
DCaptivePortalDataTest.kt181 private fun CaptivePortalData.mutate(mutator: (CaptivePortalData.Builder) -> Unit) = in mutate()
182 CaptivePortalData.Builder(this).apply { mutator(this) }.build() in mutate()
184 private fun assertNotEqualsAfterChange(mutator: (CaptivePortalData.Builder) -> Unit) { in assertNotEqualsAfterChange()
185 assertNotEquals(data, data.mutate(mutator)) in assertNotEqualsAfterChange()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSdkSandboxSystemServiceRegistry.java82 @NonNull String serviceName, @NonNull ServiceMutator mutator) { in registerServiceMutator() argument
84 mServiceMutators.put(serviceName, mutator); in registerServiceMutator()
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DInitialConfigurationTest.java85 private void assertNotEqualsAfterChange(Consumer<InitialConfiguration> mutator) { in assertNotEqualsAfterChange() argument
87 mutator.accept(newConfig); in assertNotEqualsAfterChange()
DProvisioningConfigurationTest.java297 private void assertNotEqualsAfterChange(Consumer<ProvisioningConfiguration> mutator) { in assertNotEqualsAfterChange() argument
299 mutator.accept(newConfig); in assertNotEqualsAfterChange()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DREADME.md50 * libprotobuf-mutator:
51 https://github.com/google/libprotobuf-mutator#libprotobuf-mutator
159 because it uses `libprotobuf-mutator`, so it’s fine to inspect the file to get
208 library called [`libprotobuf-mutator`][9] to handle the conversions from the
211 straightforward and efficient. As another useful utility, `libprotobuf-mutator`
301 practical reason: `libFuzzer` (and by extension `libprotobuf-mutator`) converge
310 The NNAPI `libprotobuf-mutator` implementation uses the proto3 specification.
383 [9]: https://cs.android.com/android/platform/superproject/+/master:external/libprotobuf-mutator/
DAndroid.bp58 "libprotobuf-mutator",
/packages/services/Car/cpp/computepipe/tests/fuzz/
DAndroid.bp102 "libprotobuf-mutator",
117 "libprotobuf-mutator",
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java188 @NonNull Consumer<TrackedNetworkStatus> mutator) { in updateNetworkStatus() argument
191 mutator.accept(status); in updateNetworkStatus()
/packages/modules/NeuralNetworks/runtime/test/
DTestValidateOperations.cpp961 TensorRankMutator mutator{TensorRankConstraint::AtLeast(2), {0, 2}}; in TEST() local
963 const auto mutationSet = mutator.ValidInputsMutations({operand0, operand1, operand2}); in TEST()
1009 TensorRankMutator mutator{TensorRankConstraint::AtLeast(2), {0, 2}}; in TEST() local
1011 const auto mutationSet = mutator.InvalidInputsMutations({operand0, operand1, operand2}); in TEST()
/packages/inputmethods/LatinIME/dictionaries/
Dnl_wordlist.combined.gz