Home
last modified time | relevance | path

Searched refs:fin (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/cmds/idmap2/idmap2/
DVerify.cpp46 std::ifstream fin(idmap_path); in Verify() local
47 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in Verify()
48 fin.close(); in Verify()
DDump.cpp52 std::ifstream fin(idmap_path); in Dump() local
53 const auto idmap = Idmap::FromBinaryStream(fin); in Dump()
54 fin.close(); in Dump()
DLookup.cpp190 std::fstream fin(idmap_path); in Lookup() local
191 auto idmap_header = IdmapHeader::FromBinaryStream(fin); in Lookup()
192 fin.close(); in Lookup()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java483 int[] fin = new int[arr.length]; in setValue() local
485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; in setValue()
487 return setValue(fin); in setValue()
491 int[] fin = new int[arr.length]; in setValue() local
493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); in setValue()
495 return setValue(fin); in setValue()
499 long[] fin = new long[arr.length]; in setValue() local
501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); in setValue()
503 return setValue(fin); in setValue()
507 byte[] fin = new byte[arr.length]; in setValue()
[all …]
/frameworks/base/tools/preload/
DPrintPsTree.java34 FileInputStream fin = new FileInputStream(args[0]); in main() local
36 new BufferedInputStream(fin)); in main()
DRoot.java153 FileInputStream fin = new FileInputStream(fileName); in fromFile() local
155 new BufferedInputStream(fin)); in fromFile()
/frameworks/base/cmds/idmap2/libidmap2/
DFileUtils.cpp70 std::ifstream fin(path); in ReadFile() local
71 str->append({std::istreambuf_iterator<char>(fin), std::istreambuf_iterator<char>()}); in ReadFile()
72 fin.close(); in ReadFile()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp103 std::ifstream fin(idmap_path); in verifyIdmap() local
104 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in verifyIdmap()
105 fin.close(); in verifyIdmap()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFilePersistedSettings.java46 try (FileInputStream fin = new FileInputStream(enableFile)) { in readBackupEnableState() argument
47 int state = fin.read(); in readBackupEnableState()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette.rsh49 const float4 fin = convert_float4(in);
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
Dvignette_approx.rsh49 const float4 fin = convert_float4(in);
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvignette_approx.rsh49 const float4 fin = convert_float4(in);
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
Dvignette.rsh49 const float4 fin = convert_float4(in);
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvignette_approx.rsh49 const float4 fin = convert_float4(in);
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
Dvignette.rsh49 const float4 fin = convert_float4(in);
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py135 fin = open(inFile)
137 for line in fin:
147 fin.close()
/frameworks/base/tools/aapt2/tools/
Dfix_resources.py42 with open(file_path) as fin:
43 return fin.read()
/frameworks/base/cmds/incidentd/src/
DIncidentService.cpp465 FILE* fin = fdopen(in, "r"); in onTransact() local
469 if (fin == NULL || fout == NULL || ferr == NULL) { in onTransact()
472 err = command(fin, fout, ferr, args); in onTransact()
476 if (fin != NULL) { in onTransact()
477 fflush(fin); in onTransact()
478 fclose(fin); in onTransact()
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp150 auto fin = file->OpenInputStream(); in CompileTable() local
151 if (fin->HadError()) { in CompileTable()
153 << "failed to open file: " << fin->GetError()); in CompileTable()
158 xml::XmlPullParser xml_parser(fin.get()); in CompileTable()
366 auto fin = file->OpenInputStream(); in CompileXml() local
367 if (fin->HadError()) { in CompileXml()
369 << "failed to open file: " << fin->GetError()); in CompileXml()
373 xmlres = xml::Inflate(fin.get(), context->GetDiagnostics(), path_data.source); in CompileXml()
/frameworks/base/tests/net/java/android/net/
DIpSecAlgorithmTest.java126 IpSecAlgorithm fin = IpSecAlgorithm.CREATOR.createFromParcel(p); in testParcelUnparcel() local
127 assertTrue("Parcel/Unparcel failed!", IpSecAlgorithm.equals(init, fin)); in testParcelUnparcel()
/frameworks/base/cmds/idmap2/tests/
DIdmap2BinaryTests.cpp100 std::ifstream fin(GetIdmapPath()); in TEST_F() local
101 const auto idmap = Idmap::FromBinaryStream(fin); in TEST_F()
102 fin.close(); in TEST_F()
/frameworks/base/libs/androidfw/
DAssetManager.cpp706 FILE* fin = fopen(pathOverlaysList, "r"); in addSystemOverlays() local
707 if (fin == NULL) { in addSystemOverlays()
712 if (TEMP_FAILURE_RETRY(flock(fileno(fin), LOCK_SH)) != 0) { in addSystemOverlays()
713 fclose(fin); in addSystemOverlays()
718 while (fgets(buf, sizeof(buf), fin)) { in addSystemOverlays()
750 TEMP_FAILURE_RETRY(flock(fileno(fin), LOCK_UN)); in addSystemOverlays()
752 fclose(fin); in addSystemOverlays()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java228 FileInputStream fin = null; in statsFromFile() local
230 fin = new FileInputStream(path); in statsFromFile()
231 byte[] data = readFully(fin); in statsFromFile()
239 if (fin != null) { in statsFromFile()
241 fin.close(); in statsFromFile()
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dreflection3264_foreach_mismatch.rscript13 int RS_KERNEL bb(float fin, double din) { return 0; }
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp783 uint32_t vsin, uint32_t vsout, bool fin, bool fout) { in One() argument
786 if (fin) { in One()

12