Searched refs:contents (Results 1 - 25 of 34) sorted by path

12

/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java216 * existing data with the contents of the backup. The backup data is
249 * The application is having its entire file system contents backed up. {@code data}
260 * <li>The contents of the {@link #getCacheDir()} directory</li>
261 * <li>The contents of the {@link #getNoBackupFilesDir()} directory</li>
262 * <li>The contents of the app's shared library directory</li>
336 * Write an entire file as part of a full-backup operation. The file's contents
452 // If it's a directory, enqueue its contents for scanning.
458 File[] contents = file.listFiles();
459 if (contents != null) {
460 for (File entry : contents) {
[all...]
/frameworks/base/core/java/android/content/pm/
H A DParceledListSlice.java130 int contents = 0;
132 contents |= mList.get(i).describeContents();
134 return contents;
/frameworks/base/core/java/android/os/
H A DFileUtils.java223 * @return the contents of the file, possibly truncated
264 ByteArrayOutputStream contents = new ByteArrayOutputStream();
269 if (len > 0) contents.write(data, 0, len);
271 return contents.toString();
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java487 * contents. MountService will call back to the supplied
1360 String contents = data.readString();
1361 setField(field, contents);
1368 String contents = getField(field);
1370 reply.writeString(contents);
1485 * only allows the calling process's UID access to the contents.
1657 * @param contents contents to set in field
1659 public void setField(String field, String contents) throws RemoteException; argument
1664 * @return contents o
[all...]
/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/core/java/com/android/internal/backup/
H A DLocalTransport.java236 // Deletes the contents but not the given directory
238 File[] contents = dirname.listFiles();
239 if (contents != null) {
240 for (File f : contents) {
242 // delete the directory's contents then fall through
444 // skip packages where we have a data dir but no actual contents
445 String[] contents = (new File(mRestoreSetIncrementalDir, name)).list();
446 if (contents != null && contents.length > 0) {
543 ArrayList<DecodedFilename> contents
[all...]
/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/docs/html/guide/
H A Dguide_toc.cs1 <?cs # Table of contents for Dev Guide.
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css94 .contents a:visited {
113 .contents a.qindexHL:visited {
189 div.contents {
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1301 * Scan the contents of the specified directory and merge them into the
1427 * Scan the contents of the specified directory, and stuff what we find
1489 * Scan the contents out of the specified Zip archive, and merge what we
1501 SortedVector<AssetDir::FileInfo> contents; local
1518 * the Zip table of contents are not in sorted order, so we have to
1570 contents.add(info);
1601 contents.add(info);
1604 mergeInfoLocked(pMergedInfo, &contents);
1613 * The merged contents will be stuffed into *pMergedInfo.
1635 * contents o
[all...]
H A DBackupHelpers.cpp868 unsigned char* contents = (unsigned char*)malloc(len); local
869 if (contents == NULL) {
883 amt = read(fd, contents, readLen);
890 if (data[i] != contents[i]) {
892 fprintf(stderr, "compare_file contents are different: (index, expected, actual)\n");
895 fprintf(stderr, " [%-2d] %02x %02x\n", i, data[i], contents[i]);
899 free(contents);
1445 SCRATCH_DIR "data/e", // different contents (same mod time, same size)
1454 "data/e", // different contents (same mod time, same size)
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java2022 String contents = scanner.useDelimiter("\\A").next();
2028 track.onData(contents.getBytes(), true /* eos */, ~0 /* runID: keep forever */);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java893 int[] contents = new int[] {
902 mMetadata.writeValues(key.getTag(), toByteArray(contents));
929 new ReprocessFormatsMap(contents),
930 toByteArray(contents)
/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/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...]
H A DLockSettingsStorage.java176 byte[] contents = readFile(name);
177 return contents != null && contents.length > 0;
H A DMountService.java2378 * @param contents contents to set in field
2381 public void setField(String field, String contents) throws RemoteException { argument
2387 event = mConnector.execute("cryptfs", "setfield", field, contents);
2396 * @return contents of field
2405 final String[] contents = NativeDaemonEvent.filterMessageList(
2409 for (String content : contents) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DSELinuxMMAC.java419 * Dump the contents of a byte array to a specified file.
456 final byte[] contents = IoUtils.readFileAsByteArray(file);
457 return MessageDigest.getInstance("SHA-1").digest(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/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java204 void writeFile(String name, String contents, int mode) { argument
207 out.print(contents);
/frameworks/native/include/input/
H A DKeyCharacterMap.h74 /* Loads a key character map from its string contents. */
76 const char* contents, Format format, sp<KeyCharacterMap>* outMap);
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp124 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, argument
129 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer);
/frameworks/native/opengl/libs/GLES_trace/
H A Dgltrace.proto837 repeated bytes contents = 3;
848 optional FrameBuffer fb = 7; // contents of the framebuffer
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp2163 // repeated bytes contents = 3;
2205 // repeated bytes contents = 3;
2208 3, this->contents(i), output);
2232 // repeated bytes contents = 3;
2236 this->contents(i));
H A Dgltrace.pb.h1090 // repeated bytes contents = 3;
1094 inline const ::std::string& contents(int index) const;
1103 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& contents() const;
2329 // repeated bytes contents = 3;
2336 inline const ::std::string& GLMessage_FrameBuffer::contents(int index) const { function in class:android::gltrace::GLMessage_FrameBuffer
2365 GLMessage_FrameBuffer::contents() const { function in class:android::gltrace::GLMessage_FrameBuffer

Completed in 1603 milliseconds

12