Searched defs:contents (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/util/
H A DFastImmutableArraySet.java26 * so it is worth copying the contents of the set to an array when iterating over it
34 public FastImmutableArraySet(T[] contents) { argument
35 mContents = contents;
59 public FastIterator(T[] contents) { argument
60 mContents = contents;
/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/services/java/com/android/server/
H A DDropBoxManagerService.java268 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) {
317 out.append("Drop box contents: ").append(mAllFiles.contents.size()).append(" entries\n");
328 for (EntryFile entry : mAllFiles.contents) {
345 out.append(" (contents lost)\n");
423 public final TreeSet<EntryFile> contents = new TreeSet<EntryFile>(); field in class:DropBoxManagerService.FileList
484 * Creates a zero-length tombstone for a file whose contents were lost.
558 /** If never run before, scans disk contents to build in-memory tracking data. */
604 mAllFiles.contents.add(entry);
616 tagFiles.contents
[all...]
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java88 assertTrue("path to contents file cannot be null!", pathToContentsFile != null);
456 * Helper to validate the contents of an "int" file in an OBB.
489 * Helper to validate the contents of a text file in an OBB
493 * @param contents A {@link String} containing the expected contents of the file
495 protected void doValidateTextContents(String path, String filename, String contents) { argument
502 textReader = new BufferedReader(new StringReader(contents));
520 * Helper to validate the contents of a "long" file on our OBBs
527 * @param checkContents If true, the contents of the file are actually verified; if false,
559 * @return The mounted path of the OBB, used to access contents i
[all...]
/frameworks/base/tools/localize/
H A Dmerge_res_and_xliff.cpp60 string contents = value->ContentsToString(ANDROID_NAMESPACES); local
61 return contents != "";
/frameworks/base/libs/utils/
H A DBackupHelpers.cpp865 unsigned char* contents = (unsigned char*)malloc(len); local
866 if (contents == NULL) {
880 amt = read(fd, contents, readLen);
887 if (data[i] != contents[i]) {
889 fprintf(stderr, "compare_file contents are different: (index, expected, actual)\n");
892 fprintf(stderr, " [%-2d] %02x %02x\n", i, data[i], contents[i]);
896 free(contents);
1442 SCRATCH_DIR "data/e", // different contents (same mod time, same size)
1451 "data/e", // different contents (same mod time, same size)
H A DAssetManager.cpp1225 * Scan the contents of the specified directory and merge them into the
1351 * Scan the contents of the specified directory, and stuff what we find
1413 * Scan the contents out of the specified Zip archive, and merge what we
1425 SortedVector<AssetDir::FileInfo> contents; local
1442 * the Zip table of contents are not in sorted order, so we have to
1489 contents.add(info);
1518 contents.add(info);
1521 mergeInfoLocked(pMergedInfo, &contents);
1530 * The merged contents will be stuffed into *pMergedInfo.
1552 * contents o
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java298 public void sendTerminalResponse(String contents, Message response) { argument
301 public void sendEnvelope(String contents, Message response) { argument
304 public void sendEnvelopeWithStatus(String contents, Message response) { argument
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java799 public void sendTerminalResponse(String contents, Message response) { argument
806 public void sendEnvelope(String contents, Message response) { argument
813 public void sendEnvelopeWithStatus(String contents, Message response) { argument
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java79 * @param contents expected envelope contents to send
84 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { argument
87 mExpectingSendEnvelopeContents = contents;
137 public synchronized void sendEnvelopeWithStatus(String contents, Message response) { argument
140 for (int i = 0; i < contents.length(); i += 2) {
141 builder.append(contents.charAt(i)).append(contents.charAt(i+1)).append(' ');
146 Assert.assertEquals(mExpectingSendEnvelopeContents, contents);
516 public void sendTerminalResponse(String contents, Messag argument
520 sendEnvelope(String contents, Message response) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DRIL.java1768 public void sendTerminalResponse(String contents, Message response) { argument
1774 rr.mp.writeString(contents);
1781 public void sendEnvelope(String contents, Message response) { argument
1787 rr.mp.writeString(contents);
1794 public void sendEnvelopeWithStatus(String contents, Message response) { argument
1799 + '[' + contents + ']');
1801 rr.mp.writeString(contents);
H A DCommandsInterface.java1389 * @param contents String containing SAT/USAT response in hexadecimal
1394 public void sendTerminalResponse(String contents, Message response); argument
1400 * @param contents String containing SAT/USAT response in hexadecimal
1405 public void sendEnvelope(String contents, Message response); argument
1416 * @param contents String containing SAT/USAT response in hexadecimal
1421 public void sendEnvelopeWithStatus(String contents, Message response); argument

Completed in 484 milliseconds