Home
last modified time | relevance | path

Searched refs:readFileAsString (Results 1 – 12 of 12) 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/powerservicetests/src/com/android/server/power/
DShutdownCheckPointsTest.java293 readFileAsString(dumpFiles[0].getAbsolutePath())); in testDumpToFile()
303 readFileAsString(dumpFiles[1].getAbsolutePath())); in testDumpToFile()
332 readFileAsString(dumpFiles[0].getAbsolutePath())); in testTooManyFilesDropsOlderOnes()
357 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/
DResourcePressureUtil.java48 contents.append(IoUtils.readFileAsString(filePath)); in readResourcePsiState()
DDiskStatsService.java209 String jsonString = IoUtils.readFileAsString(DISKSTATS_DUMP_FILE); in reportCachedValues()
244 String jsonString = IoUtils.readFileAsString(DISKSTATS_DUMP_FILE); in reportCachedValuesProto()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DOdsignStatsLogger.java53 String lines = IoUtils.readFileAsString(METRICS_FILE); in writeStats()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java128 String strVersion = IoUtils.readFileAsString(updateVersion.getCanonicalPath()).trim(); in getCurrentVersion()
/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.java382 IoUtils.readFileAsString(rollbackJsonFile.getAbsolutePath())); in loadRollback()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java333 return IoUtils.readFileAsString(idFile.getAbsolutePath());
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2962 String jsonStr = IoUtils.readFileAsString(DiskStatsLoggingService.DUMPSYS_CACHE_PATH);
3001 String jsonStr = IoUtils.readFileAsString(DiskStatsLoggingService.DUMPSYS_CACHE_PATH);