Home
last modified time | relevance | path

Searched refs:hasItem (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityNodeInfoTest.java23 import static org.hamcrest.Matchers.hasItem;
111 assertThat(nodeWithAction.getActionList(), hasItem(action)); in testStandardActions_allComeThroughParceling()
117 assertThat(unparceledNode.getActionList(), hasItem(action)); in testStandardActions_allComeThroughParceling()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp194 auto hasItem = details->findString("size-range", &sizeRange); in getCodecSizeRange() local
195 if (!hasItem) { in getCodecSizeRange()
306 auto hasItem = details->findString("feature-bitrate-modes", &bitrateModes); in getHevcCodecDetails() local
307 if (!hasItem) { in getHevcCodecDetails()
313 __FUNCTION__, info->getCodecName(), hasItem, bitrateModes.c_str()); in getHevcCodecDetails()
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java22 import static org.hamcrest.Matchers.hasItem;
113 assertThat(mBar.getSystemGestureExclusionRects(), hasItem(new Rect(1, 2, 3, 4))); in testExclusionForThumb_passesThroughUserExclusions()
117 assertThat(mBar.getSystemGestureExclusionRects(), hasItem(new Rect(3, 4, 5, 6))); in testExclusionForThumb_passesThroughUserExclusions()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java21 import static org.hamcrest.Matchers.hasItem;
176 assertThat(actions, hasItem(NEW_ACCESSIBILITY_ACTION)); in testRegisterSystemAction_addedIntoAvailableSystemActions()
207 assertThat(actions, is(not(hasItem(NEW_ACCESSIBILITY_ACTION)))); in testUnregisterSystemAction_removeFromAvailableSystemActions()
DAccessibilityWindowManagerWithAccessibilityWindowTest.java32 import static org.hamcrest.Matchers.hasItem;
366 assertThat(a11yWindows, not(hasItem(windowId(windowId)))); in onWindowsChanged_shouldNotReportNonTouchableWindow()
381 assertThat(a11yWindows, hasItem(windowId(windowId))); in onWindowsChanged_shouldReportFocusedNonTouchableWindow()
465 assertThat(a11yWindows, not(hasItem(windowId(embeddedWindowId)))); in onWindowsChanged_embeddedWindows_shouldOnlyReportHost()
489 assertThat(a11yWindows, hasItem(windowId(frontWindowId))); in onWindowsChanged_shouldNotReportfullyOccludedWindow()
490 assertThat(a11yWindows, not(hasItem(windowId(occludedWindowId)))); in onWindowsChanged_shouldNotReportfullyOccludedWindow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitorTest.kt32 import org.hamcrest.Matchers.hasItem
221 assertThat(appOpsPrivacyItemMonitor.getActivePrivacyItems(), not(hasItem(nullValue()))) in testListShouldNotHaveNull()