/cts/tests/fragment/src/android/fragment/cts/ |
D | PostponedTransitionTest.java | 783 fragment.enterTransition.targets.clear(); in clearTargets() 784 fragment.reenterTransition.targets.clear(); in clearTargets() 785 fragment.exitTransition.targets.clear(); in clearTargets() 786 fragment.returnTransition.targets.clear(); in clearTargets() 787 fragment.sharedElementEnter.targets.clear(); in clearTargets() 788 fragment.sharedElementReturn.targets.clear(); in clearTargets() 792 assertEquals(0, fragment.enterTransition.targets.size()); in assureNoTransition() 793 assertEquals(0, fragment.reenterTransition.targets.size()); in assureNoTransition() 794 assertEquals(0, fragment.enterTransition.targets.size()); in assureNoTransition() 795 assertEquals(0, fragment.returnTransition.targets.size()); in assureNoTransition() [all …]
|
D | FragmentTransitionTest.java | 841 ArrayList<View> targets = transition.getTrackedTargets(); in verifyAndClearTransition() local 844 "}, but got: [" + targets.size() + "] {" + in verifyAndClearTransition() 845 targets.stream().map(v -> v.toString()).collect(Collectors.joining(", ")) + in verifyAndClearTransition() 847 assertEquals(errorMessage, expected.length, targets.size()); in verifyAndClearTransition() 849 assertTrue(errorMessage, targets.contains(view)); in verifyAndClearTransition() 855 assertEquals(0, fragment.enterTransition.targets.size()); in verifyNoOtherTransitions() 856 assertEquals(0, fragment.exitTransition.targets.size()); in verifyNoOtherTransitions() 857 assertEquals(0, fragment.reenterTransition.targets.size()); in verifyNoOtherTransitions() 858 assertEquals(0, fragment.returnTransition.targets.size()); in verifyNoOtherTransitions() 859 assertEquals(0, fragment.sharedElementEnter.targets.size()); in verifyNoOtherTransitions() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionInflaterTest.java | 178 List<Integer> targets = transition.getTargetIds(); in verifyTargetIds() local 179 assertNotNull(targets); in verifyTargetIds() 180 assertEquals(2, targets.size()); in verifyTargetIds() 181 assertEquals(R.id.hello, (int) targets.get(0)); in verifyTargetIds() 182 assertEquals(R.id.world, (int) targets.get(1)); in verifyTargetIds() 186 List<String> targets = transition.getTargetNames(); in verifyTargetNames() local 187 assertNotNull(targets); in verifyTargetNames() 188 assertEquals(2, targets.size()); in verifyTargetNames() 189 assertEquals("hello", targets.get(0)); in verifyTargetNames() 190 assertEquals("world", targets.get(1)); in verifyTargetNames() [all …]
|
D | ActivityTransitionTest.java | 506 Set<Integer> targets = getTargetViewIds(transition); in assertTargetContains() local 508 assertTrueWithId(id, "%s was not included from the transition", targets.contains(id)); in assertTargetContains() 513 Set<Integer> targets = getTargetViewIds(transition); in assertTargetExcludes() local 515 assertTrueWithId(id, "%s was not excluded from the transition", !targets.contains(id)); in assertTargetExcludes()
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | ServiceReporter.java | 135 void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets() argument 138 assertNotNull(targets); in onSortAppTargets() 242 public void onTargetsAvailable(List<AppTarget> targets) { in onTargetsAvailable() argument 245 assertEquals(targets, mTargets); in onTargetsAvailable() 249 mTargets = targets; in onTargetsAvailable() 262 boolean requestAndWaitForTargets(List<AppTarget> targets, Runnable requestUpdateCb) { in requestAndWaitForTargets() argument 263 mTargets = targets; in requestAndWaitForTargets() 268 return awaitTargets(targets); in requestAndWaitForTargets() 274 boolean awaitTargets(List<AppTarget> targets) { in awaitTargets() argument 277 assertEquals(targets, mTargets); in awaitTargets()
|
D | AppPredictionServiceTest.java | 165 List<AppTarget> targets = createPredictions(); in testAppTargetEvent() local 167 for (AppTarget target : targets) { in testAppTargetEvent() 186 List<AppTarget> targets = createPredictions(); in testNotifyLocationShown() local 188 for (AppTarget target : targets) { in testNotifyLocationShown() 212 mReporter.setSortedPredictionsProvider((targets) -> { in testSortTargets() argument 213 assertEquals(targets, shuffledTargets); in testSortTargets() 256 List<AppTarget> targets = new ArrayList<>(); in createPredictions() local 259 targets.add(new AppTarget.Builder(new AppTargetId(String.valueOf(i)), "test.pkg", in createPredictions() 264 return targets; in createPredictions()
|
D | PredictionService.java | 64 public void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets() argument 66 mReporter.onSortAppTargets(sessionId, targets, callback); in onSortAppTargets() 67 callback.accept(mReporter.getSortedPredictionsProvider().sortTargets(targets)); in onSortAppTargets()
|
D | SortedPredictionsProvider.java | 27 List<AppTarget> sortTargets(List<AppTarget> targets); in sortTargets() argument
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/transition/ |
D | TrackingVisibility.java | 32 public final ArrayList<View> targets = new ArrayList<>(); field in TrackingVisibility 38 targets.add(endValues.view); in onAppear() 51 targets.add(startValues.view); in onDisappear() 63 return targets; in getTrackedTargets() 68 targets.clear(); in clearTargets()
|
D | TrackingTransition.java | 39 public final ArrayList<View> targets = new ArrayList<>(); field in TrackingTransition 63 targets.add(startValues.view); in createAnimator() 66 targets.add(endValues.view); in createAnimator() 79 return targets; in getTrackedTargets() 84 targets.clear(); in clearTargets()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/transition/ |
D | TrackingVisibility.java | 32 public final ArrayList<View> targets = new ArrayList<>(); field in TrackingVisibility 38 targets.add(endValues.view); in onAppear() 51 targets.add(startValues.view); in onDisappear() 63 return targets; in getTrackedTargets() 68 targets.clear(); in clearTargets()
|
D | TrackingTransition.java | 39 public final ArrayList<View> targets = new ArrayList<>(); field in TrackingTransition 63 targets.add(startValues.view); in createAnimator() 66 targets.add(endValues.view); in createAnimator() 79 return targets; in getTrackedTargets() 84 targets.clear(); in clearTargets()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildDalvikSuite.java | 85 Set<BuildStep> targets = new TreeSet<BuildStep>(); field in BuildDalvikSuite.MyTestHandler 204 generateBuildStepFor(dependentTestClassNames, targets); in handleTest() 218 for (BuildStep buildStep : handler.targets) { in handleTests() 228 Set<BuildStep> targets) { in generateBuildStepFor() argument 230 generateBuildStepForDependant(dependentTestClassName, targets); in generateBuildStepFor() 235 Set<BuildStep> targets) { in generateBuildStepForDependant() argument 277 targets.add(jarBuildStep); in generateBuildStepForDependant() 287 targets.add(dexBuildStep); in generateBuildStepForDependant() 295 targets.add(dexBuildStep); in generateBuildStepForDependant()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | RectChecker.java | 41 public RectChecker(Target... targets) { in RectChecker() argument 42 for (Target t : targets) { in RectChecker()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/ |
D | Android.bp | 43 targets: ["cts"],
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/ |
D | Android.bp | 43 targets: ["cts"],
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/ |
D | Android.bp | 43 targets: ["cts"],
|
/cts/tests/tests/secure_element/omapi/ |
D | Android.bp | 35 targets: ["cts"],
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 797 final List<File> targets = new ArrayList<File>(); in getTargetFiles() local 802 targets.add(dir); in getTargetFiles() 804 return targets; in getTargetFiles()
|