/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/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/base/services/core/java/com/android/server/ |
H A D | DropBoxManagerService.java | 294 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 D | LockSettingsStorage.java | 176 byte[] contents = readFile(name); 177 return contents != null && contents.length > 0;
|
/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/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 236 // 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 80 * @param contents expected envelope contents to send 85 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { argument 88 mExpectingSendEnvelopeContents = contents; 138 public synchronized void sendEnvelopeWithStatus(String contents, Message response) { argument 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 argument 535 sendEnvelope(String contents, Message response) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | ParceledListSlice.java | 130 int contents = 0; 132 contents |= mList.get(i).describeContents(); 134 return 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/core/java/android/os/ |
H A D | FileUtils.java | 223 * @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/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCommandInterface.java | 400 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
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 401 public void sendTerminalResponse(String contents, Message response) { argument 405 public void sendEnvelope(String contents, Message response) { argument 409 public void sendEnvelopeWithStatus(String contents, Message response) { argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | SELinuxMMAC.java | 419 * 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/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/java/android/app/backup/ |
H A D | BackupAgent.java | 216 * 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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CommandsInterface.java | 1440 * @param contents String containing SAT/USAT response in hexadecimal 1445 public void sendTerminalResponse(String contents, Message response); argument 1451 * @param contents String containing SAT/USAT response in hexadecimal 1456 public void sendEnvelope(String contents, Message response); argument 1467 * @param contents String containing SAT/USAT response in hexadecimal 1472 public void sendEnvelopeWithStatus(String contents, Message response); argument
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 868 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/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/webview/chromium/tools/ |
H A D | merge_from_chromium.py | 46 The contents of the specified file. 54 """Parses the DEPS file from Chromium and returns its contents. 57 deps_content: The contents of the DEPS file as text. 59 A dictionary of the contents of DEPS at the specified revision 333 contents = webview_licenses.GenerateNoticeFile() 336 f.write(contents)
|
/frameworks/native/include/input/ |
H A D | KeyCharacterMap.h | 74 /* 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 D | doxygen.css | 94 .contents a:visited { 113 .contents a.qindexHL:visited { 189 div.contents {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccCard.java | 522 public void sendEnvelopeWithStatus(String contents, Message response) { argument 523 mCi.sendEnvelopeWithStatus(contents, response);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraMetadataTest.java | 893 int[] contents = new int[] { 902 mMetadata.writeValues(key.getTag(), toByteArray(contents)); 929 new ReprocessFormatsMap(contents), 930 toByteArray(contents)
|
/frameworks/base/core/java/android/os/storage/ |
H A D | IMountService.java | 487 * 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/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 844 public void sendTerminalResponse(String contents, Message response) { argument 852 public void sendEnvelope(String contents, Message response) { argument 860 public void sendEnvelopeWithStatus(String contents, Message response) { argument
|