/frameworks/base/core/java/android/util/ |
H A D | FastImmutableArraySet.java | 26 * 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/test-runner/src/junit/runner/ |
H A D | ClassPathTestCollector.java | 50 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/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 79 * @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/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 268 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/java/android/os/ |
H A D | FileUtils.java | 182 * @return the contents of the file, possibly truncated 218 ByteArrayOutputStream contents = new ByteArrayOutputStream(); 223 if (len > 0) contents.write(data, 0, len); 225 return contents.toString();
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 150 // Deletes the contents but not the given directory 152 File[] contents = dirname.listFiles(); 153 if (contents != null) { 154 for (File f : contents) { 156 // delete the directory's contents then fall through
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 298 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/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 204 void writeFile(String name, String contents, int mode) { argument 207 out.print(contents);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 182 * existing data with the contents of the backup. The backup data is 260 * Write an entire file as part of a full-backup operation. The file's contents 356 // If it's a directory, enqueue its contents for scanning. 362 File[] contents = file.listFiles(); 363 if (contents != null) { 364 for (File entry : contents) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CommandsInterface.java | 1389 * @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
|
H A D | RIL.java | 1768 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);
|
/frameworks/base/libs/utils/ |
H A D | BackupHelpers.cpp | 865 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 D | AssetManager.cpp | 1225 * 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/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 88 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 D | merge_res_and_xliff.cpp | 60 string contents = value->ContentsToString(ANDROID_NAMESPACES); local 61 return contents != "";
|
/frameworks/base/docs/html/guide/ |
H A D | guide_toc.cs | 1 <?cs # Table of contents for Dev Guide.
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 799 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
|