/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/fragment/src/android/fragment/cts/ |
D | PostponedTransitionTest.java | 788 fragment.enterTransition.targets.clear(); in clearTargets() 789 fragment.reenterTransition.targets.clear(); in clearTargets() 790 fragment.exitTransition.targets.clear(); in clearTargets() 791 fragment.returnTransition.targets.clear(); in clearTargets() 792 fragment.sharedElementEnter.targets.clear(); in clearTargets() 793 fragment.sharedElementReturn.targets.clear(); in clearTargets() 797 assertEquals(0, fragment.enterTransition.targets.size()); in assureNoTransition() 798 assertEquals(0, fragment.reenterTransition.targets.size()); in assureNoTransition() 799 assertEquals(0, fragment.enterTransition.targets.size()); in assureNoTransition() 800 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/smartspace/src/android/smartspace/cts/ |
D | CtsSmartspaceService.java | 44 private final ArrayMap<SmartspaceSessionId, List<SmartspaceTarget>> targets = new ArrayMap<>(); field in CtsSmartspaceService 63 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/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/apppredictionservice/src/android/apppredictionservice/cts/ |
D | ServiceReporter.java | 147 void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets() argument 150 assertNotNull(targets); in onSortAppTargets() 261 public void onTargetsAvailable(List<AppTarget> targets) { in onTargetsAvailable() argument 264 assertEquals(targets, mTargets); in onTargetsAvailable() 268 mTargets = targets; in onTargetsAvailable() 281 boolean requestAndWaitForTargets(List<AppTarget> targets, Runnable requestUpdateCb) { in requestAndWaitForTargets() argument 282 mTargets = targets; in requestAndWaitForTargets() 287 return awaitTargets(targets); in requestAndWaitForTargets() 293 boolean awaitTargets(List<AppTarget> targets) { in awaitTargets() argument 296 assertEquals(targets, mTargets); in awaitTargets()
|
D | AppPredictionServiceTest.java | 182 List<AppTarget> targets = createPredictions(); in testAppTargetEvent() local 184 for (AppTarget target : targets) { in testAppTargetEvent() 203 List<AppTarget> targets = createPredictions(); in testNotifyLocationShown() local 205 for (AppTarget target : targets) { in testNotifyLocationShown() 229 mReporter.setSortedPredictionsProvider((targets) -> { in testSortTargets() argument 230 assertEquals(targets, shuffledTargets); in testSortTargets() 291 List<AppTarget> targets = new ArrayList<>(); in createPredictions() local 294 targets.add(new AppTarget.Builder(new AppTargetId(String.valueOf(i)), "test.pkg", in createPredictions() 299 return targets; in createPredictions()
|
D | PredictionService.java | 61 public void onSortAppTargets(AppPredictionSessionId sessionId, List<AppTarget> targets, in onSortAppTargets() argument 63 mReporter.onSortAppTargets(sessionId, targets, callback); in onSortAppTargets() 64 callback.accept(mReporter.getSortedPredictionsProvider().sortTargets(targets)); in onSortAppTargets()
|
D | SortedPredictionsProvider.java | 27 List<AppTarget> sortTargets(List<AppTarget> targets); in sortTargets() argument
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 200 List<SearchTarget> targets = SearchUiUtils.generateSearchTargetList(3); in testQuery_realCallback() local 202 final ConsumerVerifier callbackVerifier = new ConsumerVerifier(targets /* expected */); in testQuery_realCallback() 203 mWatcher.setTargets(targets /* actual */); in testQuery_realCallback() 210 List<SearchTarget> targets = SearchUiUtils.generateSearchTargetList(2); in testQuery_mockCallback() local 213 final ConsumerVerifier callbackVerifier = new ConsumerVerifier(targets); in testQuery_mockCallback() 219 consumer.accept(targets); in testQuery_mockCallback() 226 List<SearchTarget> targets = SearchUiUtils.generateSearchTargetList(3); in testRegisterPredictionUpdatesLifeCycle_realCallback() local 227 mWatcher.setTargets(targets /* actual */); in testRegisterPredictionUpdatesLifeCycle_realCallback() 230 new EmptyQueryResultCallbackVerifier(targets /* expected */); in testRegisterPredictionUpdatesLifeCycle_realCallback() 244 List<SearchTarget> targets = generateSearchTargetList(2, true, false, false, false); in testQuery_params() local [all …]
|
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 | 148 public void setTargets(List<SearchTarget> targets) { in setTargets() argument 149 searchTargets = targets; in setTargets()
|
/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/common/device-side/bedstead/modules/permissions/ |
D | Android.bp | 6 // we have only separated the source code but it is still included as part of the build targets for 7 // Harrier and Nene. We need to split Harrier and Nene into core targets to get the dependencies 8 // flowing in a single direction to split these targets
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/ |
D | Android.bp | 42 targets: [ 63 targets: [ 79 targets: [
|
/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 …]
|
/cts/tests/surfacecontrol/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/AccessControlApp3/ |
D | Android.bp | 46 targets: ["cts"],
|
/cts/tests/tests/secure_element/access_control/AccessControlApp2/ |
D | Android.bp | 46 targets: ["cts"],
|
/cts/tests/tests/secure_element/access_control/AccessControlApp1/ |
D | Android.bp | 46 targets: ["cts"],
|
/cts/common/device-side/bedstead/btest/ |
D | btest | 641 args.targets = flatten([expand_short_target(target) for target in args.targets]) 643 if len(args.targets) == 0: 649 for target in args.targets: 662 args.targets = new_targets 663 args.modules = set([t[0] for t in args.targets]) 674 targets = args.modules.copy() 675 for t in args.targets: 676 targets.update(supported_modules[t[0]].get(ADDITIONAL_TARGETS, [])) 677 … targets.update([app[TARGET_NAME] for app in supported_modules[t[0]].get(ADDITIONAL_APPS, [])]) 679 command += " &&" + " && ".join(["m " + t for t in targets]) [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_ScrollCaptureTest.java | 419 Consumer<ScrollCaptureTarget> targets) { in onScrollCaptureSearch() argument 420 super.onScrollCaptureSearch(localVisibleRect, windowOffset, targets); in onScrollCaptureSearch() 486 Consumer<ScrollCaptureTarget> targets) { in onScrollCaptureSearch() argument 487 super.onScrollCaptureSearch(localVisibleRect, windowOffset, targets); in onScrollCaptureSearch()
|