Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DListeningPortsTest.java241 StringBuilder contents = new StringBuilder(); in parse() local
245 contents.append("'"); in parse()
249 contents.append(scanner.nextLine() + "\n"); in parse()
256 contents.append("'"); in parse()
257 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/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/car/src/android/car/cts/
DCarWatchdogDaemonTest.java101 String contents = runShellCommand(STOP_CUSTOM_PERF_COLLECTION_CMD); in testRecordsIoPerformanceData() local
102 Log.i(TAG, "stop results:" + contents); in testRecordsIoPerformanceData()
104 contents).isNotEmpty(); in testRecordsIoPerformanceData()
106 long recordedBytes = parseDump(contents, UserHandle.getUserId(Process.myUid()), in testRecordsIoPerformanceData()
/cts/hostsidetests/sample/
DREADME1 This 'sample' folder is a sample which illustrates the basic structure and contents of a CTS
/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/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.java279 StringBuilder contents = new StringBuilder(); in readFileContent() local
284 contents.append(scanner.nextLine()); in readFileContent()
294 return contents.toString(); in readFileContent()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java298 protected static void writeToFile(File file, String contents) throws Exception { in writeToFile() argument
303 out.print(contents); in writeToFile()
310 assertEquals(contents, actual); in writeToFile()
313 protected void writeToFileWithDelegator(File file, String contents) throws Exception { in writeToFileWithDelegator() argument
319 .putExtra(EXTRA_CONTENTS, contents) in writeToFileWithDelegator()
/cts/hostsidetests/gwp_asan/common/proto/
Dtombstone.proto58 // Note, may or may not contain the dump of the actual memory contents. Currently, on arm64, we
59 // only include metadata, and not the contents.
/cts/tests/sample/
DREADME1 This 'sample' folder is a sample which illustrates the basic structure and contents of a CTS module.
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_InstanceNonce.c165 static jshort contents[] = { 10, 20, 30 }; in InstanceNonce_returnShortArray() local
173 (*env)->SetShortArrayRegion(env, result, 0, 3, contents); in InstanceNonce_returnShortArray()
188 static const char *contents[] = { "blort", "zorch", "fizmo" }; in InstanceNonce_returnStringArray() local
209 jstring s = (*env)->NewStringUTF(env, contents[i]); in InstanceNonce_returnStringArray()
Dandroid_jni_cts_StaticNonce.c225 static jshort contents[] = { 10, 20, 30 }; in StaticNonce_returnShortArray() local
233 (*env)->SetShortArrayRegion(env, result, 0, 3, contents); in StaticNonce_returnShortArray()
247 static const char *contents[] = { "blort", "zorch", "fizmo" }; in StaticNonce_returnStringArray() local
269 jstring s = (*env)->NewStringUTF(env, contents[i]); in StaticNonce_returnStringArray()
/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/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DProcessor.java186 String contents = null; in generateWrapper() local
190 contents = Resources.toString(url, StandardCharsets.UTF_8); in generateWrapper()
205 out.write(contents); in generateWrapper()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioSimImpl.java683 public void sendEnvelope(int serial, String contents) { in sendEnvelope() argument
697 public void sendEnvelopeWithStatus(int serial, String contents) { in sendEnvelopeWithStatus() argument
712 public void sendTerminalResponseToSim(int serial, String contents) { in sendTerminalResponseToSim() argument
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java943 private static void assertFileContains(File file, String contents) throws IOException { in assertFileContains() argument
945 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/ ...