Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/cmds/idmap/
Dscan.cpp43 FILE* fout = fopen(filename, "a"); in writePackagesList() local
44 if (fout == NULL) { in writePackagesList()
48 if (TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_EX)) != 0) { in writePackagesList()
49 fclose(fout); in writePackagesList()
53 if (TEMP_FAILURE_RETRY(ftruncate(fileno(fout), 0)) != 0) { in writePackagesList()
54 TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_UN)); in writePackagesList()
55 fclose(fout); in writePackagesList()
61 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string()); in writePackagesList()
64 TEMP_FAILURE_RETRY(fflush(fout)); in writePackagesList()
65 TEMP_FAILURE_RETRY(flock(fileno(fout), LOCK_UN)); in writePackagesList()
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java891 protected void dump(FileDescriptor fd, final PrintWriter fout, String[] args) {
892 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return;
894 fout.println("disabled because the system is in safe mode.");
898 fout.println("disabled because the third-party apps can't run yet.");
905 fout.println("Trust manager state:");
907 dumpUser(fout, user, user.id == mCurrentUser);
913 private void dumpUser(PrintWriter fout, UserInfo user, boolean isCurrent) {
914 fout.printf(" User \"%s\" (id=%d, flags=%#x)",
917 fout.println("(managed profile)");
918 fout.println(" disabled because switching to this user is not possible.");
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2852 final IndentingPrintWriter fout = new IndentingPrintWriter(writer, " "); in dump()
2868 fout.println("Cleared snooze timestamps"); in dump()
2872 fout.print("System ready: "); fout.println(mSystemReady); in dump()
2873 fout.print("Restrict background: "); fout.println(mRestrictBackground); in dump()
2874 fout.print("Restrict power: "); fout.println(mRestrictPower); in dump()
2875 fout.print("Device idle: "); fout.println(mDeviceIdleMode); in dump()
2876 fout.print("Metered ifaces: "); fout.println(String.valueOf(mMeteredIfaces)); in dump()
2878 fout.println(); in dump()
2879 fout.println("Network policies:"); in dump()
2880 fout.increaseIndent(); in dump()
[all …]
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_approx_f.rsh53 float4 fout;
54 fout.rgb = in.rgb * lumen;
55 fout.w = in.w;
56 return fout;
Dvignette_f.rsh53 float4 fout;
54 fout.rgb = in.rgb * lumen;
55 fout.w = in.w;
Dfisheye_approx_f.rsh58 const float4 fout = rsSample(in_alloc, sampler, new_coord);
59 return fout;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvignette.rsh54 float4 fout;
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
57 return convert_uchar4(fout);
Dvignette_approx.rsh54 float4 fout;
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
57 return convert_uchar4(fout);
Dfisheye_approx.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
56 return rsPackColorTo8888(fout);
Dfisheye.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
56 return rsPackColorTo8888(fout);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette.rsh54 float4 fout;
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
57 return convert_uchar4(fout);
Dvignette_approx.rsh54 float4 fout;
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
57 return convert_uchar4(fout);
Dfisheye_approx.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
56 return rsPackColorTo8888(fout);
Dfisheye.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
56 return rsPackColorTo8888(fout);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvignette_approx.rsh54 float4 fout;
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
57 return convert_uchar4(fout);
Dvignette.rsh54 float4 fout;
55 fout.rgb = fin.rgb * lumen;
56 fout.w = fin.w;
57 return convert_uchar4(fout);
Dfisheye_approx.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
56 return rsPackColorTo8888(fout);
Dfisheye.rsh55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
56 return rsPackColorTo8888(fout);
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py136 fout = open(outFile, "w")
144 fout.write(line.replace(replace, withText))
146 fout.write(line)
148 fout.close()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp325 float4 *fout = (float4 *)buf; in kernelU4() local
329 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, 0, info->dim.x); in kernelU4()
333 OneVU4(info, fout, x1, y, pin, stride, cp->mFp, cp->mIradius); in kernelU4()
334 fout++; in kernelU4()
391 float *fout = (float *)buf; in kernelU1() local
395 OneVFU1(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, 0, info->dim.x); in kernelU1()
399 OneVU1(info, fout, x1, y, pin, stride, cp->mFp, cp->mIradius); in kernelU1()
400 fout++; in kernelU1()
/frameworks/base/services/core/java/com/android/server/
DCountryDetectorService.java211 protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump() argument
212 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return; in dump()
215 final Printer p = new PrintWriterPrinter(fout); in dump()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodWrapper.java209 protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump() argument
217 fout.println("Permission Denial: can't dump InputMethodManager from from pid=" in dump()
225 fd, fout, args, latch)); in dump()
228 fout.println("Timeout waiting for dump"); in dump()
231 fout.println("Interrupted waiting for dump"); in dump()
/frameworks/base/core/java/android/os/
DBinder.java518 FileOutputStream fout = new FileOutputStream(fd); in dump() local
519 PrintWriter pw = new FastPrintWriter(fout); in dump()
554 final FileOutputStream fout = new FileOutputStream(fd); in dumpAsync() local
555 final PrintWriter pw = new FastPrintWriter(fout); in dumpAsync()
576 protected void dump(@NonNull FileDescriptor fd, @NonNull PrintWriter fout, in dump() argument
609 FileOutputStream fout = new FileOutputStream(err != null ? err : out); in onShellCommand() local
610 PrintWriter pw = new FastPrintWriter(fout); in onShellCommand()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTracker.java517 public void dump(PrintWriter fout) { in dump() argument
518 fout.println("PackageTrackerState: " + toString()); in dump()
519 mPackageStatusStorage.dump(fout); in dump()
/frameworks/base/services/core/java/com/android/server/accounts/
DIAccountAuthenticatorCache.java55 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); in dump() argument

12