Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DPreRebootLogger.java126 final File dumpFile = new File(dumpDir, buffer); in dumpLogsLocked() local
127 if (dumpFile.createNewFile()) { in dumpLogsLocked()
128 dumpFile.setWritable(true /* writable */, true /* ownerOnly */); in dumpLogsLocked()
131 new FileWriter(dumpFile, false).flush(); in dumpLogsLocked()
135 {"logcat", "-d", "-b", buffer, "-f", dumpFile.getAbsolutePath()}; in dumpLogsLocked()
150 final File dumpFile = new File(dumpDir, serviceName); in dumpServiceLocked() local
151 final ParcelFileDescriptor fd = ParcelFileDescriptor.open(dumpFile, in dumpServiceLocked()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java63 File dumpFile = DEFAULT_DUMP_FILE; in run() local
73 dumpFile = new File(arg); in run()
97 uiAutomation.getWindowsOnAllDisplays(), dumpFile, in run() local
111 AccessibilityNodeInfoDumper.dumpWindowToFile(info, dumpFile, rotation, size.x, in run()
121 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/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java82 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, in dumpWindowToFile() argument
89 FileWriter writer = new FileWriter(dumpFile); in dumpWindowToFile()
116 File dumpFile, DisplayManagerGlobal displayManager) { in dumpWindowsToFile() argument
122 FileWriter writer = new FileWriter(dumpFile); in dumpWindowsToFile()
/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/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()
DWatchdog.java800 File dumpFile = File.createTempFile("anr_fd_", "", mDumpDir); in dumpOpenDescriptors() local
801 Path out = Paths.get(dumpFile.getAbsolutePath()); in dumpOpenDescriptors()
/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.java1217 mUserState.valueAt(user).dumpFile(ipw, null); in dump()
1226 mUserState.get(user).dumpFile(ipw, remainingArgs); in dump()
DUserUsageStatsService.java793 void dumpFile(IndentingPrintWriter ipw, String[] args) { in dumpFile() method in UserUsageStatsService
/frameworks/base/services/
Dart-profile13138 HPLcom/android/server/content/SyncLogger$RotatingFileLogger;->dumpFile(Ljava/io/PrintWriter;Ljava/i…