Home
last modified time | relevance | path

Searched refs:fileContents (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DProcStatsUtilTest.java169 private String runReadNullSeparatedFile(String fileContents) throws IOException { in runReadNullSeparatedFile() argument
171 Files.write(tempFile.toPath(), fileContents.getBytes()); in runReadNullSeparatedFile()
177 private String runReadSingleLineProcFile(String fileContents) throws IOException { in runReadSingleLineProcFile() argument
179 Files.write(tempFile.toPath(), fileContents.getBytes()); in runReadSingleLineProcFile()
186 String fileContents, byte terminator) throws IOException { in runReadTerminatedProcFile() argument
188 Files.write(tempFile.toPath(), fileContents.getBytes()); in runReadTerminatedProcFile()
H A DProcLocksReaderTest.java83 private boolean runHasFileLocks(String fileContents, int pid) throws Exception { in runHasFileLocks() argument
85 Files.write(tempFile.toPath(), fileContents.getBytes()); in runHasFileLocks()
/aosp12/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
H A DDownloadServiceTest.kt330 val fileContents = "Test file contents" regex
331 val bis = ByteArrayInputStream(fileContents.toByteArray(StandardCharsets.UTF_8))
347 assertTrue(device.wait(Until.hasObject(By.text(fileContents)), TEST_TIMEOUT_MS))
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverySnapshotStorageTest.java107 byte[] fileContents = "<keyChainSnapshot></keyChainSnapshot>".getBytes( in get_deletesFileIfItIsInvalidSnapshot()
109 Files.write(fileContents, file); in get_deletesFileIfItIsInvalidSnapshot()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DBootReceiver.java539 String fileContents = FileUtils.readTextFile(file, maxSize, TAG_TRUNCATED); in addFileWithFootersToDropBox() local
540 String text = headers + fileContents + footers; in addFileWithFootersToDropBox()
542 if (tag.equals(TAG_TOMBSTONE) && fileContents.contains(">>> system_server <<<")) { in addFileWithFootersToDropBox()
/aosp12/packages/services/Car/tests/BugReportApp/libs/
H A Dgoogle-api-client-1.30.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/
H A Dgoogle-api-client-1.30.10.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/aosp12/packages/apps/TV/libs/m2/
H A Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/aosp12/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/aosp12/packages/apps/TV/libs/
H A Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...