Home
last modified time | relevance | path

Searched refs:readFileAsString (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DCertBlacklisterTest.java54 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testClearBlacklistPubkey()
65 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testSetBlacklistPubkey()
75 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testChangeBlacklistPubkey()
82 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testMultiBlacklistPubkey()
89 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testInvalidMultiBlacklistPubkey()
96 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testInvalidCharsBlacklistPubkey()
106 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testLotsOfBlacklistedPubkeys()
114 String blacklist = IoUtils.readFileAsString(SERIAL_PATH); in testClearBlacklistSerial()
125 String blacklist = IoUtils.readFileAsString(SERIAL_PATH); in testSetBlacklistSerial()
135 String blacklist = IoUtils.readFileAsString(SERIAL_PATH); in testChangeBlacklistSerial()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DShutdownCheckPointsTest.java269 readFileAsString(dumpFiles[0].getAbsolutePath())); in testDumpToFile()
279 readFileAsString(dumpFiles[1].getAbsolutePath())); in testDumpToFile()
308 readFileAsString(dumpFiles[0].getAbsolutePath())); in testTooManyFilesDropsOlderOnes()
333 private String readFileAsString(String absolutePath) throws IOException { in readFileAsString() method in ShutdownCheckPointsTest
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java114 return IoUtils.readFileAsString(PINLIST_CONTENT_PATH); in readPins()
118 return IoUtils.readFileAsString("/data/misc/keychain/metadata/version"); in readCurrentVersion()
137 String content = IoUtils.readFileAsString("/data/misc/keychain/pins"); in getHashOfCurrentContent()
/frameworks/base/services/core/java/com/android/server/
DMemoryPressureUtil.java44 contents.append(IoUtils.readFileAsString(FILE)); in currentPsiState()
DDiskStatsService.java211 String jsonString = IoUtils.readFileAsString(DISKSTATS_DUMP_FILE); in reportCachedValues()
246 String jsonString = IoUtils.readFileAsString(DISKSTATS_DUMP_FILE); in reportCachedValuesProto()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java128 String strVersion = IoUtils.readFileAsString(updateVersion.getCanonicalPath()).trim(); in getCurrentVersion()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DFileUpdater.java291 return IoUtils.readFileAsString(file).trim(); in injectReadFromFileTrimmed()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsFileLoggerTest.java194 return new JSONObject(IoUtils.readFileAsString(mOutputFile.getAbsolutePath())); in getOutputFileAsJson()
DDiskStatsLoggingServiceTest.java227 return new JSONObject(IoUtils.readFileAsString(mInputFile.getAbsolutePath())); in getJsonOutput()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java368 IoUtils.readFileAsString(rollbackJsonFile.getAbsolutePath())); in loadRollback()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DRulesManagerServiceTest.java899 return IoUtils.readFileAsString(file.getAbsolutePath()); in doDumpCallAndCapture()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java325 return IoUtils.readFileAsString(idFile.getAbsolutePath());
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2624 String jsonStr = IoUtils.readFileAsString(DiskStatsLoggingService.DUMPSYS_CACHE_PATH);
2663 String jsonStr = IoUtils.readFileAsString(DiskStatsLoggingService.DUMPSYS_CACHE_PATH);