/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/ |
D | TestArtifactCollector.java | 31 import java.util.function.Function; 41 private final Function<File, Void> mPopulateFile; 45 TestArtifact(String fileName, Function<File, Void> populateFile) { in TestArtifact() 72 private ArrayList<Function<Failure, Void>> mPreFailureCallbacks = new ArrayList<>(); 142 for (Function<Failure, Void> listener : mPreFailureCallbacks) { in testFailure() 164 public static void addArtifact(String fileName, Function<File, Void> populateFile) { in addArtifact() 168 private void doAddArtifact(String fileName, Function<File, Void> populateFile) { in doAddArtifact() 177 public static void addFailureListener(Function<Failure, Void> listener) { in addFailureListener()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestActivity.java | 34 import java.util.function.Function; 41 private static final AtomicReference<Function<TestActivity, View>> sInitializer = 44 private Function<TestActivity, View> mInitializer = null; 83 @NonNull Function<TestActivity, View> activityInitializer) { in startSync() 100 @NonNull Function<TestActivity, View> activityInitializer, in startSync()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 30 import java.util.function.Function; 72 private final Function<Intent, Boolean> mChecker; 83 Function<Intent, Boolean> checker) { in create() 88 Function<Intent, Boolean> checker) { in create() 98 Function<Intent, Boolean> checker) { in create() 118 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 123 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 132 Context context, Set<IntentFilter> intentFilters, Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver()
|
D | ExceptionUtils.java | 22 import java.util.function.Function; 77 Function<Throwable, Throwable> exceptionTransformer, ThrowingSupplier<R> action) { in wrappingExceptions() 96 Function<Throwable, Throwable> exceptionTransformer, ThrowingRunnable action) { in wrappingExceptions()
|
D | PollingCheck.java | 23 import java.util.function.Function; 84 public <E> E runWaitAndReturnResult(Supplier<E> supplier, Function<E, Boolean> condition) { in runWaitAndReturnResult() 174 Function<E, Boolean> condition) { in waitFor()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingBroadcastReceiver.java | 35 import java.util.function.Function; 77 private final Function<Intent, Boolean> mChecker; 88 Function<Intent, Boolean> checker) { in create() 93 Function<Intent, Boolean> checker) { in create() 103 Function<Intent, Boolean> checker) { in create() 123 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 128 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 137 Context context, Set<IntentFilter> intentFilters, Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver()
|
D | Poll.java | 29 import java.util.function.Function; 69 private Function<E, Boolean> mTerminalValueChecker; 70 private Function<Throwable, Boolean> mTerminalExceptionChecker; 166 public Poll<E> errorOnFail(Function<E, String> errorSupplier) { in errorOnFail() 279 public Poll<E> terminalValue(Function<E, Boolean> terminalChecker) { in terminalValue() 294 public Poll<E> terminalException(Function<Throwable, Boolean> terminalChecker) { in terminalException()
|
D | VoidRetry.java | 24 import java.util.function.Function; 56 public VoidRetry terminalException(Function<Throwable, Boolean> terminalChecker) { in terminalException()
|
D | ShellCommand.java | 32 import java.util.function.Function; 75 private Function<String, Boolean> mOutputSuccessChecker = null; 155 public Builder validate(Function<String, Boolean> outputSuccessChecker) { in validate() 244 public <E> E executeAndParseOutput(Function<String, E> outputParser) throws AdbException { in executeAndParseOutput()
|
D | Retry.java | 27 import java.util.function.Function; 81 public Retry<E> terminalException(Function<Throwable, Boolean> terminalChecker) { in terminalException()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CannedFieldClassificationResponse.java | 30 import java.util.function.Function; 74 @NonNull Function<String, AssistStructure.ViewNode> nodeResolver) { in asResponse() 89 @NonNull Function<String, AutofillId> autofillIdResolver) { in asResponseWithAutofillId() 126 Function<String, AssistStructure.ViewNode> nodeResolver) { in asFieldClassificationtWithNodeResolver() 137 Function<String, AutofillId> autofillIdResolver) { in asFieldClassification()
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | LineSpliteratorTestBase.java | 30 import java.util.function.Function; 39 protected static final Function<String, Integer> CONVERTER = str -> { 47 Function<String, Integer> converter); in createSpliterator() 61 protected <T> void doTestConverter(Function<String, Spliterator<T>> createFn, in doTestConverter() 62 Function<Integer, Consumer<T>> verifierFn) { in doTestConverter()
|
D | BufferedReaderLineSpliteratorTest.java | 26 import java.util.function.Function; 62 Function<String, Integer> converter) { in createSpliterator()
|
D | ByteBufferLineSpliteratorTest.java | 27 import java.util.function.Function; 60 Function<String, Integer> converter) { in createSpliterator()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | FutureConnection.java | 27 import java.util.function.Function; 34 private final Function<IBinder, T> mConverter; 37 public FutureConnection(Function<IBinder, T> converter) { in FutureConnection()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | BufferedReaderLineSpliterator.java | 8 import java.util.function.Function; 20 private final Function<String, T> mConverter; 23 public BufferedReaderLineSpliterator(BufferedReader reader, Function<String, T> converter) { in BufferedReaderLineSpliterator()
|
D | ByteBufferLineSpliterator.java | 7 import java.util.function.Function; 19 private final Function<String, T> mConverter; 24 Function<String, T> converter) { in ByteBufferLineSpliterator()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/ |
D | EventLogsQuery.java | 29 import java.util.function.Function; 38 private final transient Set<Function<E, Boolean>> mFilters = new HashSet<>(); 67 public F filter(Function<E, Boolean> filter) { in filter() 78 for (Function<E, Boolean> filter : mFilters) { in filterAll()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | UriGrantsResultTest.java | 40 import java.util.function.Function; 77 Function<Uri, ClipData> clipper) throws Exception { in assertGrantableToResult() 87 Function<Uri, ClipData> clipper) { in assertGrantableToResultInternal() 132 Function<Uri, ClipData> clipper) throws Exception { in assertNotGrantableToResult() 142 Function<Uri, ClipData> clipper) { in assertNotGrantableToResultInternal()
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | SystemInfoParser.java | 23 import java.util.function.Function; 25 public final class SystemInfoParser<T> implements Function<String, T> {
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | AtomTestUtils.java | 35 import java.util.function.Function; 92 Function<AtomsProto.Atom, Integer> getStateFromAtom) { in assertStatesOccurred() 133 int wait, Function<AtomsProto.Atom, Integer> getStateFromAtom) { in assertStatesOccurredInOrder() 198 Function<AtomsProto.Atom, Integer> getStateFromAtom) { in popUntilFind() 221 Function<AtomsProto.Atom, Integer> getStateFromAtom) { in popUntilFindFromEnd()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | ShellCommandUtilsTest.java | 36 import java.util.function.Function; 46 private static final Function<String, Boolean> ALWAYS_PASS_OUTPUT_FILTER = (output) -> true; 47 private static final Function<String, Boolean> ALWAYS_FAIL_OUTPUT_FILTER = (output) -> false;
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestActivity.java | 56 import java.util.function.Function; 61 private static final AtomicReference<Function<TestActivity, View>> sInitializer = 64 private Function<TestActivity, View> mInitializer = null; 212 @NonNull Function<TestActivity, View> activityInitializer) { in startSync() 334 public TestActivity startSync(@NonNull Function<TestActivity, View> activityInitializer, in startSync() 377 @NonNull Function<TestActivity, View> activityInitializer, in startSync()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | MatcherUtils.java | 28 import java.util.function.Function; 60 Function<? super RECEIVER, ? extends PROP> propGetter, in propertyMatches()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 33 import java.util.function.Function; 80 Function<View, Rect> withTouchableAtRight = (v) -> new Rect( in onCreate() 86 Function<View, Rect> withTouchableAsParent = (v) -> new Rect( in onCreate()
|