/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 338 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 349 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 361 uidWatcher.expect(WatchUidRunner.CMD_IDLE, null); in testUidImportanceListener() 362 uidWatcher.expect(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener() 377 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 392 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 401 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 421 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 489 uidWatcher.expect(WatchUidRunner.CMD_IDLE, null); in testBackgroundCheckService() 490 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, "NONE"); in testBackgroundCheckService() [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManagerTest.java | 67 final String expect = "OneTwoThreeFourFiveSixSevenEightNineTen"; in testAssetOperations() local 75 assertContextEquals(expect, inputStream); in testAssetOperations() 79 assertContextEquals(expect, inputStream); in testAssetOperations() 83 assertContextEquals(expect, assetFileDes.createInputStream()); in testAssetOperations() 87 assertContextEquals(expect, assetFileDes.createInputStream()); in testAssetOperations() 91 assertContextEquals(expect, assetFileDes.createInputStream()); in testAssetOperations() 206 private void assertContextEquals(final String expect, final InputStream inputStream) in assertContextEquals() argument 209 assertThat(bf.readLine()).isEqualTo(expect); in assertContextEquals()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/ |
D | ExpectationBasedFilter.java | 30 import vogar.expect.Expectation; 31 import vogar.expect.ExpectationStore; 32 import vogar.expect.ModeId; 33 import vogar.expect.Result;
|
/cts/tests/core/runner/src/com/android/cts/core/runner/ |
D | ExpectationBasedFilter.java | 30 import vogar.expect.Expectation; 31 import vogar.expect.ExpectationStore; 32 import vogar.expect.ModeId; 33 import vogar.expect.Result;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsTest.java | 211 mExpectedException.expect(ActionException.class); in testSetTextViewText() 225 mExpectedException.expect(Throwable.class); in testSetTextViewTextSize() 271 mExpectedException.expect(ActionException.class); in testSetImageViewResource() 331 mExpectedException.expect(ActionException.class); in testSetChronometer() 348 mExpectedException.expect(ActionException.class); in testSetChronometerCountDown() 374 mExpectedException.expect(ActionException.class); in testSetProgressBar() 494 mExpectedException.expect(ActionException.class); in testSetImageViewBitmap() 511 mExpectedException.expect(ActionException.class); in testSetBitmap() 526 mExpectedException.expect(ActionException.class); in testSetBoolean() 545 mExpectedException.expect(ActionException.class); in testSetCharSequence() [all …]
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_stream_builder.cpp | 79 static void try_opening_audio_stream(AAudioStreamBuilder *aaudioBuilder, Expect expect) { in try_opening_audio_stream() argument 83 if (expect == Expect::FAIL) { in try_opening_audio_stream() 86 } else if (expect == Expect::SUCCEED) { in try_opening_audio_stream() 102 static void runtest_aaudio_devices(int32_t deviceId, Expect expect) { in runtest_aaudio_devices() argument 106 try_opening_audio_stream(aaudioBuilder, expect); in runtest_aaudio_devices()
|
/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 256 expect(JsonToken.BEGIN_ARRAY); in beginArray() 264 expect(JsonToken.END_ARRAY); in endArray() 272 expect(JsonToken.BEGIN_OBJECT); in beginObject() 280 expect(JsonToken.END_OBJECT); in endObject() 286 private void expect(JsonToken expected) throws IOException { in expect() method in JsonReader
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | StrictFragment.java | 69 for (int expect : expected) { in checkState() 70 if (mState == expect) { in checkState()
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | WatchUidRunner.java | 130 public void expect(int cmd, String procState) { in expect() method in WatchUidRunner 131 expect(cmd, procState, mDefaultWaitTime); in expect() 134 public void expect(int cmd, String procState, long timeout) { in expect() method in WatchUidRunner
|
D | ServiceProcessController.java | 112 mUidWatcher.expect(WatchUidRunner.CMD_IDLE, null, timeout); in denyBackgroundOp() 113 mUidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, "NONE", timeout); in denyBackgroundOp()
|
/cts/libs/vogar-expect/src/vogar/expect/ |
D | Outcome.java | 17 package vogar.expect; 25 import vogar.expect.util.Strings;
|
D | ResultValue.java | 17 package vogar.expect;
|
D | Result.java | 17 package vogar.expect;
|
D | ModeId.java | 17 package vogar.expect;
|
D | Expectation.java | 17 package vogar.expect;
|
D | ExpectationStore.java | 17 package vogar.expect; 35 import vogar.expect.util.Log;
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | AccessibilityEventFilterUtils.java | 50 (event, expect) -> event.getSource() != null in filterForEventTypeWithResource() 51 && event.getSource().getViewIdResourceName().equals(expect)); in filterForEventTypeWithResource()
|
/cts/tools/release-parser/tests/resources/ |
D | build.prop | 59 ro.build.expect.bootloader=8996-012001-1804121206 60 ro.build.expect.baseband=8996-130181-1807171030
|
D | build.prop.pb.txt | 66 key: "ro.build.expect.bootloader" 82 key: "ro.build.expect.baseband"
|
/cts/libs/vogar-expect/src/vogar/expect/util/ |
D | LogOutput.java | 17 package vogar.expect.util;
|
D | Log.java | 17 package vogar.expect.util;
|
D | Strings.java | 18 package vogar.expect.util;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 1071 private static double distance(int expect, int actual, boolean isPremultiplied) { in distance() argument 1074 final int a2 = Color.alpha(expect); in distance() 1076 multiplyAlpha(Color.red(expect), a2); in distance() 1078 multiplyAlpha(Color.green(expect), a2); in distance() 1080 multiplyAlpha(Color.blue(expect), a2); in distance() 1083 final int r = Color.red(actual) - Color.red(expect); in distance() 1084 final int g = Color.green(actual) - Color.green(expect); in distance() 1085 final int b = Color.blue(actual) - Color.blue(expect); in distance()
|
D | MatrixTest.java | 524 String expect = "[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]"; in testToShortString() local 525 assertEquals(expect, mMatrix.toShortString()); in testToShortString()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkRequestTest.java | 254 private void assertCorrectlySatisfies(boolean expect, NetworkRequest request, in assertCorrectlySatisfies() argument 256 assertEquals(expect, request.canBeSatisfiedBy(nc)); in assertCorrectlySatisfies()
|