Home
last modified time | relevance | path

Searched refs:TEST_STRING (Results 1 – 4 of 4) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DTranscodeHelperNoOpTest.java30 private static final String TEST_STRING = "foo"; field in TranscodeHelperNoOpTest
36 mTranscodeHelper.onAnrDelayStarted(TEST_STRING, 0, 0, 0); in testBasicFunctionality()
37 assertThat(mTranscodeHelper.transcode(TEST_STRING, TEST_STRING, 0, 0)).isFalse(); in testBasicFunctionality()
38 assertThat(mTranscodeHelper.prepareIoPath(TEST_STRING, 0)).isNull(); in testBasicFunctionality()
39 assertThat(mTranscodeHelper.shouldTranscode(TEST_STRING, 0, null)).isEqualTo(0); in testBasicFunctionality()
41 assertThat(mTranscodeHelper.supportsTranscode(TEST_STRING)).isFalse(); in testBasicFunctionality()
43 mTranscodeHelper.onFileOpen(TEST_STRING, TEST_STRING, 0, 0); in testBasicFunctionality()
44 assertThat(mTranscodeHelper.isTranscodeFileCached(TEST_STRING, TEST_STRING)).isFalse(); in testBasicFunctionality()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/
DArrayUtilsTest.kt26 assertThat(ArrayUtils.appendString(null, TEST_STRING)).isEqualTo(arrayOf(TEST_STRING)) in appendString_appendToNull_returnsArrayWithString()
38 val cur = arrayOf("a", "b", TEST_STRING) in appendString_duplicatedString_returnsArray()
39 assertThat(ArrayUtils.appendString(cur, TEST_STRING)).isEqualTo(cur) in appendString_duplicatedString_returnsArray()
51 val new = arrayOf(TEST_STRING) in appendString_appendToEmptyArray_returnsArrayWithNewString()
52 assertThat(ArrayUtils.appendString(cur, TEST_STRING)).isEqualTo(new) in appendString_appendToEmptyArray_returnsArrayWithNewString()
66 val new = arrayOf("old test", TEST_STRING) in appendString_appendNewString()
67 assertThat(ArrayUtils.appendString(cur, TEST_STRING)).isEqualTo(new) in appendString_appendNewString()
71 private const val TEST_STRING = "test" constant
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DDiagnosticHalServiceTest.java55 private static final String TEST_STRING = "1234"; field in DiagnosticHalServiceTest
124 int32Values, floatValues, new long[0], TEST_STRING, byteValues); in getTestFreezeFrame()
141 int32Values, floatValues, new long[0], TEST_STRING, byteValues); in getTestLiveFrame()
149 .withDtc(TEST_STRING).build(); in getTestFreezeEvent()
157 .withDtc(TEST_STRING).build(); in getTestLiveEvent()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DLinkifyUtilsTest.java35 private static final String TEST_STRING = "to LINK_BEGINscanning settingsLINK_END."; field in LinkifyUtilsTest
45 mSpanStringBuilder = new StringBuilder(TEST_STRING); in setUp()