Searched refs:mMappingFile (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/os/ |
D | BugreportManagerServiceImplTest.java | 94 private AtomicFile mMappingFile; field in BugreportManagerServiceImplTest 103 mMappingFile = new AtomicFile(mContext.getFilesDir(), "bugreport-mapping.xml"); in setUp() 106 mInjector = new TestInjector(mContext, mAllowlistedPackages, mMappingFile, in setUp() 109 mBugreportFileManager = new BugreportManagerServiceImpl.BugreportFileManager(mMappingFile); in setUp() 118 mMappingFile.delete(); in tearDown() 260 new TestInjector(mContext, new ArraySet<>(), mMappingFile, in testCancelBugreportWithoutRole() 271 new TestInjector(mContext, new ArraySet<>(), mMappingFile, in testCancelBugreportWithRole()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 136 private final AtomicFile mMappingFile; field in BugreportManagerServiceImpl.BugreportFileManager 151 mMappingFile = mappingFile; in BugreportFileManager() 323 try (InputStream inputStream = mMappingFile.openRead()) { in readBugreportMappingLocked() 345 mMappingFile.delete(); in readBugreportMappingLocked() 354 try (FileOutputStream stream = mMappingFile.startWrite()) { in writeBugreportDataLocked() 371 mMappingFile.finishWrite(stream); in writeBugreportDataLocked() 419 AtomicFile mMappingFile; field in BugreportManagerServiceImpl.Injector 425 mMappingFile = mappingFile; in Injector() 438 return mMappingFile; in getMappingFile()
|