Home
last modified time | relevance | path

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

123

/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreConfig.java242 static void dump(IndentingPrintWriter fout, Context context) { in dump() argument
244 fout.println(String.format(dumpFormat, KEY_IDLE_JOB_PERIOD_MS, in dump()
247 fout.println(String.format(dumpFormat, KEY_SESSION_EXPIRY_TIMEOUT_MS, in dump()
250 fout.println(String.format(dumpFormat, KEY_TOTAL_BYTES_PER_APP_LIMIT_FLOOR, in dump()
254 fout.println(String.format(dumpFormat, KEY_TOTAL_BYTES_PER_APP_LIMIT_FRACTION, in dump()
257 fout.println(String.format(dumpFormat, KEY_LEASE_ACQUISITION_WAIT_DURATION_MS, in dump()
260 fout.println(String.format(dumpFormat, KEY_COMMIT_COOL_OFF_DURATION_MS, in dump()
263 fout.println(String.format(dumpFormat, KEY_USE_REVOCABLE_FD_FOR_READS, in dump()
265 fout.println(String.format(dumpFormat, KEY_DELETE_ON_LAST_LEASE_DELAY_MS, in dump()
268 fout.println(String.format(dumpFormat, KEY_MAX_ACTIVE_SESSIONS, in dump()
[all …]
DBlobMetadata.java651 void dump(IndentingPrintWriter fout, DumpArgs dumpArgs) { in dump() argument
653 fout.println("blobHandle:"); in dump()
654 fout.increaseIndent(); in dump()
655 mBlobHandle.dump(fout, dumpArgs.shouldDumpFull()); in dump()
656 fout.decreaseIndent(); in dump()
657 fout.println("size: " + formatFileSize(mContext, getSize(), FLAG_IEC_UNITS)); in dump()
659 fout.println("Committers:"); in dump()
660 fout.increaseIndent(); in dump()
662 fout.println("<empty>"); in dump()
666 fout.println("committer " + committer.toString()); in dump()
[all …]
DBlobStoreSession.java554 void dump(IndentingPrintWriter fout, DumpArgs dumpArgs) { in dump() argument
556 fout.println("state: " + stateToString(mState)); in dump()
557 fout.println("ownerUid: " + mOwnerUid); in dump()
558 fout.println("ownerPkg: " + mOwnerPackageName); in dump()
559 fout.println("creation time: " + BlobStoreUtils.formatTime(mCreationTimeMs)); in dump()
560 fout.println("size: " + formatFileSize(mContext, getSize(), FLAG_IEC_UNITS)); in dump()
562 fout.println("blobHandle:"); in dump()
563 fout.increaseIndent(); in dump()
564 mBlobHandle.dump(fout, dumpArgs.shouldDumpFull()); in dump()
565 fout.decreaseIndent(); in dump()
[all …]
DBlobAccessMode.java138 void dump(IndentingPrintWriter fout) { in dump() argument
139 fout.println("accessType: " + DebugUtils.flagsToString( in dump()
141 fout.print("Explicitly allowed pkgs:"); in dump()
143 fout.println(" (Empty)"); in dump()
145 fout.increaseIndent(); in dump()
147 fout.println(mAllowedPackages.valueAt(i).toString()); in dump()
149 fout.decreaseIndent(); in dump()
DBlobStoreManagerService.java1252 private void dumpSessionsLocked(IndentingPrintWriter fout, DumpArgs dumpArgs) { in dumpSessionsLocked() argument
1259 fout.println("List of sessions in user #" in dumpSessionsLocked()
1261 fout.increaseIndent(); in dumpSessionsLocked()
1269 fout.println("Session #" + sessionId); in dumpSessionsLocked()
1270 fout.increaseIndent(); in dumpSessionsLocked()
1271 session.dump(fout, dumpArgs); in dumpSessionsLocked()
1272 fout.decreaseIndent(); in dumpSessionsLocked()
1274 fout.decreaseIndent(); in dumpSessionsLocked()
1279 private void dumpBlobsLocked(IndentingPrintWriter fout, DumpArgs dumpArgs) { in dumpBlobsLocked() argument
1280 fout.println("List of blobs (" + mBlobsMap.size() + "):"); in dumpBlobsLocked()
[all …]
/frameworks/base/cmds/idmap2/idmap2/
DCreate.cpp114 std::ofstream fout(idmap_path); in Create() local
115 if (fout.fail()) { in Create()
119 BinaryStreamVisitor visitor(fout); in Create()
121 fout.close(); in Create()
122 if (fout.fail()) { in Create()
DCreateMultiple.cpp126 std::ofstream fout(idmap_path); in CreateMultiple() local
127 if (fout.fail()) { in CreateMultiple()
132 BinaryStreamVisitor visitor(fout); in CreateMultiple()
134 fout.close(); in CreateMultiple()
135 if (fout.fail()) { in CreateMultiple()
/frameworks/av/media/libeffects/downmix/tests/
Ddownmixtest.cpp112 FILE *fout) { in DownmixExecute() argument
159 fout); in DownmixExecute()
167 FILE *fout) { in DowmixMainProcess() argument
188 err = DownmixExecute(pDescriptor, finp, fout); in DowmixMainProcess()
287 FILE *fout = fopen(outfile, "wb"); in main() local
288 if (fout == nullptr) { in main()
294 const int err = DowmixMainProcess(&descriptor, finp, fout); in main()
297 fclose(fout); in main()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobHandle.java223 public void dump(IndentingPrintWriter fout, boolean dumpFull) { in dump() argument
225 fout.println("algo: " + algorithm); in dump()
226 fout.println("digest: " + (dumpFull ? encodeDigest(digest) : safeDigest(digest))); in dump()
227 fout.println("label: " + label); in dump()
228 fout.println("expiryMs: " + expiryTimeMillis); in dump()
229 fout.println("tag: " + tag); in dump()
231 fout.println(toString()); in dump()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java3829 final IndentingPrintWriter fout = new IndentingPrintWriter(writer, " ");
3845 fout.println("Cleared snooze timestamps");
3849 fout.print("System ready: "); fout.println(mSystemReady);
3850 fout.print("Restrict background: "); fout.println(mRestrictBackground);
3851 fout.print("Restrict power: "); fout.println(mRestrictPower);
3852 fout.print("Device idle: "); fout.println(mDeviceIdleMode);
3853 fout.print("Restricted networking mode: "); fout.println(mRestrictedNetworkingMode);
3854 fout.print("Low Power Standby mode: "); fout.println(mLowPowerStandbyActive);
3856 fout.print("Metered ifaces: ");
3857 fout.println(mMeteredIfaces);
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFilePersistedSettings.java68 try (FileOutputStream fout = new FileOutputStream(stage)) { in writeBackupEnableState() argument
69 fout.write(enable ? 1 : 0); in writeBackupEnableState()
70 fout.close(); in writeBackupEnableState()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp190 std::ofstream fout(idmap_path); in createIdmap() local
191 if (fout.fail()) { in createIdmap()
195 BinaryStreamVisitor visitor(fout); in createIdmap()
197 fout.close(); in createIdmap()
198 if (fout.fail()) { in createIdmap()
275 std::ofstream fout(path); in createFabricatedOverlay() local
276 if (fout.fail()) { in createFabricatedOverlay()
279 auto result = frro->ToBinaryStream(fout); in createFabricatedOverlay()
284 if (fout.fail()) { in createFabricatedOverlay()
/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;
/frameworks/rs/tests/java_api/ImageProcessing2/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);
/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);
/frameworks/rs/tests/java_api/ImageProcessing_jb/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);
/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/base/services/core/java/com/android/server/notification/
DPulledStats.java55 FileOutputStream fout = new ParcelFileDescriptor.AutoCloseOutputStream( in toParcelFileDescriptor()
57 final ProtoOutputStream proto = new ProtoOutputStream(fout); in toParcelFileDescriptor()
60 fout.close(); in toParcelFileDescriptor()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java1647 protected void dump(FileDescriptor fd, final PrintWriter fout, String[] args) {
1648 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return;
1650 fout.println("disabled because the system is in safe mode.");
1654 fout.println("disabled because the third-party apps can't run yet.");
1661 fout.println("Trust manager state:");
1663 dumpUser(fout, user, user.id == mCurrentUser);
1669 private void dumpUser(PrintWriter fout, UserInfo user, boolean isCurrent) {
1670 fout.printf(" User \"%s\" (id=%d, flags=%#x)",
1673 fout.println("(managed profile)");
1674 fout.println(" disabled because switching to this user is not possible.");
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java240 protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump() argument
275 public void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in createInputMethodServiceInternal() argument
276 AbstractInputMethodService.this.dump(fd, fout, args); in createInputMethodServiceInternal()
/frameworks/rs/toolkit/
DBlur.cpp400 float4 *fout = (float4 *)buf; in kernelU4() local
404 OneVFU4(fout, pi, stride, mFp, mIradius * 2 + 1, mSizeX, mUsesSimd); in kernelU4()
408 OneVU4(mSizeY, fout, x1, y, mIn, stride, mFp, mIradius); in kernelU4()
409 fout++; in kernelU4()
466 float *fout = (float *)buf; in kernelU1() local
470 OneVFU1(fout, pi, stride, mFp, mIradius * 2 + 1, mSizeX, mUsesSimd); in kernelU1()
474 OneVU1(mSizeY, fout, x1, y, mIn, stride, mFp, mIradius); in kernelU1()
475 fout++; in kernelU1()

123