/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/writer/ |
H A D | JavaFileWriter.java | 24 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 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/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
H A D | AnnotationJavaFileWriter.java | 36 public void writeToFile(String canonicalName, String contents) { argument 43 writer.write(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/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
H A D | StaticAccessImportOnDemandTest.java | 58 private void assertText(String contents, TextView textView) { argument 59 assertEquals(contents, textView.getText().toString());
|
H A D | StaticAccessImportOnDemandWithConflictTest.java | 58 private void assertText(String contents, TextView textView) { argument 59 assertEquals(contents, textView.getText().toString());
|
H A D | StaticAccessTest.java | 61 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 D | UsbPortManager.java | 421 // Parse the sysfs file contents. 581 final String contents = readFile(portDir, SYSFS_PORT_SUPPORTED_MODES); 582 if (contents != null) { 583 if (contents.contains(PORT_MODE_DFP)) { 586 if (contents.contains(PORT_MODE_UFP)) { 594 final String contents = readFile(portDir, SYSFS_PORT_MODE); 595 if (contents != null) { 596 if (contents.equals(PORT_MODE_DFP)) { 599 if (contents.equals(PORT_MODE_UFP)) { 607 final String contents 682 writeFile(File dir, String filename, String contents) argument [all...] |
/frameworks/base/docs/html/ndk/downloads/ |
H A D | downloads_toc.cs | 1 <?cs # Table of contents for Dev Guide.
|
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
H A D | BaseCompilationTest.java | 141 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...] |
H A D | SimpleCompilationTest.java | 82 final String contents = FileUtils.readFileToString(layout); 85 contents.indexOf("android:tag=\"layout-sw100dp/main_0\"") > 0); 87 assertTrue("File has wrong tag:" + layout.getPath() + "\n" + contents, 88 contents.indexOf("android:tag=\"layout/main_0\"")
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | DropBoxManagerService.java | 334 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) { 383 out.append("Drop box contents: ").append(mAllFiles.contents.size()).append(" entries\n"); 394 for (EntryFile entry : mAllFiles.contents) { 411 out.append(" (contents lost)\n"); 494 public final TreeSet<EntryFile> contents = new TreeSet<EntryFile>(); field in class:DropBoxManagerService.FileList 555 * Creates a zero-length tombstone for a file whose contents were lost. 629 /** If never run before, scans disk contents to build in-memory tracking data. */ 675 mAllFiles.contents.add(entry); 687 tagFiles.contents [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | ObbBackupService.java | 135 File[] contents = dir.listFiles(); 136 if (contents != null) { 137 for (File f : contents) {
|
/frameworks/base/docs/html/ndk/samples/ |
H A D | samples_toc.cs | 1 <?cs # Table of contents for Dev Guide.
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 234 // 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 479 // skip packages where we have a data dir but no actual contents 480 String[] contents = (new File(mRestoreSetIncrementalDir, name)).list(); 481 if (contents != null && contents.length > 0) { 589 ArrayList<DecodedFilename> contents [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java.broken | 80 * @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 D | IdenticalCodeFolding.cpp | 183 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/data-binding/compilerCommon/src/main/java/android/databinding/tool/ |
H A D | DataBindingBuilder.java | 162 public void writeToFile(String canonicalName, String contents) { argument 170 IOUtils.write(contents, fos);
|
/frameworks/rs/api/ |
H A D | rs_io.spec | 32 Receive a new set of contents from the queue. 47 Send the contents of the Allocation to the queue.
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ParceledListSlice.java | 135 int contents = 0; 137 contents |= mList.get(i).describeContents(); 139 return contents;
|
/frameworks/base/tools/aapt2/util/ |
H A D | Files.cpp | 196 std::string contents; local 197 if (!android::base::ReadFileToString(path.toString(), &contents)) { 202 for (StringPiece line : util::tokenize<char>(contents, ' ')) {
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | ExpressionVisitor.java | 75 String contents = str.substring(1, str.length() - 1); 76 contents = contents.replace("\"", "\\\"").replace("\\`", "`"); 77 javaString = '"' + contents + '"';
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | reference_toc.cs | 1 <?cs # Table of contents for Dev Guide.
|
/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/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2On1Adapter.cpp | 83 hwc_display_contents_1_t* contents) 85 if (contents != nullptr) { 86 for (size_t l = 0; l < contents->numHwLayers; ++l) { 87 auto& layer = contents->hwLayers[l]; 91 std::free(contents); 1249 // Only prepare display contents for displays HWC1 knows about 1316 auto contents = static_cast<hwc_display_contents_1_t*>(std::malloc(size)); local 1317 std::memcpy(contents, mHwc1RequestedContents.get(), size); 1318 for (size_t layerId = 0; layerId < contents->numHwLayers; ++layerId) { 1319 auto& layer = contents 82 operator ()( hwc_display_contents_1_t* contents) argument 1327 setReceivedContents(HWC1Contents contents) argument 1866 auto contents = local 2465 auto& contents = mHwc1Contents[c]; local [all...] |