Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java113 file1.contents = "fileone".getBytes(); in resetRoots()
121 file2.contents = "filetwo".getBytes(); in resetRoots()
132 file3.contents = "filethree".getBytes(); in resetRoots()
142 file4.contents = "filefour".getBytes(); in resetRoots()
155 public byte[] contents; field in MyDocumentsProvider.Doc
246 doc.contents = readFullyNoClose(is); in openDocument()
265 while (doc.contents == null) { in openDocument()
268 os.write(doc.contents); in openDocument()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DReportExporter.java57 byte[] contents; in doInBackground()
60 contents = report.getContents().getBytes(); in doInBackground()
75 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/apps/CtsVerifier/src/com/android/cts/verifier/backup/
DBackupTestActivity.java153 StringBuilder contents = new StringBuilder(); in loadFile() local
158 contents.append(scanner.nextLine()); in loadFile()
168 items.add(new FileBackupItem(fileName, contents.toString())); in loadFile()
328 FileBackupItem(String name, String contents) {
330 mContents = contents;
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java167 private static void assertFileContains(File file, String contents) throws IOException { in assertFileContains() argument
169 byte[] expected = contents.getBytes("UTF-8"); in assertFileContains()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java824 String contents = new String(charContents);
825 if (contents.equals(content)) {
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js5300 contents: true, property
5499 contents: function( elem ) { method
5719 contents = self.contents();
5721 if ( contents.length ) {
5722 contents.wrapAll( html );
7155 contents: { property
7668 var contents = s.contents,
7693 for ( type in contents ) {
7694 if ( contents[ type ] && contents[ type ].test( ct ) ) {
7902 contents: { property
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex67366 private byte[] contents
93397 org.bouncycastle.asn1.DERString contents