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

123

/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/writer/
H A DJavaFileWriter.java24 public abstract void writeToFile(String canonicalName, String contents); argument
25 public void writeToFile(File exactPath, String contents) { argument
30 FileUtils.writeStringToFile(exactPath, contents);
/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/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DAnnotationJavaFileWriter.java36 public void writeToFile(String canonicalName, String contents) { argument
43 writer.write(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/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DStaticAccessImportOnDemandTest.java58 private void assertText(String contents, TextView textView) { argument
59 assertEquals(contents, textView.getText().toString());
H A DStaticAccessImportOnDemandWithConflictTest.java58 private void assertText(String contents, TextView textView) { argument
59 assertEquals(contents, textView.getText().toString());
H A DStaticAccessTest.java61 private void assertText(String contents, TextView textView) { argument
62 assertEquals(contents, textView.getText().toString());
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbPortManager.java413 // Parse the sysfs file contents.
573 final String contents = readFile(portDir, SYSFS_PORT_SUPPORTED_MODES);
574 if (contents != null) {
575 if (contents.contains(PORT_MODE_DFP)) {
578 if (contents.contains(PORT_MODE_UFP)) {
586 final String contents = readFile(portDir, SYSFS_PORT_MODE);
587 if (contents != null) {
588 if (contents.equals(PORT_MODE_DFP)) {
591 if (contents.equals(PORT_MODE_UFP)) {
599 final String contents
645 writeFile(File dir, String filename, String contents) argument
[all...]
/frameworks/base/docs/html/ndk/downloads/
H A Ddownloads_toc.cs1 <?cs # Table of contents for Dev Guide.
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DBaseCompilationTest.java141 InputStream contents = getClass().getResourceAsStream(name);
143 IOUtils.copy(contents, fos);
145 IOUtils.closeQuietly(contents);
163 final String contents = IOUtils.toString(inputStream);
166 StringBuilder out = new StringBuilder(contents.length());
167 final Matcher matcher = VARIABLES.matcher(contents);
172 out.append(contents, location, start);
181 if (location < contents.length()) {
182 out.append(contents, location, contents
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DDropBoxManagerService.java294 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");
454 public final TreeSet<EntryFile> contents = new TreeSet<EntryFile>(); field in class:DropBoxManagerService.FileList
515 * Creates a zero-length tombstone for a file whose contents were lost.
589 /** If never run before, scans disk contents to build in-memory tracking data. */
635 mAllFiles.contents.add(entry);
647 tagFiles.contents
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DObbBackupService.java135 File[] contents = dir.listFiles();
136 if (contents != null) {
137 for (File f : contents) {
/frameworks/base/docs/html/ndk/samples/
H A Dsamples_toc.cs1 <?cs # Table of contents for Dev Guide.
/frameworks/rs/api/
H A Drs_io.spec32 Receive a new set of contents from the queue.
43 Send the contents of the Allocation to the queue.
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java234 // Deletes the contents but not the given directory
236 File[] contents = dirname.listFiles();
237 if (contents != null) {
238 for (File f : contents) {
240 // delete the directory's contents then fall through
468 // skip packages where we have a data dir but no actual contents
469 String[] contents = (new File(mRestoreSetIncrementalDir, name)).list();
470 if (contents != null && contents.length > 0) {
578 ArrayList<DecodedFilename> contents
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java.broken80 * @param contents expected envelope contents to send
85 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) {
88 mExpectingSendEnvelopeContents = contents;
138 public synchronized void sendEnvelopeWithStatus(String contents, Message response) {
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);
531 public void sendTerminalResponse(String contents, Messag
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DIdenticalCodeFolding.cpp183 std::vector<std::string> contents(pCandidateList.size());
187 contents[index] = pCandidateList[index].getContentWithVariables(
190 (const uint8_t*)contents[index].c_str(),
191 contents[index].length());
201 if (contents[index].compare(contents[kept_index]) == 0) {
/frameworks/base/core/java/android/content/pm/
H A DParceledListSlice.java130 int contents = 0;
132 contents |= mList.get(i).describeContents();
134 return contents;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DExpressionVisitor.java74 String contents = str.substring(1, str.length() - 1);
75 contents = contents.replace("\"", "\\\"").replace("\\`", "`");
76 javaString = '"' + contents + '"';
/frameworks/base/docs/html/ndk/guides/
H A Dguides_toc.cs1 <?cs # Table of contents for Dev Guide.
/frameworks/base/docs/html/ndk/reference/
H A Dreference_toc.cs1 <?cs # Table of contents for Dev Guide.
/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/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessExpressions.java187 public void addEntry(String name, String contents) { argument
188 mLayoutInfoMap.put(name, contents);
/frameworks/base/core/java/android/os/
H A DFileUtils.java232 * @return the contents of the file, possibly truncated
273 ByteArrayOutputStream contents = new ByteArrayOutputStream();
278 if (len > 0) contents.write(data, 0, len);
280 return contents.toString();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java400 public void sendTerminalResponse(String contents, Message response) { argument
404 public void sendEnvelope(String contents, Message response) { argument
408 public void sendEnvelopeWithStatus(String contents, Message response) { argument

Completed in 846 milliseconds

123