Home
last modified time | relevance | path

Searched refs:dumpFile (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DPreRebootLogger.java100 final File dumpFile = new File(dumpDir, buffer); in dumpLogsLocked() local
101 if (dumpFile.createNewFile()) { in dumpLogsLocked()
102 dumpFile.setWritable(true /* writable */, true /* ownerOnly */); in dumpLogsLocked()
105 new FileWriter(dumpFile, false).flush(); in dumpLogsLocked()
109 {"logcat", "-d", "-b", buffer, "-f", dumpFile.getAbsolutePath()}; in dumpLogsLocked()
124 final File dumpFile = new File(dumpDir, serviceName); in dumpServiceLocked() local
125 final ParcelFileDescriptor fd = ParcelFileDescriptor.open(dumpFile, in dumpServiceLocked()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java62 File dumpFile = DEFAULT_DUMP_FILE; in run() local
69 dumpFile = new File(arg); in run()
99 AccessibilityNodeInfoDumper.dumpWindowToFile(info, dumpFile, rotation, size.x, size.y); in run()
107 String.format("UI hierchary dumped to: %s", dumpFile.getAbsolutePath())); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java83 File dumpFile = new File(leakDir, LEAK_DUMP); in dumpLeak() local
84 try (FileOutputStream fos = new FileOutputStream(dumpFile)) { in dumpLeak()
108 getIntent(hprofFile, dumpFile), in dumpLeak()
116 private Intent getIntent(File hprofFile, File dumpFile) { in getIntent() argument
117 Uri dumpUri = FileProvider.getUriForFile(mContext, FILEPROVIDER_AUTHORITY, dumpFile); in getIntent()
/frameworks/base/services/core/java/com/android/server/content/
DSyncLogger.java272 dumpFile(pw, new File(mLogPath, file)); in dumpAll()
277 private void dumpFile(PrintWriter pw, File file) { in dumpFile() method in SyncLogger.RotatingFileLogger
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, in dumpWindowToFile() argument
82 FileWriter writer = new FileWriter(dumpFile); in dumpWindowToFile()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java953 public static void dumpFile(String fileName, Bitmap data) { in dumpFile() method in CameraTestUtils
970 public static void dumpFile(String fileName, byte[] data) { in dumpFile() method in CameraTestUtils
1445 dumpFile(fileName, jpegData); in validateJpegData()
1461 dumpFile(fileName, yuvData); in validateYuvData()
1476 dumpFile(fileName, rawData); in validateRaw16Data()
1496 dumpFile(fileName, rawData); in validateRawPrivateData()
1513 dumpFile(fileName, depthData); in validateDepth16Data()
1530 dumpFile(fileName, depthData); in validateDepthPointCloudData()
1547 dumpFile(fileName, depthData); in validateDepthJpegData()
1859 dumpFile(jpegFilename, jpegBuffer); in verifyJpegKeys()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java774 File dumpFile = null; in logBatteryStatsLocked()
778 dumpFile = new File(DUMPSYS_DATA_PATH + BatteryStats.SERVICE_NAME + ".dump"); in logBatteryStatsLocked()
779 dumpStream = new FileOutputStream(dumpFile); in logBatteryStatsLocked()
784 db.addFile("BATTERY_DISCHARGE_INFO", dumpFile, DropBoxManager.IS_TEXT); in logBatteryStatsLocked()
798 if (dumpFile != null && !dumpFile.delete()) { in logBatteryStatsLocked()
800 + dumpFile.getAbsolutePath()); in logBatteryStatsLocked()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2StillCaptureTest.java24 import static com.android.mediaframeworktest.helpers.CameraTestUtils.dumpFile;
455 dumpFile(rawFileName, rawBuffer); in fullRawCaptureTestByCamera()
461 dumpFile(jpegFileName, jpegBuffer); in fullRawCaptureTestByCamera()
DCamera2ReprocessCaptureTest.java48 import static com.android.mediaframeworktest.helpers.CameraTestUtils.dumpFile;
1139 dumpFile(filename , getDataFromImage(image)); in dumpImage()
DCamera2SwitchPreviewTest.java68 import static com.android.mediaframeworktest.helpers.CameraTestUtils.dumpFile;
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java785 mUserState.valueAt(user).dumpFile(ipw, null); in dump()
803 mUserState.get(user).dumpFile(ipw, remainingArgs); in dump()
DUserUsageStatsService.java638 void dumpFile(IndentingPrintWriter ipw, String[] args) { in dumpFile() method in UserUsageStatsService
/frameworks/base/services/
Dart-profile5802 PLcom/android/server/content/SyncLogger$RotatingFileLogger;->dumpFile(Ljava/io/PrintWriter;Ljava/io…