/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/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/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 | 172 List<AppTarget> targets = createPredictions(); in testAppTargetEvent() local 174 for (AppTarget target : targets) { in testAppTargetEvent() 193 List<AppTarget> targets = createPredictions(); in testNotifyLocationShown() local 195 for (AppTarget target : targets) { in testNotifyLocationShown() 219 mReporter.setSortedPredictionsProvider((targets) -> { in testSortTargets() argument 220 assertEquals(targets, shuffledTargets); in testSortTargets() 263 List<AppTarget> targets = new ArrayList<>(); in createPredictions() local 266 targets.add(new AppTarget.Builder(new AppTargetId(String.valueOf(i)), "test.pkg", in createPredictions() 271 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/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 …]
|
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | CtsSmartspaceService.java | 45 private final ArrayMap<SmartspaceSessionId, List<SmartspaceTarget>> targets = new ArrayMap<>(); field in CtsSmartspaceService 62 targets.put(sessionId, new ArrayList<>()); in onCreateSmartspaceSession() 74 targets.get(sessionId).add(event.getSmartspaceTarget()); in notifySmartspaceEvent() 85 List<SmartspaceTarget> returnList = targets.get(sessionId); in onRequestSmartspaceUpdate() 97 targets.remove(sessionId); in onDestroySmartspaceSession() 143 public void setTargets(List<SmartspaceTarget> targets) { in setTargets() argument 144 mSmartspaceTargets = targets; in setTargets()
|
D | SmartspaceManagerTest.java | 135 targets -> { in testRequestSmartspaceUpdate() 136 if (targets.size() > 0 && targets.get(0).equals(testTarget)) { in testRequestSmartspaceUpdate() 160 targets -> { in testRequestSmartspaceUpdateForMultipleSessions() 162 if (targets.size() > 0 && targets.get(0).equals(testTarget)) { in testRequestSmartspaceUpdateForMultipleSessions() 167 targets -> { in testRequestSmartspaceUpdateForMultipleSessions() 169 if (targets.isEmpty()) { in testRequestSmartspaceUpdateForMultipleSessions() 255 public ConsumerVerifier(List<SmartspaceTarget> targets) { in ConsumerVerifier() argument 256 mExpectedTargets = targets; in ConsumerVerifier() 272 public void onTargetsAvailable(List<SmartspaceTarget> targets) { in onTargetsAvailable() argument
|
/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/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 198 List<SearchTarget> targets = SearchUiUtils.generateSearchTargetList(3); in testQuery_realCallback() local 200 final ConsumerVerifier callbackVerifier = new ConsumerVerifier(targets /* expected */); in testQuery_realCallback() 201 mWatcher.setTargets(targets /* actual */); in testQuery_realCallback() 208 List<SearchTarget> targets = SearchUiUtils.generateSearchTargetList(2); in testQuery_mockCallback() local 211 final ConsumerVerifier callbackVerifier = new ConsumerVerifier(targets); in testQuery_mockCallback() 217 consumer.accept(targets); in testQuery_mockCallback() 224 List<SearchTarget> targets = generateSearchTargetList(2, true, false, false, false); in testQuery_params() local 228 final ConsumerVerifier callbackVerifier = new ConsumerVerifier(targets); in testQuery_params() 282 public ConsumerVerifier(List<SearchTarget> targets) { in ConsumerVerifier() argument 283 mExpectedTargets = targets; in ConsumerVerifier()
|
D | SearchUiUtils.java | 59 List<SearchTarget> targets = new ArrayList<>(); in generateSearchTargetList() local 61 targets.add(generateSearchTarget(seed, in generateSearchTargetList() 67 return targets; in generateSearchTargetList()
|
D | CtsSearchUiService.java | 131 public void setTargets(List<SearchTarget> targets) { in setTargets() argument 132 searchTargets = targets; in setTargets()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiResolutionReprocessCaptureTest.java | 330 StreamCombinationTargets targets = new StreamCombinationTargets(); in testMultiResolutionMandatoryStreamCombination() local 346 targets, outputConfigs, outputSurfaces, NUM_REPROCESS_CAPTURES_PER_CONFIG, in testMultiResolutionMandatoryStreamCombination() 358 final boolean useYuv = inputIsYuv || targets.mYuvTargets.size() > 0 || in testMultiResolutionMandatoryStreamCombination() 359 targets.mYuvMultiResTargets.size() > 0; in testMultiResolutionMandatoryStreamCombination() 361 (inputIsYuv ? 1 : 0) + targets.mJpegMultiResTargets.size() + in testMultiResolutionMandatoryStreamCombination() 362 targets.mJpegTargets.size() + in testMultiResolutionMandatoryStreamCombination() 363 (useYuv ? targets.mYuvMultiResTargets.size() + targets.mYuvTargets.size() : 0)); in testMultiResolutionMandatoryStreamCombination() 406 for (MultiResolutionImageReader reader : targets.mJpegMultiResTargets) { in testMultiResolutionMandatoryStreamCombination() 409 for (ImageReader reader : targets.mJpegTargets) { in testMultiResolutionMandatoryStreamCombination() 412 for (MultiResolutionImageReader reader : targets.mYuvMultiResTargets) { in testMultiResolutionMandatoryStreamCombination() [all …]
|
D | ConcurrentCameraTest.java | 78 public StreamCombinationTargets targets = new StreamCombinationTargets(); field in ConcurrentCameraTest.TestSample 246 testSample.combination.getStreamsInformation(), testSample.targets, in testMandatoryConcurrentStreamCombination() 329 testSample.targets.close(); in testMandatoryConcurrentStreamCombination()
|
D | RobustnessTest.java | 365 StreamCombinationTargets targets = new StreamCombinationTargets(); in testMandatoryStreamCombination() local 368 targets, outputConfigs, outputSurfaces, uhOutputSurfaces, MIN_RESULT_COUNT, in testMandatoryStreamCombination() local 463 targets.close(); in testMandatoryStreamCombination() 574 StreamCombinationTargets targets = new StreamCombinationTargets(); in testMandatoryReprocessableStreamCombination() local 607 CameraTestUtils.setupConfigurationTargets(mandatoryStreamInfos, targets, in testMandatoryReprocessableStreamCombination() 621 final boolean useYuv = inputIsYuv || targets.mYuvTargets.size() > 0; in testMandatoryReprocessableStreamCombination() 622 final boolean useY8 = inputIsY8 || targets.mY8Targets.size() > 0; in testMandatoryReprocessableStreamCombination() 625 (substituteHeic ? targets.mHeicTargets.size() : targets.mJpegTargets.size()) + in testMandatoryReprocessableStreamCombination() 626 (useYuv ? targets.mYuvTargets.size() : targets.mY8Targets.size()))); in testMandatoryReprocessableStreamCombination() 677 for (ImageReader reader : targets.mJpegTargets) { in testMandatoryReprocessableStreamCombination() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/ |
D | Android.bp | 41 targets: [ 62 targets: [
|
/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/accessibilityservice/testsdk29/src/android/accessibilityservice/cts/ |
D | AccessibilityButtonSdk29Test.java | 116 final List<String> targets = mAccessibilityManager.getAccessibilityShortcutTargets( in getA11yBtn_withLegacyReqA11yBtnService_succeeds() 119 shortcutTargetListContains(targets, mServiceComponentName)); in getA11yBtn_withLegacyReqA11yBtnService_succeeds()
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/ |
D | Android.bp | 44 targets: ["cts"],
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/ |
D | Android.bp | 44 targets: ["cts"],
|
/cts/tests/tests/secure_element/access_control/AccessControlApp3/ |
D | Android.bp | 44 targets: ["cts"],
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_ScrollCaptureTest.java | 417 Consumer<ScrollCaptureTarget> targets) { in onScrollCaptureSearch() argument 418 super.onScrollCaptureSearch(localVisibleRect, windowOffset, targets); in onScrollCaptureSearch() 484 Consumer<ScrollCaptureTarget> targets) { in onScrollCaptureSearch() argument 485 super.onScrollCaptureSearch(localVisibleRect, windowOffset, targets); in onScrollCaptureSearch()
|