/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DumpOnFailure.java | 61 public Statement apply(Statement base, Description description) { in apply() argument 65 onTestSetup(description); in apply() 69 onTestFailure(description, t); in apply() 72 onTestTeardown(description); in apply() 78 private void onTestSetup(Description description) { 79 cleanDir(getDumpRoot(description).toFile()); 83 private void onTestTeardown(Description description) { 87 private void onTestFailure(Description description, Throwable t) { 88 Path root = getDumpRoot(description); 95 String fileName = getFilename(description, entry.getKey(), "png"); [all …]
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ScreenshotTestRule.java | 56 public Statement apply(Statement base, Description description) { in apply() argument 57 mClassName = description.getTestClass().getSimpleName(); in apply() 58 mTestMethod = description.getMethodName(); in apply() 60 return super.apply(base, description); in apply() 75 private void capture(Description description, String result) { in capture() argument 76 String fileName = description.getTestClass().getSimpleName() + "#" in capture() 77 + description.getMethodName(); in capture() 86 protected void finished(Description description) { in finished() argument 87 super.finished(description); in finished() 92 protected void failed(Throwable throwable, Description description) { in failed() argument [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | AccessibilityEventFilterUtils.java | 76 public void describeTo(Description description) { in describeTo() argument 77 description.appendText("Matching to type " + mType); in describeTo() 95 public void describeTo(Description description) { in describeTo() argument 96 description.appendText("With window change type " + mWindowChanges); in describeTo() 114 public void describeTo(Description description) { in describeTo() argument 115 description.appendText("With content change type " + mContentChanges); in describeTo() 124 public PropertyMatcher(T property, String description, in PropertyMatcher() argument 128 mDescription = description; in PropertyMatcher() 138 public void describeTo(Description description) { in describeTo() argument 139 description.appendText("Matching to " + mDescription + " " + mProperty.toString()); in describeTo() [all …]
|
/cts/libs/vogar-expect/src/vogar/expect/ |
D | Expectation.java | 40 private final String description; field in Expectation 57 …public Expectation(Result result, Pattern pattern, Set<String> tags, String description, long bug)… in Expectation() argument 58 if (result == null || description == null || pattern == null) { in Expectation() 60 "result=" + result + " description=" + description + " pattern=" + pattern); in Expectation() 63 this.description = description; in Expectation() 71 return description; in getDescription() 106 return "Expectation[description=" + description + " pattern=" + pattern.pattern() + "]"; in toString()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaItemTest.java | 34 MediaDescription description = new MediaDescription.Builder() in testBrowsableMediaItem() local 37 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_BROWSABLE); in testBrowsableMediaItem() 39 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem() 51 assertEquals(description.toString(), in testBrowsableMediaItem() 57 MediaDescription description = new MediaDescription.Builder() in testPlayableMediaItem() local 60 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_PLAYABLE); in testPlayableMediaItem() 62 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem() 74 assertEquals(description.toString(), in testPlayableMediaItem()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | RequiredPropertiesRule.java | 38 public void onBefore(Statement base, Description description) { in onBefore() argument 39 mRequiredProperties = getAllRequiredProperties(description); in onBefore() 41 final String testName = description.getClassName() + "#" + description.getMethodName(); in onBefore() 47 private ArraySet<Property> getAllRequiredProperties(Description description) { in getAllRequiredProperties() argument 49 RequiredProperties requiredProperties = description.getAnnotation(RequiredProperties.class); in getAllRequiredProperties() 54 for (Class<?> clazz = description.getTestClass(); in getAllRequiredProperties()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BeforeAfterRule.java | 28 public Statement apply(Statement base, Description description) { in apply() argument 33 onBefore(base, description); in apply() 37 onAfter(base, description); in apply() 43 protected void onBefore(Statement base, Description description) throws Throwable { 46 protected void onAfter(Statement base, Description description) throws Throwable {
|
D | Timeout.java | 139 public <T> T run(String description, Callable<T> job) throws Exception { in run() argument 140 return run(description, 100, job); in run() 157 public <T> T run(String description, long retryMs, Callable<T> job) throws Exception { in run() argument 158 if (TextUtils.isEmpty(description)) { in run() 179 Log.v(TAG, description + " failed at attempt #" + attempt + "; sleeping for " in run() 187 Log.w(TAG, description + " failed after " + attempt + " attempts and " + totalSlept + "ms: " in run() 189 throw new RetryableException(this, description); in run()
|
D | StateKeeperRule.java | 52 protected void preEvaluate(@SuppressWarnings("unused") Description description) { in preEvaluate() argument 58 protected void postEvaluate(@SuppressWarnings("unused") Description description) { in postEvaluate() argument 62 public Statement apply(Statement base, Description description) { in apply() argument 68 preEvaluate(description); in apply() 77 postEvaluate(description); in apply()
|
D | OnFailureRule.java | 38 public Statement apply(Statement base, Description description) { in apply() argument 46 Log.e(mLogTag, "Test failed: description=" + description + "\nThrowable=" + t); in apply() 47 onTestFailure(base, description, t); in apply() 54 protected abstract void onTestFailure(Statement base, Description description, Throwable t);
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BeforeAfterRule.java | 28 public Statement apply(Statement base, Description description) { in apply() argument 33 onBefore(base, description); in apply() 37 onAfter(base, description); in apply() 43 protected void onBefore(Statement base, Description description) throws Throwable { 46 protected void onAfter(Statement base, Description description) throws Throwable {
|
D | Timeout.java | 139 public <T> T run(String description, Callable<T> job) throws Exception { in run() argument 140 return run(description, 100, job); in run() 157 public <T> T run(String description, long retryMs, Callable<T> job) throws Exception { in run() argument 158 if (TextUtils.isEmpty(description)) { in run() 179 Log.v(TAG, description + " failed at attempt #" + attempt + "; sleeping for " in run() 187 Log.w(TAG, description + " failed after " + attempt + " attempts and " + totalSlept + "ms: " in run() 189 throw new RetryableException(this, description); in run()
|
D | StateKeeperRule.java | 52 protected void preEvaluate(@SuppressWarnings("unused") Description description) { in preEvaluate() argument 58 protected void postEvaluate(@SuppressWarnings("unused") Description description) { in postEvaluate() argument 62 public Statement apply(Statement base, Description description) { in apply() argument 68 preEvaluate(description); in apply() 77 postEvaluate(description); in apply()
|
D | OnFailureRule.java | 38 public Statement apply(Statement base, Description description) { in apply() argument 46 Log.e(mLogTag, "Test failed: description=" + description + "\nThrowable=" + t); in apply() 47 onTestFailure(base, description, t); in apply() 54 protected abstract void onTestFailure(Statement base, Description description, Throwable t);
|
/cts/tests/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 41 String description = "description"; in testParcel() local 44 RemoteAction reference = new RemoteAction(icon, title, description, action); in testParcel() 55 assertEquals(description, result.getContentDescription()); in testParcel() 65 String description = "description"; in testClone() local 68 RemoteAction reference = new RemoteAction(icon, title, description, action); in testClone() 76 assertEquals(description, result.getContentDescription()); in testClone()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestActivity.java | 177 public void testRunStarted(Description description) throws Exception { in testRunStarted() argument 187 public void testStarted(Description description) throws Exception { in testStarted() argument 189 getTestLogger().logTestStart(description.getMethodName()); in testStarted() 192 public void testFinished(Description description) throws Exception { in testFinished() argument 194 getTestLogger().logTestPass(description.getMethodName(), null /* testSummary */); in testFinished() 210 public void testIgnored(Description description) throws Exception { in testIgnored() argument 212 getTestLogger().logTestSkip(description.getMethodName(), description.toString()); in testIgnored()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | FailureType.java | 25 static FailureType mismatch(JDiffClassDescription description) { in mismatch() argument 26 return JDiffClassDescription.JDiffType.INTERFACE.equals(description.getClassType()) in mismatch() 30 static FailureType missing(JDiffClassDescription description) { in missing() argument 31 return JDiffClassDescription.JDiffType.INTERFACE.equals(description.getClassType()) in missing()
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DrmSupportInfoTest.java | 91 private static void checkSetAndGetDescription(String description) throws Exception { in checkSetAndGetDescription() argument 93 info.setDescription(description); in checkSetAndGetDescription() 94 assertEquals(info.getDescriprition(), description); in checkSetAndGetDescription() local 97 private static void checkSetInvalidDescription(String description) throws Exception { in checkSetInvalidDescription() argument 100 info.setDescription(description); in checkSetInvalidDescription() 101 fail("Description '" + description + "' was accepted for DrmSupportInfo"); in checkSetInvalidDescription()
|
/cts/tests/tests/icu/resources/android/icu/cts/expectations/ |
D | icu-known-failures.txt | 9 description: "Exclude all tests", 14 description: "Serialized forms have not been converted to use repackaged classes", 19 …description: "Checks differences in DecimalFormat classes from ICU4J and JDK but on Android java.t… 24 description: "Collation rules data has been removed from ICU4J data on Android", 36 description: "Unknown Language != Unknown language",
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_BitmapTest.cpp | 48 AHardwareBuffer_Desc description; in fillRgbaHardwareBuffer() local 49 AHardwareBuffer_describe(hardware_buffer, &description); in fillRgbaHardwareBuffer() 50 ASSERT_EQ(AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM, description.format); in fillRgbaHardwareBuffer() 59 for (int y = 0; y < description.width; ++y) { in fillRgbaHardwareBuffer() 60 for (int x = 0; x < description.height; ++x) { in fillRgbaHardwareBuffer()
|
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/ |
D | DalvikTest.java | 122 @Option(name = "run-name", description = "The name to use when reporting results") 125 @Option(name = "classpath", description = "Holds the paths to search when loading tests") 128 @Option(name = "dalvik-arg", description = "Holds arguments to pass to Dalvik") 132 description = "Holds arguments to pass to Dalvik when " + 137 description = "Holds arguments to pass to Dalvik only when " + 142 description = "Holds arguments to pass to the device-side test runner") 146 description = "The include filters of the test name to run.") 150 description = "The exclude filters of the test name to run.") 154 description="A file containing a list of line separated test classes and optionally" 159 description="A file containing a list of line separated test classes and optionally" [all …]
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/ |
D | ExpectationBasedFilter.java | 95 public boolean shouldRun(Description description) { in shouldRun() argument 99 Description testDescription = getTestDescription(description); in shouldRun() 118 private Description getTestDescription(Description description) { in getTestDescription() argument 119 List<Description> children = description.getChildren(); in getTestDescription() 122 return description; in getTestDescription()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/ |
D | ExpectationBasedFilter.java | 95 public boolean shouldRun(Description description) { in shouldRun() argument 99 Description testDescription = getTestDescription(description); in shouldRun() 118 private Description getTestDescription(Description description) { in getTestDescription() argument 119 List<Description> children = description.getChildren(); in getTestDescription() 122 return description; in getTestDescription()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | GnssCtsTestActivity.java | 187 public void testRunStarted(Description description) throws Exception { in testRunStarted() argument 212 public void testStarted(Description description) throws Exception { in testStarted() argument 217 mTextView.append("\n Running test: " + description.getMethodName()); in testStarted() 222 public void testFinished(Description description) throws Exception { in testFinished() argument 225 appendTestDetail("\n Test passed: " + description.getMethodName()); in testFinished() 226 mTestsResults.append("\n Test passed: " + description.getMethodName()); in testFinished() 247 public void testIgnored(Description description) throws Exception { in testIgnored() argument
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/data/ |
D | VideoProvider.java | 53 String description = "This is description of a movie."; in buildMedia() local 56 Movie movie = buildMovieInfo(category_name, title, description, studio); in buildMedia() 67 String description, in buildMovieInfo() argument 73 movie.setDescription(description); in buildMovieInfo()
|