Home
last modified time | relevance | path

Searched refs:bug (Results 1 – 25 of 37) sorted by relevance

12

/packages/services/Car/tests/BugReportApp/tests/src/com/android/car/bugreport/
DBugStorageUtilsTest.java72 MetaBugReport bug = createBugReport(TIMESTAMP_TODAY, in test_createBugReport_createsAndReturnsMetaBugReport() local
75 assertThat(BugStorageUtils.findBugReport(mContext, bug.getId()).get()).isEqualTo(bug); in test_createBugReport_createsAndReturnsMetaBugReport()
80 MetaBugReport bug = createBugReport(TIMESTAMP_TODAY, in test_expireBugReport_marksBugReportDeletedAndDeletesZip() local
82 bug = createBugReportFile(bug); in test_expireBugReport_marksBugReportDeletedAndDeletesZip()
83 bug = createAudioFile(bug); in test_expireBugReport_marksBugReportDeletedAndDeletesZip()
84 try (InputStream in = BugStorageUtils.openBugReportFileToRead(mContext, bug)) { in test_expireBugReport_marksBugReportDeletedAndDeletesZip() argument
87 try (InputStream in = BugStorageUtils.openAudioFileToRead(mContext, bug)) { in test_expireBugReport_marksBugReportDeletedAndDeletesZip() argument
91 boolean deleteResult = BugStorageUtils.expireBugReport(mContext, bug.getId()); in test_expireBugReport_marksBugReportDeletedAndDeletesZip()
94 MetaBugReport updatedBug = BugStorageUtils.findBugReport(mContext, bug.getId()).get(); in test_expireBugReport_marksBugReportDeletedAndDeletesZip()
98 .isEqualTo(bug.toBuilder() in test_expireBugReport_marksBugReportDeletedAndDeletesZip()
[all …]
DTtlPointsDecrementalTest.java96 private MetaBugReport find(MetaBugReport bug) { in find() argument
97 return BugStorageUtils.findBugReport(mContext, bug.getId()).get(); in find()
118 for (MetaBugReport bug : BugStorageUtils.getAllBugReportsDescending(mContext)) { in deleteAllBugReports()
119 BugStorageUtils.completeDeleteBugReport(mContext, bug.getId()); in deleteAllBugReports()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DFileUtils.java79 static String getZipFileName(MetaBugReport bug) { in getZipFileName() argument
80 String lookupCode = extractLookupCode(bug); in getZipFileName()
81 return PREFIX + bug.getUserName() + FS + bug.getTimestamp() + "-" + lookupCode + ".zip"; in getZipFileName()
92 static String getAudioFileName(String timestamp, MetaBugReport bug) { in getAudioFileName() argument
93 String lookupCode = extractLookupCode(bug); in getAudioFileName()
94 return PREFIX + bug.getUserName() + FS + timestamp + "-" + lookupCode + "-message.3gp"; in getAudioFileName()
97 private static String extractLookupCode(MetaBugReport bug) { in extractLookupCode() argument
98 Preconditions.checkArgument(bug.getTitle().startsWith("["), in extractLookupCode()
100 return bug.getTitle().substring(1, BugReportActivity.LOOKUP_STRING_LENGTH + 1); in extractLookupCode()
DBugReportActivity.java144 static Intent buildAddAudioIntent(Context context, MetaBugReport bug) { in buildAddAudioIntent() argument
148 addAudioIntent.putExtra(EXTRA_BUGREPORT_ID, bug.getId()); in buildAddAudioIntent()
363 MetaBugReport bug = BugStorageUtils.findBugReport(this, bugreportId).orElseThrow( in addAudioToExistingBugReport() local
365 Log.i(TAG, "Adding audio to the existing bugreport " + bug.getTimestamp()); in addAudioToExistingBugReport()
366 if (bug.getStatus() != Status.STATUS_AUDIO_PENDING.getValue()) { in addAudioToExistingBugReport()
368 + Status.STATUS_AUDIO_PENDING.getValue() + ", got " + bug.getStatus()); in addAudioToExistingBugReport()
377 startAudioMessageRecording(/* isNewBugReport= */ false, bug, audioFile); in addAudioToExistingBugReport()
381 MetaBugReport bug = createBugReport(this, MetaBugReport.TYPE_INTERACTIVE); in createNewBugReportWithAudioMessage() local
384 bug, in createNewBugReportWithAudioMessage()
385 FileUtils.getFileWithSuffix(this, bug.getTimestamp(), "-message.3gp")); in createNewBugReportWithAudioMessage()
[all …]
DBugStorageUtils.java139 static InputStream openFileToRead(Context context, MetaBugReport bug) in openFileToRead() argument
143 bug.getId(), BugStorageProvider.URL_SEGMENT_OPEN_FILE)); in openFileToRead()
147 static InputStream openBugReportFileToRead(Context context, MetaBugReport bug) in openBugReportFileToRead() argument
151 bug.getId(), BugStorageProvider.URL_SEGMENT_OPEN_BUGREPORT_FILE)); in openBugReportFileToRead()
155 static InputStream openAudioFileToRead(Context context, MetaBugReport bug) in openAudioFileToRead() argument
159 bug.getId(), BugStorageProvider.URL_SEGMENT_OPEN_AUDIO_FILE)); in openAudioFileToRead()
DExpireOldBugReportsJob.java75 for (MetaBugReport bug : bugReportsWithZeroTtlPoints) { in run()
79 BugStorageUtils.expireBugReport(this, bug.getId()); in run()
DBugReportService.java492 static void showBugReportFinishedNotification(Context context, MetaBugReport bug) { in showBugReportFinishedNotification() argument
500 .setContentText(bug.getTitle()) in showBugReportFinishedNotification()
/packages/services/Car/tests/BugReportApp/
DREADME.md23 notifications that can be used to track when new bug reports are uploaded.
27 BugReport app uses `CarBugreportServiceManager` to collect bug reports and
28 screenshots. `CarBugreportServiceManager` allows only one bug report app to
59 - generates `MetaBugReport.Type.INTERACTIVE` bug report, shows audio message dialog before
62 - generates `MetaBugReport.Type.SILENT` bug report, without audio message. It shows audio dialog
86 6. Please manually verify bug report contents.
/packages/modules/Gki/
Ddownload_boot_prebuilt.py75 def update_prebuilt(build_id, boot_prebuilt, ver, arch, variant, bug): argument
99 """.format(build_id=build_id, bug=bug or "N/A")
119 arch, variant, args.bug)))
/packages/apps/TV/common/src/com/android/tv/common/support/tvprovider/
DREADME.md6 All classes here must have an associated bug to move to androidx
/packages/modules/ExtServices/
DREADME.md7 notification ranking that run continually. For the new features or bug fixes of these platform
/packages/modules/common/tools/
Dfinalize_sdk.py82 commit_message = COMMIT_TEMPLATE % (args.finalize_sdk, args.bid, cmdline, args.bug)
/packages/apps/Test/connectivity/sl4n/rapidjson/
DCHANGELOG.md38 * A bug in trimming long number sequence (4824f12efbf01af72b8cb6fc96fae7b097b73015).
/packages/modules/ArtPrebuilt/
Dupdate-art-module-prebuilts.py362 args.bug)
/packages/modules/DnsResolver/
DREADME-DoT.md42 annotations) to minimize the likelihood of a latent threading bug. The unit tests are
/packages/modules/Wifi/service/proto/src/
Dscorecard.proto36 // for cross-referencing with other parts of the bug report. Neither of these
Dmetrics.proto1139 // Has bug report been taken.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile458 # disable (NO) the bug list. This list is created by putting \bug
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile458 # disable (NO) the bug list. This list is created by putting \bug
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in613 # The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
614 # list. This list is created by putting \bug commands in the documentation.
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dro_wordlist.combined.gz
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses11769 2. You may apply bug fixes, portability fixes and other modifications

12