/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | TextSnapshotTest.java | 110 final TextSnapshot snapshot = in verify() local 113 assertThat(snapshot.getSurroundingText().getText()).isEqualTo(surroundingText.getText()); in verify() 114 assertThat(snapshot.getSurroundingText().getOffset()) in verify() 116 assertThat(snapshot.getSurroundingText().getSelectionStart()) in verify() 118 assertThat(snapshot.getSurroundingText().getSelectionEnd()) in verify() 121 assertThat(snapshot.getSelectionStart()) in verify() 123 assertThat(snapshot.getSelectionEnd()) in verify() 126 assertThat(snapshot.getCompositionStart()).isEqualTo(compositionStart); in verify() 127 assertThat(snapshot.getCompositionEnd()).isEqualTo(compositionEnd); in verify() 129 assertThat(snapshot.getCursorCapsMode()).isEqualTo(cursorCapsMode); in verify()
|
D | BaseInputConnectionTest.java | 609 final TextSnapshot snapshot = connection.takeSnapshot(); in verifyTextSnapshot() local 610 assertThat(snapshot).isNotNull(); in verifyTextSnapshot() 611 assertThat(snapshot.getSelectionStart()).isEqualTo(Selection.getSelectionStart(editable)); in verifyTextSnapshot() 612 assertThat(snapshot.getSelectionEnd()).isEqualTo(Selection.getSelectionEnd(editable)); in verifyTextSnapshot() 613 assertThat(snapshot.getCompositionStart()) in verifyTextSnapshot() 615 assertThat(snapshot.getCompositionEnd()) in verifyTextSnapshot() 617 assertThat(snapshot.getCursorCapsMode()) in verifyTextSnapshot() 619 final SurroundingText surroundingText = snapshot.getSurroundingText(); in verifyTextSnapshot() 639 assertThat(snapshot.getCursorCapsMode()) in verifyTextSnapshot()
|
D | InputConnectionWrapperTest.java | 185 final TextSnapshot snapshot = new TextSnapshot(new SurroundingText("text", 1, 2, 0), 1, 2, in testTakeSnapshot() local 187 doReturn(snapshot).when(ic).takeSnapshot(); in testTakeSnapshot() 188 assertSame(snapshot, wrapper.takeSnapshot()); in testTakeSnapshot()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/settingsstats/ |
D | SettingsStatsTests.java | 105 AtomsProto.SettingSnapshot snapshot = null; in testSettingsStatsReported() local 109 snapshot = settingSnapshot; in testSettingsStatsReported() 116 assertNotNull(snapshot); in testSettingsStatsReported() 120 assertThat(snapshot.getType()).isEqualTo( in testSettingsStatsReported() 122 assertThat(snapshot.getBoolValue()).isEqualTo(false); in testSettingsStatsReported() 123 assertThat(snapshot.getIntValue()).isEqualTo(newNetworkMode); in testSettingsStatsReported() 124 assertThat(snapshot.getFloatValue()).isEqualTo(0f); in testSettingsStatsReported() 125 assertThat(snapshot.getStrValue()).isEqualTo(""); in testSettingsStatsReported() 126 assertThat(snapshot.getUserId()).isEqualTo(0); in testSettingsStatsReported()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ |
D | ProcessMemoryStatsTests.java | 160 AtomsProto.ProcessMemorySnapshot snapshot = atom.getProcessMemorySnapshot(); in testProcessMemorySnapshot() local 161 if (snapshot.getUid() == uid) { in testProcessMemorySnapshot() 163 assertThat(snapshot.getProcessName()).isEqualTo(DeviceUtils.STATSD_ATOM_TEST_PKG); in testProcessMemorySnapshot() 164 } else if (snapshot.getProcessName().contains("/statsd")) { in testProcessMemorySnapshot() 166 } else if (snapshot.getProcessName().equals("system")) { in testProcessMemorySnapshot() 170 assertThat(snapshot.getPid()).isGreaterThan(0); in testProcessMemorySnapshot() 171 assertThat(snapshot.getAnonRssAndSwapInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot() 172 assertThat(snapshot.getAnonRssAndSwapInKilobytes()).isEqualTo( in testProcessMemorySnapshot() 173 snapshot.getAnonRssInKilobytes() + snapshot.getSwapInKilobytes()); in testProcessMemorySnapshot() 174 assertThat(snapshot.getRssInKilobytes()).isAtLeast(0); in testProcessMemorySnapshot() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SharedElementCallbackTest.java | 60 Parcelable snapshot = cb.onCaptureSharedElementSnapshot(originalView, matrix, screenBounds); in testSnapshot() local 61 assertNotNull(snapshot); in testSnapshot() 63 View view = cb.onCreateSnapshotView(context, snapshot); in testSnapshot()
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | PowerPolicyTestAnalyzer.java | 66 TestResultTable snapshot = new TestResultTable(); in getTestResults() local 74 parseAndAddTestEntry(snapshot, lines[i]); in getTestResults() 77 return snapshot; in getTestResults()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecodeAccuracyTestBase.java | 648 public Bitmap generateBitmapFromVideoViewSnapshot(VideoViewSnapshot snapshot) { in generateBitmapFromVideoViewSnapshot() argument 649 handler.post(snapshot); in generateBitmapFromVideoViewSnapshot() 650 synchronized (snapshot.getSyncObject()) { in generateBitmapFromVideoViewSnapshot() 652 snapshot.getSyncObject().wait(snapshot.SNAPSHOT_TIMEOUT_MS + 100); in generateBitmapFromVideoViewSnapshot() 659 if (!snapshot.isBitmapReady()) { in generateBitmapFromVideoViewSnapshot() 663 return snapshot.getBitmap(); in generateBitmapFromVideoViewSnapshot()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppProvider.java | 76 public void snapshot() { in snapshot() method in TestAppProvider
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppProviderTest.java | 331 mTestAppProvider.snapshot(); in query_afterRestore_returnsTestAppAgain() 343 mTestAppProvider.snapshot(); in query_afterRestoreWithAppAlreadyUsed_doesNotReturnTestAppAgain()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | LruCacheTest.java | 518 for (Map.Entry<T, T> entry : cache.snapshot().entrySet()) {
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DeviceState.java | 408 testApps().snapshot();
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 50096 method public final java.util.Map<K,V> snapshot();
|