Home
last modified time | relevance | path

Searched refs:bugreportFile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportReceiver.java69 final File bugreportFile = getFileExtra(intent, EXTRA_BUGREPORT); in cleanupOldFiles() local
70 if (bugreportFile == null || !bugreportFile.exists()) { in cleanupOldFiles()
71 Log.e(TAG, "Not deleting old files because file " + bugreportFile + " doesn't exist"); in cleanupOldFiles()
79 FileUtils.deleteOlderFiles(bugreportFile.getParentFile(), minCount, minAge); in cleanupOldFiles()
DBugreportProgressService.java798 final File bugreportFile = getFileExtra(intent, EXTRA_BUGREPORT); in onBugreportFinished() local
799 if (bugreportFile == null) { in onBugreportFinished()
808 onBugreportFinished(id, bugreportFile, screenshotFile, shareTitle, shareDescription, max); in onBugreportFinished()
814 private void onBugreportFinished(int id, File bugreportFile, @Nullable File screenshotFile, in onBugreportFinished() argument
825 info.bugreportFile = bugreportFile; in onBugreportFinished()
858 if (!info.bugreportFile.exists() || !info.bugreportFile.canRead()) { in triggerLocalNotification()
859 Log.e(TAG, "Could not read bugreport file " + info.bugreportFile); in triggerLocalNotification()
865 boolean isPlainText = info.bugreportFile.getName().toLowerCase().endsWith(".txt"); in triggerLocalNotification()
889 bugreportUri = getUri(context, info.bugreportFile); in buildSendIntent()
893 Log.wtf(TAG, "Could not get URI for " + info.bugreportFile, e); in buildSendIntent()
[all …]
DRemoteBugreportReceiver.java56 final File bugreportFile = getFileExtra(intent, EXTRA_BUGREPORT); in onReceive() local
57 final Uri bugreportUri = getUri(context, bugreportFile); in onReceive()