/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 372 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 383 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 395 uidWatcher.expect(WatchUidRunner.CMD_IDLE, null); in testUidImportanceListener() 396 uidWatcher.expect(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener() 411 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 426 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 435 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener() 455 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testUidImportanceListener() 527 uidWatcher.expect(WatchUidRunner.CMD_IDLE, null); in testBackgroundCheckService() 528 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 246 private static double distance(int expect, int actual, boolean isPremultiplied) { in distance() argument 249 final int a2 = Color.alpha(expect); in distance() 251 multiplyAlpha(Color.red(expect), a2); in distance() 253 multiplyAlpha(Color.green(expect), a2); in distance() 255 multiplyAlpha(Color.blue(expect), a2); in distance() 258 int r = Color.red(actual) - Color.red(expect); in distance() 259 int g = Color.green(actual) - Color.green(expect); in distance() 260 int b = Color.blue(actual) - Color.blue(expect); in distance()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ScrollCaptureTargetTest.java | 81 mExpectedException.expect(NullPointerException.class); in testConstructor_requiresNonNullTarget() 87 mExpectedException.expect(NullPointerException.class); in testConstructor_requiresNonNullVisibleRect() 93 mExpectedException.expect(NullPointerException.class); in testConstructor_requiresNonNullPosition() 99 mExpectedException.expect(NullPointerException.class); in testConstructor_requiresNonNullCallback()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_stream_builder.cpp | 80 static void try_opening_audio_stream(AAudioStreamBuilder *aaudioBuilder, Expect expect) { in try_opening_audio_stream() argument 84 if (expect == Expect::FAIL) { in try_opening_audio_stream() 87 } else if (expect == Expect::SUCCEED) { in try_opening_audio_stream() 103 static void runtest_aaudio_devices(int32_t deviceId, Expect expect) { in runtest_aaudio_devices() argument 107 try_opening_audio_stream(aaudioBuilder, expect); in runtest_aaudio_devices()
|
/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() 58 action, "Action", (event, expect) -> event.getAction() == action); in filterForEventTypeWithAction()
|
/cts/libs/vogar-expect/src/vogar/expect/ |
D | ResultValue.java | 17 package vogar.expect;
|
D | Result.java | 17 package vogar.expect;
|
D | ModeId.java | 17 package vogar.expect;
|
D | Outcome.java | 17 package vogar.expect; 25 import vogar.expect.util.Strings;
|
D | Expectation.java | 17 package vogar.expect;
|
D | ExpectationStore.java | 17 package vogar.expect; 35 import vogar.expect.util.Log;
|
/cts/tests/tests/instantapp/src/android/cts/instantapp/resolver/ |
D | ResolverServiceMethodFallbackTest.kt | 142 expectedException.expect(IllegalStateException::class.java) in <lambda>() 145 expectedException.expect(TestRemoteCallbackException::class.java) in <lambda>() 150 expectedException.expect(TestRemoteCallbackException::class.java) in <lambda>()
|
/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/fragment/src/android/fragment/cts/ |
D | StrictFragment.java | 69 for (int expect : expected) { in checkState() 70 if (mState == expect) { in checkState()
|
/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/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityShortcutSettingsRule.java | 218 for (String expect : expectedList) { in waitForShortcutStateChange() 219 if (!currentShortcuts.contains(expect)) { in waitForShortcutStateChange()
|
/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/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | WatchUidRunner.java | 131 public void expect(int cmd, String procState) { in expect() method in WatchUidRunner 132 expect(cmd, procState, mDefaultWaitTime); in expect() 135 public void expect(int cmd, String procState, long timeout) { in expect() method in WatchUidRunner
|
D | ServiceProcessController.java | 116 mUidWatcher.expect(WatchUidRunner.CMD_IDLE, null, timeout); in denyBackgroundOp() 117 mUidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, "NONE", timeout); in denyBackgroundOp()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/src/com/android/cts/packageinstallerpermissionrequestapp/ |
D | PermissionRequestTest.kt | 60 expectedException.expect(SecurityException::class.java) in setSelfAsInstallerAndWhitelistPermission()
|