Home
last modified time | relevance | path

Searched refs:hasItem (Results 1 – 5 of 5) 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;
172 assertThat(actions, hasItem(NEW_ACCESSIBILITY_ACTION)); in testRegisterSystemAction_addedIntoAvailableSystemActions()
203 assertThat(actions, is(not(hasItem(NEW_ACCESSIBILITY_ACTION)))); in testUnregisterSystemAction_removeFromAvailableSystemActions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt39 import org.hamcrest.Matchers.hasItem
264 assertThat(argCaptor.value, not(hasItem(nullValue()))) in testListShouldNotHaveNull()