Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 12 of 12) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java143 file1.contents = "fileone".getBytes(); in resetRoots()
151 file2.contents = "filetwo".getBytes(); in resetRoots()
161 virtualFile.contents = "Converted contents.".getBytes(); in resetRoots()
170 webLinkableFile.contents = "Fake contents.".getBytes(); in resetRoots()
180 file3.contents = "filethree".getBytes(); in resetRoots()
190 file4.contents = "filefour".getBytes(); in resetRoots()
210 public byte[] contents; field in MyDocumentsProvider.Doc
383 doc.contents = readFullyNoClose(is); in openDocumentUnchecked()
402 while (doc.contents == null) { in openDocumentUnchecked()
405 os.write(doc.contents); in openDocumentUnchecked()
[all …]
/cts/tests/tests/telephony/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java148 byte[] contents = new byte[CtsDownloadService.SAMPLE_FILE_DATA.length]; in checkFileContentIntegrity()
149 is.read(contents); in checkFileContentIntegrity()
150 for (int i = 0; i < contents.length; i++) { in checkFileContentIntegrity()
151 assertEquals(contents[i], CtsDownloadService.SAMPLE_FILE_DATA[i]); in checkFileContentIntegrity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DReportExporter.java59 byte[] contents = mTestReport.getBytes(); in doInBackground()
74 out.write(contents); in doInBackground()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_InstanceNonce.c85 static jshort contents[] = { 10, 20, 30 }; in InstanceNonce_returnShortArray() local
93 (*env)->SetShortArrayRegion(env, result, 0, 3, contents); in InstanceNonce_returnShortArray()
101 static const char *contents[] = { "blort", "zorch", "fizmo" }; in InstanceNonce_returnStringArray() local
123 jstring s = (*env)->NewStringUTF(env, contents[i]); in InstanceNonce_returnStringArray()
Dandroid_jni_cts_StaticNonce.c85 static jshort contents[] = { 10, 20, 30 }; in StaticNonce_returnShortArray() local
93 (*env)->SetShortArrayRegion(env, result, 0, 3, contents); in StaticNonce_returnShortArray()
100 static const char *contents[] = { "blort", "zorch", "fizmo" }; in StaticNonce_returnStringArray() local
122 jstring s = (*env)->NewStringUTF(env, contents[i]); in StaticNonce_returnStringArray()
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java265 StringBuilder contents = new StringBuilder(); in readFileContent() local
270 contents.append(scanner.nextLine()); in readFileContent()
280 return contents.toString(); in readFileContent()
/cts/tests/tests/security/src/android/security/cts/
DBrowserTest.java207 private File stageFile(String name, String contents) throws Exception { in stageFile() argument
210 out.write(contents.getBytes(StandardCharsets.UTF_8)); in stageFile()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java775 String contents = new String(charContents);
776 if (contents.equals(content)) {
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java708 private static void assertFileContains(File file, String contents) throws IOException { in assertFileContains() argument
710 byte[] expected = contents.getBytes("UTF-8"); in assertFileContains()
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...