Home
last modified time | relevance | path

Searched refs:that (Results 1 – 25 of 79) sorted by relevance

1234

/cts/tests/tests/view/src/android/view/cts/
DMotionEventUtils.java57 public void verifyMatches(MotionEvent that, int pointerIndex) { in verifyMatches() argument
59 that.getPointerId(pointerIndex), this.id); in verifyMatches()
61 that.getToolType(pointerIndex), this.toolType); in verifyMatches()
64 public void verifyMatchesPointerProperties(PointerProperties that) { in verifyMatchesPointerProperties() argument
65 assertEquals("Pointer ID should be the same", that.id, this.id); in verifyMatchesPointerProperties()
66 assertEquals("Tool type should be the same", that.toolType, this.toolType); in verifyMatchesPointerProperties()
70 final PointerProperties that = new PointerProperties(); in verifyMatchesPointerProperties() local
71 motionEvent.getPointerProperties(pointerIndex, that); in verifyMatchesPointerProperties()
73 verifyMatchesPointerProperties(that); in verifyMatchesPointerProperties()
129 public void verifyMatches(MotionEvent that) { in verifyMatches() argument
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyAutofillCallback.java81 assertWithMessage("Invalid number of events left: %s", mEvents).that(mEvents.size()) in assertNumberUnhandledEvents()
90 assertWithMessage("Invalid type on event %s", event).that(event.event) in assertUiShownEvent()
92 assertWithMessage("Invalid view on event %s", event).that(event.view) in assertUiShownEvent()
102 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiShownEvent()
121 assertWithMessage("Invalid type on event %s", event).that(event.event) in assertUiHiddenEvent()
123 assertWithMessage("Invalid view on event %s", event).that(event.view) in assertUiHiddenEvent()
133 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiHiddenEvent()
142 assertWithMessage("Invalid type on event %s", event).that(event.event) in assertUiUnavailableEvent()
144 assertWithMessage("Invalid view on event %s", event).that(event.view) in assertUiUnavailableEvent()
155 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiUnavailableEvent()
DHelper.java491 assertWithMessage("wrong text on %s", node.getAutofillId()).that(node.getText().toString()) in assertText()
496 assertWithMessage("null auto-fill value on %s", id).that(value).isNotNull(); in assertText()
498 .that(value.getTextValue().toString()).isEqualTo(expectedValue); in assertText()
500 assertWithMessage("node %s should not have AutofillValue", id).that(value).isNull(); in assertText()
510 assertWithMessage("null autofill value on %s", id).that(value).isNotNull(); in assertTextValue()
511 assertWithMessage("wrong autofill type on %s", id).that(value.isText()).isTrue(); in assertTextValue()
512 assertWithMessage("wrong autofill value on %s", id).that(value.getTextValue().toString()) in assertTextValue()
523 assertWithMessage("null autofill value on %s", id).that(value).isNotNull(); in assertListValue()
524 assertWithMessage("wrong autofill type on %s", id).that(value.isList()).isTrue(); in assertListValue()
525 assertWithMessage("wrong autofill value on %s", id).that(value.getListValue()) in assertListValue()
[all …]
DOneTimeDateListener.java56 .that(set).isTrue(); in assertAutoFilled()
58 .that(datePicker.getYear()).isEqualTo(expectedYear); in assertAutoFilled()
60 .that(datePicker.getMonth()).isEqualTo(expectedMonth); in assertAutoFilled()
62 .that(datePicker.getDayOfMonth()).isEqualTo(expectedDay); in assertAutoFilled()
DTrampolineForResultActivity.java53 assertWithMessage("Result not received in 1s").that(called).isTrue(); in assertResult()
54 assertWithMessage("Wrong actual code").that(mActualRequestCode) in assertResult()
56 assertWithMessage("Wrong result code").that(mActualResultCode) in assertResult()
DMultipleTimesTimeListener.java55 .that(set).isTrue(); in assertAutoFilled()
57 .that(timePicker.getHour()).isEqualTo(expectedHour); in assertAutoFilled()
59 .that(timePicker.getMinute()).isEqualTo(expectedMinute); in assertAutoFilled()
DMyWebView.java51 assertWithMessage("expectAutofill() not called").that(mExpectation).isNotNull(); in assertAutofilled()
57 .that(set).isTrue(); in assertAutofilled()
58 assertWithMessage("Wrong value for username").that(mExpectation.mActualUsername) in assertAutofilled()
60 assertWithMessage("Wrong value for password").that(mExpectation.mActualPassword) in assertAutofilled()
DOneTimeCompoundButtonListener.java53 .that(set).isTrue(); in assertAutoFilled()
56 .that(actual).isEqualTo(expected); in assertAutoFilled()
DOneTimeRadioGroupListener.java52 .that(set).isTrue(); in assertAutoFilled()
55 .that(actual).isEqualTo(expected); in assertAutoFilled()
DMultipleTimesRadioGroupListener.java54 .that(set).isTrue(); in assertAutoFilled()
57 .that(actual).isEqualTo(mExpected); in assertAutoFilled()
DOneTimeSpinnerListener.java49 .that(set).isTrue(); in assertAutoFilled()
52 .that(actual).isEqualTo(expected); in assertAutoFilled()
DCustomDescriptionTest.java192 .that(line1.getContentDescription()).isEqualTo("First am I"), in validTransformationWithMultipleTemplateUpdates()
193 (line2) -> assertWithMessage("Wrong text for line2").that(line2.getText()) in validTransformationWithMultipleTemplateUpdates()
240 .that(line1.getText()).isEqualTo("L1-u"); in multipleBatchUpdatesTest()
245 .that(line2.getText()).isEqualTo("L2-u"); in multipleBatchUpdatesTest()
253 .that(line3.getText()).isEqualTo("L3-p"); in multipleBatchUpdatesTest()
302 .that(line1.getText()).isEqualTo("L1-u"); in testBatchUpdatesApplyUpdateFirstThenTransformations()
304 .that(line2.getText()).isEqualTo("L2-u"); in testBatchUpdatesApplyUpdateFirstThenTransformations()
306 .that(line3.getText()).isEqualTo("L3-p"); in testBatchUpdatesApplyUpdateFirstThenTransformations()
504 .that(saveUi.findObject(By.res(mPackageName, "static_text"))).isNull(); in assertSaveUiWithoutCustomDescriptionIsShown()
526 .that(line1.getText()).isEqualTo(expectedTextOnFirst), in assertSaveUiIsShownWithTwoLines()
[all …]
DUiBot.java177 assertWithMessage("wrong dataset names").that(getChildrenAsText(picker)) in assertDatasets()
199 assertWithMessage("wrong dataset names").that(getChildrenAsText(picker)) in assertDatasetsContains()
225 .that(getChildrenAsText(headerView))
235 assertWithMessage("wrong elements on dataset picker").that(getChildrenAsText(picker))
303 assertWithMessage("No node with text '%s'", text).that(object).isNotNull();
315 assertWithMessage("Find node with text '%s'", text).that(object).isNull();
324 assertWithMessage("No node with content description '%s'", contentDescription).that(object)
504 assertWithMessage("save title (%s) is not shown", RESOURCE_ID_SAVE_TITLE).that(titleView)
509 assertWithMessage("save icon (%s) is not shown", RESOURCE_ID_SAVE_ICON).that(iconView)
542 assertWithMessage("save subtitle(%s)", description).that(saveSubTitle).isNotNull();
[all …]
DLoginWithStringsActivityTest.java107 assertWithMessage("Wrong login msg").that(loginMessage).isEqualTo(AUTHENTICATION_MESSAGE); in testAutoFillOneDatasetAndSave()
115 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutoFillOneDatasetAndSave()
139 assertWithMessage("extras not passed on save").that(extraValue).isEqualTo("4815162342"); in testAutoFillOneDatasetAndSave()
DAbstractAutoFillActivity.java107 assertWithMessage("already registered").that(mCallback).isNull(); in registerCallback()
120 assertWithMessage("not registered").that(mCallback).isNotNull(); in unregisterCallback()
/cts/apps/CameraITS/tests/inprog/scene2/
DREADME5 the setup that they require.
7 If a test requires that the camera be in any particular orientaion, it will
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale26 However, the version that was used most often for benchmarking has
35 one C version of Dhrystone such that results can be compared without
45 statements. It has turned out in the past that optimizing compilers
48 danger that benchmarking results obtained by a naive application of
49 Dhrystone - without inspection of the code that was generated - could
52 The overall policiy for version 2 has been that the distribution of
64 of representative programs that can be used as benchmarks; users should
76 In general, version 2 follows - in the parts that are significant for
81 Reinhold Weicker. (However, the differences have been so small that
93 However, it turned out that it is not enough just to inclose the main
[all …]
/cts/hostsidetests/theme/
DREADME18 The Android theme tests ensure that the Holo and Material themes have not been
20 specific themes and widgets that must be identical across devices. To pass the
21 theme tests, a device must be able to generate images that are identical to the
70 There is an option to build locally an Android system image and use an emulator that is stored in
87 a set for each possible DPI bucket (tvdpi, xxhdpi, etc.) that may be tested.
111 tests for that density, you can manually force scaling via:
122 1. Connect the device that you wish to test. Confirm that is is connected with:
/cts/tests/autofillservice/src/android/autofillservice/cts/common/
DREADME.txt1 This package contains utilities that are not tied to Autofill and might eventually move to
/cts/tests/tests/location/
DREADME.txt1 Location CTS tests that require "android.permission.ACCESS_FINE_LOCATION".
/cts/apps/CameraITS/
D.gitignore1 # Ignore files that are created asa result of running the ITS tests.
/cts/tests/tests/location2/
DREADME.txt1 Location CTS tests that require "android.permission.ACCESS_COARSE_LOCATION", but not
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dluts_for_speedup_f32.rsh10 // A lookup table that heuristically computes the probability that a layer with
43 // is, a depth value x that has a larger value (closer to the camera)
62 // A lookup table that pre-computes x coordinate of the intersection between a
Dlayer_info.rsh4 // An object that contains the front and back depths values of a layer
12 // An object that contains parameters used for computing matte for the current
/cts/tests/tests/icu/resources/android/icu/cts/expectations/
Dicu-known-failures.txt2 * This file contains expectations for tests that are known to fail.
5 // Uncomment this to exclude all tests and then add result: "SUCCESS" to any specific tests that

1234