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

/frameworks/base/test-runner/src/junit/runner/
H A DClassPathTestCollector.java50 String[] contents= thisRoot.list();
51 if (contents != null) {
52 for (int i= 0; i < contents.length; i++)
53 gatherFiles(classRoot, classFileName+File.separatorChar+contents[i], result);
/frameworks/base/core/java/android/app/
H A DFullBackupAgent.java54 File[] contents = dir.listFiles();
55 if (contents != null) {
56 for (File f : contents) {
/frameworks/base/tests/CoreTests/android/core/
H A DGZIPStreamTest.java99 ByteArrayOutputStream contents = new ByteArrayOutputStream();
104 contents.write(buf, 0, len);
H A DZipStreamTest.java148 ByteArrayOutputStream contents = new ByteArrayOutputStream();
153 contents.write(buf, 0, len);
160 // + "', zero=" + contents.toByteArray()[0]
161 // + ", tfs=" + contents.toByteArray()[257]
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java246 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) {
295 out.append("Drop box contents: ").append(mAllFiles.contents.size()).append(" entries\n");
306 for (EntryFile entry : mAllFiles.contents) {
323 out.append(" (contents lost)\n");
394 public final TreeSet<EntryFile> contents = new TreeSet<EntryFile>(); field in class:DropBoxManagerService.FileList
455 * Creates a zero-length tombstone for a file whose contents were lost.
529 /** If never run before, scans disk contents to build in-memory tracking data. */
575 mAllFiles.contents.add(entry);
587 tagFiles.contents
[all...]
/frameworks/base/core/java/android/os/
H A DFileUtils.java153 * @return the contents of the file, possibly truncated
189 ByteArrayOutputStream contents = new ByteArrayOutputStream();
194 if (len > 0) contents.write(data, 0, len);
196 return contents.toString();
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java140 // Deletes the contents but not the given directory
142 File[] contents = dirname.listFiles();
143 if (contents != null) {
144 for (File f : contents) {
146 // delete the directory's contents then fall through
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java204 void writeFile(String name, String contents, int mode) { argument
207 out.print(contents);
/frameworks/base/libs/utils/
H A DBackupHelpers.cpp585 unsigned char* contents = (unsigned char*)malloc(len); local
586 if (contents == NULL) {
600 amt = read(fd, contents, readLen);
607 if (data[i] != contents[i]) {
609 fprintf(stderr, "compare_file contents are different: (index, expected, actual)\n");
612 fprintf(stderr, " [%-2d] %02x %02x\n", i, data[i], contents[i]);
616 free(contents);
1162 SCRATCH_DIR "data/e", // different contents (same mod time, same size)
1171 "data/e", // different contents (same mod time, same size)
H A DAssetManager.cpp984 * Scan the contents of the specified directory and merge them into the
1110 * Scan the contents of the specified directory, and stuff what we find
1172 * Scan the contents out of the specified Zip archive, and merge what we
1184 SortedVector<AssetDir::FileInfo> contents; local
1201 * the Zip table of contents are not in sorted order, so we have to
1248 contents.add(info);
1277 contents.add(info);
1280 mergeInfoLocked(pMergedInfo, &contents);
1289 * The merged contents will be stuffed into *pMergedInfo.
1311 * contents o
[all...]
/frameworks/base/tools/localize/
H A Dmerge_res_and_xliff.cpp60 string contents = value->ContentsToString(ANDROID_NAMESPACES); local
61 return contents != "";
/frameworks/base/docs/html/guide/
H A Dguide_toc.cs1 <?cs # Table of contents for Dev Guide.
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCommandsInterface.java1188 * @param contents String containing SAT/USAT response in hexadecimal
1193 public void sendTerminalResponse(String contents, Message response); argument
1199 * @param contents String containing SAT/USAT response in hexadecimal
1204 public void sendEnvelope(String contents, Message response); argument
H A DRIL.java1729 public void sendTerminalResponse(String contents, Message response) { argument
1735 rr.mp.writeString(contents);
1742 public void sendEnvelope(String contents, Message response) { argument
1748 rr.mp.writeString(contents);
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java786 public void sendTerminalResponse(String contents, Message response) { argument
793 public void sendEnvelope(String contents, Message response) { argument

Completed in 305 milliseconds