Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DListeningPortsTest.java239 StringBuilder contents = new StringBuilder(); in parse() local
243 contents.append("'"); in parse()
247 contents.append(scanner.nextLine() + "\n"); in parse()
254 contents.append("'"); in parse()
255 return contents.toString(); in parse()
/cts/tests/app/StorageDelegator/src/com/android/test/storagedelegator/
DStorageDelegator.java52 final String contents = getIntent().getStringExtra(EXTRA_CONTENTS); in onCreate() local
53 Log.i(TAG, "onHandleIntent: path=" + path + ", content=" + contents); in onCreate()
62 Files.write(file.toPath(), contents.getBytes()); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java145 file1.contents = "fileone".getBytes(); in resetRoots()
153 file2.contents = "filetwo".getBytes(); in resetRoots()
163 virtualFile.contents = "Converted contents.".getBytes(); in resetRoots()
172 webLinkableFile.contents = "Fake contents.".getBytes(); in resetRoots()
182 file3.contents = "filethree".getBytes(); in resetRoots()
192 file4.contents = "filefour".getBytes(); in resetRoots()
212 public byte[] contents; field in MyDocumentsProvider.Doc
399 doc.contents = readFullyNoClose(is); in openDocumentUnchecked()
418 while (doc.contents == null) { in openDocumentUnchecked()
421 os.write(doc.contents); in openDocumentUnchecked()
[all …]
/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogDaemonTest.java96 String contents = runShellCommand("dumpsys %s --stop_perf", CAR_WATCHDOG_SERVICE_NAME); in testRecordsIoPerformanceData() local
97 Log.i(TAG, "stop results:" + contents); in testRecordsIoPerformanceData()
99 contents).isNotEmpty(); in testRecordsIoPerformanceData()
100 long recordedBytes = parseDump(contents, UserHandle.getUserId(Process.myUid()), in testRecordsIoPerformanceData()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java159 byte[] contents = new byte[CtsDownloadService.SAMPLE_FILE_DATA.length]; in checkFileContentIntegrity()
160 is.read(contents); in checkFileContentIntegrity()
161 for (int i = 0; i < contents.length; i++) { in checkFileContentIntegrity()
162 assertEquals(contents[i], CtsDownloadService.SAMPLE_FILE_DATA[i]); in checkFileContentIntegrity()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dstruct_field.rscript92 // Compare contents of a struct InnerOne instance against incoming argument values.
104 // Compare contents of a struct InnerOne instance within global
110 // Compare contents of element of array of struct InnerOne
116 // Compare contents of element of array of struct InnerTwo
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_InstanceNonce.c86 static jshort contents[] = { 10, 20, 30 }; in InstanceNonce_returnShortArray() local
94 (*env)->SetShortArrayRegion(env, result, 0, 3, contents); in InstanceNonce_returnShortArray()
102 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.c86 static jshort contents[] = { 10, 20, 30 }; in StaticNonce_returnShortArray() local
94 (*env)->SetShortArrayRegion(env, result, 0, 3, contents); in StaticNonce_returnShortArray()
101 static const char *contents[] = { "blort", "zorch", "fizmo" }; in StaticNonce_returnStringArray() local
123 jstring s = (*env)->NewStringUTF(env, contents[i]); in StaticNonce_returnStringArray()
/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/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java278 StringBuilder contents = new StringBuilder(); in readFileContent() local
283 contents.append(scanner.nextLine()); in readFileContent()
293 return contents.toString(); in readFileContent()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java297 protected static void writeToFile(File file, String contents) throws Exception { in writeToFile() argument
302 out.print(contents); in writeToFile()
309 assertEquals(contents, actual); in writeToFile()
312 protected void writeToFileWithDelegator(File file, String contents) throws Exception { in writeToFileWithDelegator() argument
318 .putExtra(EXTRA_CONTENTS, contents) in writeToFileWithDelegator()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildUtilBase.java271 String contents = new String(charContents); in writeToFile() local
272 if (contents.equals(content)) { in writeToFile()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java857 private static void assertFileContains(File file, String contents) throws IOException { in assertFileContains() argument
859 byte[] expected = contents.getBytes("UTF-8"); in assertFileContains()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/apps/CtsVerifier/
DNOTICE.txt175 wherever such third-party notices normally appear. The contents
404 wherever such third-party notices normally appear. The contents
568 is covered only if its contents constitute a work based on the
978 such a program is covered only if its contents constitute a work based
1127 that the user who changes the contents of definitions files in the
1482 such a program is covered only if its contents constitute a work based
1631 that the user who changes the contents of definitions files in the
1916 is covered only if its contents constitute a work based on the
2288 is covered only if its contents constitute a work based on the
2717 wherever such third-party notices normally appear. The contents
[all …]