/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/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/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 294 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) { 343 out.append("Drop box contents: ").append(mAllFiles.contents.size()).append(" entries\n"); 354 for (EntryFile entry : mAllFiles.contents) { 371 out.append(" (contents lost)\n"); 449 public final TreeSet<EntryFile> contents = new TreeSet<EntryFile>(); field in class:DropBoxManagerService.FileList 510 * Creates a zero-length tombstone for a file whose contents were lost. 584 /** If never run before, scans disk contents to build in-memory tracking data. */ 630 mAllFiles.contents.add(entry); 642 tagFiles.contents [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | VCardVerifier.java | 228 public void addVCardExceptionVerifier(String contents) { argument 229 mExceptionContents = contents; 254 // exception contents exists, we expect an exception to occur.
|
/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/libs/androidfw/ |
H A D | BackupHelpers.cpp | 862 unsigned char* contents = (unsigned char*)malloc(len); local 863 if (contents == NULL) { 877 amt = read(fd, contents, readLen); 884 if (data[i] != contents[i]) { 886 fprintf(stderr, "compare_file contents are different: (index, expected, actual)\n"); 889 fprintf(stderr, " [%-2d] %02x %02x\n", i, data[i], contents[i]); 893 free(contents); 1439 SCRATCH_DIR "data/e", // different contents (same mod time, same size) 1448 "data/e", // different contents (same mod time, same size)
|
H A D | AssetManager.cpp | 1258 * Scan the contents of the specified directory and merge them into the 1384 * Scan the contents of the specified directory, and stuff what we find 1446 * Scan the contents out of the specified Zip archive, and merge what we 1458 SortedVector<AssetDir::FileInfo> contents; local 1475 * the Zip table of contents are not in sorted order, so we have to 1522 contents.add(info); 1551 contents.add(info); 1554 mergeInfoLocked(pMergedInfo, &contents); 1563 * The merged contents will be stuffed into *pMergedInfo. 1585 * contents o [all...] |
/frameworks/native/libs/input/ |
H A D | KeyCharacterMap.cpp | 123 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, argument 128 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 396 public void sendTerminalResponse(String contents, Message response) { argument 400 public void sendEnvelope(String contents, Message response) { argument 404 public void sendEnvelopeWithStatus(String contents, Message response) { argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 80 * @param contents expected envelope contents to send 85 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { argument 88 mExpectingSendEnvelopeContents = contents; 138 public synchronized void sendEnvelopeWithStatus(String contents, Message response) { argument 141 for (int i = 0; i < contents.length(); i += 2) { 142 builder.append(contents.charAt(i)).append(contents.charAt(i+1)).append(' '); 147 Assert.assertEquals(mExpectingSendEnvelopeContents, contents); 527 public void sendTerminalResponse(String contents, Messag argument 531 sendEnvelope(String contents, Message response) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 842 public void sendTerminalResponse(String contents, Message response) { argument 850 public void sendEnvelope(String contents, Message response) { argument 858 public void sendEnvelopeWithStatus(String contents, Message response) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CommandsInterface.java | 1380 * @param contents String containing SAT/USAT response in hexadecimal 1385 public void sendTerminalResponse(String contents, Message response); argument 1391 * @param contents String containing SAT/USAT response in hexadecimal 1396 public void sendEnvelope(String contents, Message response); argument 1407 * @param contents String containing SAT/USAT response in hexadecimal 1412 public void sendEnvelopeWithStatus(String contents, Message response); argument
|
H A D | RIL.java | 1884 public void sendTerminalResponse(String contents, Message response) { argument 1890 rr.mParcel.writeString(contents); 1898 public void sendEnvelope(String contents, Message response) { argument 1904 rr.mParcel.writeString(contents); 1912 public void sendEnvelopeWithStatus(String contents, Message response) { argument 1917 + '[' + contents + ']'); 1919 rr.mParcel.writeString(contents);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace.pb.h | 899 // repeated bytes contents = 3; 903 inline const ::std::string& contents(int index) const; 912 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& contents() const; 1947 // repeated bytes contents = 3; 1954 inline const ::std::string& GLMessage_FrameBuffer::contents(int index) const { function in class:android::gltrace::GLMessage_FrameBuffer 1983 GLMessage_FrameBuffer::contents() const { function in class:android::gltrace::GLMessage_FrameBuffer
|