/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/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/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/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/packages/DocumentsUI/tests/src/com/android/documentsui/ |
H A D | DocumentsProviderHelper.java | 137 public void writeDocument(Uri documentUri, byte[] contents) argument 141 out.write(contents, 0, contents.length); 274 "Copied file contents differ",
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
H A D | ProcessExpressions.java | 216 public void addEntry(String name, String contents) { argument 217 mLayoutInfoMap.put(name, contents); 246 * we need to update its contents from the class that overrides it.
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | MakeCopy.java | 243 public void writeToFile(String canonicalName, String contents) { argument 250 writer.write(contents);
|
/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/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogMotion.java | 53 public VolumeDialogMotion(Dialog dialog, View dialogView, ViewGroup contents, View chevron, argument 57 mContents = contents;
|
/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/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/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/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/core/java/android/util/apk/ |
H A D | ApkSignatureSchemeV2Verifier.java | 196 * Verifies the contents of the provided APK file against the provided APK Signature Scheme v2 355 + " contents digest does not match the digest specified by a preceding signer"); 407 // avoid wasting physical memory. In most APK verification scenarios, the contents of the 436 throw new SecurityException("Failed to compute digest(s) of contents", e); 445 + " digest of contents did not verify"); 452 DataSource[] contents) throws DigestException { 454 // 1. Each segment of contents is split into consecutive chunks of 1 MB in size. 458 // length in bytes (uint32 little-endian) and the chunk's contents. 464 for (DataSource input : contents) { 503 for (DataSource input : contents) { 450 computeContentDigests( int[] digestAlgorithms, DataSource[] contents) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 863 unsigned char* contents = (unsigned char*)malloc(len); local 864 if (contents == NULL) { 878 amt = read(fd, contents, readLen); 885 if (data[i] != contents[i]) { 887 fprintf(stderr, "compare_file contents are different: (index, expected, actual)\n"); 890 fprintf(stderr, " [%-2d] %02x %02x\n", i, data[i], contents[i]); 894 free(contents); 1428 SCRATCH_DIR "data/e", // different contents (same mod time, same size) 1437 "data/e", // different contents (same mod time, same size)
|
H A D | AssetManager.cpp | 1296 * Scan the contents of the specified directory and merge them into the 1422 * Scan the contents of the specified directory, and stuff what we find 1484 * Scan the contents out of the specified Zip archive, and merge what we 1496 SortedVector<AssetDir::FileInfo> contents; local 1513 * the Zip table of contents are not in sorted order, so we have to 1563 contents.add(info); 1594 contents.add(info); 1597 mergeInfoLocked(pMergedInfo, &contents); 1606 * The merged contents will be stuffed into *pMergedInfo. 1628 * contents o [all...] |
/frameworks/native/libs/input/ |
H A D | KeyCharacterMap.cpp | 124 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, argument 129 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccCard.java | 628 public void sendEnvelopeWithStatus(String contents, Message response) { argument 629 mCi.sendEnvelopeWithStatus(contents, response);
|
/frameworks/base/core/java/android/os/ |
H A D | Debug.java | 1869 * Dumps the contents of VM reference tables (e.g. JNI locals and 2231 * @param contents true to include a hex dump of the contents of unreachable memory. 2234 public static native String getUnreachableMemory(int limit, boolean contents); argument
|
/frameworks/base/core/java/android/os/storage/ |
H A D | IMountService.java | 490 * contents. MountService will call back to the supplied 1892 String contents = data.readString(); 1893 setField(field, contents); 1900 String contents = getField(field); 1902 reply.writeString(contents); 2243 * only allows the calling process's UID access to the contents. 2420 * @param contents contents to set in field 2422 public void setField(String field, String contents) throws RemoteException; argument 2427 * @return contents o [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_Debug.cpp | 1049 jint limit, jboolean contents) 1051 std::string s = GetUnreachableMemoryString(contents, limit); 1048 android_os_Debug_getUnreachableMemory(JNIEnv* env, jobject clazz, jint limit, jboolean contents) argument
|