Home
last modified time | relevance | path

Searched refs:inputFile (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/cpp/evs/apps/default/src/
DTexWrapper.cpp59 FILE* inputFile = fopen(filename, "rb"); in createTextureFromPng() local
60 if (inputFile == 0) { in createTextureFromPng()
68 fread(header, 1, kSigSize, inputFile); in createTextureFromPng()
71 fclose(inputFile); in createTextureFromPng()
79 fclose(inputFile); in createTextureFromPng()
88 fclose(inputFile); in createTextureFromPng()
96 fclose(inputFile); in createTextureFromPng()
101 png_init_io(pngControl, inputFile); in createTextureFromPng()
135 fclose(inputFile); in createTextureFromPng()
145 fclose(inputFile); in createTextureFromPng()
[all …]
/packages/services/Car/cpp/evs/support_library/
DTexWrapper.cpp63 FILE* inputFile = fopen(filename, "rb"); in createTextureFromPng() local
64 if (inputFile == 0) { in createTextureFromPng()
72 fread(header, 1, kSigSize, inputFile); in createTextureFromPng()
75 fclose(inputFile); in createTextureFromPng()
83 fclose(inputFile); in createTextureFromPng()
92 fclose(inputFile); in createTextureFromPng()
100 fclose(inputFile); in createTextureFromPng()
105 png_init_io(pngControl, inputFile); in createTextureFromPng()
139 fclose(inputFile); in createTextureFromPng()
149 fclose(inputFile); in createTextureFromPng()
[all …]
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DCreateTzS2ProtoDataFile.java53 File inputFile, ProtoStorageFormat inputProtoFormat, File outputFile, in CreateTzS2ProtoDataFile() argument
55 this.mInputFile = Objects.requireNonNull(inputFile); in CreateTzS2ProtoDataFile()
66 public File inputFile; field in CreateTzS2ProtoDataFile.Arguments
90 File inputFile = arguments.inputFile; in main() local
100 inputFile, inputStorageFormat, outputFile, outputStorageFormat); in main()
DCanonicalizeTzS2Polygons.java151 for (File inputFile : inputFiles) { in execute()
152 errors.pushScope(inputFile.getName()); in execute()
153 processFile(timeZoneIds, inputFile, errors); in execute()
164 private void processFile(TimeZoneIds timeZoneIds, File inputFile, Errors errors) in processFile() argument
166 System.out.println("Reading " + inputFile); in processFile()
168 TzS2Polygons inputTzS2Polygons = TzS2Polygons.load(inputFile, mProtoFormat); in processFile()
DTypes.java85 public void load(Message.Builder builder, File inputFile) throws IOException { in load() argument
87 loadProtoAsText(builder, inputFile); in load()
89 loadProtoAsBinary(builder, inputFile); in load()
100 private static void loadProtoAsText(Message.Builder builder, File inputFile) in loadProtoAsText() argument
102 try (FileReader reader = new FileReader(inputFile)) { in loadProtoAsText()
107 private static void loadProtoAsBinary(Message.Builder builder, File inputFile) in loadProtoAsBinary() argument
109 try (FileInputStream inputStream = new FileInputStream(inputFile)) { in loadProtoAsBinary()
280 public static TzS2Polygons load(File inputFile, ProtoStorageFormat storageFormat) in load() argument
283 storageFormat.load(builder, inputFile); in load()
460 public static TzS2Ranges load(File inputFile, ProtoStorageFormat storageFormat) { in load() argument
[all …]
DGeoJsonTzToTzS2Polygons.java82 File inputFile, ExecutorService executorService, File outputDir, in GeoJsonTzToTzS2Polygons() argument
85 this.mInputFile = Objects.requireNonNull(inputFile); in GeoJsonTzToTzS2Polygons()
134 File inputFile = arguments.geoJsonFile; in main() local
145 inputFile, executorService, outputDir, protoStorageFormat, tzIds); in main()
/packages/services/Telephony/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/
DCreateSatS2File.java36 String inputFile = arguments.inputFile; in main() local
40 SatS2FileCreator.create(inputFile, s2Level, isAllowedList, outputFile); in main()
47 public String inputFile; field in CreateSatS2File.Arguments
DSatS2FileCreator.java54 public static void create(String inputFile, int s2Level, boolean isAllowedList, in create() argument
57 List<Long> s2Cells = readS2CellsFromFile(inputFile); in create()
139 private static List<Long> readS2CellsFromFile(String inputFile) throws Exception { in readS2CellsFromFile() argument
141 InputStream inputStream = new FileInputStream(inputFile); in readS2CellsFromFile()
DSatS2LocationLookup.java41 SatS2RangeFileReader.open(new File(arguments.inputFile))) { in main()
65 public String inputFile; field in SatS2LocationLookup.Arguments
/packages/modules/GeoTZ/tzs2storage/tools/src/java/com/android/timezone/location/tools/tzs2/
DCreateTzS2File.java45 public File inputFile; field in CreateTzS2File.Arguments
72 File inputFile = arguments.inputFile; in main() local
78 LicenseSupport.copyLicenseFile(inputFile.getParentFile(), outputFile.getParentFile()); in main()
81 try (FileReader reader = new FileReader(inputFile)) { in main()
/packages/modules/GeoTZ/data_pipeline/src/debug/java/com/android/timezone/location/data_pipeline/tools/
DPrintTzS2RangeStats.java37 private PrintTzS2RangeStats(File inputFile, ProtoStorageFormat storageFormat) { in PrintTzS2RangeStats() argument
38 this.mInputFile = Objects.requireNonNull(inputFile); in PrintTzS2RangeStats()
51 File inputFile = new File(args[0]); in main() local
54 new PrintTzS2RangeStats(inputFile, storageFormat).printMergedRangeCounts(); in main()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java285 final File inputFile = DebugUtils.getDebugFile(dumpFileName, false);
286 if (inputFile != null) {
290 fis = new FileInputStream(inputFile);
350 final File inputFile = getDebugFile(dumpFileName, false);
351 if (inputFile != null) {
352 final FileInputStream fis = new FileInputStream(inputFile);
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DTypes.java61 static KnownDifferences load(File inputFile) throws IOException { in load() argument
64 try (FileReader reader = new FileReader(inputFile)) { in load()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java188 public void onDownloadComplete(Uri inputFile, String mimeType, int downloadId,
192 startActivity(makeDirectlyOpenIntent(inputFile, mimeType));
199 runOnUiThread(() -> tryDeleteFile(inputFile));
251 private Intent makeDirectlyOpenIntent(Uri inputFile, String mimeType) { in makeDirectlyOpenIntent() argument
255 .setDataAndType(inputFile, mimeType); in makeDirectlyOpenIntent()
DDownloadService.java270 void onDownloadComplete(@NonNull Uri inputFile, @NonNull String mimeType, int downloadId, in onDownloadComplete() argument
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStatsCollection.java588 final AtomicFile inputFile = new AtomicFile(file); in readLegacyNetwork() local
592 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyNetwork()
634 final AtomicFile inputFile = new AtomicFile(file); in readLegacyUid() local
638 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyUid()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt361 inputFile: Uri, in makeDownloadCompleteCallback()