Home
last modified time | relevance | path

Searched refs:propertiesFile (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/
DPayloadSpecsTest.java105 File propertiesFile = createMockPropertiesFile(); in forStreaming_works() local
107 PayloadSpec spec = mPayloadSpecs.forStreaming(url, offset, size, propertiesFile); in forStreaming_works()
116 File propertiesFile = new File(mTestDir, PackageFiles.PAYLOAD_PROPERTIES_FILE_NAME); in createMockPropertiesFile() local
117 Files.asCharSink(propertiesFile, Charsets.UTF_8).write(PROPERTIES_CONTENTS); in createMockPropertiesFile()
118 return propertiesFile; in createMockPropertiesFile()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DPayloadSpecs.java108 File propertiesFile) throws IOException { in forStreaming() argument
113 .properties(Files.readAllLines(propertiesFile.toPath())) in forStreaming()