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

12

/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/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/docs/html/guide/
H A Dguide_toc.cs1 <?cs # Table of contents for Dev Guide.
/frameworks/opt/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/services/java/com/android/server/
H A DDropBoxManagerService.java288 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) {
337 out.append("Drop box contents: ").append(mAllFiles.contents.size()).append(" entries\n");
348 for (EntryFile entry : mAllFiles.contents) {
365 out.append(" (contents lost)\n");
443 public final TreeSet<EntryFile> contents = new TreeSet<EntryFile>(); field in class:DropBoxManagerService.FileList
504 * Creates a zero-length tombstone for a file whose contents were lost.
578 /** If never run before, scans disk contents to build in-memory tracking data. */
624 mAllFiles.contents.add(entry);
636 tagFiles.contents
[all...]
/frameworks/base/core/java/android/os/
H A DFileUtils.java142 * @return the contents of the file, possibly truncated
182 ByteArrayOutputStream contents = new ByteArrayOutputStream();
187 if (len > 0) contents.write(data, 0, len);
189 return contents.toString();
/frameworks/native/libs/utils/
H A DTokenizer.cpp106 const char* contents, Tokenizer** outTokenizer) {
108 const_cast<char*>(contents), false, strlen(contents));
105 fromContents(const String8& filename, const char* contents, Tokenizer** outTokenizer) argument
/frameworks/native/include/utils/
H A DTokenizer.h46 * Prepares to tokenize the contents of a string.
52 const char* contents, Tokenizer** outTokenizer);
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java150 // 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/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java304 public void sendTerminalResponse(String contents, Message response) { argument
307 public void sendEnvelope(String contents, Message response) { argument
310 public void sendEnvelopeWithStatus(String contents, Message response) { argument
/frameworks/base/services/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java176 String contents = IoUtils.readFileAsString(getContentFromIntent(i));
177 return contents.trim();
/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/core/java/android/app/backup/
H A DBackupAgent.java182 * 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/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVCardVerifier.java228 public void addVCardExceptionVerifier(String contents) { argument
229 mExceptionContents = contents;
254 // exception contents exists, we expect an exception to occur.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCommandsInterface.java1319 * @param contents String containing SAT/USAT response in hexadecimal
1324 public void sendTerminalResponse(String contents, Message response); argument
1330 * @param contents String containing SAT/USAT response in hexadecimal
1335 public void sendEnvelope(String contents, Message response); argument
1346 * @param contents String containing SAT/USAT response in hexadecimal
1351 public void sendEnvelopeWithStatus(String contents, Message response); argument
H A DRIL.java1807 public void sendTerminalResponse(String contents, Message response) { argument
1813 rr.mp.writeString(contents);
1820 public void sendEnvelope(String contents, Message response) { argument
1826 rr.mp.writeString(contents);
1833 public void sendEnvelopeWithStatus(String contents, Message response) { argument
1838 + '[' + contents + ']');
1840 rr.mp.writeString(contents);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp862 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 DAssetManager.cpp1243 * Scan the contents of the specified directory and merge them into the
1369 * Scan the contents of the specified directory, and stuff what we find
1431 * Scan the contents out of the specified Zip archive, and merge what we
1443 SortedVector<AssetDir::FileInfo> contents; local
1460 * the Zip table of contents are not in sorted order, so we have to
1507 contents.add(info);
1536 contents.add(info);
1539 mergeInfoLocked(pMergedInfo, &contents);
1548 * The merged contents will be stuffed into *pMergedInfo.
1570 * contents o
[all...]
H A DKeyCharacterMap.cpp122 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, argument
127 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer);
/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/include/androidfw/
H A DKeyCharacterMap.h74 /* Loads a key character map from its string contents. */
76 const char* contents, Format format, sp<KeyCharacterMap>* outMap);
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css94 .contents a:visited {
113 .contents a.qindexHL:visited {
189 div.contents {
/frameworks/native/opengl/libs/GLES_trace/
H A Dgltrace.proto541 repeated bytes contents = 3;
552 optional FrameBuffer fb = 7; // contents of the framebuffer
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java802 public void sendTerminalResponse(String contents, Message response) { argument
809 public void sendEnvelope(String contents, Message response) { argument
816 public void sendEnvelopeWithStatus(String contents, Message response) { argument
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.h780 // repeated bytes contents = 3;
784 inline const ::std::string& contents(int index) const;
793 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& contents() const;
1699 // repeated bytes contents = 3;
1706 inline const ::std::string& GLMessage_FrameBuffer::contents(int index) const { function in class:android::gltrace::GLMessage_FrameBuffer
1735 GLMessage_FrameBuffer::contents() const { function in class:android::gltrace::GLMessage_FrameBuffer

Completed in 2703 milliseconds

12