Home
last modified time | relevance | path

Searched refs:target2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DScrollCaptureSearchResultsTest.java91 ScrollCaptureTarget target2 = createTarget(callback2, new Rect(20, 30, 40, 50), in testNoValidTargets() local
95 results.addTarget(target2); in testNoValidTargets()
157 ScrollCaptureTarget target2 = createTargetWithView(targetView2, callback2, in testRanking() local
192 results.addTarget(target2); in testRanking()
200 assertEquals(target2, results.getTopResult()); in testRanking()
205 target2, in testRanking()
233 ScrollCaptureTarget target2 = createTarget( in testTimeout() local
236 results.addTarget(target2); in testTimeout()
264 target2.getScrollBounds()); in testTimeout()
/frameworks/av/media/libheadtracking/
DPoseRateLimiter-test.cpp41 Pose3f target2({4, 5, 6}, Quaternionf::UnitRandom()); in TEST() local
45 limiter.setTarget(target2); in TEST()
46 EXPECT_EQ(limiter.calculatePose(0), target2); in TEST()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSmartspaceDedupingCoordinatorTest.kt75 private lateinit var target2: SmartspaceTarget variable in com.android.systemui.statusbar.notification.collection.coordinator.SmartspaceDedupingCoordinatorTest
141 target2 = buildTargetFor(entry2HasNotRecentlyAlerted) in setUp()
154 sendTargets(target2, target4) in testBasicFiltering()
171 sendTargets(target1, target2) in testDoNotFilterRecentlyAlertedNotifs()
316 sendTargets(target2, target1) in testTargetBeforeEntryFunctionsProperly()
335 sendTargets(target2, target4) in testLockscreenTracking()
/frameworks/base/core/java/android/os/
DVibrationEffect.java1524 @Nullable VibrationParameter target2) { in extractTargetAmplitude() argument
1525 if (target2 instanceof AmplitudeVibrationParameter) { in extractTargetAmplitude()
1526 return ((AmplitudeVibrationParameter) target2).amplitude; in extractTargetAmplitude()
1535 @Nullable VibrationParameter target2) { in extractTargetFrequency() argument
1536 if (target2 instanceof FrequencyVibrationParameter) { in extractTargetFrequency()
1537 return ((FrequencyVibrationParameter) target2).frequencyHz; in extractTargetFrequency()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java599 int[] target2 = new int[1]; in testInitializeWithoutReadingValues() local
602 ObjectAnimator animator2 = ObjectAnimator.ofInt(target2, property, 0, 100); in testInitializeWithoutReadingValues()
610 assertEquals(100, target2[0]); in testInitializeWithoutReadingValues()
614 assertEquals(0, target2[0]); in testInitializeWithoutReadingValues()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt285 val target2 = mock(SmartspaceTarget::class.java) in <lambda>() constant
286 whenever(target2.smartspaceTargetId).thenReturn("target2") in <lambda>()
287 whenever(target2.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in <lambda>()
288 whenever(target2.remoteViews).thenReturn(null) in <lambda>()
289 whenever(target2.creationTimeMillis).thenReturn(0L) in <lambda>()
298 val targets = listOf(target1, target2, target3) in <lambda>()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java902 private boolean isDisable2FlagSet(int target2) { in isDisable2FlagSet() argument
904 return ((disabled2 & target2) == target2); in isDisable2FlagSet()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DAppsFilterImplTest.java1596 final PackageSetting target2 = simulateAddPackage(appsFilter, in testUsesPermission_multiplePermissionDefiners_DoesntFilter() local
1609 appsFilter.shouldFilterApplication(mSnapshot, DUMMY_CALLING_APPID, calling, target2, in testUsesPermission_multiplePermissionDefiners_DoesntFilter()