Home
last modified time | relevance | path

Searched refs:fileContent (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/powerstats/
H A DPowerStatsServiceTest.java304 byte[] fileContent = new byte[(int) incidentReport.length()]; in testWrittenMeterDataMatchesReadIncidentReportData()
305 fis.read(fileContent); in testWrittenMeterDataMatchesReadIncidentReportData()
348 byte[] fileContent = new byte[(int) incidentReport.length()]; in testWrittenModelDataMatchesReadIncidentReportData()
349 fis.read(fileContent); in testWrittenModelDataMatchesReadIncidentReportData()
396 fis.read(fileContent); in testWrittenResidencyDataMatchesReadIncidentReportData()
456 fis.read(fileContent); in testCorruptOnDeviceMeterStorage()
499 fis.read(fileContent); in testCorruptOnDeviceModelStorage()
540 fis.read(fileContent); in testCorruptOnDeviceResidencyStorage()
590 fis.read(fileContent); in testNotEnoughBytesAfterMeterLengthField()
634 fis.read(fileContent); in testNotEnoughBytesAfterModelLengthField()
[all …]
/aosp12/system/tools/hidl/hashing/
H A DHash.cpp57 std::string fileContent = fileStream.str(); in sha256File() local
61 SHA256(reinterpret_cast<const uint8_t*>(fileContent.c_str()), fileContent.size(), ret.data()); in sha256File()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/system/
H A DLicenseHtmlGeneratorFromXml.java211 String fileContent = readText(parser); in parse() local
212 if (!TextUtils.isEmpty(fileContent)) { in parse()
213 contentIdToFileContentMap.put(contentId, fileContent); in parse()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
H A DLicenseHtmlGeneratorFromXml.java222 String fileContent = readText(parser); in parse() local
223 if (!TextUtils.isEmpty(fileContent)) { in parse()
224 contentIdToFileContentMap.put(contentId, fileContent); in parse()
/aosp12/frameworks/native/libs/graphicsenv/
H A DGraphicsEnv.cpp93 std::string fileContent; in readConfig() local
94 if (!base::ReadFileToString(configFile, &fileContent)) { in readConfig()
98 std::vector<std::string> lines = base::Split(fileContent, "\n"); in readConfig()