Searched refs:mBugreportFile (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/os/ |
D | BugreportManagerServiceImplTest.java | 96 private String mBugreportFile = "bugreport-file.zip"; field in BugreportManagerServiceImplTest 126 callingInfo, mBugreportFile, /* keepOnRetrieval= */ false); in testBugreportFileManagerFileExists() 136 mContext, mPackageManager, callingInfo, mContext.getUserId(), mBugreportFile, in testBugreportFileManagerFileExists() 146 callingInfo, mBugreportFile, /* keepOnRetrieval= */ true); in testBugreportFileManagerKeepFilesOnRetrieval() 149 mContext, mPackageManager, callingInfo, mContext.getUserId(), mBugreportFile, in testBugreportFileManagerKeepFilesOnRetrieval() 152 assertThat(mBugreportFileManager.mBugreportFilesToPersist).containsExactly(mBugreportFile); in testBugreportFileManagerKeepFilesOnRetrieval() 160 callingInfo, mBugreportFile, /* keepOnRetrieval= */ false); in testBugreportFileManagerMultipleFiles() 166 mContext, mPackageManager, callingInfo, mContext.getUserId(), mBugreportFile, in testBugreportFileManagerMultipleFiles() 249 mContext.getUserId(), new FileDescriptor(), mBugreportFile, in testRetrieveBugreportWithoutFilesForCaller() local
|
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/ |
D | BugreportManagerTest.java | 120 private File mBugreportFile; field in BugreportManagerTest 137 mBugreportFile = createTempFile("bugreport_" + name.getMethodName(), ".zip"); in setup() 139 mBugreportFd = parcelFd(mBugreportFile); in setup() 164 assertThat(mBugreportFile.length()).isGreaterThan(0L); in normalFlow_wifi() 182 assertThat(mBugreportFile.length()).isGreaterThan(0L); in normalFlow_interactive() 197 assertThat(mBugreportFile.length()).isGreaterThan(0L); in normalFlow_full() 220 assertThat(mBugreportFile.length()).isGreaterThan(0L); in preDumpUiData_then_fullWithUsePreDumpFlag() 251 assertThat(mBugreportFile.length()).isGreaterThan(0L); in preDumpData_then_fullWithoutUsePreDumpFlag_ignoresPreDump() 286 assertThat(mBugreportFile.length()).isGreaterThan(0L); in noPreDumpData_then_fullWithUsePreDumpFlag_ignoresFlag() 560 List<Path> entries = listZipArchiveEntries(mBugreportFile); in assertThatBugreportContainsFiles() [all …]
|