Home
last modified time | relevance | path

Searched refs:allOf (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGestureDescriptionTest.java19 import static org.hamcrest.CoreMatchers.allOf;
56 assertThat(clickGestureSteps.get(0), allOf(numTouchPointsIs(1), numStartsOfStroke(1), in testGestureShorterThanSampleRate_producesStartAndEnd()
58 assertThat(clickGestureSteps.get(1), allOf(numTouchPointsIs(1), numStartsOfStroke(0), in testGestureShorterThanSampleRate_producesStartAndEnd()
77 assertThat(swipeGestureSteps.get(0), allOf(numTouchPointsIs(1), numStartsOfStroke(1), in testSwipe_shouldContainEvenlySpacedPoints()
79 assertThat(swipeGestureSteps.get(numSamples), allOf(numTouchPointsIs(1), in testSwipe_shouldContainEvenlySpacedPoints()
84 assertThat(swipeGestureSteps.get(i), allOf(numTouchPointsIs(1), in testSwipe_shouldContainEvenlySpacedPoints()
151 assertThat(steps.get(0), allOf(numStartsOfStroke(1), numEndsOfStroke(0), isAtTime(start), in testPathsWithOverlappingTiming_produceCorrectSteps()
153 assertThat(steps.get(1), allOf(numTouchPointsIs(1), noStartsOrEnds(), in testPathsWithOverlappingTiming_produceCorrectSteps()
155 assertThat(steps.get(2), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 2))); in testPathsWithOverlappingTiming_produceCorrectSteps()
156 assertThat(steps.get(3), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 3))); in testPathsWithOverlappingTiming_produceCorrectSteps()
[all …]
DMotionEventInjectorTest.java24 import static org.hamcrest.CoreMatchers.allOf;
161 mIsLineStart = allOf(IS_ACTION_DOWN, isAtPoint(LINE_START), hasStandardInitialization(), in setUp()
163 mIsLineMiddle = allOf(IS_ACTION_MOVE, isAtPoint(LINE_END), hasStandardInitialization(), in setUp()
165 mIsLineEnd = allOf(IS_ACTION_UP, isAtPoint(LINE_END), hasStandardInitialization(), in setUp()
167 mIsClickDown = allOf(IS_ACTION_DOWN, isAtPoint(CLICK_POINT), hasStandardInitialization(), in setUp()
169 mIsClickUp = allOf(IS_ACTION_UP, isAtPoint(CLICK_POINT), hasStandardInitialization(), in setUp()
195 verify(next).onMotionEvent(argThat(allOf(mIsLineMiddle, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
196 argThat(allOf(mIsLineMiddle, hasRightDownTime)), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
203 verify(next).onMotionEvent(argThat(allOf(mIsLineEnd, hasRightDownTime)), in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
204 argThat(allOf(mIsLineEnd, hasRightDownTime)), eq(FLAG_PASS_TO_USER)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
[all …]
/frameworks/base/core/java/android/app/
DStatsManager.java109 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
130 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
146 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
166 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
205 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
235 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
260 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
298 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
329 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
347 @RequiresPermission(allOf = { DUMP, PACKAGE_USAGE_STATS })
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragHandleUtils.java28 import static org.hamcrest.Matchers.allOf;
57 return onView(allOf( in onHandleView()
60 .inRoot(allOf( in onHandleView()
DFloatingToolbarEspressoUtils.java31 import static org.hamcrest.Matchers.allOf;
64 .inRoot(allOf( in onFloatingToolBar()
106 onView(allOf(withId(id), isDisplayed())) in toggleOverflow()
DContextMenuUtils.java31 import static org.hamcrest.Matchers.allOf;
98 return allOf( in getVisibleMenuItemMatcher()
DDragAction.java24 import static org.hamcrest.Matchers.allOf;
447 return allOf(isCompletelyDisplayed(), isAssignableFrom(mViewClass)); in getConstraints()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DWifiRttManager.java112 @RequiresPermission(allOf = {ACCESS_FINE_LOCATION, CHANGE_WIFI_STATE, ACCESS_WIFI_STATE})
131 @RequiresPermission(allOf = {LOCATION_HARDWARE, ACCESS_FINE_LOCATION, CHANGE_WIFI_STATE,
178 @RequiresPermission(allOf = {LOCATION_HARDWARE})
/frameworks/base/core/java/android/app/compat/
DCompatChanges.java68 @RequiresPermission(allOf = {android.Manifest.permission.READ_COMPAT_CHANGE_CONFIG,
100 @RequiresPermission(allOf = {android.Manifest.permission.READ_COMPAT_CHANGE_CONFIG,
/frameworks/base/core/java/android/content/pm/dex/
DArtManager.java107 @RequiresPermission(allOf = { READ_RUNTIME_PROFILES, PACKAGE_USAGE_STATS })
131 @RequiresPermission(allOf = { READ_RUNTIME_PROFILES, PACKAGE_USAGE_STATS })
/frameworks/base/core/java/android/util/
DStatsLog.java148 @RequiresPermission(allOf = {DUMP, PACKAGE_USAGE_STATS})
189 @RequiresPermission(allOf = {DUMP, PACKAGE_USAGE_STATS})
/frameworks/base/core/java/android/os/
DIncidentManager.java433 @RequiresPermission(allOf = {
539 @RequiresPermission(allOf = {
567 @RequiresPermission(allOf = {
604 @RequiresPermission(allOf = {
DUserManager.java1331 @RequiresPermission(allOf = {Manifest.permission.READ_PHONE_STATE,
2367 @RequiresPermission(allOf = {
2452 @RequiresPermission( allOf = {
2468 @RequiresPermission( allOf = {
DDropBoxManager.java375 @RequiresPermission(allOf = { READ_LOGS, PACKAGE_USAGE_STATS })
/frameworks/base/core/java/android/annotation/
DRequiresPermission.java96 String[] allOf() default {}; in allOf() method
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java24 import static org.hamcrest.Matchers.allOf;
215 return allOf(isCompletelyDisplayed(), isAssignableFrom(mViewClass)); in getConstraints()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java191 @RequiresPermission(allOf = {
209 @RequiresPermission(allOf = {
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java793 @RequiresPermission(allOf = {
819 @RequiresPermission(allOf = {
/frameworks/base/core/java/android/content/
DContext.java2598 @RequiresPermission(allOf = {
2610 @RequiresPermission(allOf = {
2650 @RequiresPermission(allOf = {
2680 @RequiresPermission(allOf = {
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java248 EnumSet.allOf(PosixFilePermission.class)); in getCacheDir()
/frameworks/base/api/
Dremoved.txt405 …method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.an…
415 …method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.an…
416 …method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.an…
616 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, andr…
Dsystem-removed.txt197 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, andr…
/frameworks/base/non-updatable-api/
Dremoved.txt405 …method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.an…
415 …method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.an…
416 …method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.an…
616 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, andr…
Dsystem-removed.txt197 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, andr…
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java164 return EnumSet.allOf(Capability.class); in getCapabilities()

12